From Fedora Project Wiki

(Created page with ' == Owner == Rahul Sundaram (mether) == Rationale == To avoid post import cleanup like the following https://www.redhat.com/archives/fedora-devel-list/2009-August/msg00563.ht...')
 
(Reformat as tip)
Line 12: Line 12:
I propose that we add a section to https://fedoraproject.org/wiki/Packaging/SourceURL that recommends packagers to pick the best source.  
I propose that we add a section to https://fedoraproject.org/wiki/Packaging/SourceURL that recommends packagers to pick the best source.  


== Use the Best Source ==
This will be a tip in the SourceURL page:


If we the upstream source archive is available in multiple formats, use the one that yields the smallest source rpm in order to save space on the mirrors and downloads of source RPM packages.  xz/lzma compression (tar.xz or tar.lzma) is known to be the current best in terms of compressed size and time taken to decompress. The next best would be tarballs compressed with bz2 (tar.bz2). Otherwise pick gzipped tarballs (tar.gz) or zip compressed ones.
{{admon/tip|Smallest Compressed Archive|If the upstream source archive is available in multiple formats it's best to use the one that yields the smallest source rpm to save space on the mirrors and downloads of source RPM packages.  xz/lzma compression (tar.xz or tar.lzma) is currently the best followed by bz2 (tar.bz2), gzipped tarballs (tar.gz) and finally zip archives.}}

Revision as of 16:26, 9 September 2009

Owner

Rahul Sundaram (mether)

Rationale

To avoid post import cleanup like the following

https://www.redhat.com/archives/fedora-devel-list/2009-August/msg00563.html

I propose that we add a section to https://fedoraproject.org/wiki/Packaging/SourceURL that recommends packagers to pick the best source.

This will be a tip in the SourceURL page:

Smallest Compressed Archive
If the upstream source archive is available in multiple formats it's best to use the one that yields the smallest source rpm to save space on the mirrors and downloads of source RPM packages. xz/lzma compression (tar.xz or tar.lzma) is currently the best followed by bz2 (tar.bz2), gzipped tarballs (tar.gz) and finally zip archives.