1 |
W dniu wto, 16.01.2018 o godzinie 12∶44 -0500, użytkownik Alec Warner |
2 |
napisał: |
3 |
> On Tue, Jan 16, 2018 at 11:43 AM, Michał Górny <mgorny@g.o> wrote: |
4 |
> |
5 |
> > Include a repo.postsync.d hook to verify the rsync checkout using |
6 |
> > gemato. Given that not all people will want to have it enabled |
7 |
> > unconditionally, no setup.py rules are included -- instead, the file |
8 |
> > would be installed conditionally by the ebuild. |
9 |
> > |
10 |
> > [v2: included link to the wiki page] |
11 |
> > --- |
12 |
> > MANIFEST.in | 2 +- |
13 |
> > misc/repo.postsync.d/00gemato | 18 ++++++++++++++++++ |
14 |
> > 2 files changed, 19 insertions(+), 1 deletion(-) |
15 |
> > create mode 100644 misc/repo.postsync.d/00gemato |
16 |
> > |
17 |
> > diff --git a/MANIFEST.in b/MANIFEST.in |
18 |
> > index 4f6cac162..edc6704e7 100644 |
19 |
> > --- a/MANIFEST.in |
20 |
> > +++ b/MANIFEST.in |
21 |
> > @@ -14,4 +14,4 @@ include cnf/make.conf.example.* |
22 |
> > include .portage_not_installed |
23 |
> > |
24 |
> > # extra scripts |
25 |
> > -include misc/* |
26 |
> > +graft misc |
27 |
> > diff --git a/misc/repo.postsync.d/00gemato b/misc/repo.postsync.d/00gemato |
28 |
> > new file mode 100644 |
29 |
> > index 000000000..f2af50925 |
30 |
> > --- /dev/null |
31 |
> > +++ b/misc/repo.postsync.d/00gemato |
32 |
> > @@ -0,0 +1,18 @@ |
33 |
> > +#!/bin/bash |
34 |
> > +# repo.postsync.d hook to verify ::gentoo checkout using gemato |
35 |
> > + |
36 |
> > +name=${1} |
37 |
> > +url=${2} |
38 |
> > +path=${3} |
39 |
> > + |
40 |
> > +# keyring installed by gentoo-keys |
41 |
> > +openpgp_key=/var/lib/gentoo/gkeys/keyrings/gentoo/release/pubring.gpg |
42 |
> > |
43 |
> |
44 |
> This seems a bit leaky to me. |
45 |
> |
46 |
> Possible to get gentoo-keys to print it? |
47 |
> |
48 |
> e.g: |
49 |
> |
50 |
> openpgp_key=$(gentoo-keys --print-key-path) |
51 |
|
52 |
But app-crypt/gentoo-keys doesn't include that executable, and it has |
53 |
no dependency on app-crypt/gkeys. I'd rather not introduce an artificial |
54 |
dependency here. |
55 |
|
56 |
-- |
57 |
Best regards, |
58 |
Michał Górny |