[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: debian/watch version 5



On 8/15/25 23:43, Andreas Tille wrote:
Hi,

Am Thu, Aug 14, 2025 at 01:45:16PM +0200 schrieb Yadd:
On 8/14/25 13:40, Julien Plissonneau Duquène wrote:
Le 2025-08-14 10:25, Xavier a écrit :

What do you think ?

Great work!  I love it!

Thank you for this work! It makes watch files much more readable.

Later a further improvement could be to generate a default configuration
from d/upstream/metadata which would probably allow many packages to not
need a d/watch anymore.

Good idea, we can have the following behavior:
- if no debian/watch, look at debian/upstream/metadata
- if a template matches, let's use it

Even better.
I'll build an MR for that

:-)

Can we please have a templates for


opts=dversionmangle=s/.*/0.No-Site/ \
https://people.debian.org/~eriberto/ FakeWatchNoUpstreamSiteForThisPackage-(\d\S+)\.gz

opts=dversionmangle=s/.*/0.No-Release/ \
https://people.debian.org/~eriberto/ FakeWatchNoUpstreamReleaseForThisPackage-(\d\S+)\.gz

opts=dversionmangle=s/.*/0.No-Track/ \
https://people.debian.org/~eriberto/ FakeWatchNoUpstreamTrackingForThisPackage-(\d\S+)\.gz


This would be a dream.

Kind regards
      Andreas.

Hi Andreas,

done: https://salsa.debian.org/debian/devscripts/-/merge_requests/544

BTW, the main goal of templates is to workaround this JS problem. For example, the "Metacpan" and "Github" templates use systems to workaround this problems:
- Metacpan uses MetaCPAN::CLient
- Github uses API isntead of Github webpages

Best regards,
Xavier


Reply to: