Support for overriding dl and api in config.json of registry index#11179
Support for overriding dl and api in config.json of registry index#11179chenyuanrun wants to merge 1 commit intorust-lang:masterfrom
Conversation
|
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @ehuss (or someone else) soon. Please see the contribution instructions for more information. |
|
☔ The latest upstream changes (presumably #10907) made this pull request unmergeable. Please resolve the merge conflicts. |
|
Sorry for the extremely long wait 😅. I am not quite sure the conclusion of #6219. Just what to clarify the intention of this change again:
Also, I am not quite sure how it plays well with alternative registry authentication and the incoming asymmetric token authentication. How should overridden URLs interact with those authenticated endpoints? Should they just ignore, bypass or reuse the same auth token (which might be risky)? Would recommend we get back to #6219 for further discussions. Hope I didn't get the purpose of this PR wrong. Thank you. |
|
Going to close this, as there are some unresolved design issues pending to be sorted out. Also, registry interaction internals has been changed a bit since then. I'd suggest having discussions in #6219 or on Zulip first. Thank you for putting effort on this :) |
See #6219 .
dl and api can be overrided in cargo config file like: