Has it been considered, or is there a way, to merge multiple files
into a single functional repository configuration? The idea is to be
able to modify a repo configuration without editing the original file.
This would be very helpful for plugins, such as priorities, where
editing all repo files can be tedious or not desired. It would also
improve usage on installations using configuration management tools.
/etc/yum.repos.d/merge.repo:
[example]
[*]
I'm on CentOS 6.
Example:
/etc/yum.repos.d/example.repo:
[example]
name = Example Repo
enabled = 1
/etc/yum.repos.d/merge.repo:
priority = 20
[base-*]
priority = 10
priority = 50
Yum
would read both files and merge the config where the repo names match,
then act as if they are in the same file. Wildcards could also be
supported to set defaults, for example. Precedence could be handled by
simple rules, such as where the files are read in alphabetical order and
the last found setting is applied.
Has this been considered? Is it possible to achieve this now?
_______________________________________________ Yum mailing list Yum@xxxxxxxxxxxxxxxxx http://lists.baseurl.org/mailman/listinfo/yum