Gentoo Archives: gentoo-portage-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-portage-dev@l.g.o
Subject: Re: [gentoo-portage-dev] [PATCH v2] misc: Distribute a repo.postsync.d hook to run gemato verification
Date: Tue, 16 Jan 2018 20:27:32
Message-Id: 1516134446.9379.6.camel@gentoo.org
In Reply to: Re: [gentoo-portage-dev] [PATCH v2] misc: Distribute a repo.postsync.d hook to run gemato verification by "Robin H. Johnson"
1 W dniu wto, 16.01.2018 o godzinie 20∶04 +0000, użytkownik Robin H.
2 Johnson napisał:
3 > On Tue, Jan 16, 2018 at 11:32:28AM -0800, Zac Medico wrote:
4 > > > But app-crypt/gentoo-keys doesn't include that executable, and it has
5 > > > no dependency on app-crypt/gkeys. I'd rather not introduce an artificial
6 > > > dependency here.
7 > >
8 > > I suppose we could using a separate ebuild to install this hook, so that
9 > > we can update it separately from portage if necessary. The hook can
10 > > still live in the portage repository (like emerge-delta-webrsync which
11 > > is also installed by a separate ebuild).
12 >
13 > How about shipping this hook with Gemato, since it's of no use without
14 > Gemato installed.
15 >
16
17 I don't want to get into USE dependency hell. Portage needs gemato to do
18 rsync verification, so we need USE-conditional dep on gemato. However,
19 gemato doesn't require the hook unconditionally, so we end up with two
20 USE flags that need to be switched together == a mess.
21
22 --
23 Best regards,
24 Michał Górny