[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [tor/master] Warn on Tor versions with the 'tor-' prefix
commit 99cbadf143f8455ff6217be71b5037b84dfa81a6
Author: cypherpunks <cypherpunks@xxxxxxxxxxxxxx>
Date: Mon Dec 19 08:00:56 2016 +0000
Warn on Tor versions with the 'tor-' prefix
Closes ticket 21096.
---
changes/ticket21096 | 3 +++
scripts/maint/lintChanges.py | 2 ++
2 files changed, 5 insertions(+)
diff --git a/changes/ticket21096 b/changes/ticket21096
new file mode 100644
index 0000000..4265a3d
--- /dev/null
+++ b/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.
diff --git a/scripts/maint/lintChanges.py b/scripts/maint/lintChanges.py
index 3694c4b..bf06064 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__':
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits