Offer a sane URL for getting tarballs
GitLab's current URL format for retrieving tarballs is quite painful.
For example, the tarball URL for osslugaru/lugaru v1.2 tag is: https://gitlab.com/osslugaru/lugaru/repository/1.2/archive.tar.gz
This produces a tarball
lugaru-1.2-c7b99378439735c60f84869b05c6ebde53083667.tar.gz with a top level folder
This is complicated and horrible for people trying to automate retrieving and extracting tarballs.
As a point of comparison, the osslugaru/lugaru v1.2 tag on GitHub is: https://github.com/osslugaru/lugaru/archive/1.2/lugaru-1.2.tar.gz or https://github.com/osslugaru/lugaru/archive/1.2.tar.gz
Either link produces a tarball
lugaru-1.2.tar.gz with a top level folder
This is much easier for automating for the purposes of building, deploying, and/or packaging.
Please add an alternate URL structure like the following:
ref could be a commit, tag, or a branch)
The top level directory inside would be
Links / references
As I and many other people download and package software for *nix systems or build it for use in other software, it makes it much easier if there's sane, simpler standard for people to follow at a glance, especially as new versions release to make it more effortless to track.
- Packagers who employ some simple automation (think
spectoolto retrieve sources or use source services on the OpenSUSE Build Service) would be able to effortlessly upgrade without worrying about the structure being changed by git commit things.
Make sure these are completed before closing the issue, with a link to the relevant commit.