Gentoo Archives: gentoo-portage-dev

From: m h <sesquile@×××××.com>
To: gentoo-portage-dev@l.g.o
Subject: [gentoo-portage-dev] Questions about CVS locations and GID...
Date: Wed, 05 Oct 2005 18:36:08
Message-Id: e36b84ee0510051135s628042cbhcde6ed068076a8dc@mail.gmail.com
1 Hey Folks-
2
3 I'm working on trying to get prefixed installs working. (As such, I'm
4 using some code kindly modified by Michael Haubenwallner. ) I'm now
5 in python code (portage) and would like to compare what I have with
6 gentoo proper.
7 Is this the location of the latest up to date portage code (in CVS, I
8 realized devs might have more "up to date" code on their boxes):
9 http://www.gentoo.org/cgi-bin/viewcvs.cgi/portage/pym/?root=gentoo-src
10
11 I looked through the dev documentation but couldn't find anywhere
12 where it stated the actual location of the code in CVS. Any pointers
13 would be great.
14
15 thanks,
16 matt
17
18 ps.
19 The issue I found is with pym/cache/fs_template.py. If I'm running as
20 root (GID = 0) then this fails:
21
22 def __init__(self, label, auxdbkeys, basepath=None, gid=-1,
23 perms=0664, **config):
24 """throws InitializationError if needs args aren't specified"""
25 if not gid:
26 raise
27 cache_errors.InitializationError(self.__class__, "must specify gid!")
28
29 Shouldn't the logic be "if gid != -1"? I don't have access to a
30 gentoo proper box right now...
31
32 --
33 gentoo-portage-dev@g.o mailing list

Replies

Subject Author
Re: [gentoo-portage-dev] Questions about CVS locations and GID... Ciaran McCreesh <ciaranm@g.o>
Re: [gentoo-portage-dev] Questions about CVS locations and GID... Alec Joseph Warner <warnera6@×××××××.edu>