www-infrastructure-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Henk Penning (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (INFRA-9063) dist: drop retired project folders & move .htaccess redirects to parent
Date Sun, 01 Mar 2015 11:41:04 GMT

    [ https://issues.apache.org/jira/browse/INFRA-9063?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14342155#comment-14342155

Henk Penning commented on INFRA-9063:

About fixing https://svn.apache.org/repos/infra/infrastructure/trunk/subversion/authorization/generate-dist-authorization

This could do the trick (if ^url) runs somewhere where /dist/ is available) :

Add (near top, as one line) :
retired_pmcs=`grep -l attic.apache.org /dist/*/.htaccess | perl -F/ -ane 'print ":$F[$#F-1]:",

if [ x"$pmc" = x"esme" ]; then
if echo "$retired_pmcs" | grep ":$pmc:" > /dev/null; then

> dist: drop retired project folders & move .htaccess redirects to parent
> -----------------------------------------------------------------------
>                 Key: INFRA-9063
>                 URL: https://issues.apache.org/jira/browse/INFRA-9063
>             Project: Infrastructure
>          Issue Type: Improvement
>          Components: Dists, Mirrors
>            Reporter: Sebb
> At present, retired projects retain their directory under 
> https://dist.apache.org/repos/dist/release/
> However the only content is the .htaccess file which redirects to the Attic.
> As the number of retired projects is bound to increase over time, the dist/release directory
will gradually contain more and more of them.
> Would it not be better to add the redirect to the parent .htaccess file and drop the
directory with its sole file? Is there any need to keep the directory?

This message was sent by Atlassian JIRA

View raw message