Noticed this while building ripgrep since it has a lot of distfiles; emerge will attempt to grab layout.conf once per distfile. I occasionally remember to create the file on my distfile mirror, but then it gets cleaned out the next time I use 'eclean-dist -d'. It would be a nice enhancement if eclean-dist were taught to ignore that file, or as a workaround, a complement to --size-limit for files *smaller* than a certain size. Excerpt from web server log: 192.168.1.78 - - [17/Oct/2022:15:21:52 -0400] "GET /gentoo-dist/distfiles/layout.conf HTTP/1.1" 404 256 192.168.1.78 - - [17/Oct/2022:15:21:52 -0400] "GET /gentoo-dist/distfiles/ripgrep-13.0.0.tar.gz HTTP/1.1" 200 505536 192.168.1.78 - - [17/Oct/2022:15:21:52 -0400] "GET /gentoo-dist/distfiles/layout.conf HTTP/1.1" 404 256 192.168.1.78 - - [17/Oct/2022:15:21:53 -0400] "GET /gentoo-dist/distfiles/ripgrep-13.0.0-x86_64-unknown-linux-musl.tar.gz HTTP/1.1" 200 2109801 192.168.1.78 - - [17/Oct/2022:15:21:53 -0400] "GET /gentoo-dist/distfiles/layout.conf HTTP/1.1" 404 256 192.168.1.78 - - [17/Oct/2022:15:21:53 -0400] "GET /gentoo-dist/distfiles/bitflags-1.2.1.crate HTTP/1.1" 200 16745 [several dozen similar lines omitted]
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/proj/gentoolkit.git/commit/?id=271b91db8a2ae47732ebbcd1a391445a7d93f4dc commit 271b91db8a2ae47732ebbcd1a391445a7d93f4dc Author: Ulrich Müller <ulm@gentoo.org> AuthorDate: 2024-04-25 08:56:40 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-04-25 09:04:02 +0000 distfiles.exclude: whitelist layout.conf Bug: https://bugs.gentoo.org/877485 Signed-off-by: Ulrich Müller <ulm@gentoo.org> Closes: https://github.com/gentoo/gentoolkit/pull/47 Signed-off-by: Sam James <sam@gentoo.org> data/eclean/distfiles.exclude | 1 + 1 file changed, 1 insertion(+)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ddc5fd52dc4cabd88be41e622fc510e94230b86 commit 6ddc5fd52dc4cabd88be41e622fc510e94230b86 Author: Sam James <sam@gentoo.org> AuthorDate: 2024-04-25 20:39:23 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-04-25 20:39:33 +0000 app-portage/gentoolkit: add 0.6.6 Closes: https://bugs.gentoo.org/877485 Signed-off-by: Sam James <sam@gentoo.org> app-portage/gentoolkit/Manifest | 1 + app-portage/gentoolkit/gentoolkit-0.6.6.ebuild | 127 +++++++++++++++++++++++++ 2 files changed, 128 insertions(+)