1 |
2011/2/14 Tomáš Chvátal <scarabeus@g.o>: |
2 |
> Dne 14.2.2011 14:49, Gilles Dartiguelongue napsal(a): |
3 |
> Same does x11 team... |
4 |
> Example: |
5 |
> http://bugs.gentoo.org/show_bug.cgi?id=354237 |
6 |
> |
7 |
> I think this does not need any policy, most teams can use brains and |
8 |
> fill the bugs quite conveniently :) |
9 |
> |
10 |
|
11 |
In related news, there's a nice script to generate such a list: |
12 |
|
13 |
http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=blob;f=scripts/gen_archlist.py |
14 |
|
15 |
It will assign a stable keyword for an arch if and only if an earlier |
16 |
version was stable for that package. |
17 |
|
18 |
Usage: ./gen_archlist.py <file_with_all_atoms> |
19 |
|
20 |
to check the dependencies recursively and generate a list: |
21 |
|
22 |
CHECK_DEPS=1 ./gen_archlist.py <file_with_atoms> |
23 |
|
24 |
Examples of files with atoms: |
25 |
|
26 |
http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=tree;f=scripts/test-data |
27 |
|
28 |
Bugs: |
29 |
|
30 |
* Only works for generating STABLEREQ lists. KEYWORDREQ is broken (and |
31 |
I'm too lazy to fix it) |
32 |
|
33 |
CHECK_DEPS bugs: |
34 |
|
35 |
* If there's an || dep, selects both for stabilization |
36 |
* Does not handle the case where use-flags are package.use.masked on |
37 |
some arch other than the one you're running the script on |
38 |
- Script logic is fundamentally broken for this |
39 |
* Can duplicate atoms sometimes (happens when more than one version |
40 |
gets pulled in by a dependency) |
41 |
|
42 |
Patches for fixing these bugs are welcome :p |
43 |
|
44 |
PS: yes, I know the script's logic is extremely spaghetti. It works |
45 |
for most cases, so I never rewrote it. |
46 |
|
47 |
-- |
48 |
~Nirbheek Chauhan |
49 |
|
50 |
Gentoo GNOME+Mozilla Team |