Package: dehydrated
Version: 0.7.0-3
Followup-For: Bug #1023655

Dear Maintainers,

The problem here is a bug in the debian/watch file caused by GitHub
changes in its HTML output of the releases page. The following diff
fixes the watch file:

diff --git a/debian/watch b/debian/watch
index fdafa3a..a14993a 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,5 +1,7 @@
 version=4
 opts="\
-pgpsigurlmangle=s/archive\/v(.+)\.tar\.gz/releases\/download\/v$1\/@PACKAGE@-$1\.tar\.gz\.asc/\
+searchmode=plain\
+,pgpmode=auto\
 " \
-https://github.com/dehydrated-io/@PACKAGE@/releases/ 
(?:.*/)?v?@ANY_VERSION@@ARCHIVE_EXT@
+https://api.github.com/repos/dehydrated-io/@PACKAGE@/releases \
+https://github.com/[^/]+/@PACKAGE@/releases/download/[^/]+/@PACKAGE@-@ANY_VERSION@@ARCHIVE_EXT@

Thanks, Beat

Reply via email to