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 1ENFYD-0002I0-H1 for garchives@archives.gentoo.org; Wed, 05 Oct 2005 20:07:41 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id j95JwKod007906; Wed, 5 Oct 2005 19:58:20 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 j95JwIv7001285 for ; Wed, 5 Oct 2005 19:58:19 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 j95K6l8x018093 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 5 Oct 2005 16:06:47 -0400 (EDT) Message-ID: <43443257.8090800@egr.msu.edu> Date: Wed, 05 Oct 2005 16:06:47 -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: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Archives-Salt: 0da1b1fe-efd1-4646-900b-c9bc5e9f18b9 X-Archives-Hash: be2ba6d2d06fdbb072d61743a84ecea4 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