Your message dated Mon, 31 Aug 2009 11:32:03 +0000
with message-id <[email protected]>
and subject line Bug#523058: fixed in watchupstream 0.8.1
has caused the Debian Bug report #523058,
regarding watchupstream: search not only Maintainer but also Uploaders
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
523058: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=523058
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: watchupstream
Version: 0.5.1
Severity: wishlist
Tags: patch

It would be quite useful if there were an option to make watchupstream
search for packages where the user is in Uploaders instead of
maintainers. Patches attached.

-- 
_________________________
Ryan Niebur
[email protected]
--- /dev/fd/63  2009-04-07 22:23:03.513773739 -0700
+++ ./watchupstream.1   2009-04-07 22:22:10.000000000 -0700
@@ -57,6 +57,11 @@
 on the "Maintainer:" field
 to select packages to be queried.
 .TP
+.B \-\-include-uploaders
+Match the regular expression given
+to the maintre option on the
+"Uploaders:" field as well.
+.TP
 .B \-\-installed
 Select all packages that are
 .B installed
--- watchupstream       2008-07-04 05:11:18.000000000 -0700
+++ /usr/bin/watchupstream      2009-04-07 22:19:31.000000000 -0700
@@ -37,6 +37,7 @@
 my $loadcpan = '';
 my $loadsf = '';
 my $debug = '';
+my $include_uploaders = '';
 GetOptions
 (
        "packre=s"  => \$packre,
@@ -51,6 +52,7 @@
        "loadcpan" => \$loadcpan,
        "loadsf" => \$loadsf,
        "debug" => \$debug,
+       "include-uploaders" => \$include_uploaders,
 ) or die;
 $export = 1 if( $try );
 $nocache = 1 if( $try );
@@ -74,10 +76,12 @@
 # tie hashes for debian repository information
 my %version;
 my %maintainer;
+my %uploaders;
 my %difffile;
 my %bin2src;
 tie( %version, 'NDBM_File', "$usrcfgdir/version", O_RDWR|O_CREAT, 0644 ) or 
die;
 tie( %maintainer, 'NDBM_File', "$usrcfgdir/maintainer", O_RDWR|O_CREAT, 0644 ) 
or die;
+tie( %uploaders, 'NDBM_File', "$usrcfgdir/uploaders", O_RDWR|O_CREAT, 0644 ) 
or die;
 tie( %difffile, 'NDBM_File', "$usrcfgdir/difffile", O_RDWR|O_CREAT, 0644 ) or 
die;
 tie( %bin2src, 'NDBM_File', "$usrcfgdir/bin2src", O_RDWR|O_CREAT, 0644 ) or 
die;
 
@@ -121,6 +126,7 @@
                {
                        $version{$field{'Package'}} = $field{'Version'};
                        $maintainer{$field{'Package'}} = $field{'Maintainer'};
+                       $uploaders{$field{'Package'}} = $field{'Uploaders'} 
if(defined($field{'Uploaders'}));
                        $difffile{$field{'Package'}} = 
"$field{'Directory'}/$field{'diff.gz'}"
                                if( defined( $field{'diff.gz'} ) );
 
@@ -742,8 +748,8 @@
 
        return 0 if( ! defined( $package ) );
        return 0 if( $packre and $pkg !~ /$packre/i and $package !~ /$packre/i 
);
-       return 0 if( $maintre and ! defined( $maintainer{$package} ) );
-       return 0 if( $maintre and $maintainer{$package} !~ /$maintre/i );
+       return 0 if( $maintre and (! defined( $maintainer{$package} ) && (! 
$include_uploaders || ! defined($uploaders{$package}) ) ) );
+       return 0 if( $maintre and $maintainer{$package} !~ /$maintre/i && (! 
$include_uploaders || ! defined($uploaders{$package}) || ! grep(/$maintre/, 
split(", ", $uploaders{$package}))));
 
        return 1;
 }
@@ -838,6 +844,7 @@
 untie %cpandir;
 untie %version;
 untie %maintainer;
+untie %uploaders;
 untie %difffile;
 untie %bin2src;
 untie %statevar;

Attachment: signature.asc
Description: Digital signature


--- End Message ---
--- Begin Message ---
Source: watchupstream
Source-Version: 0.8.1

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

watchupstream_0.8.1.dsc
  to pool/main/w/watchupstream/watchupstream_0.8.1.dsc
watchupstream_0.8.1.tar.gz
  to pool/main/w/watchupstream/watchupstream_0.8.1.tar.gz
watchupstream_0.8.1_all.deb
  to pool/main/w/watchupstream/watchupstream_0.8.1_all.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.
Bart Martens <[email protected]> (supplier of updated watchupstream 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.8
Date: Sun, 23 Aug 2009 14:00:08 +0200
Source: watchupstream
Binary: watchupstream
Architecture: source all
Version: 0.8.1
Distribution: unstable
Urgency: low
Maintainer: Bart Martens <[email protected]>
Changed-By: Bart Martens <[email protected]>
Description: 
 watchupstream - Look for newer upstream releases
Closes: 523058
Changes: 
 watchupstream (0.8.1) unstable; urgency=low
 .
   * Deal with multiple maintainers in the "Maintainer:" field.
   * Added options --uploadre and --maintuploadre.  Closes: #523058.
Checksums-Sha1: 
 e21deb41a38388f89805db7843b919879eb6ea67 723 watchupstream_0.8.1.dsc
 0ee74f20803724062cff16757012dd88728fe9d5 8540 watchupstream_0.8.1.tar.gz
 71c6390ce10b1e81ca3168e3cf00d9ad190e0d61 10002 watchupstream_0.8.1_all.deb
Checksums-Sha256: 
 bf0c3281f257356a2807341de8f55b059ae14328f087b36c36f2d00d7fb77ed4 723 
watchupstream_0.8.1.dsc
 b3bfb3937c580c2d52372b151b6b295e53f00515993f652a0c89688b6ee891df 8540 
watchupstream_0.8.1.tar.gz
 6b4761e3fd4197e3d1526ff7634ee66f569ea689c33f7cbe9b420cd4572b554e 10002 
watchupstream_0.8.1_all.deb
Files: 
 78cd439c7268dbda46a34eb1cd489db8 723 devel optional watchupstream_0.8.1.dsc
 e90d69524be3e523c7043fac1f4913b2 8540 devel optional watchupstream_0.8.1.tar.gz
 5a5b1f1c056cfdcb541c625335b4fe26 10002 devel optional 
watchupstream_0.8.1_all.deb

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

iEYEARECAAYFAkqbskcACgkQbMaawmho9B+MxACfbHfhAFrn8D/598xN3bc7br65
2ucAniYgvwmD0fjwOpeGpwDpQcfk6JX0
=seU4
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to