primaryuri is documented in `man 5 ebuild`. But, `pkgcheck scan` doesn't recognize primaryuri in my ebuilds. Reproducible: Always
Note that primaryuri is not a required token per PMS: https://dev.gentoo.org/~ulm/pms/head/pms.html#x1-680007.3.6
This is controlled by metadata/layout.conf restrict-allowed.
I can't find any documentation about restrict-allowed in `man 5 portage` or `man 5 ebuild`.
(In reply to amano.kenji from comment #3) > I can't find any documentation about restrict-allowed in `man 5 portage` or > `man 5 ebuild`. See https://www.gentoo.org/glep/glep-0082.html#configuration-keys, but indeed, Portage should document it. I've been working on the man pages recently.
Don't forget https://wiki.gentoo.org/wiki/Repository_format/metadata/layout.conf
(In reply to amano.kenji from comment #5) > Don't forget > https://wiki.gentoo.org/wiki/Repository_format/metadata/layout.conf Good point! Done, but not done Portage yet.
It seems it's better to not have `restrict-allowed` in layout.conf? The document says `If unset, all tokens are permitted.`
(In reply to amano.kenji from comment #7) > It seems it's better to not have `restrict-allowed` in layout.conf? > > The document says `If unset, all tokens are permitted.` Then how are we supposed to detect when someone commits garbage?
(In reply to amano.kenji from comment #7) > It seems it's better to not have `restrict-allowed` in layout.conf? > > The document says `If unset, all tokens are permitted.` I think this very much depends on your preference. For ::gentoo, absolutely not. I struggle to see where you'd really want it unset, tbh.