Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 597966 - app-portage/repoman: Refine repoman checks (disable specific ones)
Summary: app-portage/repoman: Refine repoman checks (disable specific ones)
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-24 09:48 UTC by Manuel Rüger (RETIRED)
Modified: 2022-07-12 03:18 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Manuel Rüger (RETIRED) gentoo-dev 2016-10-24 09:48:14 UTC
As a user, it should be possible to disable certain repoman checks, that I don't care about or have no need for (e.g. the copyright check on overlays).
As a user, I also want to promote/demote them to warnings or make them fatal.

a) via the command line

repoman full --check-disabled ebuild.badheader

or

repoman full --check-warning ebuild.badheader

or

repoman full --check-error ebuild.badheader

b) via a metadata/repoman.conf in overlays

I suggest an ini-style like conf, this could allow you to refine further checks and use allow whitelisting for certain checks via an "ALL" keyword:

[general]
error = ALL
warning = ebuild.badheader
disable = ebuild.minorsyn

[ebuild.badheader]
copyright = "r'^# Copyright ((1999|2\d\d\d)-)?%s ACME Corp.$'"
Comment 1 Brian Dolbec (RETIRED) gentoo-dev 2016-10-24 13:13:20 UTC
Yes, this will be possible at some point during the stage3 re-write.

It will be a per repo configuration in the repo.  It will likely also be possible to add custom modules per repo.
Comment 2 Manuel Rüger (RETIRED) gentoo-dev 2018-07-19 13:46:22 UTC
I guess we can consider this to be done?
Comment 3 Brian Dolbec (RETIRED) gentoo-dev 2018-07-19 14:39:54 UTC
almost...  I need to finish the spec documentation and get final gentoo repo approval for the metadata/repoman directory and files.  Then we can change repoman to these files by default.  There have been no bugs reported for the new system using the repoman defaults files.
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-07-12 03:18:16 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.