On Thu, Aug 04, 2016 at 07:32:54AM -0300, Henrique de Moraes Holschuh wrote:
> On Thu, 04 Aug 2016, Holger Levsen wrote:
> > On Thu, Aug 04, 2016 at 09:30:19AM +0200, Andreas Tille wrote:
> > [...]
> > > > 2) When unpackaging the orig.tar.gz translating binary data to
> > > > text format and recompress using xz the tarball is "only" 265MB.
> > > > The transformation process takes about 30min on my Laptop - not
> > > > longer than any larger project might need to build but the
> > > > resulting binary package would have again close to 1GB.
> > [...]
> > > > 2b) Do the conversion of the format in postinst at the expense
> > > > of users time which is acceptable since the package usually
> > > > unpacks on high performance machines and not so many
> > > > installations which means bandwidth and disk space on Debian
> > > > mirrors should be saved here instead of users machine
> > > >
> > > > Source tarball 256MB + binary package ~250MB (estimated)
> >
> > this seems the most reasonable option to me.
>
> Agreed, although the option to download the dataset from upstream is
> also a valid choice.
I instead think the best action would be to print a message at postinst
inviting the user to run a script to convert the data. 250MB ain't that
much as a package, so that doesn't worry me (but it would be if that was
1g), but really seeing a postinst running for dozens of minutes is imho
not nice.
--
regards,
Mattia Rizzolo
GPG Key: 66AE 2B4A FCCF 3F52 DA18 4D18 4B04 3FCD B944 4540 .''`.
more about me: https://mapreri.org : :' :
Launchpad user: https://launchpad.net/~mapreri `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia `-
Attachment:
signature.asc
Description: PGP signature