On Wed, Jun 21, 2023 at 10:43 AM TOMAS FABRIZIO ORSI <to...@fi.uba.ar> wrote: >> >> Sure, I think it could work. > > Great to hear. > In that case I could try to give it a try and make a pull request to the > emerge --sync with a basic idea. > Any tips?
So emerge already emits a warning message when a repo is missing: https://gitweb.gentoo.org/proj/portage.git/tree/lib/portage/repository/config.py?h=portage-3.0.48.1#n1070 That looks something like this: $ sudo emerge --sync Unavailable repository 'foo' referenced by masters entry in '/var/db/repos/gentoo/metadata/layout.conf'