www-infrastructure-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (INFRA-5024) eu mirror still has incubator/trafficserver entry
Date Thu, 26 Jul 2012 18:11:34 GMT

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

Sebb edited comment on INFRA-5024 at 7/26/12 6:10 PM:
------------------------------------------------------

It looks to me as if the problem could be in sync-dist-dirs.pl.

AFAICT, the line

next if (getpwuid +(stat)[4])[0] eq "svnwc";

skips directories owned by "svnwc".

This includes incubator:

drwxrwsr-x  52 svnwc  incubator  55 Jul 19 21:59 /www/www.apache.org/dist/incubator/

but not syncope:

drwxrwsr-x   3 elecharny      incubator     4 Jul 26 15:20 syncope

I suspect the above line might cause non-svnwc directories under incubator to be skipped.

It might be better to check for user and group == svnwc, for example:

drwxrwxr-x   2 pauls          incubator  1502 Dec 13  2011 ace
drwxrwsr-x   4 svnwc          svnwc         5 Jun 21 04:22 airavata
drwxrwsr-x   2 omalley        incubator     3 Sep  6  2011 ambari

Would also probably need to handle incubator separately.
                
      was (Author: sebb@apache.org):
    It looks to me as if the problem could be in sync-dist-dirs.pl.

AFAICT, the line

next if (getpwuid +(stat)[4])[0] eq "svnwc";

skips directories owned by "svnwc".

This includes incubator:

drwxrwsr-x  52 svnwc  incubator  55 Jul 19 21:59 /www/www.apache.org/dist/incubator/

but not syncope:

drwxrwsr-x   3 elecharny      incubator     4 Jul 26 15:20 syncope

I suspect the above line might cause non-svnwc directories under incubator to be skipped.

It might be better to check for user and group == svnwc, for example:

drwxrwxr-x   2 pauls          incubator  1502 Dec 13  2011 ace
drwxrwsr-x   4 svnwc          svnwc         5 Jun 21 04:22 airavata
drwxrwsr-x   2 omalley        incubator     3 Sep  6  2011 ambari


                  
> eu mirror still has incubator/trafficserver entry
> -------------------------------------------------
>
>                 Key: INFRA-5024
>                 URL: https://issues.apache.org/jira/browse/INFRA-5024
>             Project: Infrastructure
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: Mirrors
>            Reporter: Sebb
>
> The incubator/trafficserver directory was deleted from the US mirror [1] some time ago
> However, it is still present on the EU mirror [2]
> Surely this should not happen if the correct rsync options are being used?
> As it happens, the directory is empty, but it ought not to be there.
> This suggests there may be other problems with the EU mirror - I've not checked anything
except the TLP and incubator indexes.
> [1] http://www.us.apache.org/dist/incubator/
> [2] http://www.eu.apache.org/dist/incubator/

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message