chore(scripts): build and link every local command for unreleased testing - #1071
Merged
Merged
Conversation
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
…ting Add scripts/install-local.sh, which builds all twelve command binaries from the working tree with --locked and links them into an install directory (default ~/.local/bin) as symlinks into the cargo target directory, so testing an unreleased Registry Stack is one rerunnable script. The published product installers only install tagged release assets; this covers that gap for local builds. The cargo invocation grouping follows the release pipeline: breg and relay build apart from bregctl and relayctl, whose authoring-only tooling features would otherwise unify into the server binaries. Signed-off-by: Jeremi Joslin <jeremi@joslin.fr>
jeremi
force-pushed
the
scripts/install-local
branch
from
September 15, 2026 16:19
146cdbe to
731dd79
Compare
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.
Summary
Adds
scripts/install-local.sh, a developer convenience that builds every command binary from the working tree (--locked, default release profile) and links it into~/.local/bin(overridable via--install-dirorREGISTRY_INSTALL_DIR) as symlinks into the cargo target directory. The published product installers only install tagged release assets; this covers the gap for testing unreleased local builds. Rerunning the script after a rebuild refreshes every command at once.Installed commands:
breg bregctl casework caseworkctl discovery discoveryctl evidence evidence-oid4vci evidencectl registry-manifest relay relayctl.Checks
shellcheck scripts/install-local.shis clean.--profile dev --install-dir <tempdir>: all twelve binaries built and ran through the links (bregctl --version,relay --version).~/.local/binfrom the currentorigin/maintree: all twelve commands report0.31.0-dev.Notes
release/scripts/build-release-binaries.sh:bregctlandrelayctlenable authoring-onlytoolingfeatures on their server libraries, and one cargo invocation unifies features across everything it builds, sobregandrelaybuild in separate invocations to keep the production feature set.mintis intentionally absent: retired in feat: add institutional contextual authorization and retire Mint #1029.DCO
Signed-off-bytrailer.