From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1RxpNJ-0008ND-RG for garchives@archives.gentoo.org; Thu, 16 Feb 2012 00:39:05 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id ABACFE08F4; Thu, 16 Feb 2012 00:34:52 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 5B430E0AC3 for ; Thu, 16 Feb 2012 00:27:05 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 551541B4059 for ; Thu, 16 Feb 2012 00:26:59 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 1708BE540D for ; Thu, 16 Feb 2012 00:26:58 +0000 (UTC) From: "Kent Fredric" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Kent Fredric" Message-ID: <1319490937.a3124f45d1cbeb9170123a31fdd1079a641b2e11.kent@gentoo> Subject: [gentoo-commits] proj/perl-overlay:eclass-moretests commit in: scripts/ X-VCS-Repository: proj/perl-overlay X-VCS-Files: scripts/package_log.pl X-VCS-Directories: scripts/ X-VCS-Committer: kent X-VCS-Committer-Name: Kent Fredric X-VCS-Revision: a3124f45d1cbeb9170123a31fdd1079a641b2e11 X-VCS-Branch: eclass-moretests Date: Thu, 16 Feb 2012 00:26:58 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: d6f34ac2-6f68-4c01-855c-9e32ecb21f97 X-Archives-Hash: 8cde5b61eda94c568c670eb11aeb5c0a commit: a3124f45d1cbeb9170123a31fdd1079a641b2e11 Author: Kent Fredric gmail com> AuthorDate: Mon Oct 24 21:15:37 2011 +0000 Commit: Kent Fredric gmail com> CommitDate: Mon Oct 24 21:15:37 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/perl-overlay.= git;a=3Dcommit;h=3Da3124f45 [scripts/package_log.pl] add a --nosummarize command to get full changes= output --- scripts/package_log.pl | 16 +++++++++++----- 1 files changed, 11 insertions(+), 5 deletions(-) diff --git a/scripts/package_log.pl b/scripts/package_log.pl index 1d36d12..70547b3 100644 --- a/scripts/package_log.pl +++ b/scripts/package_log.pl @@ -201,6 +201,10 @@ sub change_for { =20 return unless $file; =20 + if ( $flags->{'nosummarize'} ) { + return $file; + } + require CPAN::Changes; my $changes =3D CPAN::Changes->load_string($file); if ($changes) { @@ -239,11 +243,13 @@ USAGE: # Be verbose about what we're doing package_log.pl Moose --trace --all =20 - --all Show all releases in the log. - --help Show this message - --changes Show ChangeLog Excerpts using CPAN::Changes where possible - --deps Show Dependency data ( as reported via metadata ) - --trace Turn on extra debugging. + --all Show all releases in the log. + --help Show this message + --changes Show ChangeLog Excerpts using CPAN::Changes where poss= ible + --deps Show Dependency data ( as reported via metadata ) + --trace Turn on extra debugging. + --nosummarize Do no processing of Changes data and report it verbati= m + ( Useful when CPAN::Changes gets it wrong :( ) EOF =20 }