creadur-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: [PATCH] Allow RAT to run on .tar.gz archives
Date Tue, 17 Nov 2009 05:12:41 GMT
On 2009-11-14, Hyrum K. Wright <> wrote:

> In using RAT to check potential Subversion release tarballs, I've
> bumped into a couple of its, uh, limitations.  To that end, I've
> hacked up the attached patch which fixes the immediate itch of not
> wanting to have to unpack the tarball before running the tool.

The RAT Antlib already supports working on arbitrary resource
collections, which means you wouldn't even have to download the tarball
yourself if you wanted to.

<rat:report ...>
  <tarfileset ...>
    <url .../>

>  * Needed to add a new dependency (ant) to pick up TarInputStream and
>  friends.

For RAT's core commons-compress may be a better option, it is more or
less the same code base (for tar, zip and bzip2) and has a lighter
footprint.  Basically you'd have to change a few imports and class names
(TarArchiveInputStream instead of TarInputStream).

>  * My maven-fu is *very* limited (read: nonexistent) so I kind of
>  guessed at the build system tweakage which needed to happen for the
>  above.

I feel your pain.  I'm still unable to even build the site 8-(


View raw message