1 |
Sorry, on further reading of my post, my questions weren't clear. My |
2 |
first question is where is the current head of portage in CVS? (I'd |
3 |
like to compare with what I have, and I'm not sure if I'm looking in |
4 |
the right place). |
5 |
|
6 |
WRT implementing Prefix. I'm looking at Michael's code, because I |
7 |
want to see what he has done. (Which seems to be inline with what I |
8 |
need, may or may not align with the gentoo community at large, since |
9 |
nothing has been decided on that front). |
10 |
|
11 |
Though, I noticed there was mention of Prefixed installs in yesterdays |
12 |
GWN (http://www.gentoo.org/proj/en/gentoo-alt/). If anyone can |
13 |
elaborate on the efforts going on in that arena, I'm all ears. |
14 |
|
15 |
matt |
16 |
|
17 |
On 10/5/05, Alec Joseph Warner <warnera6@×××××××.edu> wrote: |
18 |
> |
19 |
> |
20 |
> m h wrote: |
21 |
> > Hey Folks- |
22 |
> > |
23 |
> > I'm working on trying to get prefixed installs working. (As such, I'm |
24 |
> > using some code kindly modified by Michael Haubenwallner. ) I'm now |
25 |
> > in python code (portage) and would like to compare what I have with |
26 |
> > gentoo proper. |
27 |
> > Is this the location of the latest up to date portage code (in CVS, I |
28 |
> > realized devs might have more "up to date" code on their boxes): |
29 |
> > http://www.gentoo.org/cgi-bin/viewcvs.cgi/portage/pym/?root=gentoo-src |
30 |
> > |
31 |
> > I looked through the dev documentation but couldn't find anywhere |
32 |
> > where it stated the actual location of the code in CVS. Any pointers |
33 |
> > would be great. |
34 |
> > |
35 |
> > thanks, |
36 |
> > matt |
37 |
> > |
38 |
> > ps. |
39 |
> > The issue I found is with pym/cache/fs_template.py. If I'm running as |
40 |
> > root (GID = 0) then this fails: |
41 |
> > |
42 |
> > def __init__(self, label, auxdbkeys, basepath=None, gid=-1, |
43 |
> > perms=0664, **config): |
44 |
> > """throws InitializationError if needs args aren't specified""" |
45 |
> > if not gid: |
46 |
> > raise |
47 |
> > cache_errors.InitializationError(self.__class__, "must specify gid!") |
48 |
> > |
49 |
> > Shouldn't the logic be "if gid != -1"? I don't have access to a |
50 |
> > gentoo proper box right now... |
51 |
> > |
52 |
> |
53 |
> I thought that part of brian's domain stuff in Savior was to cover this. |
54 |
> In either case no one should be writing any real code at this point |
55 |
> since no one has agreed on any sane way to pull this off. There needs |
56 |
> to be plenty of healthy discussion the pro's and con's of how things |
57 |
> should be done in regards to *-prefix. |
58 |
> |
59 |
> In conclusion, if you think this will be 'easy', think again ;) |
60 |
> |
61 |
> PS. However starting discussion on how exactly this would work might be |
62 |
> a nice thing to do ;) |
63 |
> -- |
64 |
> gentoo-portage-dev@g.o mailing list |
65 |
> |
66 |
> |
67 |
|
68 |
-- |
69 |
gentoo-portage-dev@g.o mailing list |