Gentoo Archives: gentoo-dev

From: Brandon Hale <tseng@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Using cvs as your portage directory
Date: Wed, 24 Mar 2004 00:00:16
Message-Id: 1080086408.10600.11.camel@y0shi
In Reply to: Re: [gentoo-dev] Using cvs as your portage directory by Brandon Hale
1 On Tue, 2004-03-23 at 18:55 -0500, Brandon Hale wrote:
2
3 Another note to new developers considering a CVS only approach:
4 rsync mirrors distribute a partial Portage cache, cvs does not, so you
5 should be building this yourself via `emerge regen`. If you dont, things
6 will break in weird ways. Also, I highly advise against using CVS
7 checkout as a "real" overlay specified in make.conf.. this will force
8 Portage to rebuild the cache for this tree in addition to the rsync tree
9 and eat up cpu time needlessly.
10
11 > On Tue, 2004-03-23 at 23:10 +0000, Stuart Herbert wrote:
12 >
13 > This may or may not be of use to any of you, but here is how I do
14 > things.. My main tree (/usr/portage) uses typical rsync, this is what I
15 > sync nightly. Note that a nightly rsync update is less stressful on our
16 > infrastructure as we have numerous mirrors for just this purpose. I have
17 > an overlay in /usr/local/portage for things that I'm playing with but
18 > have no intentions to commit. This is my PORTDIR_OVERLAY in make.conf.
19 > Lastly, I have a cvs checkout of the tree in ~/work/gentoo-x86 to
20 > develop against. If I want to test something in the tree, I can simply
21 > pass PORTDIR_OVERLAY inline and override the variable in the environment
22 > (this might be additive, doesnt matter either way), such as
23 > `PORTDIR_OVERLAY="~/work/gentoo-x86" emerge foo`. With some $1 action,
24 > this lends itself to a simple alias.
25 >
26 > What are the pros? I have a complete and up to date tree w/o putting
27 > unneeded stress on our infra. I also have a place for testing ebuilds I
28 > am not ready to commit. And most importantly to me, I can also work on
29 > the tree in CVS w/o any extra hassle. Any questions, or improvements on
30 > the above feel free to drop me a line.
31 >
32 > > On Tuesday 23 March 2004 22:57, Paul de Vrieze wrote:
33 > > > portage actually supports multiple overlays. I don't know exactly how, but
34 > > > it does. Probably just adding the overlay to the variable with a space
35 > > > separator works.
36 > >
37 > > Yup - space as the separator works.
38 > >
39 > > I agree with Joel - it'd be worth someone adding some docs about this for new
40 > > devs (and us older ones ;-) to read.
41 > >
42 > > Best regards,
43 > > Stu
44 > > --
45 > > Stuart Herbert stuart@g.o
46 > > Gentoo Developer http://www.gentoo.org/
47 > > Missed the php|cruise? http://dev.gentoo.org/~stuart/cruise-2004/
48 > >
49 > > GnuGP key id# F9AFC57C available from http://pgp.mit.edu
50 > > Key fingerprint = 31FB 50D4 1F88 E227 F319 C549 0C2F 80BA F9AF C57C
51 > > --
52 > >
53 > > --
54 > > gentoo-dev@g.o mailing list
55 >
56 > --
57 > Brandon Hale
58 > Co-lead, Gentoo Desktop
59 > Hardened Gentoo
60
61 --
62 Brandon Hale
63 Co-lead, Gentoo Desktop
64 Hardened Gentoo

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-dev] Using cvs as your portage directory Paul de Vrieze <pauldv@g.o>
Re: [gentoo-dev] Using cvs as your portage directory Nick Jones <carpaski@g.o>