Gentoo Archives: gentoo-portage-dev

From: Zac Medico <zmedico@×××××.com>
To: gentoo-portage-dev@l.g.o
Subject: Re: [gentoo-portage-dev] PATCH: emerge sync with cvs:// behaves oddly with initial checkout (bug 100478)
Date: Tue, 18 Oct 2005 08:41:14
Message-Id: 4354B2C0.40601@gmail.com
In Reply to: [gentoo-portage-dev] PATCH: emerge sync with cvs:// behaves oddly with initial checkout (bug 100478) by Zac Medico
1 Zac Medico wrote:
2 > http://bugs.gentoo.org/show_bug.cgi?id=100478
3 >
4 > When syncing against a cvs server, emerge can have some odd behavior
5 > with initial checkout. The attached patch makes a few trivial changes
6 > intended to correct this behavior.
7 >
8 > Effectively, the only change this makes is to move $PORTDIR to
9 > gentoo-x86 and then make sure that $PORTDIR is moved back again before
10 > portage exits. I have tested this patch and it seems to work well.
11 >
12
13 As brought to my attention by Brian, the problem with my previously posted patch is that the "emerge sync" cvs checkout will be owned by root and cvs doesn't allow commits by root. Apparently we need to devise a scheme to set the privileges appropriately for a non-root user and/or group.
14
15 Zac
16 --
17 gentoo-portage-dev@g.o mailing list

Replies