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

cargo: auto-fetch default sources file from rust-lang.org #1353

Closed
graydon opened this issue Dec 20, 2011 · 2 comments · Fixed by #2489
Closed

cargo: auto-fetch default sources file from rust-lang.org #1353

graydon opened this issue Dec 20, 2011 · 2 comments · Fixed by #2489
Labels
C-enhancement Category: An issue proposing an enhancement or a PR with one.

Comments

@graydon
Copy link
Contributor

graydon commented Dec 20, 2011

We should be publishing a "default" local-sources.json file on rust-lang.org (or, at minimum, our github repo for now). When you run cargo for the first time it should fetch this if it hasn't got a local-sources.json file, and there should be a "cargo init" command or something that re-fetches this default.

@elly
Copy link
Contributor

elly commented Dec 21, 2011

https://github.com/graydon/rust/pull/1363 handles this.

@brson
Copy link
Contributor

brson commented Jan 8, 2012

Looks like it doesn't auto-fetch yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-enhancement Category: An issue proposing an enhancement or a PR with one.
Projects
None yet
3 participants