commit:     a1b4e02ab975b8ef618e4408e5afa1751ae72ff7
Author:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 14 03:21:06 2025 +0000
Commit:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
CommitDate: Sun Sep 14 03:21:06 2025 +0000
URL:        https://gitweb.gentoo.org/proj/binhost.git/commit/?id=a1b4e02a

Set a TTL of one hour when generating a binhost index

We upload packages once per hour until done for the day. Advertise this
to consumers, so they don't bother checking more often than useful.
Latest portage allows setting the TTL field via a make.conf setting.

Bug: https://bugs.gentoo.org/958200
Bug: https://bugs.gentoo.org/958401
Signed-off-by: Eli Schwartz <eschwartz <AT> gentoo.org>

 builders/dola/gnome-23/portage/make.conf      | 1 +
 builders/dola/kde-23/portage/make.conf        | 1 +
 builders/dola/server-23/portage/make.conf     | 1 +
 builders/milou/gnome-23/portage/make.conf     | 1 +
 builders/milou/gnome-v3-23/portage/make.conf  | 1 +
 builders/milou/kde-23/portage/make.conf       | 1 +
 builders/milou/kde-v3-23/portage/make.conf    | 1 +
 builders/milou/openrc-23/portage/make.conf    | 1 +
 builders/milou/openrc-v3-23/portage/make.conf | 1 +
 builders/milou/server-23/portage/make.conf    | 1 +
 builders/milou/server-v3-23/portage/make.conf | 1 +
 11 files changed, 11 insertions(+)

diff --git a/builders/dola/gnome-23/portage/make.conf 
b/builders/dola/gnome-23/portage/make.conf
index 6af7482..aee8b06 100644
--- a/builders/dola/gnome-23/portage/make.conf
+++ b/builders/dola/gnome-23/portage/make.conf
@@ -28,6 +28,7 @@ EMERGE_DEFAULT_OPTS="--jobs 20 --load 80 --quiet --keep-going 
--binpkg-respect-u
 
 FEATURES="binpkg-multi-instance buildpkg compress-index -network-sandbox 
notitles"
 
+PORTAGE_BINHOST_TTL="3600"
 BINPKG_FORMAT="gpkg"
 BINPKG_COMPRESS="xz"
 

diff --git a/builders/dola/kde-23/portage/make.conf 
b/builders/dola/kde-23/portage/make.conf
index 44a0845..f52281e 100644
--- a/builders/dola/kde-23/portage/make.conf
+++ b/builders/dola/kde-23/portage/make.conf
@@ -28,6 +28,7 @@ EMERGE_DEFAULT_OPTS="--jobs 20 --load 80 --quiet --keep-going 
--binpkg-respect-u
 
 FEATURES="binpkg-multi-instance buildpkg compress-index -network-sandbox 
notitles"
 
+PORTAGE_BINHOST_TTL="3600"
 BINPKG_FORMAT="gpkg"
 BINPKG_COMPRESS="xz"
 

diff --git a/builders/dola/server-23/portage/make.conf 
b/builders/dola/server-23/portage/make.conf
index 44a0845..f52281e 100644
--- a/builders/dola/server-23/portage/make.conf
+++ b/builders/dola/server-23/portage/make.conf
@@ -28,6 +28,7 @@ EMERGE_DEFAULT_OPTS="--jobs 20 --load 80 --quiet --keep-going 
--binpkg-respect-u
 
 FEATURES="binpkg-multi-instance buildpkg compress-index -network-sandbox 
notitles"
 
+PORTAGE_BINHOST_TTL="3600"
 BINPKG_FORMAT="gpkg"
 BINPKG_COMPRESS="xz"
 

diff --git a/builders/milou/gnome-23/portage/make.conf 
b/builders/milou/gnome-23/portage/make.conf
index 408d6b7..985a888 100644
--- a/builders/milou/gnome-23/portage/make.conf
+++ b/builders/milou/gnome-23/portage/make.conf
@@ -28,6 +28,7 @@ EMERGE_DEFAULT_OPTS="--jobs 20 --load 64 --quiet --keep-going 
--binpkg-respect-u
 
 FEATURES="binpkg-multi-instance buildpkg compress-index -network-sandbox 
notitles"
 
+PORTAGE_BINHOST_TTL="3600"
 BINPKG_FORMAT="gpkg"
 BINPKG_COMPRESS="xz"
 

diff --git a/builders/milou/gnome-v3-23/portage/make.conf 
b/builders/milou/gnome-v3-23/portage/make.conf
index 2768bc6..701eb08 100644
--- a/builders/milou/gnome-v3-23/portage/make.conf
+++ b/builders/milou/gnome-v3-23/portage/make.conf
@@ -28,6 +28,7 @@ EMERGE_DEFAULT_OPTS="--jobs 20 --load 64 --quiet --keep-going 
--binpkg-respect-u
 
 FEATURES="binpkg-multi-instance buildpkg compress-index -network-sandbox 
