Gentoo Archives: gentoo-dev

From: Daniel Campbell <zlg@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] questions about small fixes/cleanups
Date: Mon, 19 Sep 2016 07:51:56
Message-Id: 2acf3e3e-937d-5b52-afdc-7742ecb7ad4e@gentoo.org
In Reply to: Re: [gentoo-dev] questions about small fixes/cleanups by Alexis Ballier
1 On 09/14/2016 06:21 AM, Alexis Ballier wrote:
2 > On Wed, 14 Sep 2016 08:45:58 -0400
3 > Michael Orlitzky <mjo@g.o> wrote:
4 >
5 >> On 09/14/2016 01:54 AM, Ulrich Mueller wrote:
6 >>>
7 >>> We had a review of such files before the git conversion:
8 >>> https://bugs.gentoo.org/550434
9 >>>
10 >>> Especially, there's a list of "maintainer scripts" in comment #13.
11 >>> At the time, we didn't do anything about them. There are very few of
12 >>> such files (namely, 12 when that comment was written) so the space
13 >>> taken by them is negligible.
14 >>>
15 >>
16 >> I'll take the low hanging fruit:
17 >>
18 >> * dev-libs/collada-dom/files/take_snapshot.sh
19 >> * sys-libs/libcxxrt/files/prepare_snapshot.sh
20 >>
21 >> Those two are completely trivial; clone a repo, rm -rf .git, tar it
22 >> up.
23 >
24 >
25 > Guess you never had to maintain packages whose releases are only
26 > snapshots. They're trivial but it's a waste of time to re-assemble all
27 > the bits every couple of months when you want to make a snapshot.
28 >
29 > Questions one needs to answer:
30 >
31 > - What SCM is used ?
32 > - What is the URI ?
33 > - How to fetch it ?
34 > - What should be cleaned up after fetching ?
35 > - What dirname to use so that it matches ebuilds' $S ?
36 > - What compression to use so that it matches SRC_URI ?
37 >
38 >
39 >
40 >
41 > Those scripts are made to automate this, and as you can see are closely
42 > related to ebuilds, and thus fit perfectly next to them.
43 >
44 Why are those ebuilds not live? If upstream doesn't do real releases and
45 can't even be bothered to tag the commit that marks a release, then why
46 are you (or someone else) doing all this work? The snapshot scripts
47 could be replaced by a live ebuild and upstream can handle bugs as they
48 come since they can't be bothered to version their software.
49
50 Just my 2ยข.
51
52 --
53 Daniel Campbell - Gentoo Developer
54 OpenPGP Key: 0x1EA055D6 @ hkp://keys.gnupg.net
55 fpr: AE03 9064 AE00 053C 270C 1DE4 6F7A 9091 1EA0 55D6

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-dev] questions about small fixes/cleanups Kristian Fiskerstrand <k_f@g.o>
Re: [gentoo-dev] questions about small fixes/cleanups Alexis Ballier <aballier@g.o>