forked from fepitre/qubes-builderv2
-
-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
config: replace list append with smart merging dict-like lists
Previously, a CLI options used allow_append=True to allow setting +components etc options without removing all existing entries. This works when adding a single option, but breaks when adding multiple - as later option will override earlier options (even with different name). Replace this special CLI handling, with a more generic merging of dict-like lists. Specifically, when merging two lists and both consists of only one-key dicts (or just strings), merge them similar to merging dicts, but preserving the structure.
- Loading branch information
Showing
3 changed files
with
84 additions
and
8 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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