Should example scripts be compressed?

gregor herrmann gregoa at debian.org
Tue Mar 15 20:00:40 UTC 2011


On Tue, 15 Mar 2011 09:11:18 +0000, Nicholas Bamber wrote:

> Jawnsy's observations
> ---------------------
> As far as I can see Jawnsy has made the following observations:
> 1.) Currently the default practice is to compress.
> 2.) The existing packages would have to be updated.
> 3.) The build infrastructure would have to be modified.

Additional info: Examples (as a subset of /usr/share/doc/<pkg>) are
not compressed "just for fun" but because policy 12.3 says: "Any
additional documentation ... should be
... compressed with gzip -9 unless it is small."
(Interestingly 12.6 doesn't talk about compression ...)

"Small" is of course rather vague, and that's where dh_compress' 4k
come from as an arbitrary limit.
 
> Periapt's reply
> ---------------
> 1.) The default practice is not necessarily optimal. 

I agree in general. As a user I was more than once annoyed about
having to take extra steps.
As a maintainer I have sometimes installed examples uncompressed when
I thought it makes sense in that case (and not when I didn't care
enough in the specific case).

> 2.) I think this is a subtle but definite improvement. A mass update
> would not be required.

Agreed. If we decide to prefer/recommend/allow... uncompressed
examples this can be done when updating packages, and by those whoe
care about it.
 
> 3.) Absolutely, it is the goal of this group to automate as much as
> possible. However if asked , I am sure that  Joey Hess would say

I'd rather ask him than guess about his reply :)


Cheers,
gregor

-- 
 .''`.   http://info.comodo.priv.at/ -- GPG key IDs: 0x8649AA06, 0x00F3CFE4
 : :' :  Debian GNU/Linux user, admin, & developer - http://www.debian.org/
 `. `'   Member of VIBE!AT & SPI, fellow of Free Software Foundation Europe
   `-    NP: U2: Stuck In A Moment You Can't Get Out Of
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20110315/546e2b9b/attachment-0001.pgp>


More information about the pkg-perl-maintainers mailing list