Gentoo Archives: gentoo-dev

From: Alexis Ballier <aballier@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] questions about small fixes/cleanups
Date: Mon, 19 Sep 2016 08:26:38
Message-Id: 20160919102622.6043c6f5@gentoo.org
In Reply to: Re: [gentoo-dev] questions about small fixes/cleanups by Daniel Campbell
1 On Mon, 19 Sep 2016 00:51:37 -0700
2 Daniel Campbell <zlg@g.o> wrote:
3
4 > On 09/14/2016 06:21 AM, Alexis Ballier wrote:
5 > > On Wed, 14 Sep 2016 08:45:58 -0400
6 > > Michael Orlitzky <mjo@g.o> wrote:
7 > >
8 > >> On 09/14/2016 01:54 AM, Ulrich Mueller wrote:
9 > >>>
10 > >>> We had a review of such files before the git conversion:
11 > >>> https://bugs.gentoo.org/550434
12 > >>>
13 > >>> Especially, there's a list of "maintainer scripts" in comment #13.
14 > >>> At the time, we didn't do anything about them. There are very few
15 > >>> of such files (namely, 12 when that comment was written) so the
16 > >>> space taken by them is negligible.
17 > >>>
18 > >>
19 > >> I'll take the low hanging fruit:
20 > >>
21 > >> * dev-libs/collada-dom/files/take_snapshot.sh
22 > >> * sys-libs/libcxxrt/files/prepare_snapshot.sh
23 > >>
24 > >> Those two are completely trivial; clone a repo, rm -rf .git, tar it
25 > >> up.
26 > >
27 > >
28 > > Guess you never had to maintain packages whose releases are only
29 > > snapshots. They're trivial but it's a waste of time to re-assemble
30 > > all the bits every couple of months when you want to make a
31 > > snapshot.
32 > >
33 > > Questions one needs to answer:
34 > >
35 > > - What SCM is used ?
36 > > - What is the URI ?
37 > > - How to fetch it ?
38 > > - What should be cleaned up after fetching ?
39 > > - What dirname to use so that it matches ebuilds' $S ?
40 > > - What compression to use so that it matches SRC_URI ?
41 > >
42 > >
43 > >
44 > >
45 > > Those scripts are made to automate this, and as you can see are
46 > > closely related to ebuilds, and thus fit perfectly next to them.
47 > >
48 > Why are those ebuilds not live?
49
50 reproducible builds :)