Re: [gentoo-dev] New distfile mirror layout

2019-10-23 Thread Michał Górny
On Wed, 2019-10-23 at 17:04 -0500, William Hubbs wrote: > On Wed, Oct 23, 2019 at 01:18:02AM -0400, Joshua Kinard wrote: > > On 10/21/2019 19:36, Matt Turner wrote: > > > On Mon, Oct 21, 2019 at 9:42 AM Richard Yao wrote: > > > > Also, another idea is to use a cheap hash function (e.g. fletcher)

[gentoo-dev] uid/gid for MaraDNS

2019-10-23 Thread Victor Kustov
According bug https://bugs.gentoo.org/696556 I must update MaraDNS version. But I saw new GLEP81, therefore need request UID/GID and change PR (sorry for hurry). MaraDNS already in uid-gid.txt (99/99), but duende (66/99) not. And duende has hardcoded /etc/maradns/logger path to chroot for child

[gentoo-dev] [PATCH] install-qa-check.d: Add check for missing Python bytecode (.pyc)

2019-10-23 Thread Michał Górny
Add a check that detects Python modules that were not compiled after installation. To limit false positives, this is only done on modules installed to site-packages. Early testing of this check made it possible to detect a bug in python_optimize. Signed-off-by: Michał Górny ---

[gentoo-dev] last rites: perl-app.eclass

2019-10-23 Thread Andreas K. Huettel
# @DEAD # This eclass is dead and all its consumers have been removed from # the tree. # Please use perl-module.eclass if you need phase functions, and # perl-functions.eclass if you don't. # In overlays, perl-app.eclass usage can be replaced by # perl-module.eclass without further changes. # Bug

[gentoo-dev] [PATCH] python-utils-r1.eclass: Fix python_optimize to take all of sys.path

2019-10-23 Thread Michał Górny
Make sure to append NUL to every path in sys.path, rather than using it as a separator between output entries. This fixes a bug when the last path entry was silently discarded, and the function stopped working with PyPy as a result. Signed-off-by: Michał Górny --- eclass/python-utils-r1.eclass

Re: [gentoo-dev] RFC: uid/gid 274 for dnsmasq_exporter

2019-10-23 Thread William Hubbs
On Tue, Oct 22, 2019 at 02:39:05PM -0500, William Hubbs wrote: > All, > > I would like to allocate uid/gid 274 for dnsmasq_exporter [1]. > > Thanks, > > William > > [1] https://github.com/google/dnsmasq_exporter No one has responded, so I'm moving forward with this. Thanks, William

Re: [gentoo-dev] New distfile mirror layout

2019-10-23 Thread William Hubbs
On Wed, Oct 23, 2019 at 01:18:02AM -0400, Joshua Kinard wrote: > On 10/21/2019 19:36, Matt Turner wrote: > > On Mon, Oct 21, 2019 at 9:42 AM Richard Yao wrote: > >> Also, another idea is to use a cheap hash function (e.g. fletcher) and > >> just have the mirrors do the hashing behind the scenes.

Re: [gentoo-dev] New distfile mirror layout

2019-10-23 Thread William Hubbs
On Wed, Oct 23, 2019 at 12:06:24PM -0500, William Hubbs wrote: > On Wed, Oct 23, 2019 at 01:18:02AM -0400, Joshua Kinard wrote: > > On 10/21/2019 19:36, Matt Turner wrote: > > > On Mon, Oct 21, 2019 at 9:42 AM Richard Yao wrote: > > >> Also, another idea is to use a cheap hash function (e.g.

Re: [gentoo-dev] New distfile mirror layout

2019-10-23 Thread William Hubbs
On Wed, Oct 23, 2019 at 01:18:02AM -0400, Joshua Kinard wrote: > On 10/21/2019 19:36, Matt Turner wrote: > > On Mon, Oct 21, 2019 at 9:42 AM Richard Yao wrote: > >> Also, another idea is to use a cheap hash function (e.g. fletcher) and > >> just have the mirrors do the hashing behind the scenes.

Re: ext4 readdir performance - was Re: [gentoo-dev] New distfile mirror layout

2019-10-23 Thread Richard Yao
> On Oct 23, 2019, at 7:48 PM, Richard Yao wrote: > > On 10/22/19 2:51 AM, Jaco Kroon wrote: >> Hi All, >> >> >>> On 2019/10/21 18:42, Richard Yao wrote: >>> >>> If we consider the access frequency, it might actually not be that >>> bad. Consider a simple example with 500 files and two

ext4 readdir performance - was Re: [gentoo-dev] New distfile mirror layout

2019-10-23 Thread Richard Yao
On 10/22/19 2:51 AM, Jaco Kroon wrote: > Hi All, > > > On 2019/10/21 18:42, Richard Yao wrote: >> >> If we consider the access frequency, it might actually not be that >> bad. Consider a simple example with 500 files and two directory >> buckets. If we have 250 in each, then the size of the