Bug#1113722: debian/watch version 5

Marc Haber <[email protected]> Tue, 2 Sep 2025 09:14:44 +0200
Newsgroups gmane.linux.debian.devel.quality-assurance
Message-ID <aLaZZLuQT86IkQSr__45373.3752759703$1756797446$gmane$org@torres.zugschlus.de>
On Mon, Sep 01, 2025 at 11:09:42PM +0200, Andrea Pappacoda wrote:
>> Il giorno 1 set 2025, alle ore 22:59, Peter B <[email protected]> ha scritto:
>>
>> Had a quick look at some of these.
>> Is a blank line needed after the first line with "Version: 5" in it?
>>
>
>Yes, the version has to live in its own paragraph. See the manpage debian-watch, “Format of the Watch file, version 5”.

It would be nice if uscan would recognize both version= and Version:. It 
currently gets confused and falls back to more ancient versions, giving 
misleading error messages, when one accidentally starts a v5 file with 
"version=5", which is an easy mistake when editing.

Greetings
Marc