Gentoo Archives: gentoo-portage-dev

From: Zac Medico <zmedico@g.o>
To: gentoo-portage-dev@l.g.o
Subject: Re: [gentoo-portage-dev] Google SoC and "cache sync"
Date: Tue, 31 Mar 2009 22:41:50
Message-Id: 49D29C0F.5060209@gentoo.org
In Reply to: [gentoo-portage-dev] Google SoC and "cache sync" by Emma Strubell
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 Emma Strubell wrote:
5 > Hi all.
6 >
7 > So, I'd love to do Google's Summer of Code with you guys. I was perusing
8 > the list of ideas on the Gentoo wiki, and the "cache sync" idea seems
9 > pretty interesting, especially since it concerns the overall speed of
10 > portage, including search, which of course I've already started some
11 > work on. However, there is no contact person associated with that
12 > project! I figured I'd come here before going to #gentoo-soc to see if
13 > anyone is interested in mentoring me on this project, since it seemed
14 > like a few of you might be interested.
15
16 The way that I imagine the "cache sync" idea should be implemented
17 is like paludis's "unavailable repository" which uses of tarball to
18 distribute package metadata[1]. The tarball approach that they use
19 seems pretty reasonable. However, it would probably also be nice to
20 be able to use a protocol such as rsync to download the
21 metadata/cache/ directory from the same URI which is used to fetch
22 the ebuilds themselves (maybe paludis supports this already, I don't
23 know).
24
25 In order for the clients to be able to download the metadata/cache/
26 directory, first that directory has to be populated (as is done on
27 gentoo's master rsync server). I'm currently working on a tool
28 called 'egencache' that overlay maintainers will be able to use in
29 order to populate the metadata/cache/ directory [2]. It will be
30 included in the next portage release.
31
32 Before we implement something like "unavailable repository" for
33 portage, first we'll have to add multiple repository support, and
34 that's a decent sized project of it's own. Somebody has mentioned
35 interest in "multiple repository support" on the gentoo-soc list
36 [3], but they haven't submitted a proposal to
37 http://socghop.appspot.com yet.
38
39 [1] http://paludis.pioto.org/configuration/repositories/unavailable.html
40 [2] http://bugs.gentoo.org/show_bug.cgi?id=261377
41 [3]
42 http://archives.gentoo.org/gentoo-soc/msg_e383863a6748e367e13fe53b092f3908.xml
43 - --
44 Thanks,
45 Zac
46 -----BEGIN PGP SIGNATURE-----
47 Version: GnuPG v2.0.11 (GNU/Linux)
48
49 iEYEARECAAYFAknSnA4ACgkQ/ejvha5XGaO6tACgjzAsoXP0cJd0Vr1vJxU2CvLQ
50 JtwAn2Sj+GxLyyRpOIdbejPirCljmF2c
51 =k5u1
52 -----END PGP SIGNATURE-----

Replies

Subject Author
Re: [gentoo-portage-dev] Google SoC and "cache sync" Emma Strubell <emma.strubell@×××××.com>