-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Emma Strubell wrote:
> Hi all.
> 
> So, I'd love to do Google's Summer of Code with you guys. I was perusing
> the list of ideas on the Gentoo wiki, and the "cache sync" idea seems
> pretty interesting, especially since it concerns the overall speed of
> portage, including search, which of course I've already started some
> work on. However, there is no contact person associated with that
> project! I figured I'd come here before going to #gentoo-soc to see if
> anyone is interested in mentoring me on this project, since it seemed
> like a few of you might be interested.

The way that I imagine the "cache sync" idea should be implemented
is like paludis's "unavailable repository" which uses of tarball to
distribute package metadata[1]. The tarball approach that they use
seems pretty reasonable. However, it would probably also be nice to
be able to use a protocol such as rsync to download the
metadata/cache/ directory from the same URI which is used to fetch
the ebuilds themselves (maybe paludis supports this already, I don't
know).

In order for the clients to be able to download the metadata/cache/
directory, first that directory has to be populated (as is done on
gentoo's master rsync server). I'm currently working on a tool
called 'egencache' that overlay maintainers will be able to use in
order to populate the metadata/cache/ directory [2]. It will be
included in the next portage release.

Before we implement something like "unavailable repository" for
portage, first we'll have to add multiple repository support, and
that's a decent sized project of it's own. Somebody has mentioned
interest in "multiple repository support" on the gentoo-soc list
[3], but they haven't submitted a proposal to
http://socghop.appspot.com yet.

[1] http://paludis.pioto.org/configuration/repositories/unavailable.html
[2] http://bugs.gentoo.org/show_bug.cgi?id=261377
[3]
http://archives.gentoo.org/gentoo-soc/msg_e383863a6748e367e13fe53b092f3908.xml
- --
Thanks,
Zac
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (GNU/Linux)

iEYEARECAAYFAknSnA4ACgkQ/ejvha5XGaO6tACgjzAsoXP0cJd0Vr1vJxU2CvLQ
JtwAn2Sj+GxLyyRpOIdbejPirCljmF2c
=k5u1
-----END PGP SIGNATURE-----

Reply via email to