summaryrefslogtreecommitdiff
path: root/checkVersions
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2016-05-24 13:12:14 +0200
committerErich Eckner <git@eckner.net>2016-05-24 13:12:14 +0200
commit4a455caa196b2fb4ab7f2a4a9791b6680d821049 (patch)
treeaabe08133edd0a935b5650d6a0d2dc182e0a4772 /checkVersions
parent491f11142a3ac913e41e5832991e7d25d24a0fc9 (diff)
downloadarchlinuxewe.git.save-4a455caa196b2fb4ab7f2a4a9791b6680d821049.tar.xz
checkVersions kann jetzt auch git-Repos
Diffstat (limited to 'checkVersions')
-rwxr-xr-xcheckVersions11
1 files changed, 11 insertions, 0 deletions
diff --git a/checkVersions b/checkVersions
index 87a3ac94..b849adad 100755
--- a/checkVersions
+++ b/checkVersions
@@ -102,6 +102,17 @@ then
tail -n1
)"
elif echo "${src}" | \
+ grep -q 'git://anonscm\.debian\.org/'
+ then
+ remVer="$(
+ git ls-remote --tags "${src%#*}" | \
+ awk '{print $2}' | \
+ grep '^refs/tags/v[0-9.]\+$' | \
+ sed 's|^refs/tags/v\([0-9.]\+\)$|\1|' | \
+ sort -V | \
+ tail -n1
+ )"
+ elif echo "${src}" | \
grep -q "^https://pypi\.python\.org/packages/"
then
qu="$(