From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1K5r9E-0004Zr-7N for garchives@archives.gentoo.org; Mon, 09 Jun 2008 23:51:36 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2A9AFE064E; Mon, 9 Jun 2008 23:51:35 +0000 (UTC) Received: from yw-out-1718.google.com (yw-out-1718.google.com [74.125.46.157]) by pigeon.gentoo.org (Postfix) with ESMTP id 0B617E064E for ; Mon, 9 Jun 2008 23:51:35 +0000 (UTC) Received: by yw-out-1718.google.com with SMTP id 5so1258902ywm.46 for ; Mon, 09 Jun 2008 16:51:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:in-reply-to :references:content-type:date:message-id:mime-version:x-mailer :content-transfer-encoding; bh=FX/UvViWQN5SY5pdEhBRR07XLTr5oljx8wg1uB1Xjoc=; b=BMRoxQHE1xt2bD91/qr+4vMwwkHKSpFmMJB34M6RY3CobBYlALUcGtULFvXMXziGJX bwAF2hXcXL9ugrWrYZ3cbc9MSeA03yD/gowtM7/cnjUJdxPAnI655fLc/g8z0a0HGA+B uJkVnuDHrMvaP/3zUkRMUfDVUKuZv5fZ926wA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:in-reply-to:references:content-type:date:message-id :mime-version:x-mailer:content-transfer-encoding; b=xkTPcj0EFs6KRvcFaJ+eeye5x5YVTWKdt9yg3Psm0iryMwpjOMr1YgMBPb7Wa2mpw9 HCAtz30qrD3OepQuYx7ktqwkIboK8gv05LpoIShGy/bpesm4oDPD1ml9DD2GKYJ+PRxN DjDKVCKdHX40bEK9TOJafzV8+62AhaCfFr3kE= Received: by 10.151.155.19 with SMTP id h19mr7260762ybo.36.1213055494945; Mon, 09 Jun 2008 16:51:34 -0700 (PDT) Received: from ?192.168.0.5? ( [201.53.183.155]) by mx.google.com with ESMTPS id 7sm10545768ywo.7.2008.06.09.16.51.32 (version=SSLv3 cipher=RC4-MD5); Mon, 09 Jun 2008 16:51:34 -0700 (PDT) Subject: Re: [gentoo-portage-dev] Portage persistence structures :: information about ports tree From: =?ISO-8859-1?Q?Jo=E3o_Maca=EDba?= To: gentoo-portage-dev@lists.gentoo.org In-Reply-To: <20080610010743.b920372d.genone@gentoo.org> References: <1213043774.31291.85.camel@cons> <20080610010743.b920372d.genone@gentoo.org> Content-Type: text/plain; charset=ISO-8859-1 Date: Mon, 09 Jun 2008 20:51:36 -0300 Message-Id: <1213055496.31291.87.camel@cons> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-portage-dev@lists.gentoo.org Reply-to: gentoo-portage-dev@lists.gentoo.org Mime-Version: 1.0 X-Mailer: Evolution 2.12.1 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: e1eea1db-731c-4c64-9c9b-8794286541e8 X-Archives-Hash: 6677fe4abd3414d4559ac7f6fee11f50 On Tue, 2008-06-10 at 01:07 +0200, Marius Mauch wrote: > On Mon, 09 Jun 2008 17:36:14 -0300 > Jo=E3o Maca=EDba wrote: >=20 > > May someone give me some help on this ? How does portage do the > > searchs ? Walk into the ports tree and build some structure or store > > this info on some embedded database like berkeley db or sqlite ? >=20 > You're probably looking for the portdbapi class defined in > pym/portage.py (or pym/portage/dbapi/porttree.py in 2.2), in particular > the cp_all(), cpv_all(), cp_list() and aux_get() methods. >=20 > Marius Thanks very much, Marius, for you help/time ! :) I'll take a look at them. Best regards. --=20 Jo=E3o Maca=EDba --=20 gentoo-portage-dev@lists.gentoo.org mailing list