aboutsummaryrefslogtreecommitdiff
path: root/scripts/maint/lintChanges.py
diff options
context:
space:
mode:
authorcypherpunks <cypherpunks@torproject.org>2016-12-19 08:00:56 +0000
committerNick Mathewson <nickm@torproject.org>2017-01-11 09:16:20 -0500
commit99cbadf143f8455ff6217be71b5037b84dfa81a6 (patch)
treeb0650f07bdd1a3d6bc7ab44abb5d678f25fb3f04 /scripts/maint/lintChanges.py
parentfa0792c3a8e2f233efcebc8a89431ab9a1c877a2 (diff)
downloadtor-99cbadf143f8455ff6217be71b5037b84dfa81a6.tar.gz
tor-99cbadf143f8455ff6217be71b5037b84dfa81a6.zip
Warn on Tor versions with the 'tor-' prefix
Closes ticket 21096.
Diffstat (limited to 'scripts/maint/lintChanges.py')
-rwxr-xr-xscripts/maint/lintChanges.py2
1 files changed, 2 insertions, 0 deletions
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__':