Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for fallback revisions #78

Open
pbsds opened this issue Apr 21, 2023 · 0 comments
Open

Support for fallback revisions #78

pbsds opened this issue Apr 21, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@pbsds
Copy link

pbsds commented Apr 21, 2023

Sometimes a script may know it needs version 1.2.3, but it doesn't know whether the upstream repo prepends v on their version tags or not. In such cases a list of fallback revisions to try would be great. Example

nurl repo-url v1.2.3 1.2.3

would try repo-url/v1.2.3 first, if it doesn't exit then try repo-url/1.2.3.

Especially pessimistic scripts could then even fallback on main or master.

@figsoda figsoda added the enhancement New feature or request label Apr 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants