Skip to content

📝 install: recommend --locked for cargo install#168

Merged
Ongy merged 1 commit into
Ongy:mainfrom
Tobias-Pe:fix-install-docs
Jun 16, 2026
Merged

📝 install: recommend --locked for cargo install#168
Ongy merged 1 commit into
Ongy:mainfrom
Tobias-Pe:fix-install-docs

Conversation

@Tobias-Pe

Copy link
Copy Markdown
Collaborator

Update installation instructions to recommend using --locked flag to ensure reproducible builds from source.

Why

Without --locked, cargo install might update dependencies (like octocrab) to newer versions that are incompatible with the locked codebase, leading to runtime errors.

The code changes include:

  • Updated README.md and docs to use cargo install --locked --path spr.

go/traj/47f0453c-c152-4121-90cc-ac82c8774421
TESTED=N/A
RELNOTES=NONE
TAG=agy
CONV=4ef8c914-cbfd-45b5-a0fd-661a9cba8365

Update installation instructions to recommend using `--locked` flag to ensure reproducible builds from source.

#### Why

Without `--locked`, `cargo install` might update dependencies (like `octocrab`) to newer versions that are incompatible with the locked codebase, leading to runtime errors.

#### The code changes include:

- Updated `README.md` and docs to use `cargo install --locked --path spr`.

go/traj/47f0453c-c152-4121-90cc-ac82c8774421
TESTED=N/A
RELNOTES=NONE
TAG=agy
CONV=4ef8c914-cbfd-45b5-a0fd-661a9cba8365
@Tobias-Pe
Tobias-Pe requested a review from Ongy June 16, 2026 13:46
@Tobias-Pe Tobias-Pe self-assigned this Jun 16, 2026
@Ongy
Ongy merged commit 2e6c9c5 into Ongy:main Jun 16, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants