From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id ECD721382C5 for ; Sat, 27 Jan 2018 19:02:25 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E9761E0ADF; Sat, 27 Jan 2018 19:02:20 +0000 (UTC) Received: from mail-lf0-x242.google.com (mail-lf0-x242.google.com [IPv6:2a00:1450:4010:c07::242]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 62229E0AC0 for ; Sat, 27 Jan 2018 19:02:20 +0000 (UTC) Received: by mail-lf0-x242.google.com with SMTP id 63so4607820lfv.4 for ; Sat, 27 Jan 2018 11:02:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=UbsrENriyvzQyYrjCnj0CjyF1SSMD697+OiLDSL4dbc=; b=PuNX2sL/LfzkQdvosfULNGJ5lz/QnLJk2W0GR/8+g3cGbJmwRbA7KS3sWJOdI7ycwK YF7CrU8DNOswu2KKfNFqzhiiAlSBK7/Tt8yyI8jSGG1TbuOLWVGzfWHx3+1vW1tWFQKz SKnCGX73Nz/ofnbrCnXmbZG76GwxmqkvA5Aj+XryvPhvTyH5ZABAIAqZ9gIA+/MNPuVN bzbMkzAcqd7/Aq8AdJ/cQvCfvdLX7k/E+Zw7ObNzNar0fZ81wskH7f6VEzUE1nuFxjEE 7rVEYqhFm9MlXS+ih+gzSTnNLM2KLuKjcHBcFs22onQEv0mWz6j6PY4POf3Z5Tnr4gNI v0Vg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=UbsrENriyvzQyYrjCnj0CjyF1SSMD697+OiLDSL4dbc=; b=DxzfIbKmdoXTXcqccNPb692a1xC88sKKutx5B82uJ/MNHxD7gxVDnAtzWFiHYwRp2X JumYr5D9nlfpKvq4zeG+K++gBCL35Cq9CGh99s9oarV2Qq1Nnj8xDbM7e4Mu8kUoURg/ YD2CfrH8swJN8j2grTcV9LpmRclqax16E/VLMqryWtVt1WyTZPpuVzVIQYFsRpK6/6nM ZRNzenEpao2QAYPrWKokUghP4pBbNtnhf/9iWP/QZjeGql4Bwmt6PfwnKoFtYkx9jgYh R6cPBEtqGh0w6deNKyDxCWHft7MIq8JX9jNyM49aop7MLYg8A5awL2nnNnOs2s7+PRgX a5iQ== X-Gm-Message-State: AKwxytfLN4FkdbjAiEehxiCiY68P1pjH1RJ6RXtAsNNyZs+FMvq5hHP6 kaH9QqjjumGa5Z2E/RJvL2w0U2MLUYO0gHdSiag97w== X-Google-Smtp-Source: AH8x224U8gMsMUPJagXgVycDbQOkWYDqTAeNHRfIfIrK84Tzc31xG2OzZPnERt9I9ph5ojAlw4Dy7FmmVPOxmC+qZRs= X-Received: by 10.46.82.220 with SMTP id n89mr2938675lje.145.1517079737861; Sat, 27 Jan 2018 11:02:17 -0800 (PST) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Received: by 10.46.58.8 with HTTP; Sat, 27 Jan 2018 11:01:37 -0800 (PST) In-Reply-To: References: <1517053318.3816.5.camel@gentoo.org> From: Gordon Pettey Date: Sat, 27 Jan 2018 13:01:37 -0600 Message-ID: Subject: Re: [gentoo-dev] [pre-GLEP] Split distfile mirror directory structure To: gentoo-dev@lists.gentoo.org Content-Type: text/plain; charset="UTF-8" X-Archives-Salt: f4519c84-fb2f-4d06-998f-01c2b1d7a17c X-Archives-Hash: d1f7f295535568b6dad553eecb651684 On Sat, Jan 27, 2018 at 10:48 AM, Michael Orlitzky 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 >> seems like it would be much simpler, and that's not going to reduce >> the output space for balance... > > 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.