[elbe-devel] [PATCH v2 0/3] implement ELBE_MIRROR_SED
Torben Hohn
torben.hohn at linutronix.de
Wed Feb 12 16:11:45 CET 2020
elbe-ci is currently broken, because the test system
relies on a specific location of default-init.xml, where it uses
sed to replace official with local mirrors.
Implement such a replacement in the preprocessor.
This feature is very useful in multiple ways, because it allows
people in different location to share elbe xmls, and still use local
mirrors.
Additionally it will remove complexity from elbe-ci.
Changes since v1:
-----------------
- use a loop to iterate over the url fields
- cleanup style problems
Torben Hohn (3):
config: add ELBE_MIRROR_SED to Config object
xmlprepocess: search and replace urls based on ELBE_MIRROR_SED
xmlpreprocess: fix style problems
elbepack/config.py | 3 +++
elbepack/xmlpreprocess.py | 54 +++++++++++++++++++++++++++++++++++----
2 files changed, 52 insertions(+), 5 deletions(-)
--
2.20.1
More information about the elbe-devel
mailing list