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

Allow specifying a registry for a given tag or branch #182

Open
lquerel opened this issue May 29, 2024 · 2 comments
Open

Allow specifying a registry for a given tag or branch #182

lquerel opened this issue May 29, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@lquerel
Copy link
Contributor

lquerel commented May 29, 2024

It seems that the most commonly used syntax for tags is the git URL followed by a #.

@MadVikingGod
Copy link
Contributor

Is your feature request related to a problem? Please describe.
Add a way to fetch a repository at a specific git tag. For example weaver registry resolve -r https://github.com/open-telemetry/semantic-conventions.git --tag v1.25.0

Describe the solution you'd like
By specifying a tag, weaver should not fetch main but instead the tag specified.

Describe alternatives you've considered
Currently fetching the repository manually and checking out the tag requested.

@lquerel
Copy link
Contributor Author

lquerel commented Jul 29, 2024

In PR #257, the following syntax is now supported: source[subfolder], and an extension for tag, branch, and commit will take the following form: source@refspec[sub_folder].

I keep this issue open as the refspec notation is not yet fully supported.

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
Status: No status
Development

No branches or pull requests

2 participants