Re: GitHub is a terrible upstream

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Corey Richardson wrote:
Getting source tarballs from github is a nightmare. See
http://lists.fedoraproject.org/pipermail/devel/2011-February/148676.html

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.

#!/bin/sh
# 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

Best regards,
Eric

--
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux