Skip to content

Conversation

@thorsten-klein
Copy link
Owner

No description provided.

thorsten-klein and others added 8 commits November 17, 2025 22:01
multiple config files can be specified in the according environment
variable for each config level (separated by 'os.pathsep', which is ';'
on Windows or ':' otherwise). The config files are applied in the same
order as they are specified, whereby values from later files override
earlier ones.

'config --list-paths' prints all considered config files which are
currently in use and exist.

existing tests are adopted to work with the internal change of the
return type of _location from 'str' to 'list[str]'
This helper function for tests is added. It temporarily creates a west
topdir for the duration of the `with` block by creating a .west
directory at given path. The diectory is removed again when the `with`
block exits.
Dictionaries 'west_env' and 'west_flag' are added to test_config.py to
simplify parameterized tests by iterating over the locations '[LOCAL,
GLOBAL, SYSTEM]'.
Verify that multiple config files can be specified in the according
environment variable (WEST_CONFIG_SYSTEM, WEST_CONFIG_GLOBAL,
WEST_CONFIG_LOCAL) for each config level.
This flag prints all search paths for config files (contains also files
that do not exist).
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant