Gentoo Archives: gentoo-portage-dev

From: Marius Mauch <genone@g.o>
To: gentoo-portage-dev@l.g.o
Subject: [gentoo-portage-dev] [PATCH] Manifest2 reloaded
Date: Sat, 04 Mar 2006 03:13:34
Message-Id: 20060304035031.4a7aa82b@delenn.genone.homeip.net
1 So while on my way to FOSDEM I decided to do something useful with the
2 time and wrote a new manifest2 implementation. This has nothing to do
3 with the original prototype I posted a while ago, it's been written
4 completely from scratch.
5 Basically all functionality (creation, parsing, validation) is
6 encapsulated in the new portage_manifest.Manifest class, including
7 compability code to read/write old style digests.
8 The changes to portage.py only change the digest*() functions to use
9 this new class instead of handling the task themselves (exception:
10 digestCheckFiles() which apparently was only used internally by other
11 digest* functions), they should more or less behave like with the old
12 code. Any new code however should use the Manifest() class directly
13 however.
14 While this patch implements the basic functionality some extra stuff
15 that was in the old code isn't included yet:
16 - gpg verification
17 - FEATURES=autoaddcvs
18 - FEATURES=cvs (probably obsolete anyway)
19 - emerge --digest / FEATURES=digest (may or may not work)
20
21 The first should be delayed until there is some consensus how the gpg
22 stuff should work in the future, the others I don't see the use for.
23 Also I only checked portage.py for changes, so emerge/repoman/... might
24 still have to be fixed.
25 Last but not least: I did some basic testing with this and the
26 important stuff seems to work, but I'm quite sure the code still has a
27 lot of bugs/issues, and this being a core functionality it needs a
28 *lot* of testing, so I'd really appreciate if you could all give it a
29 spin (but do not commit anything to the tree without manually checking
30 it first).
31
32 Marius
33
34 --
35 Public Key at http://www.genone.de/info/gpg-key.pub
36
37 In the beginning, there was nothing. And God said, 'Let there be
38 Light.' And there was still nothing, but you could see a bit better.

Attachments

File name MIME type
manifest2-prototype-pre5.diff text/x-patch

Replies

Subject Author
Re: [gentoo-portage-dev] [PATCH] Manifest2 reloaded Marius Mauch <genone@g.o>