commit:     3bc7bfef51d88fd716e882d3931f2873e3493e01
Author:     John Helmert III <ajak <AT> gentoo <DOT> org>
AuthorDate: Sun Jan  1 18:14:57 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Sep 19 07:18:44 2023 +0000
URL:        https://gitweb.gentoo.org/proj/portage.git/commit/?id=3bc7bfef

make.globals: default-on FEATURES=pkgdir-index-trusted

Commit fbbe0cfe29020313ae44fb2a6afa87c2951ae028 indicates that the rationale 
for having
this disabled is to tolerate manual additions/removals of binpkgs in the PKGDIR.

I don't think there are many people doing this, so it should be safe to enable
this by default for quicker operations with PKGDIR.

[sam: This is only used for local operations, we don't reindex remote indexes,
so there's no issue with not having indexes be signed (although we do plan
on doing that at some point).]

Bug: https://bugs.gentoo.org/889300
Signed-off-by: John Helmert III <ajak <AT> gentoo.org>
Closes: https://github.com/gentoo/portage/pull/970
Signed-off-by: Sam James <sam <AT> gentoo.org>

 NEWS             | 5 +++++
 cnf/make.globals | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/NEWS b/NEWS
index 2e2246a611..2e88b894b8 100644
--- a/NEWS
+++ b/NEWS
@@ -1,6 +1,11 @@
 portage-3.0.52 (UNRELEASED)
 --------------
 
+Breaking changes:
+* FEATURES=pkgdir-index-trusted is now on by default. This improves performance
+  with binpkgs, but does require that users run `emaint binhost --fix` if they
+  manually add or remove binpkgs from their PKGDIR (bug #889300).
+
 Features:
 * bintree: Add new API member (invalid_paths) to allow gentoolkit to later
   clean up invalid binpkgs (bug #900224).

diff --git a/cnf/make.globals b/cnf/make.globals
index bfefcc5235..86e9b5b744 100644
--- a/cnf/make.globals
+++ b/cnf/make.globals
@@ -78,7 +78,7 @@ FEATURES="assume-digests binpkg-docompress binpkg-dostrip 
binpkg-logs
           binpkg-multi-instance buildpkg-live
           config-protect-if-modified distlocks ebuild-locks
           fixlafiles ipc-sandbox merge-sync multilib-strict
-          network-sandbox news parallel-fetch pid-sandbox
+          network-sandbox news parallel-fetch pkgdir-index-trusted pid-sandbox
           preserve-libs protect-owned qa-unresolved-soname-deps
           sandbox sfperms strict
           unknown-features-warn unmerge-logs unmerge-orphans userfetch

Reply via email to