-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
Teach rustpkg about branches and tags, not just repositories #6411
Comments
Triage bump |
@catamorphism is it because branches are moving targets, which a package should never target? |
It's more that I suspect rustpkg should treat tags and branches as opaque version strings (likewise exact revision numbers and hashes) that it passes through without trying to reason about unless they parse as semvers. It's drifting into "growing a meta vcs" to try to look inside them. So I think you can probably -specify- a branch, but it'll be a very unwise move since as you say, it's a moving target at checkout time. |
The PR as it is now will only handle tags, not any ref, so you can't On Wed, Jul 24, 2013 at 11:09 PM, Graydon Hoare [email protected]:
|
Oh. Yeah, it should probably not force the tag interpretation as that won't work for other opaque refspecs (eg. revids) |
#8032 landed, so this is done. |
Sub-bug of #5677
For remote packages, rustpkg could infer versions from branches and tags; however, right now it only knows about the URL for a particular git repository.
The text was updated successfully, but these errors were encountered: