wxMaxima-developers / wxmaxima

A gui for the computer algebra system Maxima built with wxWidgets
https://wxMaxima-developers.github.io/wxmaxima/
Other
481 stars 99 forks source link

Please provide tar.xz/tar.lz source downloads as well or instead of tar.gz #1192

Open shlomif opened 4 years ago

shlomif commented 4 years ago

Please provide tar.xz/tar.lz source downloads as well or instead of tar.gz. tar.gz is wasting bandwith. See:

shlomif[rpms]:$mageia/wxmaxima/SOURCES$ ls -l             
total 73036
-rw-r--r-- 1 shlomif shlomif       66 Jan  1 14:40 sha1.lst
-rw-r--r-- 1 shlomif shlomif 15304346 Dec  6 08:28 wxmaxima-19.11.0.tar.gz
-rw-r--r-- 1 shlomif shlomif 36628480 Jan  1 14:40 wxmaxima-19.12.3.tar
-rw-r--r-- 1 shlomif shlomif 14174535 Jan  1 14:40 wxmaxima-19.12.3.tar.gz
-rw-r--r-- 1 shlomif shlomif  8669068 Jan  1 14:40 wxmaxima-19.12.3.tar.xz
shlomif[rpms]:$mageia/wxmaxima/SOURCES$ 

I am a mageia linux packager.

gunterkoenigsmann commented 4 years ago

I love .tar.xz - but the tarballs are autogenerated by github and currently github doesn't seem to produce this format.

shlomif commented 4 years ago

I love .tar.xz - but the tarballs are autogenerated by github and currently github doesn't seem to produce this format.

@gunterkoenigsmann : hi! You can attach the tar.xz to the git tag's assets like I did here: https://github.com/thewml/website-meta-language/releases . You already provide some other assets. Also note that github tends to not provide consistent source "tar.gz"s .

gunterkoenigsmann commented 4 years ago

Wow... ...what is wrong with the .tar.gz files github produces?

...and you are right, of course: In theory I could unpack the release tarball, repack it with one of the .lz packers my system contains (https://www.nongnu.org/lzip/xz_inadequate.html seems to indicate that in theory they can be incompatible with each other). But I would avoid any extra manual (and therefore error-prone) step for releases, if possible.

shlomif commented 4 years ago

Hi @gunterkoenigsmann !

Wow... ...what is wrong with the .tar.gz files github produces?

I was told that they do not always stay the same and may get mutated in time.

...and you are right, of course: In theory I could unpack the release tarball, repack it with one of the .lz packers my system contains (https://www.nongnu.org/lzip/xz_inadequate.html seems to indicate that in theory they can be incompatible with each other). But I would avoid any extra manual (and therefore error-prone) step for releases, if possible.

You should be able to automate that. See https://github.com/actions/upload-release-asset for instance. Note that you can also upload the tar.lz/tar.xz to sourceforge.net or similar using rsync-over-ssh.