You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@infra.apache.org by "Henk Penning (JIRA)" <ji...@apache.org> on 2015/03/01 12:41:04 UTC
[jira] [Commented] (INFRA-9063) dist: drop retired project folders
& move .htaccess redirects to parent
[ 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]:", "\n";'`
Replace
if [ x"$pmc" = x"esme" ]; then
with
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
(v6.3.4#6332)