From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.54) id 1FGFMO-0006SJ-Df for garchives@archives.gentoo.org; Mon, 06 Mar 2006 13:02:48 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id k26D1XZG012176; Mon, 6 Mar 2006 13:01:33 GMT Received: from egr.msu.edu (jeeves.egr.msu.edu [35.9.37.127]) by robin.gentoo.org (8.13.5/8.13.5) with ESMTP id k26Cwb5E006771 for ; Mon, 6 Mar 2006 12:58:38 GMT Received: from [69.176.143.70] (69-176-143-70.dov.spartan-net.net [69.176.143.70]) (authenticated bits=0) by egr.msu.edu (8.13.4/8.13.4) with ESMTP id k26CwXV5029004 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 6 Mar 2006 07:58:37 -0500 (EST) Message-ID: <440C3222.9070009@gentoo.org> Date: Mon, 06 Mar 2006 07:59:14 -0500 From: Alec Warner Organization: Gentoo User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050806) X-Accept-Language: en-us, en Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] Change layout of distfiles References: <440BF91D.4050809@amd.co.at> In-Reply-To: <440BF91D.4050809@amd.co.at> X-Enigmail-Version: 0.90.2.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig8CACAD14D3A3068D4A98B4B0" X-Archives-Salt: 9816767e-76fb-4796-bdd8-602c550a0003 X-Archives-Hash: 79d00b58a3a73b583ce1111eaae98190 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig8CACAD14D3A3068D4A98B4B0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Michael Renner wrote: > Hi, > > as suggested by Mike in http://bugs.gentoo.org/show_bug.cgi?id=123335, > here's my proposal for changing the layout of the distfiles tree: > Introducing an additional directory hierarchy should fix this, and is > the common solution for this problem for various projects, be it debian > [1], cpan [2], slackware [3], etc. > > > One migration scenario for a better future: > > Create subdirectories named after the first letter of each file and move > the files in their respective directories. > > Either sym- or hardlink the files from the current distfiles > root-directory to the specific directory where they reside in. (Check > with the mirror admins first (depending on the chosen linktype) if rsync > hardlink support is enabled or their web/ftp servers allow/follow symlinks) > > Adapt the build scripts so that they look for the files in their new > location. > > Change the scripts which fetch the files for distfiles so that they save > them under the new location. > > Wait a few weeks... (months? years? decades?) until the last user has > updated and/or a clean upgrade-path exists, which doesn't rely on the > old file locations. > > Drop the sym/hardlinks. > Is this plan for server side only distfiles, or do you want /usr/portage/distfiles/{a-z}/ on the local system as well. If that is the case the answer is probably no. We've been asked in the past to implement a DISTFILES_PREFIX type system which would work in a similar manner, and it really only complicates things. Is there any needed performance benefit out of the current scheme? Can you give some numbers as to how much this will help the average user? I believe the Infrastructure team also doesn't want to change the layout, but I'll leave it up to them to comment on their own policy ;) > best regards, > Michael Renner - admin of gentoo.inode.at/rsync1.at.gentoo.org > > [1] http://debian.inode.at/debian/pool/main/ > [2] http://www.slackware.at/data/slackware/slackware/ > [3] http://cpan.inode.at/modules/by-authors/id/ --------------enig8CACAD14D3A3068D4A98B4B0 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iQIVAwUBRAwyJ2zglR5RwbyYAQKznw/+NDGBE4+c+PzmYXRSucmC81kHQbvy5USg 2E4L5k1lxvqIu9ooc2gXlsZD6maeBDov5NAIHFLXsWULS4zlz1dwvvjtYUQfmguR gW5WcQ8kz6ZMKe82uTKEQ8G4DvCW/nAgdwop44P8qzptwB1ae/pGDfvzcNsrKXk7 1DhnkcshqiIl5mujHG3q50VFsOCm0KMEW5Qh6sAEKwLoPiabsgFbNCCHM2XqFK58 1k0m83AJY541EH8qyjcEQeHjj3g2/Q8mEr05+uCReCGI/s3XALRULtR+6Hao/sGo 3813RDMghOELmyMIBb616E4anEUYMX4hBcQCEbl1FJsEU/FZrgBKRXYc1YTpRRuy sis82GqW9Egok2qeeoDO7Ytfx5xCDDSDNChx+/VPPkvTP3oH07+DDG4yNfZ8gQMz nOsK0IC/ZOAdH9NBUCak/E9uAgTMoja31MXruOba2M3+4Ngv971RO4hMy0HvStS5 7cUHoknVtG8rB/VKpZXeo9y7jyppQGBd1WLOw4EGojlVxtyQ2b6SjZzkC/V6a8yt 0NXPocNcmlmN8fkW5JxQt27FS6JhX06ZevUsluMTLp0zxfe/pDYnUjTqWOvCdulQ QX8A5omOptCRbrp6ZS338Fxfb2LzqeMt/I2smNUYlCxNK96ZFSIJ0jOboVH41Kh0 gj2fVFxqBoA= =elvR -----END PGP SIGNATURE----- --------------enig8CACAD14D3A3068D4A98B4B0-- -- gentoo-dev@gentoo.org mailing list