On Wed, 28 Feb 2018, sebb wrote:

Date: Wed, 28 Feb 2018 19:48:21 +0100
From: sebb <seb...@gmail.com>
To: general@attic.apache.org
Subject: Re: Redirects for attic project download directories

[ top-post ; further comments in-line ]

Hi,

  Five days ago [23-2-2018] I wrote :

  > I think it is now safe to remove all /dist/GHOST/ directories.

  This was met with "silent consent".

  Regards,

  Henk Penning

On 28 February 2018 at 18:28, Henk P. Penning <penn...@uu.nl> wrote:
On Fri, 23 Feb 2018, Henk P. Penning wrote:

Date: Fri, 23 Feb 2018 18:09:28 +0100
From: Henk P. Penning <penn...@uu.nl>
To: general@attic.apache.org
Subject: Re: Redirects for attic project download directories


 I think it is now safe to remove all /dist/GHOST/ directories.


Hi,

  For the record, because INFRA-16034 requires an 'ack',
  here's my summary of this thread :

  GHOST == retired project ;

  The objection to the rm's of the /dist/GHOST/ directories was the loss
  of redirects caused by the /dist/GHOST/.htaccess files.

  -- On www.a.o this is now fixed with rewrite rules in the config
     for "www.a.o/dist/".
  -- On GHOST.apache.org, the refs to the mirrors (closer.{cgi,lua})
     redirect to attic because closer.lua is now "attic aware".

However, the redirects will no longer work for mirrors, because they
don't see the local redirects.

  Right.

For example, this does not redirect:
http://mirror.ox.ac.uk/sites/rsync.apache.org/ace/

Whereas this does:
https://www.apache.org/dist/ace/

  Right [ace is/was todo ; it doesn't have a .htaccess]
  [note that dist/abdera and dist/wookie are empty :-]

At present, some attic projects do redirect; that is because of the
.htaccess files.
http://mirror.ox.ac.uk/sites/rsync.apache.org/harmony/

It seems to me that this is a big change.

  The change is not relevant. The point is that we (the ASF)
  don't refer to individual items on specfic mirrors anymore
  (because closer.lua is now "attic aware") ; refs like :

    http://mirror.ox.ac.uk/sites/rsync.apache.org/harmony/foo/bar

  All refs like that on third-party pages, and indeed all refs to
  /dist/ items, will eventually die ; that is the nature of /dist/.

And it goes against what you wrote on the following issue:

https://issues.apache.org/jira/browse/INFRA-16122?focusedCommentId=16380672&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-16380672

i.e. you still expect mirrors to redirect attic projects.

  I don't ; but redirects should work. For examples, see below.
  Perhaps we should add a test to dist/zzz/ :-).

------------------------------------------------------------   _
Henk P. Penning, ICT-beta                 R Uithof MG-403    _/ \_
Faculty of Science, Utrecht University    T +31 30 253 4106 / \_/ \
Leuvenlaan 4, 3584CE Utrecht, NL          F +31 30 253 4553 \_/ \_/
http://www.staff.science.uu.nl/~penni101/ M penn...@uu.nl     \_/

/dist/thrift/rpm/.htaccess:RedirectMatch permanent (.*)rpm/(.*) 
http://dl.bintray.com/apache/thrift/rpm/$2
/dist/thrift/debian/.htaccess:RedirectMatch permanent (.*)thrift/debian/(.*) 
http://dl.bintray.com/apache/thrift/debian/$2
/dist/lucene/mahout/.htaccess:RedirectMatch Permanent .* 
http://www.apache.org/dyn/closer.cgi/mahout
/dist/lucene/mahout/mahout-collections-1.0/.htaccess:RedirectMatch Permanent .* 
http://www.apache.org/dyn/closer.cgi/mahout
/dist/lucene/tika/.htaccess:RedirectMatch Permanent .* 
http://www.apache.org/dyn/closer.cgi/tika
/dist/lucene/nutch/.htaccess:RedirectMatch Permanent .* 
http://www.apache.org/dyn/closer.cgi/nutch
/dist/apr/.htaccess:RedirectMatch 301 ^(.*)/Announcement\.(.*) 
$1/Announcement1.2.$2
/dist/apr/.htaccess:RedirectMatch 301 ^(.*)/Announcement-1\.(.*) 
$1/Announcement1.2.$2
/dist/cassandra/debian/.htaccess:RedirectMatch ^/~eevans/debian(.*) 
http://wiki.apache.org/cassandra/DebianPackaging
/dist/cassandra/debian/.htaccess:RedirectMatch permanent 
(.*)cassandra/debian/(.*) http://dl.bintray.com/apache/cassandra/$2
/dist/httpd/.htaccess:RedirectMatch 301 ^(.*)/Announcement\.(.*) 
$1/Announcement1.3.$2
/dist/httpd/.htaccess:RedirectMatch 301 ^(.*)/Announcement2\.([th].*) 
$1/Announcement2.0.$2
/dist/httpd/.htaccess:RedirectMatch 301 ^(.*)/Announcement21\.(.*) 
$1/Announcement2.1.$2
/dist/sling/.htaccess:Redirect Permanent /dist/sling/KEYS 
https://people.apache.org/keys/group/sling.asc
/dist/aurora/debian/.htaccess:RedirectMatch permanent (.*)aurora/debian/(.*) 
http://dl.bintray.com/apache/aurora/$2

Reply via email to