Repository navigation
Conversation
Add docs/build-from-source.md as the single user-facing build entry point: tag-vs-main, feed/installer links for ready-made packages, the CI-overhaul and reproducible-builds status, pinned toolchains, the target table, cold-cache battery, package builds, and the #1036 go.sum troubleshooting. Add make package-ipk (local-build-ipk.sh) and make package-apk (build-sdk-package.sh) as the two shippable package targets. portal-build is their prerequisite; the low-level build-ipk.sh packer is deliberately not wrapped. Fix manual-build-check.sh cleanup: the Go module cache is read-only, so chmod -R u+w before rm -rf. Without this, a successful battery exited 1 in the trap. Link the manual from README, CONTRIBUTING and release-process; update the reproducible-builds cross-link.
c03rad0r
marked this pull request as ready for review
October 21, 2026 14:59
Contributor
Author
|
Lets appologize that the build setup is messy at the moment and lets mention that all repos of github.com/OpenTollGate/ got rugged of CI by github. https://github.com/OpenTollGate/tollgate-installer/blob/main/docs/install-runbook.md we could link this installer and mention that we are working on reproducible builds and improving the CI pipeline. |
Contributor
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Add a tested, user-facing build-from-source manual and make the build
targets explicit.
docs/build-from-source.md— tag-vs-main, ready-made package links(feed releases + installer), CI-overhaul/reproducible-builds status, pinned
toolchains, target table, cold-cache gate, package builds, artifact
verification, and the Build fails on main: missing go.sum entry for go-nostr/nip19 (btcutil/bech32) #1036
go.sumtroubleshooting.make package-ipk— full.ipkviapackaging/local-build-ipk.sh.make package-apk—.apkviascripts/build-sdk-package.sh.make manual-check/make cold-battery— executable manual checks in afresh module cache.
scripts/manual-build-check.shcleanup (chmod -R u+wbeforerm -rf;the Go module cache is read-only, so the trap could turn a green battery into
exit 1).
README.md,CONTRIBUTING.md,docs/release-process.md, anddocs/reproducible-builds.md.portal-buildis documented as the prerequisite it is, not a package build.packaging/build-ipk.shremains the low-level packer and is not wrapped.Why
Warm
GOMODCACHEhides missinggo.sumentries; cached CI stayed green whilea cold user build failed (#1036). The manual makes the tag/
maindistinctionexplicit, and the cold-cache check is the interim gate until the CI lanes are
rebuilt. #1032 (merged as
4e55543) fixes the remaining two modules; thev0.6.0tag is clean and no v0.6.1 is needed.Testing
make go-batteryonv0.6.0(9364f2e) — PASS, 16 modules.make go-batteryonmainpost-fix(modules): complete the go-nostr nip19 go.sum for the two remaining carriers #1032 — PASS, 18 modules. The priorcleanup-trap failure is fixed in this PR.
make manual-checkwith pinned Node/npm — run below on the PR branch.make package-ipk ARCH=x86_64— run below.tollgate-infrastructure-kitsyntax-checks.No tag or release is moved by this PR.