notitles"
 
+PORTAGE_BINHOST_TTL="3600"
 BINPKG_FORMAT="gpkg"
 BINPKG_COMPRESS="xz"
 

diff --git a/builders/milou/kde-23/portage/make.conf 
b/builders/milou/kde-23/portage/make.conf
index 652c284..08eeeba 100644
--- a/builders/milou/kde-23/portage/make.conf
+++ b/builders/milou/kde-23/portage/make.conf
@@ -28,6 +28,7 @@ EMERGE_DEFAULT_OPTS="--jobs 20 --load 64 --quiet --keep-going 
--binpkg-respect-u
 
 FEATURES="binpkg-multi-instance buildpkg compress-index -network-sandbox 
notitles"
 
+PORTAGE_BINHOST_TTL="3600"
 BINPKG_FORMAT="gpkg"
 BINPKG_COMPRESS="xz"
 

diff --git a/builders/milou/kde-v3-23/portage/make.conf 
b/builders/milou/kde-v3-23/portage/make.conf
index 6c390e4..9e5834e 100644
--- a/builders/milou/kde-v3-23/portage/make.conf
+++ b/builders/milou/kde-v3-23/portage/make.conf
@@ -28,6 +28,7 @@ EMERGE_DEFAULT_OPTS="--jobs 20 --load 64 --quiet --keep-going 
--binpkg-respect-u
 
 FEATURES="binpkg-multi-instance buildpkg compress-index -network-sandbox 
notitles"
 
+PORTAGE_BINHOST_TTL="3600"
 BINPKG_FORMAT="gpkg"
 BINPKG_COMPRESS="xz"
 

diff --git a/builders/milou/openrc-23/portage/make.conf 
b/builders/milou/openrc-23/portage/make.conf
index 652c284..08eeeba 100644
--- a/builders/milou/openrc-23/portage/make.conf
+++ b/builders/milou/openrc-23/portage/make.conf
@@ -28,6 +28,7 @@ EMERGE_DEFAULT_OPTS="--jobs 20 --load 64 --quiet --keep-going 
--binpkg-respect-u
 
 FEATURES="binpkg-multi-instance buildpkg compress-index -network-sandbox 
notitles"
 
+PORTAGE_BINHOST_TTL="3600"
 BINPKG_FORMAT="gpkg"
 BINPKG_COMPRESS="xz"
 

diff --git a/builders/milou/openrc-v3-23/portage/make.conf 
b/builders/milou/openrc-v3-23/portage/make.conf
index 6c390e4..9e5834e 100644
--- a/builders/milou/openrc-v3-23/portage/make.conf
+++ b/builders/milou/openrc-v3-23/portage/make.conf
@@ -28,6 +28,7 @@ EMERGE_DEFAULT_OPTS="--jobs 20 --load 64 --quiet --keep-going 
--binpkg-respect-u
 
 FEATURES="binpkg-multi-instance buildpkg compress-index -network-sandbox 
notitles"
 
+PORTAGE_BINHOST_TTL="3600"
 BINPKG_FORMAT="gpkg"
 BINPKG_COMPRESS="xz"
 

diff --git a/builders/milou/server-23/portage/make.conf 
b/builders/milou/server-23/portage/make.conf
index 652c284..08eeeba 100644
--- a/builders/milou/server-23/portage/make.conf
+++ b/builders/milou/server-23/portage/make.conf
@@ -28,6 +28,7 @@ EMERGE_DEFAULT_OPTS="--jobs 20 --load 64 --quiet --keep-going 
--binpkg-respect-u
 
 FEATURES="binpkg-multi-instance buildpkg compress-index -network-sandbox 
notitles"
 
+PORTAGE_BINHOST_TTL="3600"
 BINPKG_FORMAT="gpkg"
 BINPKG_COMPRESS="xz"
 

diff --git a/builders/milou/server-v3-23/portage/make.conf 
b/builders/milou/server-v3-23/portage/make.conf
index 6c390e4..9e5834e 100644
--- a/builders/milou/server-v3-23/portage/make.conf
+++ b/builders/milou/server-v3-23/portage/make.conf
@@ -28,6 +28,7 @@ EMERGE_DEFAULT_OPTS="--jobs 20 --load 64 --quiet --keep-going 
--binpkg-respect-u
 
 FEATURES="binpkg-multi-instance buildpkg compress-index -network-sandbox 
notitles"
 
+PORTAGE_BINHOST_TTL="3600"
 BINPKG_FORMAT="gpkg"
 BINPKG_COMPRESS="xz"
 

Reply via email to