-
Notifications
You must be signed in to change notification settings - Fork 2.7k
HTTP registry implementation #10470
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
HTTP registry implementation #10470
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -135,6 +135,11 @@ impl SourceId { | |
| Ok(SourceId::new(SourceKind::Registry, url, None)? | ||
| .with_precise(Some("locked".to_string()))) | ||
| } | ||
| "sparse" => { | ||
| let url = string.into_url()?; | ||
| Ok(SourceId::new(SourceKind::Registry, url, None)? | ||
| .with_precise(Some("locked".to_string()))) | ||
|
Comment on lines
135
to
+141
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. For my own understanding, how come
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. http registries are still I may be able to make the "registry" one also pass the |
||
| } | ||
| "path" => { | ||
| let url = url.into_url()?; | ||
| SourceId::new(SourceKind::Path, url, None) | ||
|
|
@@ -301,7 +306,7 @@ impl SourceId { | |
| self, | ||
| yanked_whitelist, | ||
| config, | ||
| ))), | ||
| )?)), | ||
| SourceKind::LocalRegistry => { | ||
| let path = match self.inner.url.to_file_path() { | ||
| Ok(p) => p, | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.