public inbox for gentoo-soc@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-soc] GSoC - cache sync/self-contained ebuilds
@ 2011-03-23  9:39 Michael Seifert
  2011-03-23 10:12 ` Fabian Groffen
  0 siblings, 1 reply; 14+ messages in thread
From: Michael Seifert @ 2011-03-23  9:39 UTC (permalink / raw
  To: gentoo-soc

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

Hello Gentoo team,

the other SoC ideas of interest are projects #14 [1] and #25 [2].
The idea is to automatically create ebuild descriptors that contain
metadata only. This way, server load on emerge --sync will be reduced,
since the ebuilds will only be fetched, if the package is about to be
installed.
In my opinion, this is the first step to take before trying to implement
the self-contained ebuilds. I think of them as Python eggs that contain
everything you need for installation (ebuild, patches, eclasses, sources).
Are these packaged ebuilds meant to be a replacement for the current
ebuilds in the long term? If so, the above mentioned reduction of server
load and network traffic would be diminished. Say you want to install 5
packages that use the eutils.eclass, you will have to download it 5
times (in a compressed archive of course).

A tool for creating the packaged ebuilds does not seem to cause much
trouble, either. What seems a bit more difficult to me, though, are the
changes to portage.

On the first glance, the rough specifications and tasks seem pretty
straight forward:
1. Create a tool that extracts an ebuild descriptor from an existing
ebuild (containing arch, version, dependencies, ebuild location,...)
2. Make portage work with the ebuild descriptors at first, then fetching
the required files
3. Create a tool that assembles an ebuild with its patches, sources, and
eclasses
4. Make portage use the assembled archives

However, since I have merged TWO project ideas, I surely have overlooked
some traps :)
Probably I underestimated points 2 and 4?
Please, share you opinions.

[1] http://www.gentoo.org/proj/en/userrel/soc/ideas.xml#doc_chap2_sect14
[2] http://www.gentoo.org/proj/en/userrel/soc/ideas.xml#doc_chap2_sect25


Best regards and thanks in advance
Michael Seifert
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk2Jv88ACgkQnzX+Jf4GTUyj3wCgxijF5HzPswow4gsqqABnBGuT
jsYAmwcj4wI1LznnwCnpWfGWXEKO0Ji9
=nW4G
-----END PGP SIGNATURE-----



^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2011-03-31 11:55 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-23  9:39 [gentoo-soc] GSoC - cache sync/self-contained ebuilds Michael Seifert
2011-03-23 10:12 ` Fabian Groffen
2011-03-23 17:44   ` Michael Seifert
2011-03-23 18:43     ` Rich Freeman
2011-03-23 19:47       ` Donnie Berkholz
2011-03-23 21:01         ` Michael Seifert
2011-03-24 16:58           ` Zac Medico
2011-03-27 14:28             ` Michael Seifert
2011-03-27 19:39               ` Zac Medico
2011-03-29 14:31                 ` Michael Seifert
2011-03-29 15:47                   ` Zac Medico
2011-03-30 17:33                     ` Michael Seifert
2011-03-30 18:11                       ` Zac Medico
2011-03-31 11:55                         ` Michael Seifert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox