Gentoo Archives: gentoo-portage-dev

From: Alec Joseph Warner <warnera6@×××××××.edu>
To: gentoo-portage-dev@l.g.o
Subject: Re: [gentoo-portage-dev] Questions about CVS locations and GID...
Date: Wed, 05 Oct 2005 20:26:35
Message-Id: 434436C1.2050305@egr.msu.edu
In Reply to: Re: [gentoo-portage-dev] Questions about CVS locations and GID... by m h
1 m h wrote:
2 > Sorry, on further reading of my post, my questions weren't clear. My
3 > first question is where is the current head of portage in CVS? (I'd
4 > like to compare with what I have, and I'm not sure if I'm looking in
5 > the right place).
6 >
7 > WRT implementing Prefix. I'm looking at Michael's code, because I
8 > want to see what he has done. (Which seems to be inline with what I
9 > need, may or may not align with the gentoo community at large, since
10 > nothing has been decided on that front).
11 >
12 > Though, I noticed there was mention of Prefixed installs in yesterdays
13 > GWN (http://www.gentoo.org/proj/en/gentoo-alt/). If anyone can
14 > elaborate on the efforts going on in that arena, I'm all ears.
15 >
16 > matt
17 >
18 > On 10/5/05, Alec Joseph Warner <warnera6@×××××××.edu> wrote:
19 >
20 >>
21 >>m h wrote:
22 >>
23 >>>Hey Folks-
24 >>>
25 >>>I'm working on trying to get prefixed installs working. (As such, I'm
26 >>>using some code kindly modified by Michael Haubenwallner. ) I'm now
27 >>>in python code (portage) and would like to compare what I have with
28 >>>gentoo proper.
29 >>>Is this the location of the latest up to date portage code (in CVS, I
30 >>>realized devs might have more "up to date" code on their boxes):
31 >>>http://www.gentoo.org/cgi-bin/viewcvs.cgi/portage/pym/?root=gentoo-src
32 >>>
33 >>>I looked through the dev documentation but couldn't find anywhere
34 >>>where it stated the actual location of the code in CVS. Any pointers
35 >>>would be great.
36 >>>
37 >>>thanks,
38 >>>matt
39 >>>
40 >>>ps.
41 >>>The issue I found is with pym/cache/fs_template.py. If I'm running as
42 >>>root (GID = 0) then this fails:
43 >>>
44 >>> def __init__(self, label, auxdbkeys, basepath=None, gid=-1,
45 >>>perms=0664, **config):
46 >>> """throws InitializationError if needs args aren't specified"""
47 >>> if not gid:
48 >>> raise
49 >>>cache_errors.InitializationError(self.__class__, "must specify gid!")
50 >>>
51 >>>Shouldn't the logic be "if gid != -1"? I don't have access to a
52 >>>gentoo proper box right now...
53 >>>
54 >>
55 >>I thought that part of brian's domain stuff in Savior was to cover this.
56 >> In either case no one should be writing any real code at this point
57 >>since no one has agreed on any sane way to pull this off. There needs
58 >>to be plenty of healthy discussion the pro's and con's of how things
59 >>should be done in regards to *-prefix.
60 >>
61 >>In conclusion, if you think this will be 'easy', think again ;)
62 >>
63 >>PS. However starting discussion on how exactly this would work might be
64 >>a nice thing to do ;)
65 >>--
66 >>gentoo-portage-dev@g.o mailing list
67 >>
68 >>
69 >
70 >
71 * Now talking on #gentoo-portage
72 * Topic for #gentoo-portage is: 2.0.53_rc3 released; please test ||
73 emerge development only; ebuild dev questions go to #gentoo-dev-help and
74 usage questions go to #gentoo || anonsvn access: svn co
75 svn://twobit.net/portage/, rewrite is at main/branches/savior, 2.1 is at
76 main/trunk, 2.0 is at main/branches/2.0 and sandbox is at path-sandbox/trunk
77
78 IRC is your friend here ;) In this case you probably want the rewrite,
79 which is from what I recall, a complete rewrite...so nothing of Haubi's
80 is in it. Brian will definately know more there than myself, I haven't
81 touched it in quite some time, and I doubt RL will let me for a bit :P
82 --
83 gentoo-portage-dev@g.o mailing list