Created attachment 374642 [details, diff]
add a 'disabled' attribute to repos.conf sections
Currently, there is a default 'gentoo' repository defined in /usr/share/portage/config/repos.conf. While it is possible to override any of its attributes in /etc/portage/repos.conf, there is no way to remove the repository without modifying /usr/share/portage/config/repos.conf. It would be useful to have an additional attribute, 'disabled', which allows a repos.conf to remove a previously-defined repository section. With this new attribute, I could add the following to my /etc/portage/repos.conf to disable the default 'gentoo' repository:
disabled = true
The 'gentoo' repository is still defined in /usr/share/portage/config/repos.conf, but it is now ignored by portage.