You are viewing a plain text version of this content. The canonical link for it is here.
Posted to infrastructure-issues@apache.org by "Marvin Humphrey (JIRA)" <ji...@apache.org> on 2013/08/01 17:07:48 UTC

[jira] [Commented] (INFRA-6625) RAT buildbot task not excluding .git dir

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

Marvin Humphrey commented on INFRA-6625:
----------------------------------------

I attempted some troubleshooting and sent an email to builds@a.o but have not
received a reply.  Here is the email in full:

http://mail-archives.apache.org/mod_mbox/www-builds/201307.mbox/%3CCAAS6%3D7iwJJvphkNz1sZu_iiZfuDS9Nyg63A9kT7VxRQdxBhq3Q%40mail.gmail.com%3E

Greets,

I'm having difficulty excluding the contents of the `.git` repository
directory from Lucy's buildbot-generated RAT report.

    http://ci.apache.org/projects/lucy/rat-output.html

Here are the relevant configs and our rat-excludes file:

    https://svn.apache.org/repos/infra/infrastructure/buildbot/aegis/buildmaster/master1/projects/lucy.conf
    https://svn.apache.org/repos/infra/infrastructure/buildbot/portunus/buildslave2/slave2/rat-buildfiles/lucy.xml
    https://git-wip-us.apache.org/repos/asf?p=lucy.git;a=blob;f=devel/conf/rat-excludes;h=3927a34fd3fb69e0785b6ceb14f0e58ca8b99d9b;hb=HEAD

I tried running the ant task locally with a checkout of RAT trunk, and found
that the .git directory was excluded by default.  (RAT 0.8 is specified in
lucy.xml, but would not build for me.)  Unfortunately, I have been unable to
duplicate the problem locally.

I am confused as to why Libcloud's RAT report does not exhibit the same
problem.

    http://ci.apache.org/projects/libcloud/rat-output.html

Libcloud also uses Git for source control and their RAT excludes file does not
contain any specific rules for the `.git` dir.  I don't see anything that
would explain the difference in their config files.

    https://svn.apache.org/repos/infra/infrastructure/buildbot/aegis/buildmaster/master1/projects/libcloud.conf
    https://svn.apache.org/repos/infra/infrastructure/buildbot/bb-vm1/buildslave3/slave3/rat-buildfiles/libcloud.xml
    https://git-wip-us.apache.org/repos/asf?p=libcloud.git;a=blob;f=.ratignore;h=ba54ecd9cd78d89afb0e1b464dceb2e485e75a59;hb=HEAD

Any ideas?

Marvin Humphrey
                
> RAT buildbot task not excluding .git dir
> ----------------------------------------
>
>                 Key: INFRA-6625
>                 URL: https://issues.apache.org/jira/browse/INFRA-6625
>             Project: Infrastructure
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: Buildbot
>            Reporter: Marvin Humphrey
>            Priority: Minor
>
> The lucy-trunk-rat buildbot is not excluding the contents of the .git repository directory.
> http://ci.apache.org/projects/lucy/rat-output.html
> !?????      /home/buildslave2/slave2/lucy-trunk-rat/build/.git/logs/refs/heads/master
>  B         /home/buildslave2/slave2/lucy-trunk-rat/build/.git/objects/00/139da4e778a542f77ffdabcd0fd42231955fc4

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira