From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-dev-announce <gentoo-dev-announce@lists.gentoo.org>
Cc: gentoo-dev <gentoo-dev@lists.gentoo.org>
Subject: [gentoo-dev-announce] New distfile mirror layout
Date: Fri, 18 Oct 2019 15:41:32 +0200 [thread overview]
Message-ID: <4c7465824f1fb69924c826f6bbe3ee73afa08ec8.camel@gentoo.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 1884 bytes --]
Hi, everybody.
It is my pleasure to announce that yesterday (EU) evening we've switched
to a new distfile mirror layout. Users will be switching to the new
layout either as they upgrade Portage to 2.3.77 or -- if they upgraded
already -- as their caches expire (24hrs).
The new layout is mostly a bow towards mirror admins, for some of whom
having a 60000+ files in a single directory have been a problem.
However, I suppose some of you also found e.g. the directory index
hardly usable due to its size.
Throughout a transitional period (whose exact length hasn't been decided
yet), both layouts will be available. Afterwards, the old layout will
be removed from mirrors. This has a few implications:
1. Users who don't upgrade their package managers in time will lose
the ability of fetching from Gentoo mirrors. This shouldn't be that
much of a problem given that the core software needed to upgrade Portage
should all have reliable upstream SRC_URIs.
2. mirror://gentoo/file URIs will stop working. While technically you
could use mirror://gentoo/XX/file, I'd rather recommend finally
discarding its usage and moving distfiles to devspace.
3. Directly fetching files from distfiles.gentoo.org will become
a little harder. To fetch a distfile named 'foo-1.tar.gz', you'd have
to use something like:
$ printf '%s' foo-1.tar.gz | b2sum | cut -c1-2
1b
$ wget http://distfiles.gentoo.org/distfiles/1b/foo-1.tar.gz
...
Alternatively, you can:
$ wget http://distfiles.gentoo.org/distfiles/INDEX
and grep for the right path there. This INDEX is also a more
lightweight alternative to HTML indexes generated by the servers.
If you're interested in more background details and some plots, see [1].
[1] https://dev.gentoo.org/~mgorny/articles/improving-distfile-mirror-structure.html
--
Best regards,
Michał Górny
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 618 bytes --]
reply other threads:[~2019-10-18 13:42 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4c7465824f1fb69924c826f6bbe3ee73afa08ec8.camel@gentoo.org \
--to=mgorny@gentoo.org \
--cc=gentoo-dev-announce@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox