From 99cbadf143f8455ff6217be71b5037b84dfa81a6 Mon Sep 17 00:00:00 2001 From: cypherpunks Date: Mon, 19 Dec 2016 08:00:56 +0000 Subject: Warn on Tor versions with the 'tor-' prefix Closes ticket 21096. --- scripts/maint/lintChanges.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'scripts') diff --git a/scripts/maint/lintChanges.py b/scripts/maint/lintChanges.py index 3694c4b3c4..bf06064fa8 100755 --- a/scripts/maint/lintChanges.py +++ b/scripts/maint/lintChanges.py @@ -75,6 +75,8 @@ def lintfile(fname): elif not re.search('[fF]ixes ([a-z ]*)bug (\d+); bugfix on ', contents): warn("bugfix incant is not semicoloned") + elif re.search('tor-([0-9]+)', contents): + warn("do not prefix versions with 'tor-'") if __name__ == '__main__': -- cgit v1.2.3-54-g00ecf