Gentoo Archives: gentoo-portage-dev

From: Brian Harring <ferringb@×××××.com>
To: gentoo-portage-dev@l.g.o
Subject: Re: [gentoo-portage-dev] Questions regarding the new portage API (savior branch)
Date: Thu, 02 Mar 2006 01:39:52
Message-Id: 8d4fefb00603011739u9dc6057o876141cb01402e9b@mail.gmail.com
In Reply to: [gentoo-portage-dev] Questions regarding the new portage API (savior branch) by Michael Schilling
1 On 2/28/06, Michael Schilling <gentoo@×××××××.de> wrote:
2 >
3 > - Is one of these svn-web-repository up to date?
4 > * http://sources.gentoo.org/viewcvs.py/portage/main/branches/savior/
5 > * http://mzz.mine.nu/bzr/savior-svn/portage/
6
7
8 I switched over to bzr about 2 months back; svn doesn't allow for offline
9 committing, nor does gentoo's vcs allow for anon*... bzr natively allows for
10 those capabilities, so that's what I'm using. :)
11
12 http://gentooexperimental.org/~ferringb/bzr/saviour
13 Is where I'll be updating the code for at least the near future.
14
15 emerge bzr
16 bzr get http://gentooexperimental.org/~ferringb/bzr/saviour
17 cd saviour
18 bzr pull
19
20 ...roughly. ;)
21
22 - Where can I find general ideas about the functionality of the planned
23 > new portage API. (TODO files, anything about the general structure)
24
25
26 http://gentooexperimental.org/~ferringb/bzr/saviour/dev-notes/frameworkprobably
27 is of interest; What's needed right now (eg, something I'm not
28 currently working on) is functionality to inspect restriction groups. Might
29 now make sense, but after reading through layout.txt and restrictions in the
30 framework directory, ought to make a bit more sense ;)
31
32 Basically... need the ability to descend through a restriction set and
33 identify all restrictions that are a PackageRestriction checking the
34 category attribute (fex); it's required for making repo.match a fair sight
35 faster, and for part of the resolver work.
36
37 - Is any API functionality already implemented (so that I can learn how
38 > it is meant to work). Where can I find the corresponding files?
39
40
41 Functionality is implemented for searching (pretty much can search via
42 whatever you want with any insane combination of criteria), full
43 building/fetching of an ebuild, merging/installing to a vdb,
44 unmerging/uninstalling from a vdb.
45
46 I've got a crappy replace operation I'm fixing up which will be pushed to
47 ge.o sometime this week also, although the trigger work is dragging out.
48
49 - When is the best time to find some people of the savior branch in
50 > #gentoo-portage (I don't have time to lure in the # all the time, but
51 > it's probably the best and quickest way to get more informations)
52
53
54 UTC 03-08 roughly, although I'm occasionally online during UTC 18->01
55
56 Thanks,
57 ~harring

Replies