Return-Path: Delivered-To: apmail-incubator-rat-dev-archive@minotaur.apache.org Received: (qmail 94787 invoked from network); 14 Nov 2009 04:30:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 14 Nov 2009 04:30:18 -0000 Received: (qmail 98596 invoked by uid 500); 14 Nov 2009 04:30:18 -0000 Delivered-To: apmail-incubator-rat-dev-archive@incubator.apache.org Received: (qmail 98551 invoked by uid 500); 14 Nov 2009 04:30:17 -0000 Mailing-List: contact rat-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: rat-dev@incubator.apache.org Delivered-To: mailing list rat-dev@incubator.apache.org Received: (qmail 98541 invoked by uid 99); 14 Nov 2009 04:30:16 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 14 Nov 2009 04:30:16 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of hyrum_wright@mail.utexas.edu designates 146.6.25.6 as permitted sender) Received: from [146.6.25.6] (HELO irongate.mail.utexas.edu) (146.6.25.6) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 14 Nov 2009 04:30:04 +0000 DomainKey-Signature: s=main; d=mail.utexas.edu; c=nofws; q=dns; h=X-IronPort-MID:Received:Received:Received:Content-Type: Mime-Version:Subject:From:In-Reply-To:Date: Content-Transfer-Encoding:Message-Id:References:To: X-Mailer; b=cVgkLixTwHuZ4oPt3WNH+MzvX6mT8GFH+ngDmtbqsmQXWjM9tmUI4eSi LQFMh2tEaOQB3n0DWXUrfQyO0pwak9XFzRK+AMVIiYMeXdEVIn5UpjZ8t EMVgjrehA+aj2WNVJ6Ps7kzsyOdS8Ry+NyhGRinbRzZs8R7hRlkFRAsqc s=; DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mail.utexas.edu; i=hyrum_wright@mail.utexas.edu; q=dns/txt; s=main; t=1258173004; x=1289709004; h=from:sender:reply-to:subject:date:message-id:to:cc: mime-version:content-transfer-encoding:content-id: content-description:resent-date:resent-from:resent-sender: resent-to:resent-cc:resent-message-id:in-reply-to: references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:list-owner:list-archive; z=From:=20"Hyrum=20K.=20Wright"=20|Subject:=20Re:=20[PATCH]=20Allow=20RAT=20to=20run =20on=20.tar.gz=20archives|Date:=20Fri,=2013=20Nov=202009 =2022:29:43=20-0600|Message-Id:=20<529F2770-9AB7-4AFB-96C 8-28F77A24CC42@mail.utexas.edu>|To:=20rat-dev@incubator.a pache.org|Mime-Version:=201.0=20(Apple=20Message=20framew ork=20v1077)|Content-Transfer-Encoding:=20quoted-printabl e|In-Reply-To:=20|References:=20; bh=+utskWU5Ui8+Fm2HCtpSHktzsXQN5knQksJjA7SNWDU=; b=EL1sm65jZEMlPHxLjyBOE5dJTR+QdtpBMt0fqyvnF2rtMLaRXI9Zs5Mr Lcp1ym40NuA14CxXh5++/TFIzie8Oo1gKp6pc/USHu5HJnYFPY3ajg83A 59nGJkl+1JmUMzZZ7j+5qV6bNtx4zDYdJj/BtEK9UQvf0KQIFcr4MupYf s=; X-IronPort-MID: 1441879 Received: from wb7-a.mail.utexas.edu ([128.83.126.146]) by irongate.mail.utexas.edu with ESMTP; 13 Nov 2009 22:29:43 -0600 Received: (qmail 26779 invoked from network); 14 Nov 2009 04:29:43 -0000 Received: from 24-155-243-203.dyn.grandenetworks.net (HELO ?192.168.1.103?) (hyrum?wright@24.155.243.203) by wb7.mail.utexas.edu with (RC4-SHA encrypted) ESMTPSA; 14 Nov 2009 04:29:43 -0000 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1077) Subject: Re: [PATCH] Allow RAT to run on .tar.gz archives From: "Hyrum K. Wright" In-Reply-To: Date: Fri, 13 Nov 2009 22:29:43 -0600 Content-Transfer-Encoding: quoted-printable Message-Id: <529F2770-9AB7-4AFB-96C8-28F77A24CC42@mail.utexas.edu> References: To: rat-dev@incubator.apache.org X-Mailer: Apple Mail (2.1077) X-Virus-Checked: Checked by ClamAV on apache.org hmmm, it doesn't look like the patch attachment made it through. What's = the suggested way of supplying patches? -Hyrum On Nov 13, 2009, at 6:21 PM, 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. I'm not sure what = the RAT patch submission guidelines are, so I'm just sending it here, = with the following caveats. >=20 > 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. >=20 > 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. >=20 > 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. >=20 > Cheers, > -Hyrum >=20