WIP: Move ecosystem configuration to configuration file#93
Draft
kpfleming wants to merge 1 commit intogit-pkgs:mainfrom
Draft
WIP: Move ecosystem configuration to configuration file#93kpfleming wants to merge 1 commit intogit-pkgs:mainfrom
kpfleming wants to merge 1 commit intogit-pkgs:mainfrom
Conversation
e59798c to
081c302
Compare
081c302 to
0351cd1
Compare
Contributor
Author
|
As I'm adding more routes for Debian-style packages from various upstreams, I realize that it may be safer to have separate caches for different upstreams (not by route, but by the |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This is a proof-of-concept for moving the configuration of ecosystems (routes and upstream URLs) into the configuration file, instead of hard-coding them in the source code. This PoC only includes changes for Cargo and Debian, but should be sufficient to demonstrate how the technique could be applied to all ecosystems. This will provide an implementation of #56, and also be a prerequisite for #55.
Notes:
ecosystemsection.upstreammap in the configuration file should be removed as they will be obsolete (and are currently ignored).debian-security) works as expected.