Growing jujud.tgz sizes

David Cheney david.cheney at canonical.com
Sun Aug 11 21:31:16 UTC 2013


It is possible 1.12.0 was the only set of tools produced where they
were not stripped. Stripping go binaries is not recommended, but I
think it still happens via the ppa:juju/devel build recipe.

The difference here is the 1.12.0 tools are taken from the saucy
package, or their backported versions. These have had dh_strip
disabled, which was need to make armhf work.

So yeah, we have two problems. Probably need to move to .xz, and also
shouldn't be stripping the tools that go into/come from
ppa:juju/devel.

On Mon, Aug 12, 2013 at 12:14 AM, John Arbash Meinel
<john at arbash-meinel.com> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hey guys, I was just copying the tools to HP, and I noticed our
> tarballs are getting a lot bigger. The *compressed* size has gone from
>         2.2MB in juju-1.10.0-precise-amd64.tar.gz
>         1.9MB in 1.9.10
>         2.4MB in 1.11
>         2.6MB in 1.11.2
>         2.7MB in 1.11.3
>         2.95MB in 1.11.4
>         4.12MB in 1.12.0        **
>         2.97MB in 1.13.0
>         2.99MB in 1.13.1
>
> I realize that some of the growth is because we're handling more
> providers, but is it really growing to double in 1.12? Also why are
> 1.11.4 and 1.13.1 3MB while 1.12 is >4MB (which is presumably the same
> code as 1.11.4).
>
> Thoughts? Should we consider switching to a .tar.xz distribution?
>         18.0MB  juju-1.12.0.tar
>          4.0MB  .tgz
>          3.3MB  .tar.bz2
>          2.8MB  .tar.xz
>
> Note the raw 'jujud' is ~18MB here. Which is the same size when I
> compile it manually. I have the sneaking suspicion that some of that
> is a go 1.0.3 vs go 1.1 thing.
>
> John
> =:->
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.13 (Cygwin)
> Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
>
> iEYEARECAAYFAlIHnC4ACgkQJdeBCYSNAAOsIwCgvedkIF6mRgaZKDJqtq1BbVYr
> 5dkAn2DrXKVSFZTqm9mhbY7NupXw2Okx
> =Q8On
> -----END PGP SIGNATURE-----
>
> --
> Juju-dev mailing list
> Juju-dev at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju-dev



More information about the Juju-dev mailing list