Thin Manifests are under active research on gentoo-scm. Latest thread: http://archives.gentoo.org/gentoo-scm/msg_119616fd405ae91a3f7b49e8acbbeddb.xml need implementation in portage
drobbins implemented a variant of thin manifests in Funtoo. Find his implementation and see what can be borrowed.
Repositories should have some kind of marker to indicate that they have thin manifests. For example, an entry in metadata/layout.conf could be used for this purpose.
We now have support in portage for a "thin-manifests = true" setting in metadata/layout.conf: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=af7933ee4df1d62a6567510dc7e84a0cf13a09ef
(In reply to comment #3) > We now have support in portage for a "thin-manifests = true" setting in > metadata/layout.conf: > > http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=af7933ee4df1d62a6567510dc7e84a0cf13a09ef This is included in portage-2.1.10.16 and 2.2.0_alpha56.
In some cases, like if there's only a live ebuild for a given package, there is nothing to put in the thin manifest. This leads to some questions: 1) Is it okay to have no Manifest file if there is nothing to put in it? 2) If it's okay to have no Manifest file, then what about if manifest signing is enabled? Do we just sign an empty file in that case?
(In reply to comment #5) > 2) If it's okay to have no Manifest file, then what about if manifest signing > is enabled? Do we just sign an empty file in that case? I think we don't sign thin Manifests at all.
(In reply to comment #6) > (In reply to comment #5) > > 2) If it's okay to have no Manifest file, then what about if manifest signing > > is enabled? Do we just sign an empty file in that case? > > I think we don't sign thin Manifests at all. You can set "sign-manifests = false" in metadata/layout.conf to ensure that: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=9cb089047e10b300100e7bbdc4274ecf8866b0bb Initially, I had made the "sign-manifests = false" behavior implicitly included with "thin-manifests = true", but robbat2 objected: http://archives.gentoo.org/gentoo-portage-dev/msg_435fd94fc19dbde7e598ce97edb2a85e.xml
*** Bug 261380 has been marked as a duplicate of this bug. ***
Here's a tweak for repoman commit logic when using thin-manifests, related to bug 340475: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=ae260804da9689c69fad3775d8a4be31b34a087d
I guess this bug can be resolved, at latest when ppc64 as last arch stabilizes portage-2.1.10.41 in bug 394695...