1 |
Harald van Dijk wrote: |
2 |
> On Mon, Jun 05, 2006 at 02:24:24AM -0700, Brian Harring wrote: |
3 |
> |
4 |
>>On Mon, Jun 05, 2006 at 11:14:45AM +0200, Harald van Dijk wrote: |
5 |
>> |
6 |
>>>On Mon, Jun 05, 2006 at 01:54:08AM -0700, Brian Harring wrote: |
7 |
>>> |
8 |
>>>>On Mon, Jun 05, 2006 at 10:19:41AM +0200, Harald van Dijk wrote: |
9 |
>>>> |
10 |
>>>>>On Mon, Jun 05, 2006 at 03:45:50AM -0400, Mike Frysinger wrote: |
11 |
>>>>> |
12 |
>>>>>>On Monday 05 June 2006 02:07, Harald van Dijk wrote: |
13 |
>>>>>> |
14 |
>>>>>>>Some gnustep stuff inherits cvs, but uses -D in the cvs options to |
15 |
>>>>>>>always download exactly the same thing. |
16 |
>>>>>> |
17 |
>>>>>>then arent you just adding overhead to the poor gnustep cvs servers ? why not |
18 |
>>>>>>roll a cvs snapshot tarball and distro via our mirrors |
19 |
>>>>> |
20 |
>>>>>Yeah, that'd probably be a better idea, but even if the current ebuilds |
21 |
>>>>>are less than perfect, it seems like a valid use of the eclass to me, so |
22 |
>>>>>making repoman error out is a bad idea, I think. A warning would be |
23 |
>>>>>useful, though. |
24 |
>>>> |
25 |
>>>>'Cept standards for ebuilds is typically http/https/ftp access for |
26 |
>>>>fetching files- forcing pserver means people behind firewalls are |
27 |
>>>>screwed... which is why non standard uri that is generally accessible |
28 |
>>>>to users must be http/https/ftp, and if they aren't, upload the file |
29 |
>>>>to the mirrors. |
30 |
>>>> |
31 |
>>>>Ebuilds might work, don't think they qualify as valid though- assume |
32 |
>>>>initially it was easier to just copy the ebuild and lock the date; |
33 |
>>>>doesn't make it valid though. :) |
34 |
>>> |
35 |
>>>I now checked: |
36 |
>>> |
37 |
>>>http://devmanual.gentoo.org/ebuild-writing/functions/src_unpack/cvs-sources/index.html |
38 |
>>> |
39 |
>>>If it's explained how to do it in the docs, I consider it valid, |
40 |
>>>regardless of how bad an idea it may be. |
41 |
>> |
42 |
>>Except the doc specifically states they should be package.mask'd if |
43 |
>>added; what that doc is talking about is vcs head ebuilds, not an |
44 |
>>ebuild that's locked down to an exact rev/date. |
45 |
> |
46 |
> |
47 |
> It first lists the disadvantages of CVS sources in general, and then |
48 |
> the disadvantages of live CVS sources. If it only applied to live CVS |
49 |
> sources, why would it split them up? |
50 |
> |
51 |
> |
52 |
>>As mike said, why hammer on their servers? The ebuild isn't changing |
53 |
>>(it's effectively a locked version), tarball it and upload it. |
54 |
> |
55 |
> |
56 |
> And as I said, I agree that that would be a better idea. |
57 |
> |
58 |
> |
59 |
>>Basically, the locked cvs version ebuild referenced above seems like a |
60 |
>>lazy trick someone did to avoid rewriting it to drop the cvs usage. |
61 |
>> |
62 |
>> |
63 |
>> |
64 |
>>>>Should be an error imo- there isn't any real requirement for a |
65 |
>>>>cvs/git/darcs/subversion eclass consumer to be visible really. |
66 |
>>>>~harring |
67 |
>>> |
68 |
>>>Are you hoping for even ~arch cvs ebuilds to cause a repoman error? |
69 |
>> |
70 |
>>Original rules *were* that no vcs head based ebuild should be visible, |
71 |
>>that it must be masked. Current devrel docs contradict that (those |
72 |
>>docs bluntly are wrong- that change I don't think anyone ever agreed |
73 |
>>to), devmanual states it correctly. |
74 |
> |
75 |
> |
76 |
> The devmanual states that they should not "generally" be added to the |
77 |
> tree softmasked or unmasked. It does not state that they should never |
78 |
> be added as such at all. Or, in other words, there can be exceptions. |
79 |
> |
80 |
> |
81 |
|
82 |
The error has been dropped to a warning, repoman will presently complain |
83 |
for any ebuild which has stable keywords and inherits a "VCS" eclass. |
84 |
Repoman will then list off all the arches that are keyworded stable. |
85 |
|
86 |
*In General* Inheriting a VCS eclass and having stable keywords means |
87 |
you are doing something wrong, there are exceptions; thats why warning |
88 |
is important here (more effective than an error as I think more about |
89 |
it). It's a warning to allow exceptions, expect the QA team to nudge |
90 |
you about ebuilds with odd keywording though. |
91 |
|
92 |
I am attempting to enforce current devrel policy with this change. I |
93 |
will push for policy to be changed later to pmask as I think that is the |
94 |
proper way to go about things. However that is seperate discussion. |
95 |
|
96 |
-- |
97 |
gentoo-dev@g.o mailing list |