mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-27 22:03:31 +01:00
Warn on Tor versions with the 'tor-' prefix
Closes ticket 21096.
This commit is contained in:
parent
fa0792c3a8
commit
99cbadf143
3
changes/ticket21096
Normal file
3
changes/ticket21096
Normal file
@ -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.
|
@ -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__':
|
||||
|
Loading…
Reference in New Issue
Block a user