Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upAllow user to override the index's config.json from .cargo/config #1923
Comments
This comment has been minimized.
This comment has been minimized.
|
Thanks for the report! I think that this may be situation-solving what's happening today at a bit too fine grained a level. I certainly agree that running your own mirror is an important part of Cargo's story, and this issue basically just plays into that (e.g. making it easy to set up your own mirror). As a result I'm going to close this in favor of rust-lang/crates.io#67 which should serve for solving this as well. |
alexcrichton
closed this
Aug 20, 2015
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
gmjosack commentedAug 20, 2015
Currently the only way to change the place that cargo downloads packages from is to run your own index. When you're trying to run a simple mirror of the existing crates.io index for an internal network this is complicated as you have to maintain a fork that constantly pulls from upstream and will have merge conflicts if/when the
config.jsonis modified.I'd love to have the ability to specify
dlorapilocally in the.cargo/configthat would override theconfig.jsonof the index.I'd be happy to do that actual work to cargo here if this is agreed to be valuable.
Context: https://internals.rust-lang.org/t/production-user-research-summary/2530/11?u=gmjosack