Gentoo Archives: gentoo-dev

From: Mike Gilbert <floppym@g.o>
To: gentoo@×××××××.xyz
Cc: Gentoo Dev <gentoo-dev@l.g.o>
Subject: Re: [gentoo-dev] RFC: Require full $P not just $PN on stable/keyword commit messages
Date: Fri, 01 Nov 2019 21:45:29
Message-Id: CAJ0EP40LZmKHnFqDJVzQCt0a4ywc0VmXTAntRi8oO957dTyhfw@mail.gmail.com
In Reply to: [gentoo-dev] RFC: Require full $P not just $PN on stable/keyword commit messages by Michael 'veremitz' Everitt
1 On Fri, Nov 1, 2019 at 5:34 PM Michael 'veremitz' Everitt
2 <gentoo@×××××××.xyz> wrote:
3 >
4 > On 01/11/19 21:11, Rich Freeman wrote:
5 > > On Fri, Nov 1, 2019 at 4:36 PM Matt Turner <mattst88@g.o> wrote:
6 > >> On Fri, Nov 1, 2019 at 12:59 PM Michael 'veremitz' Everitt
7 > >> <gentoo@×××××××.xyz> wrote:
8 > >>>
9 > >>> Therefore, it would be much /more/ useful to have the package-version
10 > >>> tagged in the commit message, so that you could easily grep logs for when a
11 > >>> given version of a package was stabilised, and/or keyworded.
12 > > git log --format=oneline glibc-2.29-r2.ebuild | grep stable
13 > > 9c04d06d06d51d9c76b3fe5ceb573213769f45ae sys-libs/glibc-2.29-r2: sparc
14 > > stable, bug 685818
15 > > b61ab167e82261ed2078c068ba0c2fc3a7b58aa3 sys-libs/glibc: stable
16 > > 2.29-r2 for hppa, bug #685818
17 > > fad52f75c759ca326ce0f8c37e227827f01cd2f1 sys-libs/glibc: m68k stable
18 > > wrt bug #685818
19 > > 0fe91535a7ba382f10084def5482e61359f201cb sys-libs/glibc: sh stable wrt
20 > > bug #685818
21 > > 7b7ec9a6b3355d6111e1a449ca13e24cb6ef0295 sys-libs/glibc: s390 stable
22 > > wrt bug #685818
23 > > bcddad6780ead2b44528a4aa1d51107b4a225524 sys-libs/glibc-2.29-r2: alpha stable
24 > > 2ca6a4b9d647f567d2300e7b90829993d7575b41 sys-libs/glibc: ia64 stable
25 > > wrt bug #685818
26 > > e56c3c1f1c0a256c228a59be94869751d7fd31d7 sys-libs/glibc: ppc64 stable
27 > > wrt bug #685818
28 > > 52355459ec00b9ca9921bd5f788bad9b95346910 sys-libs/glibc: ppc stable
29 > > wrt bug #685818
30 > > 745b07e84b5035576737d3e1a719121d02e53feb sys-libs/glibc: arm stable
31 > > wrt bug #685818
32 > > 332fc91e3e72a6dd1b183ce4a19d08b45daa8e00 sys-libs/glibc: x86 stable
33 > > (bug #685818)
34 > > 9e06c1242e104b66a532e7d5d919c1b3b1f8343d sys-libs/glibc: arm64 stable
35 > > (bug #685818)
36 > > b3ad265998a04a40820d078d25c06b7cb51173ef sys-libs/glibc: amd64 stable
37 > > wrt bug #685818
38 > >
39 > > Seems to work fine for me.
40 > >
41 > >
42 > How well does git handle that when the ebuild is deleted from the tree?
43
44 It handles it just fine, though you need to add "--" to disambiguate
45 it from a ref. For example:
46
47 git log --format=oneline --grep=stable -- foo-123.ebuild

Replies

Subject Author
Re: [gentoo-dev] RFC: Require full $P not just $PN on stable/keyword commit messages Michael 'veremitz' Everitt <gentoo@×××××××.xyz>