Drop generation of debian/watch for GitHub projects and use Archive instead#300
Drop generation of debian/watch for GitHub projects and use Archive instead#300ottok wants to merge 1 commit intoDebian:masterfrom
Conversation
…nstead In devscripts since 2.25.19 uscan automatically discovers GitHub upstream tarballs when debian/upstream/metadata contains the `Archive: GitHub` and `Repository` fields. Since dh-make-golang already writes this file and only supports GitHub-hosted projects, the watch file is now redundant. Removing it avoids maintenance overhead and confusion for new maintainers who might otherwise believe the file is required. This also prevents Lintian from nagging about watch file format v4.
|
I think this makes uscan misbehave when upstream does not tag releases. I built this branch locally and tried |
|
does this change break tracker.d.o detection of new upstream versions? |
|
@coldtobi: This is a standard feature in uscan now and hence everything uscan does should continue to work, inluding upstream new version detection. @guilherme-puida: Thanks for testing! Indeed the uscan v5 code path here is not working, I will test more this use case. |
|
After some more thought, I think I disagree that the watch file is redundant. It needs to exist when:
Wouldn't it be better to still generate |
|
Actually the v5 template does not support checking neither signed tags nor detached signatures, see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1118381 and https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1118383 There are 3 options:
I am maybe leaning on option 3 now.. |
|
IMO your option 2. looks nice, but using So I would simply keep the generated watch files as they are, but update them to version 5 and switch to Github templates, and maybe simplify them a bit, for example using IIRC currently the watch file is only generated for Github upstream right? |
Yes, the |
In devscripts since 2.25.19 uscan automatically discovers GitHub upstream tarballs when debian/upstream/metadata contains the
Archive: GitHubandRepositoryfields. Since dh-make-golang already writes this file and only supports GitHub-hosted projects, the watch file is now redundant.Removing it avoids maintenance overhead and confusion for new maintainers who might otherwise believe the file is required.
This also prevents Lintian from nagging about watch file format v4.