Gentoo Archives: gentoo-portage-dev

From: "Philippe Lafoucrière" <lafou@×××××××.fr>
To: gentoo-portage-dev@l.g.o
Subject: [gentoo-portage-dev] portage doc & cache
Date: Fri, 11 Jun 2004 21:15:50
Message-Id: 40CA20FD.8040907@wanadoo.fr
1 Hi all
2
3 I'm wondering where I can find some doc about portage, and especially
4 the cache part. I use debian at work, and get so sad when doing an
5 emerge rsync at home (10 or 15 minutes to rsync, and almost 5 minutes to
6 calculate world dependancies) on a bi-athlon 1.8GHz.
7
8 I just wanted to check that the cache system is really a cache :)
9
10 maybe ebuilds should be "compiled" into seriaziled objects or something
11 similar. Only an emerge rsync (or something called "emerge update")
12 would fetch new ebuilds, and compile new ones (we don't care anymore of
13 hand modified files after sync).
14
15
16
17 On the other hand, I was thinkink of the "rsync way" to synchronise the
18 portage tree. Why don't we use a portage tree ID (incremented each time
19 an ebuild is commited to CVS). For exemple, I have the tree number
20 12512. Current portage tree ID is 12514. I just need too fresh ebuilds.
21
22 I don't think it would be really difficult to implement a server that
23 would handle requests like :
24
25 - "tell me which files where updated since 12512"
26 - "files are :
27 foo.ebuild
28 bar.ebuild"
29 [emerge is download foo.ebuild, bar.ebuild here]
30
31 Moreover, do I REALLY need all ebuilds content ???? Why can't portage
32 just look at some headers (with arch, desc, etc.) and left the install
33 part on other files. Rsync local tree would be lighter, and faster to
34 sync. When you need to emerge some program, emerge would download the
35 _real_ ebuild file, the digests, the distfiles, etc.
36
37 The headers can also be contained in one large tar.gz file, to reduce
38 bandwith again (I know, like debian).
39
40 I know this stuff might let you think I'm crazy to rebuild all portage,
41 but here are some ideas to dig :D
42
43
44 --
45 gentoo-portage-dev@g.o mailing list

Replies

Subject Author
Re: [gentoo-portage-dev] portage doc & cache Nicholas Jones <carpaski@××××××.net>
Re: [gentoo-portage-dev] portage doc & cache John Nilsson <john@×××××××.nu>
Re: [gentoo-portage-dev] portage doc & cache "Philippe Lafoucrière" <lafou@×××××××.fr>