Your message dated Thu, 15 Jan 2015 17:33:41 +0000
with message-id <[email protected]>
and subject line Bug#689254: fixed in po-debconf 1.0.17
has caused the Debian Bug report #689254,
regarding podebconf-report-po: option "gzip" in configuration file is ignored!
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.)


-- 
689254: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=689254
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: po-debconf
Version: 1.0.16+nmu2
Severity: normal
Tags: patch

Hello,
I think I spotted a bug in podebconf-report-po.

When called without any gzip-related command-line option (that is to say:
without --gzip or --nogzip), but with "gzip" in the configuration file,
podebconf-report-po fails to compress the attachments with gzip.

In other words, the line "gzip" in the configuration file is completely
ignored and the default behavior (no compression) is followed, unless
command-line options impose otherwise.

For instance, the following will send uncompressed attachments:

  $ podebconf-report-po --call --withtranslators \
                        --conf po/.podebconf-report-po.conf

even when po/.podebconf-report-po.conf includes a "gzip" line:

  $ po/.podebconf-report-po.conf 
  languageteam
  addlanguageteam = da:Danish <[email protected]>
  addlanguageteam = eu:Basque <[email protected]>
  addlanguageteam = pt:Portuguese <[email protected]>
  addlanguageteam = sk:Slovak <[email protected]>

  deadline = +20days

  nodefault
  noforce
  gzip
  utf8

  summary


The attached patch fixes the issue for me (I tested it in multiple
possible combinations of command-line options and configuration file
contents: It Works For Me™).

Please note that my patch is so trivial, that I think it is not
copyrighted: that's why I didn't add any new copyright notice
and why I believe no license is needed from me...


Please apply this patch in order to fix the bug.
Thanks for your time!


-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (800, 'testing'), (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-3-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages po-debconf depends on:
ii  gettext          0.18.1.1-9
ii  intltool-debian  0.35.0+20060710.1
ii  perl             5.14.2-13

Versions of packages po-debconf recommends:
ii  libio-compress-perl [libcompress-zlib-perl]  2.052-1
ii  libmail-sendmail-perl                        0.79.16-1
ii  perl [libcompress-zlib-perl]                 5.14.2-13

Versions of packages po-debconf suggests:
ii  libmail-box-perl  2.105-1

-- no debconf information

Attachment: podebconf-report-po_fixgzip.diff.gz
Description: GNU Zip compressed data


--- End Message ---
--- Begin Message ---
Source: po-debconf
Source-Version: 1.0.17

We believe that the bug you reported is fixed in the latest version of
po-debconf, which is due to be installed in the Debian FTP archive.

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.
Herbert Parentes Fortes Neto <[email protected]> (supplier of updated po-debconf 
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: Sat, 10 Jan 2015 12:12:26 -0200
Source: po-debconf
Binary: po-debconf
Architecture: source all
Version: 1.0.17
Distribution: experimental
Urgency: medium
Maintainer: Herbert Parentes Fortes Neto <[email protected]>
Changed-By: Herbert Parentes Fortes Neto <[email protected]>
Description:
 po-debconf - tool for managing templates file translations with gettext
Closes: 589883 597432 602268 602680 602719 602968 604637 622132 658418 689254 
774188
Changes:
 po-debconf (1.0.17) experimental; urgency=medium
 .
   * New maintainer. (Closes: #774188)
     Thanks to the earlier maintainers:
               Denis Barbier <[email protected]> and
               Nicolas FRANCOIS (Nekral) <[email protected]>
   * Acknowledge NMUs. thanks to:
             Wookey <[email protected]>. (Closes: #658418)
             Christian Perrier <[email protected]>. (Closes: #604637, #622132)
             David Prévot <[email protected]>. (Closes: #597432),
                                               (Closes: #602268),
                                               (Closes: #602680),
                                               (Closes: #602719),
                                               (Closes: #602968).
   * debian/copyright remade.
   * debian/control: put my name in Maintainer
                     bump Standards-Version to 3.9.6
                     debhelper >= 9
   * debian/compat: 9
   * debian/rules. added 'doc/es/*.es.[1-7]'. thanks to Omar Campagne
     <[email protected]>. (Closes: #604637)
   * podebconf-report-po: compress the attachments with gzip. thanks to
     Francesco Poli (wintermute) <[email protected]>.
     'm/^nogzip$/m' -> 'm/^gzip$/m'. (Closes: #689254)
   * podebconf-report-po: added six lines after 'QUESTION' to print a
     list of files and recipients in case checkboxes have been unchecked
     or deleted. thanks to Denis Barbier <[email protected]>. (Closes: #589883)
Checksums-Sha1:
 b800f54b7e957a677fc8cbb60a04ad4650bf122d 1460 po-debconf_1.0.17.dsc
 03fd512987c5089b7cec5b44fcf6413cfc119e62 158780 po-debconf_1.0.17.tar.xz
 02b11870453c153ad40cb5892be286b04bedafba 248200 po-debconf_1.0.17_all.deb
Checksums-Sha256:
 e58a66719c593d6e42902a5c72deefaee16c5568366508f8050bf26e6210ea9d 1460 
po-debconf_1.0.17.dsc
 eb10576895cb2a598bf8a008571c0f4ee74ecfa484ab105ffd8d8dd2ccef551a 158780 
po-debconf_1.0.17.tar.xz
 5220557e72e3d00a4f98b1a23807728d8be049f12f68ab6fb8284b5897fb84d1 248200 
po-debconf_1.0.17_all.deb
Files:
 bd2860010c468b67d14a9dfda5b6c195 1460 devel optional po-debconf_1.0.17.dsc
 46fc41d66c9af84afaabeb657f3a91f5 158780 devel optional po-debconf_1.0.17.tar.xz
 dbd68befa27e5c8d5d1d5793a7e9c1d4 248200 devel optional 
po-debconf_1.0.17_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBAgAGBQJUt/asAAoJEN5juccE6+nvkmUP/1aMosSohzX6OzaFcWMAzlJd
0EUWQZ0lZNhnEbtK47RrLSBKImc5RJ2HMXocSA+T/bHzpOo9PDnuAu0kdY2bEInd
beTEyPW+9YQPBtfJ7vIwhNWElhlj/fDd0hYpTit1huirGJLCOAinggfDLjJlIiD4
HXSTiFDY/P+KJIJmfhedsj//ViLe1dB2T/3ZtYZ2mrF/F3AAiVywiWhYJcscpCCK
dbqxNK2h7Z90y7HlWJ5n4J7gXkRmezG3l6D97Tb6n8q4WsDXBW183GKwlbGbaE4e
C/+sFSbYH1PqSfews22kRT1WAnsM43wX5k7YG2J22eZrDFLHXnOC7YdR7SpCASWH
0SFsVOfJ2KgGRf5P9W5BIr7HCGqJ++qMX/+yGTnU53aLb9dq6erg1pqyiRzE7HGX
Xo51d8qDQW8yvpAo/PUcizJFC5sSZ71lKzR20pkNyphfdyC6F0GdlkLibb80Pn5L
BOFzrzWgmcd7PzRPj4edvozaIVDmxSBjYcalFCEPwwo88MKMsOhuUmAsHjaIV6Py
ohNiZJKxFAXfch6WqUal7gd2VGFKqVFs90GMaVsL8FTwk3fxIWYp4QyLnPUDJ4Qr
dIP4ZFEQXFTOaKIxYK37ZsgElZwdGyVX8dD6ELDw7B1/+J1IdW4xRAIO/Bw0GZeB
OsgusmRu1F/+HMVcvC40
=92NR
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to