Browse Source

Warn on Tor versions with the 'tor-' prefix

Closes ticket 21096.
cypherpunks 7 years ago
parent
commit
99cbadf143
2 changed files with 5 additions and 0 deletions
  1. 3 0
      changes/ticket21096
  2. 2 0
      scripts/maint/lintChanges.py

+ 3 - 0
changes/ticket21096

@@ -0,0 +1,3 @@
+  o Minor features (linting):
+    - Enhance the changes file linter to warn on Tor versions that are
+      prefixed with 'tor-'. Closes ticket 21096.

+ 2 - 0
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__':