From 99516d02d3a8c5b6b37bb34b40fc1c47494f0043 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 12 Aug 2022 19:22:10 -0400 Subject: Warn when a stable release description has no file-release --- lv2specgen/lv2specgen.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lv2specgen') diff --git a/lv2specgen/lv2specgen.py b/lv2specgen/lv2specgen.py index 5f06af3..3345b5a 100755 --- a/lv2specgen/lv2specgen.py +++ b/lv2specgen/lv2specgen.py @@ -1092,6 +1092,8 @@ def specHistoryEntries(m, subject, entries): if dist is not None: entries[(getObject(created), getObject(dist))] = entry + elif int(rev.split(".")[-1]) % 2 == 0: + print("warning: %s %s has no file-release" % (subject, rev)) return entries -- cgit v1.2.1