Package: devscripts
Version: 2.25.22
Severity: normal

Dear Maintainer,

I have been testing debian-watch version 5 and found a problem related
to custom scripts usage. I see no mention of custom scripts in
debian-watch version 5 manpage.

I have browsed devscripts code and looking at
/usr/share/perl5/Devscripts/Uscan/WatchSource.pm seems that internal
name for custom scripts is "updatescript", so I tried 

Update-Script: debian/repack-local

in debian/watch version 5 and seems to work as I expected (updatescript
should have also worked). If no changes are expected, this should be
documented in debian-watch version 5 manpage as it was in debian-watch
version 4.

Regarding debian-watch-4.pod it indeed mentions custom scripts, although
a subsection in the orginal uscan manual was not included in
debian-watch-4.pod (but stays in uscan man page). It is not very
important, although I would consider adding a line of it with something
like attached patch.

Thanks for the work in devscripts and in particular for debian-watch
version 5.

Regards,

-- 
Agustin
diff --git a/scripts/debian-watch-4.pod b/scripts/debian-watch-4.pod
index 9d1e6f81..6af1fb91 100644
--- a/scripts/debian-watch-4.pod
+++ b/scripts/debian-watch-4.pod
@@ -124,6 +124,8 @@ At least the main upstream source has to be declared as "group".
 =item * I<script> is executed at the end of B<uscan> execution with appropriate
 arguments provided by B<uscan> I<(default: no action)>.
 
+See L<uscan/"HISTORY AND UPGRADING"> for how B<uscan> invokes the custom I<script>.
+
 =over
 
 =item * The typical Debian package is a non-native package made from one

Reply via email to