Gentoo Archives: gentoo-portage-dev

From: Zac Medico <zmedico@g.o>
To: gentoo-portage-dev@l.g.o
Subject: Re: [gentoo-portage-dev] Exporting basic emerge/portage functionality in an API
Date: Mon, 28 Jul 2008 07:45:07
Message-Id: 488D78FC.4080705@gentoo.org
In Reply to: [gentoo-portage-dev] Exporting basic emerge/portage functionality in an API by "René 'Necoro' Neumann"
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 René 'Necoro' Neumann wrote:
5 > Hi,
6 >
7 > I think, this is already somewhere on the agenda of portage (perhaps
8 > with a low priority ;)), but I nevertheless wanted to ask for the
9 > possibility to have as much of emerge's functionality exported in an API
10 > as possible =).
11 >
12 > The reason behind this is, that for Portato (this GUI thingy ;)), I have
13 > to re-implement lots of things that portage does (update functionality,
14 > parts of dep-string parsing etc). This is kind of sisyphean, because one
15 > has to:
16 > - notice/detect subtle changes (esp. the updating process often changes
17 > unnoticed in small points)
18 > - support tons of portage versions
19 >
20 > Especially with larger bumps (2.1.1 -> 2.1.2; -> 2.2) there are lots of
21 > things breaking and showing another behavior.
22 >
23 > In the sum, this work takes quite a large part of the whole development
24 > process ... though showing no results for the user ;)
25 >
26 > Thus, it would be really great, if I only had to use an API (which might
27 > change over time - but API changes are easier to track and to work around).
28 > Perhaps - as you currently seem to be restructuring the whole thing -
29 > you can bundle some things and export them :). I bet there are more
30 > people out there besides me, that use or want to use the portage API and
31 > would be thankful, when they don't have to reinvent things :)
32
33 Thanks for expressing your interest. Lots of things are about ready
34 to be exposed for external use now, so I'll try to focus on
35 splitting them out for API consumers as soon as I can. Maybe we can
36 expose some of these things before the 2.2 final release.
37
38 Zac
39
40 >
41 > Else - thank you guys for your great work :). It's very great to see
42 > portage's evolution over the last months.
43 >
44 > Regards,
45 > René
46
47 -----BEGIN PGP SIGNATURE-----
48 Version: GnuPG v2.0.9 (GNU/Linux)
49
50 iEYEARECAAYFAkiNePEACgkQ/ejvha5XGaNHqgCdGvfawDlGBT8e9Puh/usRSzL6
51 CMkAn35A/M2RGEnkUqUbxGMmqqsHQz1b
52 =XqiN
53 -----END PGP SIGNATURE-----