Gentoo Archives: gentoo-scm

From: "Robin H. Johnson" <robbat2@g.o>
To: gentoo-scm@l.g.o
Subject: Re: [gentoo-scm] gentoo-x86 on git - Manifests
Date: Sun, 22 Feb 2009 21:15:46
Message-Id: 20090222195718.GC20371@curie-int.orbis-terrarum.net
In Reply to: Re: [gentoo-scm] gentoo-x86 on git - Manifests by "Robin H. Johnson"
1 On Fri, Feb 20, 2009 at 11:29:32AM -0800, Robin H. Johnson wrote:
2 > Portage needs minor changes for slim Manifests anyway: specifically, to
3 > check the files against the Git index rather than the Manifest. It's NOT
4 > that the files from the tree directly are unsigned, but rather that
5 > their digests/signatures exist in Git instead of the Manifest.
6 I just wanted to clarify this, as Robert points out I wasn't sufficiently clear
7 with one of the details.
8
9 It's not that some files aren't going to have digests anymore, but that the
10 digests are going to be in the VCS rather than explicitly in the Manifest.
11 Portage does explicitly need support for the changes, but that was inherent to
12 the idea of using slim Manifests for the main repository, long before overlays
13 are used.
14
15 Existing design:
16 1) Manifest:
17 DIST - digest of distfiles located in DISTDIR
18 AUX/EBUILD/MISC - digest of files located in the tree
19
20 New Design:
21 1) slim Manifest:
22 DIST - digest of distfiles located in DISTDIR
23 _AND_
24 2) VCS index:
25 SHA1/* digest of files located in the tree
26
27 BOTH sources must be present. A slim Manifest would not be valid without the
28 VCS containing digests of the files not contained in the Manifest.
29
30 --
31 Robin Hugh Johnson
32 Gentoo Linux Developer & Infra Guy
33 E-Mail : robbat2@g.o
34 GnuPG FP : 11AC BA4F 4778 E3F6 E4ED F38E B27B 944E 3488 4E85

Replies

Subject Author
Re: [gentoo-scm] gentoo-x86 on git - Manifests Nirbheek Chauhan <nirbheek.chauhan@×××××.com>