r40978 - in /trunk/libsvn-hooks-perl: Changes META.yml README debian/changelog lib/SVN/Hooks.pm lib/SVN/Hooks/CheckJira.pm

carnil-guest at users.alioth.debian.org carnil-guest at users.alioth.debian.org
Wed Jul 29 06:17:11 UTC 2009


Author: carnil-guest
Date: Wed Jul 29 06:17:05 2009
New Revision: 40978

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=40978
Log:
New upstream release

Modified:
    trunk/libsvn-hooks-perl/Changes
    trunk/libsvn-hooks-perl/META.yml
    trunk/libsvn-hooks-perl/README
    trunk/libsvn-hooks-perl/debian/changelog
    trunk/libsvn-hooks-perl/lib/SVN/Hooks.pm
    trunk/libsvn-hooks-perl/lib/SVN/Hooks/CheckJira.pm

Modified: trunk/libsvn-hooks-perl/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libsvn-hooks-perl/Changes?rev=40978&op=diff
==============================================================================
--- trunk/libsvn-hooks-perl/Changes (original)
+++ trunk/libsvn-hooks-perl/Changes Wed Jul 29 06:17:05 2009
@@ -1,4 +1,15 @@
 Revision history for SVN-Hooks. -*- text -*-
+
+0.20	2009-07-28
+
+	Reverting the change in 0.19 and better documenting the
+	CHECK_JIRA behaviour.
+
+	Updating SVN::Hooks documentation.
+
+0.19	2009-07-28
+
+	Corrects a bug in CheckJira.
 
 0.18	2009-07-24
 

Modified: trunk/libsvn-hooks-perl/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libsvn-hooks-perl/META.yml?rev=40978&op=diff
==============================================================================
--- trunk/libsvn-hooks-perl/META.yml (original)
+++ trunk/libsvn-hooks-perl/META.yml Wed Jul 29 06:17:05 2009
@@ -1,6 +1,6 @@
 --- #YAML:1.0
 name:                SVN-Hooks
-version:             0.18
+version:             0.20
 abstract:            A framework for implementing Subversion hooks.
 license:             ~
 author:              

Modified: trunk/libsvn-hooks-perl/README
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libsvn-hooks-perl/README?rev=40978&op=diff
==============================================================================
--- trunk/libsvn-hooks-perl/README (original)
+++ trunk/libsvn-hooks-perl/README Wed Jul 29 06:17:05 2009
@@ -1,6 +1,6 @@
 Name:    SVN-Hooks
 What:    Framework for Subversion hooks
-Version: 0.18
+Version: 0.20
 Author:  Gustavo Chaves <gnustavo at cpan.org>
 
 SVN-Hooks is a framework for creating Subversion hooks

Modified: trunk/libsvn-hooks-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libsvn-hooks-perl/debian/changelog?rev=40978&op=diff
==============================================================================
--- trunk/libsvn-hooks-perl/debian/changelog (original)
+++ trunk/libsvn-hooks-perl/debian/changelog Wed Jul 29 06:17:05 2009
@@ -1,3 +1,9 @@
+libsvn-hooks-perl (0.20-1) UNRELEASED; urgency=low
+
+  * New upstream release
+
+ -- Salvatore Bonaccorso <salvatore.bonaccorso at gmail.com>  Wed, 29 Jul 2009 08:14:58 +0200
+
 libsvn-hooks-perl (0.18-1) unstable; urgency=low
 
   [ Nathan Handler ]

Modified: trunk/libsvn-hooks-perl/lib/SVN/Hooks.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libsvn-hooks-perl/lib/SVN/Hooks.pm?rev=40978&op=diff
==============================================================================
--- trunk/libsvn-hooks-perl/lib/SVN/Hooks.pm (original)
+++ trunk/libsvn-hooks-perl/lib/SVN/Hooks.pm Wed Jul 29 06:17:05 2009
@@ -15,11 +15,11 @@
 
 =head1 VERSION
 
-Version 0.18
+Version 0.20
 
 =cut
 
-our $VERSION = '0.18';
+our $VERSION = '0.20';
 
 =head1 SYNOPSIS
 
@@ -136,9 +136,14 @@
 
 =over
 
-=item SVN::Hooks::AllowLogChange
-
-Allow changes in revision log messages.
+=item SVN::Hooks::AllowPropChange
+
+Allow changes in revision properties.
+
+=item SVN::Hooks::CheckJira
+
+Integrate Subversion with the
+L<JIRA|http://www.atlassian.com/software/jira/> ticketing system.
 
 =item SVN::Hooks::CheckLog
 
@@ -169,12 +174,6 @@
 
 Deny the addition of files which file names doesn't comply with a
 Regexp. Usually used to disallow some characteres in the filenames.
-
-=item SVN::Hooks::JiraAcceptance
-
-Require that the log message in a commit includes references to issues
-in the L<JIRA|http://www.atlassian.com/software/jira/> ticketing
-system.
 
 =item SVN::Hooks::Notify
 
@@ -203,14 +202,14 @@
 	use strict;
 	use warnings;
 	use SVN::Hooks;
-	use SVN::Hooks::AllowLogChange;
+	use SVN::Hooks::AllowPropChange;
+	use SVN::Hooks::CheckJira;
 	use SVN::Hooks::CheckLog;
 	use SVN::Hooks::CheckMimeTypes;
 	use SVN::Hooks::CheckProperty;
 	use SVN::Hooks::CheckStructure;
 	use SVN::Hooks::DenyChanges;
 	use SVN::Hooks::DenyFilenames;
-	use SVN::Hooks::JiraAcceptance;
 	use SVN::Hooks::Notify;
 	use SVN::Hooks::UpdateRepoFile;
 

Modified: trunk/libsvn-hooks-perl/lib/SVN/Hooks/CheckJira.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libsvn-hooks-perl/lib/SVN/Hooks/CheckJira.pm?rev=40978&op=diff
==============================================================================
--- trunk/libsvn-hooks-perl/lib/SVN/Hooks/CheckJira.pm (original)
+++ trunk/libsvn-hooks-perl/lib/SVN/Hooks/CheckJira.pm Wed Jul 29 06:17:05 2009
@@ -163,6 +163,14 @@
     CHECK_JIRA(qr/^(trunk|branches/fix)/ => {
         check_one   => \&is_scheduled,
     });
+
+Note that you need to call CHECK_JIRA at least once with a qr/Regexp/
+in order to trigger the checks. A call for (C<'default'> doesn't
+count. If you want to change defaults and force checks for every
+commit, do this:
+
+    CHECK_JIRA(default => {projects => 'CDS'});
+    CHECK_JIRA(qr/./);
 
 =cut
 
@@ -272,7 +280,7 @@
 	}
 	if ($opts->{by_assignee}) {
 	    my $author = $svnlook->author();
-	    die "$HOOK: committer ($author) is different from issue $key's assignee ($issue->{assignee}).\n"
+	    die "$HOOK: committer ($author) is different from issue ${key}'s assignee ($issue->{assignee}).\n"
 		if $author ne $issue->{assignee};
 	}
 	if (my $check = $opts->{check_one}) {




More information about the Pkg-perl-cvs-commits mailing list