From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.50) id 1ENFqV-0003Zp-Ay for garchives@archives.gentoo.org; Wed, 05 Oct 2005 20:26:35 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id j95KH9B8004491; Wed, 5 Oct 2005 20:17:09 GMT Received: from egr.msu.edu (jeeves.egr.msu.edu [35.9.37.127]) by robin.gentoo.org (8.13.5/8.13.5) with ESMTP id j95KH8IM011267 for ; Wed, 5 Oct 2005 20:17:09 GMT Received: from [35.9.36.120] (dhcp-35-9-36-120 [35.9.36.120]) by egr.msu.edu (8.13.4/8.13.4) with ESMTP id j95KPcH3005090 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 5 Oct 2005 16:25:38 -0400 (EDT) Message-ID: <434436C1.2050305@egr.msu.edu> Date: Wed, 05 Oct 2005 16:25:37 -0400 From: Alec Joseph Warner User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050716) X-Accept-Language: en-us, en Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-portage-dev@gentoo.org Reply-to: gentoo-portage-dev@lists.gentoo.org MIME-Version: 1.0 To: gentoo-portage-dev@lists.gentoo.org Subject: Re: [gentoo-portage-dev] Questions about CVS locations and GID... References: <43443257.8090800@egr.msu.edu> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Archives-Salt: e2890c89-cce9-41d1-8801-fa8fcd67c320 X-Archives-Hash: edb8264dedf948abc766f923d748e0c5 m h wrote: > Sorry, on further reading of my post, my questions weren't clear. My > first question is where is the current head of portage in CVS? (I'd > like to compare with what I have, and I'm not sure if I'm looking in > the right place). > > WRT implementing Prefix. I'm looking at Michael's code, because I > want to see what he has done. (Which seems to be inline with what I > need, may or may not align with the gentoo community at large, since > nothing has been decided on that front). > > Though, I noticed there was mention of Prefixed installs in yesterdays > GWN (http://www.gentoo.org/proj/en/gentoo-alt/). If anyone can > elaborate on the efforts going on in that arena, I'm all ears. > > matt > > On 10/5/05, Alec Joseph Warner wrote: > >> >>m h wrote: >> >>>Hey Folks- >>> >>>I'm working on trying to get prefixed installs working. (As such, I'm >>>using some code kindly modified by Michael Haubenwallner. ) I'm now >>>in python code (portage) and would like to compare what I have with >>>gentoo proper. >>>Is this the location of the latest up to date portage code (in CVS, I >>>realized devs might have more "up to date" code on their boxes): >>>http://www.gentoo.org/cgi-bin/viewcvs.cgi/portage/pym/?root=gentoo-src >>> >>>I looked through the dev documentation but couldn't find anywhere >>>where it stated the actual location of the code in CVS. Any pointers >>>would be great. >>> >>>thanks, >>>matt >>> >>>ps. >>>The issue I found is with pym/cache/fs_template.py. If I'm running as >>>root (GID = 0) then this fails: >>> >>> def __init__(self, label, auxdbkeys, basepath=None, gid=-1, >>>perms=0664, **config): >>> """throws InitializationError if needs args aren't specified""" >>> if not gid: >>> raise >>>cache_errors.InitializationError(self.__class__, "must specify gid!") >>> >>>Shouldn't the logic be "if gid != -1"? I don't have access to a >>>gentoo proper box right now... >>> >> >>I thought that part of brian's domain stuff in Savior was to cover this. >> In either case no one should be writing any real code at this point >>since no one has agreed on any sane way to pull this off. There needs >>to be plenty of healthy discussion the pro's and con's of how things >>should be done in regards to *-prefix. >> >>In conclusion, if you think this will be 'easy', think again ;) >> >>PS. However starting discussion on how exactly this would work might be >>a nice thing to do ;) >>-- >>gentoo-portage-dev@gentoo.org mailing list >> >> > > * Now talking on #gentoo-portage * Topic for #gentoo-portage is: 2.0.53_rc3 released; please test || emerge development only; ebuild dev questions go to #gentoo-dev-help and usage questions go to #gentoo || anonsvn access: svn co svn://twobit.net/portage/, rewrite is at main/branches/savior, 2.1 is at main/trunk, 2.0 is at main/branches/2.0 and sandbox is at path-sandbox/trunk IRC is your friend here ;) In this case you probably want the rewrite, which is from what I recall, a complete rewrite...so nothing of Haubi's is in it. Brian will definately know more there than myself, I haven't touched it in quite some time, and I doubt RL will let me for a bit :P -- gentoo-portage-dev@gentoo.org mailing list