Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
@obi1kenobi this PR is a rebase (and rework) of @drewkett's earlier PR #945, to add support for custom cargo registries, on top of the latest
main
. I say rework asmain
has changed quite a bit since the original PR and so a simple rebase was not enough.This PR also adds an integration test for the custom registry functionality. The test use a static file
mango
registry which is served via an ephemeralaxus
instance. The test is self contained and does not require any external resources.Finally, an unrelated bug I observed, with the regex used for the
bugreport
test, is resolved. This could be pulled out into a separate PR if needed.The goal here is to get this into a suitable state such that it could be merged to
main
to thus avoid the need to maintain a downstream fork. I have kept my changes separate from @drewkett's original changes to aid in reviewing the delta, but the intention is to eventually squash these.Thanks!