[Pkg-ganeti-devel] [SCM] Ganeti packaging branch, master, updated. debian/2.1.2.1-2-11-ge2d377f

Iustin Pop iustin at debian.org
Sat Jul 17 18:19:28 UTC 2010


The following commit has been merged in the master branch:
commit 79220bb21bc3f9c524daf4ee8549c834b1ea6f46
Author: Iustin Pop <iustin at debian.org>
Date:   Sat Jul 17 19:17:19 2010 +0200

    Fix for the code.google.com new style download

diff --git a/debian/watch b/debian/watch
index ac7f375..b0dc18c 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,6 +1,10 @@
 # format version number, currently 3; this line is compulsory!
 version=3
 
-# code.google.com/p/$project/downloads/list has links to $project.googlecode.com/files/
+# new version of download list
+opts=\
+downloadurlmangle=s_code\.google\.com/p/ganeti/downloads/_ganeti\.googlecode\.com/files/_;\
+s/detail\?name=([^&]*).*/$1/,\
+filenamemangle=s/detail\?name=([^&]*).*/$1/ \
 http://code.google.com/p/ganeti/downloads/list \
-    http://ganeti.googlecode.com/files/ganeti-(\d+\.\d+[\d.]*)\.tar\.gz
+	detail\?name=ganeti-(\d+\.\d+[\d.]*)\.tar\.gz(?:&.*)?

-- 
Ganeti packaging



More information about the Pkg-ganeti-devel mailing list