-
Notifications
You must be signed in to change notification settings - Fork 146
Support remapping of west projects urls #869
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
base: main
Are you sure you want to change the base?
Support remapping of west projects urls #869
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #869 +/- ##
==========================================
+ Coverage 84.93% 85.05% +0.12%
==========================================
Files 11 11
Lines 3444 3467 +23
==========================================
+ Hits 2925 2949 +24
+ Misses 519 518 -1
|
d35e837 to
d12eb95
Compare
d12eb95 to
bc81ddf
Compare
|
Do you think you could focus on the Obviously, your #867 will make this even easier. |
Add support for a new 'import-modifications' section in the manifest. Under the 'url-replace' key, users can define search-and-replace patterns that are applied to project URLs during manifest import. This allows downstream projects to modify remote URLs, e.g. when using mirrored repositories.
Test that import-modifications feature works to override west project urls that directly specified in west manifest or imported via submanifests.
bc81ddf to
cf5eba6
Compare
Proposal for #615
Support is added for a new
import-modificationssection in the west manifest.Under the
url-replacekey, users can define search-and-replace patterns that are applied to project URLs during project import. This allows downstream projects to modify remote URLs while keeping original revision, e.g. when using mirrored repositories.