Skip to content

feat(prereleases): add --pre option to install, search, add - #294

Merged
zeroshade merged 11 commits into
mainfrom
add-pre-option
Feb 6, 2026
Merged

zeroshade merged 11 commits into
mainfrom
add-pre-option

Conversation

@zeroshade

Copy link
Copy Markdown
Member

closes #289

To test with the staging registry, you need to use the --no-verify option as the current pre-release in the staging directory is signed with the nightly key, not the standard private key.

@zeroshade zeroshade added this to the 0.2.0 milestone Feb 5, 2026
@zeroshade zeroshade changed the title Add-pre-option feat(prereleases): add --pre option to install, search, add Feb 5, 2026
Comment thread drivers.go Resolved
@ianmcook

ianmcook commented Feb 6, 2026 •

Copy link
Copy Markdown
Member

Looks like there's a bug in the Available Versions output in dbc search --pre -v.

@ianmcook

ianmcook commented Feb 6, 2026

Copy link
Copy Markdown
Member

For the search subcommand, the --help description for --pre looks good.

But for the install and add subcommands, can you please change it to:

Allow implicit installation of pre-release versions

@ianmcook

ianmcook commented Feb 6, 2026

Copy link
Copy Markdown
Member

When I explicitly specify a version constraint like dbc install foo=v0.1.0-alpha.1, dbc fails with this error when it should succeed:

Error: error getting driver: no package found for driver foo that satisfies constraints =v0.1.0-alpha.1

@ianmcook

ianmcook commented Feb 6, 2026

Copy link
Copy Markdown
Member

Update: the two apparent bugs that I described in the comments above were caused by an erroneous platform tuple on the registry index that I was testing with, not by errors in this PR.

Comment thread cmd/dbc/add.go Resolved
Co-authored-by: Ian Cook <[email protected]>
@zeroshade
zeroshade merged commit 351a413 into main Feb 6, 2026
10 checks passed
@zeroshade
zeroshade deleted the add-pre-option branch February 6, 2026 17:33
zeroshade added a commit that referenced this pull request Apr 17, 2026
closes #289

To test with the staging registry, you need to use the `--no-verify`
option as the current pre-release in the staging directory is signed
with the nightly key, not the standard private key.

---------

Co-authored-by: Ian Cook <[email protected]>

This branch was previously deployed

1 inactive deployment
snapshot — 0e3434d3 Deployed Feb 6, 2026 by zeroshade via snapshot #589
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.

Adding a --pre option for install/add/sync

3 participants