Package: src:mysqltuner
Version: 2.6.0.79.g9185d90-1
Severity: normal
Tags: patch
Dear Cord,
Debian Package Tracker:
https://tracker.debian.org/pkg/mysqltuner
says:
Problems while searching for a new upstream version high
uscan had problems while searching for a new upstream version:
The following paragraph isn't well formatted, skipping it: << ==EOF==
# official updates
#Source: https://github.com/major/MySQLTuner-perl/tags
#Matching-Pattern: (?:.*?/)?v?@ANY_VERSION@@ARCHIVE_EXT@
#Filename-Mangle: s%(?:.*?)?v?(\d[\d.]*@ARCHIVE_EXT@)%@PACKAGE@-$1%
#Update-Script: uupdate
==EOF==
Untested patch below.
Perhaps the "Update-Script: uupdate" lines can be removed too?
Thank you!
Daniel Lewart
Urbana, Illinois
diff -ru a/debian/watch b/debian/watch
--- a/debian/watch 2025-08-22 07:33:31.000000000 -0500
+++ b/debian/watch 2025-09-30 00:00:00.000000000 -0500
@@ -1,18 +1,18 @@
Version: 5
# official updates
-#Source: https://github.com/major/MySQLTuner-perl/tags
-#Matching-Pattern: (?:.*?/)?v?@ANY_VERSION@@ARCHIVE_EXT@
-#Filename-Mangle: s%(?:.*?)?v?(\d[\d.]*@ARCHIVE_EXT@)%@PACKAGE@-$1%
+#Template: Github
+#Owner: major
+#Project: MySQLTuner-perl
#Update-Script: uupdate
-
-# inofficial updates
+#
+# unofficial updates
Source: https://github.com/major/MySQLTuner-perl.git
Matching-Pattern: HEAD
Mode: git
Pgpmode: none
-#Pretty: 2.6.0+git%cd.%h
-Pretty: describe
+#Git-Pretty: 2.6.0+git%cd.%h
+Git-Pretty: describe
Filename-Mangle: s/^(@PACKAGE@-)v/$1/
Repack: yes
Update-Script: uupdate