<html>
    <head>
      <base href="http://llvm.org/bugs/" />
    </head>
    <body><span class="vcard"><a class="email" href="mailto:rfoos@codeaurora.org" title="Rick Foos <rfoos@codeaurora.org>"> <span class="fn">Rick Foos</span></a>
</span> changed
              <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED MOVED - ClamAV test case contains a virus that blocks SVN retrieve"
   href="http://llvm.org/bugs/show_bug.cgi?id=13121">bug 13121</a>
        <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">CC</td>
           <td>
                
           </td>
           <td>rfoos@codeaurora.org
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Component</td>
           <td>Programs Tests
           </td>
           <td>General docs
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Resolution</td>
           <td>WONTFIX
           </td>
           <td>MOVED
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Product</td>
           <td>Test Suite
           </td>
           <td>Documentation
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED MOVED - ClamAV test case contains a virus that blocks SVN retrieve"
   href="http://llvm.org/bugs/show_bug.cgi?id=13121#c8">Comment # 8</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED MOVED - ClamAV test case contains a virus that blocks SVN retrieve"
   href="http://llvm.org/bugs/show_bug.cgi?id=13121">bug 13121</a>
              from <span class="vcard"><a class="email" href="mailto:rfoos@codeaurora.org" title="Rick Foos <rfoos@codeaurora.org>"> <span class="fn">Rick Foos</span></a>
</span></b>
        <pre>The proposed workaround for this bug should be part of the Windows
documentation.

Multisource\Applications\ClamAV\inputs\rtf-test\rtf1.rtf\EICAR.COM detected as
a virus on McAfee and other scanners.

Attempted several workarounds in SVN. While svn can ignore a file from status,
it cannot prevent an ignored file from being downloaded.

svn co/up cannot handle the antivirus software removing the file, and loses
precious files in the .svn directory. At that point, the checkout is useless.

While git can ignore a file, svn propedit must set a property. Anything we hide
using svn:ignore is saved in the repo and thus applies to everyone’s checked
out code. The svn:igonore really only applies to svn status, and doesn't keep
the file away.

Using svn co --depth immediate, svn up --set-depth infinity, and so on to walk
the directory tree is awkward at best. This could possibly function, but too
difficult to maintain.

WORKAROUND: test-suite contains EICAR.COM virus in rtf1.rtf.
On Windows svn checkout/update fails, repository unusable.

GIT clone can handle antivirus file removal without errors, and allows the
test-suite to work on Windows.

C:\bld>git clone <a href="http://llvm.org/git/test-suite">http://llvm.org/git/test-suite</a>
Cloning into 'test-suite'...
remote: Counting objects: 28330, done.
remote: Compressing objects: 100% (12173/12173), done.
remote: Total 28330 (delta 16407), reused 25517 (delta 15202)
Receiving objects: 100% (28330/28330), 80.32 MiB | 2.30 MiB/s, done.
Resolving deltas: 100% (16407/16407), done.

C:\bld\test-suite\MultiSource\Applications\ClamAV\inputs\rtf-test>git status
# On branch master
# Changes not staged for commit:
#   (use "git add/rm <file>..." to update what will be committed)
#   (use "git checkout -- <file>..." to discard changes in working directory)
#
#       deleted:    rtf1.rtf
#
no changes added to commit (use "git add" and/or "git commit -a")

Note: GIT is always a read-only repository.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>