Gentoo Archives: gentoo-dev

From: Brian Dolbec <dolsen@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] making the stable tree more up-to-date
Date: Mon, 21 Nov 2011 15:48:55
Message-Id: 1321890436.24330.73.camel@big_daddy.dol-sen.ca
In Reply to: [gentoo-dev] making the stable tree more up-to-date by "Paweł Hajdan
1 On Mon, 2011-11-21 at 09:41 +0100, "Paweł Hajdan, Jr." wrote:
2
3 > I wrote a script,
4 > <http://git.overlays.gentoo.org/gitweb/?p=proj/arch-tools.git;a=blob;f=stabilization-candidates.py;hb=HEAD>,
5 > that scans the tree for packages that could be easily stabilized (all
6 > deps stable, no bugs).
7 >
8
9 > Paweł
10
11 nice :)
12
13 you might want to consider adding the "trees=" parameter to the cp_all()
14 call. It will limit the scan to only the trees passed. Useful for
15 those that have overlays installed.
16
17 line 41: for cp in portage.portdb.cp_all():
18
19 Also the cp_list() takes an optional mytree parameter as well
20 .
21 line 48: for cpv in portage.portdb.cp_list(cp):
22
23 The portdbapi also has some convenience functions,
24
25 getRepositoryName()
26 getRepositoryPath()
27
28 which you may be able to use instead of needing to pass the --repo path
29 in. From what I understand is that many of you use the cvs tree for
30 your main gentoo tree rather than the normal rsync.
31 --
32 Brian Dolbec <dolsen@g.o>

Attachments

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