1 |
On Thursday 25 November 2010 11:22:39 Paweł Hajdan, Jr. wrote: |
2 |
> On 11/25/10 2:59 PM, Alexis Ballier wrote: |
3 |
> > I fail to understand why you claim that live ebuilds are a QA nightmare, |
4 |
> > you may want to have a look at how I play with, eg, ffmpeg or vlc and |
5 |
> > their live ebuilds: they make version bumps much easier and far less |
6 |
> > error prone. |
7 |
> |
8 |
> I'm just curious. Could you explain more how the live ebuilds make |
9 |
> version bumps easier and less error prone? |
10 |
|
11 |
By following closely upstream development you are able to adapt the live |
12 |
ebuild to the current status, eg, for new deps. Usually with vlc, when a new |
13 |
major version comes out, there are a couple of new features and a couple of |
14 |
outdated features removed, doing all these changes at once is more error prone |
15 |
than doing it once you notice the change for each of them in the live ebuild. |
16 |
|
17 |
As for version bumps, the live ebuild is simply copied to an ebuild with a |
18 |
name matching the version that has just been released. |
19 |
|
20 |
> My experience with chromium-9999 ebuild is different. Indeed users do |
21 |
> test it and report very useful "early warning" bugs, but when I actually |
22 |
> do a version bump I also have to modify the live ebuild, and that |
23 |
> modification is usually untested. |
24 |
|
25 |
What kind of modification do you need to do? The only cases I had to change |
26 |
anything is when the live ebuild was out of sync. |
27 |
|
28 |
> Furthermore, when one of local Gentoo |
29 |
> patches lands upstream, the live ebuild has to be modified again. |
30 |
|
31 |
In case of a responsive upstream, like vlc or ffmpeg here, you can apply the |
32 |
policy of "backports only" for patches and have absolutely zero patches for |
33 |
the live version. [This is not entirely true for vlc because we have some |
34 |
patches that cannot be merged that easily upstream and some of them indeed |
35 |
break from time to time] |
36 |
The patch is sent upstream, modified until accepted, and backported in the |
37 |
_previous_ versions if there is a need for it. The live ebuild doesn't change, |
38 |
the patch is already here, the next release will again match the live ebuild. |
39 |
|
40 |
> If there are some tips/techniques that work for you and make live |
41 |
> ebuilds more helpful, I'd like to learn a bit more. |
42 |
|
43 |
I usually maintain mainly the live version: any change that is not purely a |
44 |
bugfix goes to the live version, period. |
45 |
|
46 |
Not sure if that's the kind of tips/techniques you were expecting, feel free |
47 |
to ask more questions. |
48 |
|
49 |
A. |