| 1 | version=4 |
| 2 | |
| 3 | opts="mode=git,pretty=0.2.3+git%cd.%h" \ |
| 4 | https://github.com/alecthomas/ondir.git HEAD |
| 5 | |
| 6 | # This is the only location with upstream tarballs. |
| 7 | # http://swapoff.org/ondir.html .*/ondir-(\d\S*)\.tar\.gz |
| 8 | |
| 9 | # github is actually newer, but the git repostiroy doesn't contain any |
| 10 | # tags at all, so don't use this for now. |
| 11 | #opts=filenamemangle=s/.+\/v?(\d\S+)\.tar\.gz/ondir-$1\.tar\.gz/ \ |
| 12 | # https://github.com/alecthomas/ondir/tags .*/v?(\d\S+)\.tar\.gz |
| 13 |