Package: devscripts
Version: 2.25.27
Severity: normal

Hi!

While converting some packages to use the new watch format 5, I noticed
what seems to be a regression, or where the documentation is not clear
or misleading.

With the following watch file for the pci.ids source package:

  ,---
  Version: 5

  Source: https://github.com/pciutils/pciids
  Mode: git
  Matching-Pattern: HEAD
  Git-Date: %Y.%m.%d
  Git-Pretty: 0.0~%cd
  Pgp-Mode: none
  `---

Running «uscan» does not execute uupdate. Explicitly telling uscan
to use uupdate at the end restores the previous behavior:

 ,---
 Version: 5

  Source: https://github.com/pciutils/pciids
  Mode: git
  Matching-Pattern: HEAD
  Git-Date: %Y.%m.%d
  Git-Pretty: 0.0~%cd
  Pgp-Mode: none
  Update-Script: uupdate
  `---

According to the debian-watch(5) man page, it states:

  ,---
     •   Update-Script: <custom-script>:

       This optional line in debian/watch means to execute custom-script
       with appropriate arguments provided by uscan.  Default script is
       uupdate and custom scripts, if created, should behave as if uupdate.
       See "Custom script" in uscan for more details on custom scripts and
       "HISTORY AND UPGRADING" in uscan for how uscan invokes the custom
       script (or uupdate).
  `---

Which seems to be clear on «uupdate» being the default.

Thanks,
Guillem

Reply via email to