<div dir="ltr">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.<br><div class="gmail_quote"><div dir="ltr">
<br><div>Example:<br></div><div>    /etc/yum.repos.d/example.repo:<br></div><div>        [example]<br></div><div>        name = Example Repo<br></div><div>        baseurl = <a href="http://127.0.0.1/repo/example" target="_blank">http://127.0.0.1/repo/example</a><div style="width:16px;min-height:16px;display:inline-block">

 </div><div style="width:16px;min-height:16px;display:inline-block">
 </div><br>
</div><div>        enabled = 1<br></div><div><div><br>    /etc/yum.repos.d/merge.repo:<br></div>        [example]<br></div><div>        priority = 20<br></div><div><br></div><div>        [base-*]<br></div><div><div>        priority = 10<br>



</div><div><br></div>        [*]<br></div><div>        priority = 50<br></div><div><br></div><div>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.<br>
</div><div><br></div><div>Has this been considered?  Is it possible to achieve this now?<br></div><div><br></div>I'm on CentOS 6.<br><br><br></div>
</div>
</div>