Gentoo Archives: gentoo-dev

From: Gordon Pettey <petteyg359@×××××.com>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [pre-GLEP] Split distfile mirror directory structure
Date: Sat, 27 Jan 2018 19:02:25
Message-Id: CAHY5Mec2h2=bYYczzLR2QptCKytvGoM8bHk2WzqMnXMe49+Uyw@mail.gmail.com
In Reply to: Re: [gentoo-dev] [pre-GLEP] Split distfile mirror directory structure by Michael Orlitzky
1 On Sat, Jan 27, 2018 at 10:48 AM, Michael Orlitzky <mjo@g.o> wrote:
2 > On 01/27/2018 11:42 AM, Gordon Pettey wrote:
3 >> Why not use a hash of the file name instead of its contents? That
4 >> seems like it would be much simpler, and that's not going to reduce
5 >> the output space for balance...
6 >
7 > That's the proposal =P
8
9 I'm not following, then. What's all this about a temporary directory
10 because of not knowing the hash in advance? The ebuild must specify
11 the file name, or src_unpack wouldn't work. There is never a point
12 where the file name, and therefore its hash, is unknown.

Replies