Repoman

is Article description::a Python program used to enforce a minimal level of quality assurance in ebuilds and related metadata added to ebuild repositories.

Emerge
Install repoman through :

Configuration
For signing commits, enable the sign feature for portage and set the appropriate key ID:

Alternatively, set up to automatically sign your commits and set the PORTAGE_GPG_DIR environment variable to point at your  (or similar) before running.

To automatically include  in the commit message, add:

This implies agreeing to the [//www.gentoo.org/glep/glep-0076.html#certificate-of-origin Certificate of Origin].

Usage
Using Repoman is highly recommended for committing to Gentoo with GitHub Pull Requests.

Invocation
To create a package's Manifest file:

To scan the directory tree for QA issues (full listing), include dev profiles in dependency checks and force the parse check to be carried out:

To scan the directory tree for QA issues; if OK, commit via VCS, include dev profiles in dependency checks and force the parse check to be carried out:

"Need user access"
If fails with the following obscure error message, you might have to adjust your filesystem permissions or make your user part of the portage group. See for details.

External resources

 * [gentoo-dev&#93; [RFC&#93; Allowing pkgcheck as a replacement for repoman
 * A better ebuild workflow with pure git and pkgcheck