Your message dated Sat, 03 Dec 2005 14:02:22 -0800
with message-id <[EMAIL PROTECTED]>
and subject line Bug#232000: fixed in devscripts 2.9.10
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)

--------------------------------------
Received: (at submit) by bugs.debian.org; 10 Feb 2004 07:16:25 +0000
>From [EMAIL PROTECTED] Mon Feb 09 23:16:24 2004
Return-path: <[EMAIL PROTECTED]>
Received: from eth1859.nsw.adsl.internode.on.net (gryphon.hezmatt.org) 
[150.101.200.66] 
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1AqS88-0005Rp-00; Mon, 09 Feb 2004 23:16:24 -0800
Received: from mpalmer by gryphon.hezmatt.org with local (Exim 3.34 #1 (Debian))
        id 1AqS7V-0004VF-00
        for <[EMAIL PROTECTED]>; Tue, 10 Feb 2004 18:15:45 +1100
Date: Tue, 10 Feb 2004 18:15:45 +1100
From: Matthew Palmer <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Patch for debchange
Message-ID: <[EMAIL PROTECTED]>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
        protocol="application/pgp-signature"; boundary="VrqPEDrXMn8OVzN4"
Content-Disposition: inline
User-Agent: Mutt/1.5.5.1+cvs20040105i
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_02_01 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=0.0 required=4.0 tests=none autolearn=no 
        version=2.60-bugs.debian.org_2004_02_01
X-Spam-Level: 


--VrqPEDrXMn8OVzN4
Content-Type: multipart/mixed; boundary="AqsLC8rIMeq19msA"
Content-Disposition: inline


--AqsLC8rIMeq19msA
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Package: devscripts
Version: 2.7.95.1
Severity: wishlist

I've developed a pretty straightforward patch to debchange to allow the
caller to not modify the maintainer details in the changelog entry.  This is
mostly useful (for me) so that I can script additions to changelog files
for people I'm sponsoring.  Others will probably find more uses for it.

I'd appreciate it if you could look over the patch and, if OK, apply it to
the next release of devscripts.  If there are any problems, let me know and
I'll correct them.  One thing in particular is the option name - -m.  I'm
not sure if that's the best name to use.

I'm happy to relinquish any copyright that may attach to the patch (assuming
it's non-trivial enough to qualify).

- Matt

--AqsLC8rIMeq19msA
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="devscripts.patch"
Content-Transfer-Encoding: quoted-printable

diff -ur devscripts-2.7.95.1/debchange.1 devscripts-2.7.95.1.mpalmer/debcha=
nge.1
--- devscripts-2.7.95.1/debchange.1     2003-11-17 23:43:58.000000000 +1100
+++ devscripts-2.7.95.1.mpalmer/debchange.1     2004-02-10 18:06:21.000000000 +=
1100
@@ -152,6 +152,11 @@
 .B \-\-no\-preserve
 Do not preserve the source tree directory name (default).
 .TP
+.B \-m
+Do not modify the maintainer details previously listed in the changelog.=
=20
+This is useful particularly for sponsors wanting to automatically add a
+sponsorship message without disrupting the other changelog details.
+.TP
 \fB\-\-distribution \fIdist\fR, \fB\-D \fIdist\fR
 Use the specified distribution in the new changelog entry, if any,
 instead of using the previous changelog entry's distribution.
diff -ur devscripts-2.7.95.1/debchange.pl devscripts-2.7.95.1.mpalmer/debch=
ange.pl
--- devscripts-2.7.95.1/debchange.pl    2003-11-27 09:50:41.000000000 +1100
+++ devscripts-2.7.95.1.mpalmer/debchange.pl    2004-02-10 18:03:22.000000000 =
+1100
@@ -9,6 +9,7 @@
 # -d, --fromdirname
 #              Like -v, but takes version from directory name
 # -p           preserve directory name
+# -m           don't change the maintainer name in the changelog entry
 # --closes nnnnn,nnnnn,... Closes bug reports
 # --[no]query  Don't contact the BTS to find the bug report details
 # --check-dirname-level
@@ -101,6 +102,8 @@
          Preserve the directory name
   --no-preserve
          Do not preserve the directory name (default)
+  -m
+        Don't change the maintainer details in the changelog entry.
   -D, --distribution <dist>
          Use the specified distribution in the new changelog entry, if any
   -u, --urgency <urgency>
@@ -202,6 +205,7 @@
 my ($opt_help, $opt_version);
 my ($opt_i, $opt_a, $opt_v, $opt_d, $opt_D, $opt_u, @closes);
 my ($opt_ignore, $opt_level, $opt_regex, $opt_noconf);
+my ($opt_m);
 $opt_u =3D 'low';
=20
 Getopt::Long::Configure('bundling');
@@ -213,6 +217,7 @@
           "d|fromdirname" =3D> \$opt_d,
           "p" =3D> \$opt_p,
           "preserve!" =3D> \$opt_p,
+          "m" =3D> \$opt_m,
            "D|distribution=3Ds" =3D> \$opt_D,
            "u|urgency=3Ds" =3D> \$opt_u,
           "query!" =3D> \$opt_query,
@@ -362,44 +367,48 @@
 }
