mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Warn on Tor versions with the 'tor-' prefix
Closes ticket 21096.
This commit is contained in:
committed by
Nick Mathewson
parent
fa0792c3a8
commit
99cbadf143
@@ -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__':
|
||||
|
||||
Reference in New Issue
Block a user