Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 563642

Summary: dev-util/pkgcheck: should warn about KEYWORDS="*" and "~*" in main repo
Product: Gentoo Hosted Projects Reporter: Julian Ospald <hasufell>
Component: PkgCoreAssignee: Arthur Zamarin <arthurzam>
Status: RESOLVED OBSOLETE    
Severity: enhancement CC: mgorny
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=563702
Whiteboard:
Package list:
Runtime testing required: ---

Description Julian Ospald 2015-10-21 08:02:47 UTC
KEYWORDS="*" is invalid as per PMS

https://dev.gentoo.org/~ulm/pms/head/pms.html#x1-260003.1.6
https://dev.gentoo.org/~ulm/pms/head/pms.html#x1-690007.3.2

repoman does not warn about it
Comment 1 SpanKY gentoo-dev 2015-10-21 17:58:58 UTC
probably should make it into a layout.conf option so we can enable it in the main gentoo repo
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-07-12 03:18:40 UTC
repoman support has been removed per bug 835013.

Please file a new bug (or, I suppose, reopen this one) if you feel this check is still applicable to pkgcheck and doesn't already exist.
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-07-12 03:23:51 UTC
Not sure if pkgcheck does this.
Comment 4 Arthur Zamarin archtester Gentoo Infrastructure gentoo-dev Security 2022-08-12 17:55:59 UTC
After checking it in pkgcheck, it reports for those two wrong keywords:

UnknownKeywords: version 1: unknown KEYWORDS: '*'
UnknownKeywords: version 2: unknown KEYWORDS: '~*'

While "-*" is accepted of course (as correct by PMS).

So it is already implemented in pkgcheck, so closing