=20
 # Now use the gleaned values to detemine our MAINTAINER and EMAIL values
-if (exists $env{'DEBFULLNAME'}) {
-    $MAINTAINER =3D $env{'DEBFULLNAME'};
-} else {
-    my @pw =3D getpwuid $<;
-    if (defined($pw[6])) {
-       if (my $pw =3D decode_utf8($pw[6])) {
-           $pw =3D~ s/,.*//;
-           $MAINTAINER =3D $pw;
-       } else {
-           warn "$progname warning: passwd full name field for uid $<\nis not 
UT=
F-8 encoded; ignoring\n";
+if (!$opt_m) {
+    if (exists $env{'DEBFULLNAME'}) {
+        $MAINTAINER =3D $env{'DEBFULLNAME'};
+    } else {
+        my @pw =3D getpwuid $<;
+        if (defined($pw[6])) {
+           if (my $pw =3D decode_utf8($pw[6])) {
+               $pw =3D~ s/,.*//;
+               $MAINTAINER =3D $pw;
+           } else {
+               warn "$progname warning: passwd full name field for uid $<\nis 
not UTF-8=
 encoded; ignoring\n";
+           }
        }
     }
 }
 # Otherwise, $MAINTAINER retains its default value of the last changelog e=
ntry
=20
 # Email is easier
-if (exists $env{'DEBEMAIL'}) { $EMAIL =3D $env{'DEBEMAIL'}; }
-elsif (exists $env{'EMAIL'}) { $EMAIL =3D $env{'EMAIL'}; }
-else {
-    my $addr;
-    if (open MAILNAME, '/etc/mailname') {
-       chomp($addr =3D <MAILNAME>);
-       close MAILNAME;
-    }
-    if (!$addr) {
-       chomp($addr =3D `hostname --fqdn 2>/dev/null`);
-       $addr =3D undef if $?;
-    }
-    if ($addr) {
-       my $user =3D getpwuid $<;
-       if (!$user) {
-           $addr =3D undef;
-       }
-       else {
-           $addr =3D "[EMAIL PROTECTED]";
+if (!$opt_m) {
+    if (exists $env{'DEBEMAIL'}) { $EMAIL =3D $env{'DEBEMAIL'}; }
+    elsif (exists $env{'EMAIL'}) { $EMAIL =3D $env{'EMAIL'}; }
+    else {
+       my $addr;
+       if (open MAILNAME, '/etc/mailname') {
+           chomp($addr =3D <MAILNAME>);
+           close MAILNAME;
+       }
+       if (!$addr) {
+           chomp($addr =3D `hostname --fqdn 2>/dev/null`);
+           $addr =3D undef if $?;
+       }
+       if ($addr) {
+           my $user =3D getpwuid $<;
+           if (!$user) {
+               $addr =3D undef;
+           }
+           else {
+               $addr =3D "[EMAIL PROTECTED]";
+           }
        }
+       $EMAIL =3D $addr if $addr;
     }
-    $EMAIL =3D $addr if $addr;
 }
 # Otherwise, $EMAIL retains its default value of the last changelog entry
=20
Only in devscripts-2.7.95.1.mpalmer: debpkg-wrapper

--AqsLC8rIMeq19msA--

--VrqPEDrXMn8OVzN4
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

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

iD8DBQFAKIUhBEnrTWk1E4cRAuibAJ4imKSFhV0BP10ORPpkK4c/A1wH3gCfbBvl
LyTA5YRcrQQJcEvEpYTajcA=
=BykV
-----END PGP SIGNATURE-----

--VrqPEDrXMn8OVzN4--

---------------------------------------
Received: (at 232000-close) by bugs.debian.org; 3 Dec 2005 22:13:35 +0000
>From [EMAIL PROTECTED] Sat Dec 03 14:13:35 2005
Return-path: <[EMAIL PROTECTED]>
Received: from katie by spohr.debian.org with local (Exim 4.50)
        id 1EifSY-0007LP-2v; Sat, 03 Dec 2005 14:02:22 -0800
From: Julian Gilbey <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.60 $
Subject: Bug#232000: fixed in devscripts 2.9.10
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Sat, 03 Dec 2005 14:02:22 -0800
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-CrossAssassin-Score: 5

Source: devscripts
Source-Version: 2.9.10

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.9.10.dsc
  to pool/main/d/devscripts/devscripts_2.9.10.dsc
devscripts_2.9.10.tar.gz
  to pool/main/d/devscripts/devscripts_2.9.10.tar.gz
devscripts_2.9.10_i386.deb
  to pool/main/d/devscripts/devscripts_2.9.10_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.
Julian Gilbey <[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: Sat,  3 Dec 2005 20:24:38 +0000
Source: devscripts
Binary: devscripts
Architecture: source i386
Version: 2.9.10
Distribution: unstable
Urgency: low
Maintainer: Julian Gilbey <[EMAIL PROTECTED]>
Changed-By: Julian Gilbey <[EMAIL PROTECTED]>
Description: 
 devscripts - Scripts to make the life of a Debian Package maintainer easier
Closes: 232000 237726 246006 326881 339657 340301
Changes: 
 devscripts (2.9.10) unstable; urgency=low
 .
   * bts: handle 8-bit encodings in DEBFULLNAME for "From:" field of emails
     sent (Closes: #339657)
   * bts: submitter and reassign accept multiple bug numbers (Closes:
     #237726)
   * bts: document "it" for referring to previous bug number
   * debchange: provide -m/--maintmaint switch to use the maintainer name
     from the most recent changelog entry rather than using the environment
     variables (Closes: #232000)
   * debcommit: add support for bzr (Closes: #340301)
   * debuild: improve examples in manpage (Closes: #326881)
   * dpkg-depcheck: completely rewrite symlink handling code to fix bug
     where /usr was a symlink (Closes: #246006)
Files: 
 afaa47564f99155bc7c81657b7dc4f40 685 devel optional devscripts_2.9.10.dsc
 c6d7511ec922247696b2f9da14d1c838 337329 devel optional devscripts_2.9.10.tar.gz
 d5b455fd3535f4aab3ed34d28f93c68c 293406 devel optional 
devscripts_2.9.10_i386.deb

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

iD8DBQFDkgtWDU59w/205FkRAqu0AJ9r4degG5vvYbeweUzYP7Im/WR8jACeOd+8
2TJ+KmA4bv0atc39+D7WWM8=
=lvtT
-----END PGP SIGNATURE-----


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to