On 01/27/2018 02:01 PM, Gordon Pettey wrote: > On Sat, Jan 27, 2018 at 10:48 AM, Michael Orlitzky <m...@gentoo.org> wrote: >> On 01/27/2018 11:42 AM, Gordon Pettey wrote: >>> Why not use a hash of the file name instead of its contents?... >> >> That's the proposal =P > > I'm not following, then. What's all this about a temporary directory > because of not knowing the hash in advance? The ebuild must specify > the file name, or src_unpack wouldn't work. There is never a point > where the file name, and therefore its hash, is unknown. >
There were three proposed ways to split up the files: by filename, hash(filename), and hash(filedata). The winner was hash(filename). The GLEP lists only two reasons for rejecting hash(filedata), and I was curious about them.