dlumbrer/kbn_network

Release tarball file extension differs from compression type.

Closed this issue · 1 comments

jarpy commented

The latest release tarball has a .gz extension, but it's actually compressed with xz.

$ tarball=https://github.com/dlumbrer/kbn_network/releases/download/6.3.X-1/network_vis.tar.gz


$ curl -Ls $tarball | tar -tzvf -

gzip: stdin: not in gzip format
tar: Child died with signal 13
tar: Error is not recoverable: exiting now


$ curl -Ls $tarball | file -
/dev/stdin: XZ compressed data

$ curl -Ls $tarball | tar -tJvf - | head
drwxrwxr-x dlumbrer/dlumbrer 0 2018-07-01 21:50 network_vis/
drwxrwxr-x dlumbrer/dlumbrer 0 2018-07-02 00:03 network_vis/.git/
drwxrwxr-x dlumbrer/dlumbrer 0 2018-07-01 21:50 network_vis/.git/info/
-rw-rw-r-- dlumbrer/dlumbrer 240 2018-07-01 21:50 network_vis/.git/info/exclude
drwxrwxr-x dlumbrer/dlumbrer   0 2018-07-01 21:50 network_vis/.git/hooks/
-rwxrwxr-x dlumbrer/dlumbrer 1642 2018-07-01 21:50 network_vis/.git/hooks/pre-commit.sample
-rwxrwxr-x dlumbrer/dlumbrer 3327 2018-07-01 21:50 network_vis/.git/hooks/fsmonitor-watchman.sample
-rwxrwxr-x dlumbrer/dlumbrer 4898 2018-07-01 21:50 network_vis/.git/hooks/pre-rebase.sample
-rwxrwxr-x dlumbrer/dlumbrer  896 2018-07-01 21:50 network_vis/.git/hooks/commit-msg.sample
-rwxrwxr-x dlumbrer/dlumbrer 3610 2018-07-01 21:50 network_vis/.git/hooks/update.sample

It would be nice to change either the extension or the compression type so that they match.

If sticking with xz, it might be good to put an example tar command in the README too, since not all users are familiar with the -J flag.

Cheers.

Fixed, forgot to close this issue thanks!