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...')
 
m (internal link cleaning)
 
(7 intermediate revisions by one other user not shown)
Line 10: Line 10:
https://www.redhat.com/archives/fedora-devel-list/2009-August/msg00563.html
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.  
I propose that we add a section to [[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 compressed formats that our tools can decompress it's best to use the one that is smallest in size. This ensures the smallest source rpm to save space on the mirrors and downloads of source RPM packages.}}
 
[[Category:Archived packaging guideline drafts]]

Latest revision as of 07:49, 18 September 2016

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 Packaging/SourceURL that recommends packagers to pick the best source.

This will be a tip in the SourceURL page:

Idea.png
Smallest Compressed Archive
If the upstream source archive is available in multiple compressed formats that our tools can decompress it's best to use the one that is smallest in size. This ensures the smallest source rpm to save space on the mirrors and downloads of source RPM packages.