Gentoo Archives: gentoo-portage-dev

From: "João Macaíba" <joao.macaiba@×××××.com>
To: gentoo-portage-dev@l.g.o
Subject: Re: [gentoo-portage-dev] Portage persistence structures :: information about ports tree
Date: Mon, 09 Jun 2008 23:51:36
Message-Id: 1213055496.31291.87.camel@cons
In Reply to: Re: [gentoo-portage-dev] Portage persistence structures :: information about ports tree by Marius Mauch
1 On Tue, 2008-06-10 at 01:07 +0200, Marius Mauch wrote:
2 > On Mon, 09 Jun 2008 17:36:14 -0300
3 > João Macaíba <joao.macaiba@×××××.com> wrote:
4 >
5 > > May someone give me some help on this ? How does portage do the
6 > > searchs ? Walk into the ports tree and build some structure or store
7 > > this info on some embedded database like berkeley db or sqlite ?
8 >
9 > You're probably looking for the portdbapi class defined in
10 > pym/portage.py (or pym/portage/dbapi/porttree.py in 2.2), in particular
11 > the cp_all(), cpv_all(), cp_list() and aux_get() methods.
12 >
13 > Marius
14
15 Thanks very much, Marius, for you help/time ! :)
16
17 I'll take a look at them.
18
19 Best regards.
20 --
21 João Macaíba <joao.macaiba@×××××.com>
22
23 --
24 gentoo-portage-dev@l.g.o mailing list

Replies