From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1RSW74-00073r-QE for garchives@archives.gentoo.org; Mon, 21 Nov 2011 15:48:55 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 14D6121C061; Mon, 21 Nov 2011 15:48:32 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id B7F9821C033 for ; Mon, 21 Nov 2011 15:47:28 +0000 (UTC) Received: from [192.168.1.210] (S010600222de111ff.vc.shawcable.net [174.6.108.85]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0363C1B4028 for ; Mon, 21 Nov 2011 15:47:27 +0000 (UTC) Subject: Re: [gentoo-dev] making the stable tree more up-to-date From: Brian Dolbec To: gentoo-dev@lists.gentoo.org In-Reply-To: <4ECA0EA3.8020407@gentoo.org> References: <4ECA0EA3.8020407@gentoo.org> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-SLx/DKva1eqWPnGzBMSH" Date: Mon, 21 Nov 2011 07:47:16 -0800 Message-ID: <1321890436.24330.73.camel@big_daddy.dol-sen.ca> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org Mime-Version: 1.0 X-Mailer: Evolution 2.32.3 X-Archives-Salt: 2e1dc8f6-29ef-48a6-ba97-65231ba0d7fb X-Archives-Hash: a796f367fd42e2883bc84e3182b768ab --=-SLx/DKva1eqWPnGzBMSH Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, 2011-11-21 at 09:41 +0100, "Pawe=C5=82 Hajdan, Jr." wrote: > I wrote a script, > , > that scans the tree for packages that could be easily stabilized (all > deps stable, no bugs). >=20 > Pawe=C5=82 nice :) you might want to consider adding the "trees=3D" parameter to the cp_all() call. It will limit the scan to only the trees passed. Useful for those that have overlays installed. line 41: for cp in portage.portdb.cp_all(): Also the cp_list() takes an optional mytree parameter as well . line 48: for cpv in portage.portdb.cp_list(cp): The portdbapi also has some convenience functions, getRepositoryName() getRepositoryPath() which you may be able to use instead of needing to pass the --repo path in. From what I understand is that many of you use the cvs tree for your main gentoo tree rather than the normal rsync. --=20 Brian Dolbec --=-SLx/DKva1eqWPnGzBMSH Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (GNU/Linux) iQEcBAABAgAGBQJOynKEAAoJECIU2QoBTxfLNb8IAIUgWu/J5vJMKW8MrdyfF+IL Hq5VNzpotwkUVYcAdByxXzLNSNH0pqEwy8c6s/N5GIZaBr9AHSiCMMjfY6k+Xe/z 7+JVFwCR0zUCR3RPQv+3bZpZvR+ADBoY1X7sUYpOXf0O5aNuFrQSZjnrX5K0sEKN oipGgsp3OF90bWh9955XgwVxHobGF57pUg+bbhwITdc4hTT3FyGpSon6uk37zVMb rhDSmXDKtygJnWxKweIGXE1JBnfDcjYuYakgzxfmQQaFZm43PdQ8MskXUEFWaM0J OU8AnkN5w6eCBvlaSog0241jqqJo+o/G74nEy/QJqVjRpQF2scki6oKs1J7mgSk= =f2I9 -----END PGP SIGNATURE----- --=-SLx/DKva1eqWPnGzBMSH--