Gentoo Archives: gentoo-dev

From: Tim Harder <radhermit@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [PATCH] package.deprecated: Create initial template
Date: Fri, 06 Dec 2019 11:45:48
Message-Id: 20191206114539.GA7862@sumac.radhermit.com
In Reply to: Re: [gentoo-dev] [PATCH] package.deprecated: Create initial template by "Michał Górny"
1 On 2019-12-06 Fri 06:33, Michał Górny wrote:
2 > If you need something convenient to commit, app-portage/mgorny-dev-
3 > scripts has pkgcommit tool which does the only useful part of what
4 > repoman did -- that is, prepends package name to the commit message.
5 > For pre-push checks, I use the following oneliner:
6
7 > $ pkgcheck scan $(git diff origin --name-only $(<profiles/categories) \
8 > | cut -d/ -f1-2 | sort -u); echo $?
9
10 If you want to shorten that, `pkgcheck scan --commits` internalizes most
11 of that and at some point will be extended to enable profile/eclass
12 checks if it notices any related changes.
13
14 Tim