#801462 POT templates compressed twice

#801462#5
Date:
2015-10-10 16:41:07 UTC
From:
To:
Hello,

As reported at "debian-l10n-english" mailing list¹, it looks like POT
templates² uploaded here are compressed twice:

***
sm01@stt008:~$ file Escritorio/dyfi_1.2.0-2_templates.pot.gz
Escritorio/dyfi_1.2.0-2_templates.pot.gz: gzip compressed data, from Unix

sm01@stt008:~$ gunzip Escritorio/dyfi_1.2.0-2_templates.pot.gz

sm01@stt008:~$ file Escritorio/dyfi_1.2.0-2_templates.pot
Escritorio/dyfi_1.2.0-2_templates.pot: gzip compressed data, was
"templates.pot", from Unix, last modified: Mon Sep 21 16:28:31 2015, max compression

sm01@stt008:~$ mv Escritorio/dyfi_1.2.0-2_templates.pot Escritorio/
dyfi_1.2.0-2_templates.pot.gz

sm01@stt008:~$ gunzip Escritorio/dyfi_1.2.0-2_templates.pot.gz

sm01@stt008:~$ file Escritorio/dyfi_1.2.0-2_templates.pot
Escritorio/dyfi_1.2.0-2_templates.pot: GNU gettext message catalogue, ASCII text
***

¹https://lists.debian.org/msgid-search/pan.2015.10.06.16.25.11@gmail.com
²https://www.debian.org/international/l10n/po-debconf/pot

Cheers,

#801462#10
Date:
2015-10-11 05:17:08 UTC
From:
To:
Quoting Camaleón (noelamac@gmail.com):

cperrier@mykerinos:~/tmp $ wget -nd http://i18n.debian.org/material/po/unstable/main/d/dyfi/debian/po/dyfi_1.2.0-2_templates.pot.gz
--2015-10-11 07:12:37--  http://i18n.debian.org/material/po/unstable/main/d/dyfi/debian/po/dyfi_1.2.0-2_templates.pot.gz
Résolution de localhost (localhost)… 127.0.0.1
Connexion à localhost (localhost)|127.0.0.1|:3128… connecté.
requête Proxy transmise, en attente de la réponse… 200 OK
Taille : 535 [application/x-gzip]
Sauvegarde en : « dyfi_1.2.0-2_templates.pot.gz »

dyfi_1.2.0-2_templates.pot.gz                   100%[=========================================================================================================>]     535  --.-KB/s   ds 0s

2015-10-11 07:12:38 (91,3 MB/s) — « dyfi_1.2.0-2_templates.pot.gz » sauvegardé [535/535]

cperrier@mykerinos:~/tmp $ gzip -d dyfi_1.2.0-2_templates.pot.gz
cperrier@mykerinos:~/tmp $ file dyfi_1.2.0-2_templates.pot
dyfi_1.2.0-2_templates.pot: GNU gettext message catalogue, ASCII text


The problem seems to happen when people download these files from their
web browser.

#801462#15
Date:
2015-10-11 07:31:10 UTC
From:
To:
El 2015-10-11 a las 07:17 +0200, Christian PERRIER escribió:

(...)

I see.

Curiously, other POT files are downloaded from browser okay:

http://i18n.debian.org/material/templates/unstable/main/d/dyfi/dyfi_1.2.0-2_debian_templates.gz

Mmm... I found this Firefox bug for the issue:

***
Tarball is double gzipped when downloaded with Firefox
https://bugzilla.mozilla.org/show_bug.cgi?id=610679
***

But as comment #29 and next messages suggest, maybe we can do something
at server side to avoid this from happening. By reading the comments,
looks like Apache settings on this regard do make a difference.

Greetings,