Skip to content

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

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

feat(prereleases): add --pre option to install, search, add#294
zeroshade merged 11 commits intomainfrom
add-pre-option

Conversation

@zeroshade
Copy link
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
@ianmcook
Copy link
Member

ianmcook commented Feb 6, 2026

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

@ianmcook
Copy link
Member

ianmcook commented Feb 6, 2026

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
Copy link
Member

ianmcook commented Feb 6, 2026

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
Copy link
Member

ianmcook commented Feb 6, 2026

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.

Co-authored-by: Ian Cook <ianmcook@gmail.com>
@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
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