Re: debian/watch version 5
El lun, 27 oct 2025 a las 0:32, Jonas Smedegaard (<jonas@jones.dk>) escribió:
>
> Quoting Agustin Martin (2025-10-26 23:38:47)
> > El jue, 14 ago 2025 a las 10:26, Xavier (<yadd@debian.org>) escribió:
> > >
> > > uscan with new debian/watch format version 5 is ready (available in experimental).
> > Hi, Xavier,
...
> >
> > However, there is one thing I find missing in version:5, at least in
> > debian-watch man page. I do not see any reference to "custom scripts".
> > Sometimes custom scripts are really useful when it is required more
> > than just remove files from upstream source, The alternative is often
> > a more complex get-orig-source target in debian/rules.
>
> At the bottom of `man uscan-templates` it suggests this:
>
> `perldoc /usr/share/perl5/Devscripts/Uscan/Templates.pod`
Thanks
While that file contains info about custom templates, I could not find
anything about custom scripts.
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 file and seems to work as I expected
(updatescript should have also worked).
debian-watch-4.pod mentions that scripts (not calling them custom
scripts, the part using that name was dropped but is still present in
uscan man page).
So this seems a documentation issue. Bug report filed
https://bugs.debian.org/1119152
Regards,
-- 
Agustin
Reply to: