Your message dated Tue, 11 Sep 2007 15:32:02 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#439054: fixed in devscripts 2.10.8
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: devscripts
Severity: wishlist
Tags: patch
Usertags: debcommit

Hi,

Please add this patch to confirm the commit message.
The patch is taken from ubuntu

Regards

Laurent Bigonville
--- scripts/debcommit.pl.orig	2007-08-21 23:03:38.000000000 +0200
+++ scripts/debcommit.pl	2007-08-21 23:06:53.000000000 +0200
@@ -6,7 +6,7 @@
 
 =head1 SYNOPSIS
 
-B<debcommit> [B<--release>] [B<--message=>I<text>] [B<--noact>] [B<--changelog=>I<path>] [B<--all> | I<files to commit>]
+B<debcommit> [B<--release>] [B<--message=>I<text>] [B<--noact>] [B<--confirm>] [B<--changelog=>I<path>] [B<--all> | I<files to commit>]
 
 =head1 DESCRIPTION
 
@@ -46,6 +46,11 @@
 
 Do not actually do anything, but do print the commands that would be run.
 
+=item B<-c> B<--confirm>
+
+Display the generated commit message and ask for confirmation before committing
+it.
+
 =item B<-a> B<--all>
 
 Commit all files. This is the default operation when using a VCS other 
@@ -82,6 +87,7 @@
    -r --release        Commit a release of the package and create a tag
    -m --message=text   Specify a commit message
    -n --noact          Dry run, no actual commits
+   -C --confirm        Ask for confirmation of the message before commit
    -a --all            Commit all files (default except for git)
    -h --help           This message
    -v --version        Version information
@@ -102,6 +108,7 @@
 my $release=0;
 my $message;
 my $noact=0;
+my $confirm=0;
 my $all=0;
 my $changelog="debian/changelog";
 Getopt::Long::Configure("bundling");
@@ -109,12 +116,13 @@
 		 "r|release" => \$release,
 		 "m|message=s" => \$message,
 		 "n|noact" => \$noact,
+		 "C|confirm" => \$confirm,
 		 "a|all" => \$all,
 		 "c|changelog=s" => \$changelog,
 		 "h|help" => sub { usage(); exit 0; },
 		 "v|version" => sub { version(); exit 0; },
 		 )) {
-    die "Usage: debcommit [--release] [--message=text] [--noact] [--changelog=path] [--all | files to commit]\n";
+    die "Usage: debcommit [--release] [--message=text] [--noact] [--confirm] [--changelog=path] [--all | files to commit]\n";
 }
 
 my @files_to_commit = @ARGV;
@@ -142,7 +150,7 @@
 }
 else {
     $message=getmessage() if ! defined $message;
-    commit($message);
+    commit($message) if not $confirm or confirm($message);
 }
 
 sub getprog {
@@ -344,6 +352,17 @@
     return $ret;
 }
 
+sub confirm {
+    my $message=shift;
+    print $message, "\n--\n";
+    while(1) {
+        print "OK to commit? [Y/n] ";
+        $_ = <STDIN>;
+        return 0 if /^n/i;
+        return 1 if /^(y|$)/i;
+    }
+}
+
 =head1 LICENSE
 
 This code is copyright by Joey Hess <[EMAIL PROTECTED]>, all rights reserved.

Attachment: pgpvLlRmJuPdy.pgp
Description: PGP signature


--- End Message ---
--- Begin Message ---
Source: devscripts
Source-Version: 2.10.8

We believe that the bug you reported is fixed in the latest version of
devscripts, which is due to be installed in the Debian FTP archive:

devscripts_2.10.8.dsc
  to pool/main/d/devscripts/devscripts_2.10.8.dsc
devscripts_2.10.8.tar.gz
  to pool/main/d/devscripts/devscripts_2.10.8.tar.gz
devscripts_2.10.8_i386.deb
  to pool/main/d/devscripts/devscripts_2.10.8_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Mohammed Adnène Trojette <[EMAIL PROTECTED]> (supplier of updated devscripts 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Tue, 11 Sep 2007 16:46:04 +0200
Source: devscripts
Binary: devscripts
Architecture: source i386
Version: 2.10.8
Distribution: unstable
Urgency: low
Maintainer: Devscripts Devel Team <[EMAIL PROTECTED]>
Changed-By: Mohammed Adnène Trojette <[EMAIL PROTECTED]>
Description: 
 devscripts - Scripts to make the life of a Debian Package maintainer easier
Closes: 322208 436095 437387 439054 439163 439854 439992 440013 440018 441073 
441105
Changes: 
 devscripts (2.10.8) unstable; urgency=low
 .
   [ Mohammed Adnène Trojette ]
   * debcommit:
      + allow an alternate location for the changelog. By default
        debian/changelog is used. Thanks Sjoerd Simons and Laurent Bigonville
        for the patches. (Closes: #437387)
      + add a -C/--confirm option to confirm the commit message. Thanks Laurent
        Bigonville for forwardporting the patch from Ubuntu. (Closes: #439054)
      + allow tagging with bazaar. (Closes: #441105)
   * debuild:
      + keep DISPLAY, XAUTHORITY and GNOME_KEYRING_SOCKET environment
        variables around for safe keeping before we destroy the
        environment, and re-set them before running debsign; thanks Steve
        Kovalik for the patch. (Closes: #322208)
      + also keep GPG_AGENT_INFO and SSH_AUTH_SOCK.
   * licensecheck: decruft // comments. (Closes: #441073)
   * debchange: update according to new Backports.org policy. (Closes: #439854)
 .
   [ Stefano Zacchiroli ]
   * debcheckout: new script to checkout the version control system repository
     of a package
 .
   [ Joey Hess ]
   * debcheckout: when checking out svn repos, check them out into a directory
     named for the package, to avoid checking out into ie, a trunk directory.
 .
   [ Adam D. Barratt ]
   * licensecheck
     + tidy up the pre-check regexes
     + unescape "\@"s in copyright statements
     + decruft © as well as (C)
     + make the copyright regex more flexible
     + correctly handle metacharacters found in potential copyright statements
   * debdiff: allow whitespace to be ignored in diffs (Closes: #439163)
   * debcommit
     + Allow changes to only debian/changelog to be committed.
       Thanks to martin f krafft for the patch. (Closes: #439992)
     + Allow the leading "* " to be stripped from commit messages
       (Closes: #440013)
   * bts: Change working directory back to its original location before
     running the browser (Closes: #436095)
   * checkbashisms: Catch the use of test/[ with a unary -a operator. Thanks to
     Matthew Wilcox for the suggestion.
 .
   [ Julian Gilbey ]
   * The package should suggest git-core, not git (Closes: #440018)
   * debchange: update for new BTS layout (pkgreport.cgi syntax changed)
 .
   [ Joey Hess ]
   * Add list-unreleased, by Frans Pop.
Files: 
 82f0869205ca70e7ecd8dcf51b46e2f3 1089 devel optional devscripts_2.10.8.dsc
 66e79e411936d75f310815a019da8100 472091 devel optional devscripts_2.10.8.tar.gz
 63962cfd69e8e2121dd720162a173296 410150 devel optional 
devscripts_2.10.8_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFG5rKHOU3FkQ7XBOoRAvpxAJ9MB9rtEE26bxiIK6sn6a8dlSyCFgCgy1Y0
/4suKi4FhGgA1uXSt7yE6Ss=
=Q4OM
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to