Skip to contentSkip to conversation

Preferring tar.bz2 over tar.gz if there's a choice

RFC Paul Sokolovsky 4 participants 7 messages Oct 20, 2006 – Oct 21, 2006

lore
Share & tools
lore
#0 lore raw

Hello openembedded-devel,

Nowadays, with multimegabyte software downloads, many projects
provide both tar.bz2 and tar.gz archives for downloads. I'd like to make a proposal that we prefer tar.bz2 over .gz for obvious reason of saving bandwidth and disk space for lots of people using OE. In particular, I'd like to propose that it's ok to change .gz to .bz2 if such case is spotted.

We should be reasonably safe with this, as gzip can be considered
pretty well a legacy archiver for big downloads now. The projects which started use bzip2 hardly give it up. And of course, many projects alreday use bzip2 solely, so it's not like adding a new dependency for OE.

Specifically, I have such patches for gdb_6.4 and libxml2_2.6.26 now
in my tree.

(One would ask - why do I care up to the level of patchuing existing
recipes? I'm exactly one of bandwidth-challenged, so try to use cheap local mirrors, and the mirrors of course usually have .bz2. I checked taht upstream actually provides .bz2, of course.)

Signature · 2 lines
Best regards,
 Paul                          mailto:[email protected]
#1 lore raw
Quoted 6 lines · Paul Sokolovsky

Nowadays, with multimegabyte software downloads, many projects
provide both tar.bz2 and tar.gz archives for downloads. I'd like to make a proposal that we prefer tar.bz2 over .gz for obvious reason of saving bandwidth and disk space for lots of people using OE. In particular, I'd like to propose that it's ok to change .gz to .bz2 if such case is spotted.

FWIW, I'm perfectly ok with that preference. It was mentioned to me a while ago regarding the Zaurus kernels and I hope I did change to prefer bz2, I certainly intended to :).

Please go ahead and check in changes for anything you've noticed.

Regards,

Richard

#3 lore raw
In reply to Paul Sokolovsky
Quoted 15 lines · Paul Sokolovsky

Hello openembedded-devel,

Nowadays, with multimegabyte software downloads, many projects
provide both tar.bz2 and tar.gz archives for downloads. I'd like to make a proposal that we prefer tar.bz2 over .gz for obvious reason of saving bandwidth and disk space for lots of people using OE. In particular, I'd like to propose that it's ok to change .gz to .bz2 if such case is spotted.

We should be reasonably safe with this, as gzip can be considered
pretty well a legacy archiver for big downloads now. The projects which started use bzip2 hardly give it up. And of course, many projects alreday use bzip2 solely, so it's not like adding a new dependency for OE.

Quoted 8 lines

Specifically, I have such patches for gdb_6.4 and libxml2_2.6.26 now
in my tree.

(One would ask - why do I care up to the level of patchuing existing
recipes? I'm exactly one of bandwidth-challenged, so try to use cheap local mirrors, and the mirrors of course usually have .bz2. I checked taht upstream actually provides .bz2, of course.)

What exactly are you referring to? Which distributed files? OE doesn't really distribute anything but an OE db and that's one-time downloaded when starting.

If you mean the images distributed from OE, that's a distribution choice and OZ in particular can't just make the choice to switch without adding a static binary of bzip2 (for flashing) and changing its flashing script.

Signature · 1 line
Justin Patrin
#4 lore raw
Quoted 8 lines · Justin Patrin

What exactly are you referring to? Which distributed files? OE doesn't really distribute anything but an OE db and that's one-time downloaded when starting.

If you mean the images distributed from OE, that's a distribution choice and OZ in particular can't just make the choice to switch without adding a static binary of bzip2 (for flashing) and changing its flashing script.

I think Paul means things other people distribute i.e. packages referenced in SRC_URIs. He's suggesting we prefer bz2 over gz given a choice which seems like a good idea.

Cheers,

Richard

#5 lore raw
Quoted 5 lines · Richard Purdie
Quoted 4 lines · Justin Patrin

What exactly are you referring to? Which distributed files? OE doesn't really distribute anything but an OE db and that's one-time downloaded when starting.

Quoted 9 lines
Quoted 4 lines

If you mean the images distributed from OE, that's a distribution choice and OZ in particular can't just make the choice to switch without adding a static binary of bzip2 (for flashing) and changing its flashing script.

I think Paul means things other people distribute i.e. packages referenced in SRC_URIs. He's suggesting we prefer bz2 over gz given a choice which seems like a good idea.

Oh, is *that* what he meant... Yeah, that's a good idea. ;-)

Signature · 1 line
Justin Patrin
#6 lore raw

Hello Justin,

Quoted 11 lines · you
Quoted 10 lines · Richard Purdie
Quoted 8 lines · Justin Patrin

What exactly are you referring to? Which distributed files? OE doesn't really distribute anything but an OE db and that's one-time downloaded when starting.

If you mean the images distributed from OE, that's a distribution choice and OZ in particular can't just make the choice to switch without adding a static binary of bzip2 (for flashing) and changing its flashing script.

Quoted 6 lines
Quoted 4 lines

I think Paul means things other people distribute i.e. packages referenced in SRC_URIs. He's suggesting we prefer bz2 over gz given a choice which seems like a good idea.

Oh, is *that* what he meant... Yeah, that's a good idea. ;-)

Sorry, my English skills might deteriorate towards midnight ;-)
Actually, jsut wanted to commit, asked Koen, he suggested post RFC to list, hence the rambling... ;-)

Signature · 2 lines
Best regards,
 Paul                            mailto:[email protected]