herds.xml has been removed. The latest metagen currently unconditionally references the file as if it still exists. Traceback (most recent call last): File "/usr/lib/python-exec/python2.7/metagen", line 35, in <module> HB = herdbase.make_herd_base(os.path.sep.join([PORTDIR, 'metadata', 'herds.xml'])) File "/usr/lib64/python2.7/site-packages/repoman/checks/herds/herdbase.py", line 81, in make_herd_base raise FileNotFound(filename) portage.exception.FileNotFound: /var/lib/repos/gentoo/metadata/herds.xml
Is my understanding correct that all herd-related code should be removed from metagen?
(In reply to Sebastian Pipping from comment #1) > Is my understanding correct that all herd-related code should be removed > from metagen? Eventually, yes. When you choose to drop support for backwards compatibility (like derivatives/overlays that still maintain one) is up to you. At least for now though, at a minimum, the herd related code should only be run if the herds.xml file exists on the system.
I can also confirm missing herds.xml causes metagen to crash. Was able to reproduce on my system by installing metagen and running `metagen`. :)
Should no longer crash with metagen 0.6.5 https://github.com/gentoo/gentoo/commit/a38bd2dddeda507ce5022b02dde9ffb8b4239e86 https://cgit.gentoo.org/proj/metagen.git/commit/?id=951ed36b0df62fd96640eee80c030f169adb5163 Best, Sebastian