Back to wiki start page Categories: Ports
FredrikRinnestam, just_fun
Github has long been a source of headaches for many crux ports. Tarballs downloaded from github releases are named by the git tag. So we get lovely URLs like this: https://github.com/clbr/radeontop/archive/v1.0.tar.gz
And the resulting download is a generic v1.0.tar.gz tarball that may conflict with other ports.
Luckily github now supports downloads with a slightly modified url that gives you a nice tarball-name.
Take the URL:
https://github.com/clbr/radeontop/archive/v1.0.tar.gz
and compare it with
https://github.com/clbr/radeontop/archive/v1.0/radeontop-v1.0.tar.gz
The second example results in a unique filename.