Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-portage-dev
Navigation:
Lists: gentoo-portage-dev: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-portage-dev@g.o
From: Alec Joseph Warner <warnera6@...>
Subject: Re: Questions about CVS locations and GID...
Date: Wed, 05 Oct 2005 16:06:47 -0400

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@g.o mailing list


Replies:
Re: Questions about CVS locations and GID...
-- Brian Harring
Re: Questions about CVS locations and GID...
-- m h
References:
Questions about CVS locations and GID...
-- m h
Navigation:
Lists: gentoo-portage-dev: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: Questions about CVS locations and GID...
Next by thread:
Re: Questions about CVS locations and GID...
Previous by date:
Re: Questions about CVS locations and GID...
Next by date:
Re: Questions about CVS locations and GID...


Updated Jun 17, 2009

Summary: Archive of the gentoo-portage-dev mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.