Package: devscripts
Version: 2.20.5
Severity: wishlist
User: de...@kali.org
Usertags: origin-kali
X-Debbugs-Cc: jel...@debian.org

There are cases where there's no upstream source anymore so we have
nothing to put into debian/watch (either because there never was a real
upstream or because the upstream repository disappeared). At the same
time, the lack of debian/watch might just mean that someone forgot to
create the file. So what I usually do is that I create a debian/watch
file documenting the fact that I can't put anything in it... but the
result is that uscan will fail and tools like the janitor bot that try to
import a new upstream release will log an error, drawing the attention of
developers on this specific package.

Example:
$ cat debian/watch 
version=3
# This is just a script that was posted on a website. No download available.
$ uscan --report; echo $?
1

It would be better if there was a way to document that there's no upstream
source and let uscan succeed while printing a warning. Maybe with a
specific optional flag say "no-upstream".

Desired result:
$ cat debian/wa
version=4
opts=no-upstream
$ uscan --report; echo $?
uscan info: no upstream sources are known, skipping without failing
0

Thank you for considering this request!

Reply via email to