Gentoo Archives: gentoo-portage-dev

From: Marius Mauch <genone@g.o>
To: gentoo-portage-dev@l.g.o
Subject: [gentoo-portage-dev] [PATCH] inital Manifest2 support
Date: Wed, 16 Nov 2005 03:09:18
Message-Id: 20051116040756.524abbc6@sven.genone.homeip.net
Hey,

IIRC we (=Gentoo as a whole) pretty much agreed to drop the digest
files in favor of a extended Manifest format. Well, today I wrote some
initial code for this new format, you can find the result in the
attachment. It's far from complete, but most basic stuff seems to work
with some restrictions:
- `ebuild foo digest` works if you have all SRC_URI files for the
package (= all ebuilds of that package), however it will not verify the
Manifest before overwriting it. Also it currently won't create the old
digests (digestgen is a bit nasty).
- `emerge foo` should also work (thankfully the parsing could be
implemented in a simple compat layer)
- repoman will likely have problems (didn't touch it yet)
- I didn't add al the fancy exception handling and cvs code (which IMO
shouldn't be in portage itself but repoman)

Opinions about adding Manifest2 support to the next "minor" version
(2.2.0 or 2.0.54 or 2.1.0 or ...)?

Marius

-- 
Public Key at http://www.genone.de/info/gpg-key.pub

In the beginning, there was nothing. And God said, 'Let there be
Light.' And there was still nothing, but you could see a bit better.

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

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