Gentoo Archives: gentoo-dev

From: Brian Harring <ferringb@×××××.com>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] new repoman check
Date: Mon, 05 Jun 2006 09:28:02
Message-Id: 20060605092424.GB8921@nightcrawler
In Reply to: Re: [gentoo-dev] new repoman check by "Harald van Dijk"
1 On Mon, Jun 05, 2006 at 11:14:45AM +0200, Harald van Dijk wrote:
2 > On Mon, Jun 05, 2006 at 01:54:08AM -0700, Brian Harring wrote:
3 > > On Mon, Jun 05, 2006 at 10:19:41AM +0200, Harald van Dijk wrote:
4 > > > On Mon, Jun 05, 2006 at 03:45:50AM -0400, Mike Frysinger wrote:
5 > > > > On Monday 05 June 2006 02:07, Harald van Dijk wrote:
6 > > > > > Some gnustep stuff inherits cvs, but uses -D in the cvs options to
7 > > > > > always download exactly the same thing.
8 > > > >
9 > > > > then arent you just adding overhead to the poor gnustep cvs servers ? why not
10 > > > > roll a cvs snapshot tarball and distro via our mirrors
11 > > >
12 > > > Yeah, that'd probably be a better idea, but even if the current ebuilds
13 > > > are less than perfect, it seems like a valid use of the eclass to me, so
14 > > > making repoman error out is a bad idea, I think. A warning would be
15 > > > useful, though.
16 > >
17 > > 'Cept standards for ebuilds is typically http/https/ftp access for
18 > > fetching files- forcing pserver means people behind firewalls are
19 > > screwed... which is why non standard uri that is generally accessible
20 > > to users must be http/https/ftp, and if they aren't, upload the file
21 > > to the mirrors.
22 > >
23 > > Ebuilds might work, don't think they qualify as valid though- assume
24 > > initially it was easier to just copy the ebuild and lock the date;
25 > > doesn't make it valid though. :)
26 >
27 > I now checked:
28 >
29 > http://devmanual.gentoo.org/ebuild-writing/functions/src_unpack/cvs-sources/index.html
30 >
31 > If it's explained how to do it in the docs, I consider it valid,
32 > regardless of how bad an idea it may be.
33
34 Except the doc specifically states they should be package.mask'd if
35 added; what that doc is talking about is vcs head ebuilds, not an
36 ebuild that's locked down to an exact rev/date.
37
38 As mike said, why hammer on their servers? The ebuild isn't changing
39 (it's effectively a locked version), tarball it and upload it.
40
41 Basically, the locked cvs version ebuild referenced above seems like a
42 lazy trick someone did to avoid rewriting it to drop the cvs usage.
43
44
45 > > Should be an error imo- there isn't any real requirement for a
46 > > cvs/git/darcs/subversion eclass consumer to be visible really.
47 > > ~harring
48 >
49 > Are you hoping for even ~arch cvs ebuilds to cause a repoman error?
50
51 Original rules *were* that no vcs head based ebuild should be visible,
52 that it must be masked. Current devrel docs contradict that (those
53 docs bluntly are wrong- that change I don't think anyone ever agreed
54 to), devmanual states it correctly.
55
56 There's nothing wrong with vcs head ebuilds if they're masked; if
57 they're user visible (~arch), there is _no_ way to gurantee they're
58 actually sane (the source can and does change), that's why they're
59 suppossed to be masked.
60
61 ~harring

Replies

Subject Author
Re: [gentoo-dev] new repoman check "Harald van Dijk" <truedfx@g.o>