Corey Richardson wrote:
Getting source tarballs from github is a nightmare. See
The debian tool doesn't help very much because one still needs revision
garbage in the specfile. Is there any more recent ways to mitigate this?
Perhaps we could "lobby" github to change their ways, at least partially?
I don't know if this will be of any use to you, but for tcplay there
isn't a tagged release, so I use this script to create an suitable
tarball from a github commit with a known hash, by doing a clone then
archiving it locally. Certainly this doesn't solve the problem of not
having a source URL.
# usage: tcplay-get-snapshot.sh <hash>
git clone git://github.com/bwalex/tc-play
( cd tc-play && \
git archive --format=tar --prefix=tcplay-$1/ $1 \
) | xz - >tcplay-$1.tar.xz