Build scripts need shasum, which isn't installed by default on Fedora

Open Beginner friendly
#121 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
78/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
go, shell
Domain
build-system

Research direction

Start with scripts/build/fetch-sqlc.sh, scripts/build/fetch-restic.sh, and scripts/build/image-tag.sh, where the issue identifies the shasum calls. Check how the scripts share helpers and confirm sha256sum and shasum -a 256 produce compatible output. Done when all three scripts can compute hashes with either available command; the separate gofmt issue is outside this report.

Written by the indexing model from the issue text.

Description

scripts/build/fetch-sqlc.sh:23, fetch-restic.sh:33 and image-tag.sh:29-30 call shasum -a 256. On Fedora shasum comes from perl-Digest-SHA and isn't there by default, so make stops at fetching sqlc and the image tag can't be computed. sha256sum (coreutils) gives the same output.

We should pick whichever of the two exists, e.g. a small helper the scripts share:

sha256() { if command -v sha256sum >/dev/null; then sha256sum "$@"; else shasum -a 256 "$@"; fi; }

Separately, gofmt -l flags internal/features/authoidc/oidc_test.go on main (e493830).

Dominant language
Go
Stars
5
Forks
0
Avg merge
21h 13m
Merged PRs (30d)
53

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from nebari-dev/tapas

All issues in nebari-dev/tapas

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.