creadur-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hyrum Wright (JIRA)" <j...@apache.org>
Subject [jira] Updated: (RAT-17) [GOOGLE-4] Run against compressed artifacts
Date Sat, 14 Nov 2009 13:48:39 GMT

     [ https://issues.apache.org/jira/browse/RAT-17?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Hyrum Wright updated RAT-17:
----------------------------

    Attachment: rat-tar-gz.patch

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.

Caveats:
* Reports aren't sorted properly for .tar.gz; standard filesystem targets remain unaffected.
* Needed to add a new dependency (ant) to pick up TarInputStream and friends.
* 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.  Comments/pointers/tweaks appreciated.
* My Java is a bit rusty, so I may not have done things in the most efficient way.
* I don't know the standard RAT coding conventions, but attempted to follow existing conventions
where possible.

Future work:
* Allow running on .zip and .tar.bz2 tarballs.  This should be relatively easy.
* Properly sort the output of the report generated by running RAT on tarballs.

Let me know of any feedback you may have, or feel free to just tweak the patch before committing.
 I plan on implementing the followup patches after this one gets committed.

> [GOOGLE-4] Run against compressed artifacts
> -------------------------------------------
>
>                 Key: RAT-17
>                 URL: https://issues.apache.org/jira/browse/RAT-17
>             Project: RAT
>          Issue Type: Improvement
>          Components: engine
>            Reporter: Robert Burrell Donkin
>         Attachments: rat-tar-gz.patch
>
>
> <blockquote cite='http://code.google.com/p/arat/issues/detail?id=4'>
> Automatically unpack release artifacts (and give hints on directory layout)
> </blockquote>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message