aboutsummaryrefslogtreecommitdiff
path: root/scripts/maint/lintChanges.py
AgeCommit message (Collapse)Author
2024-05-30scripts: Fix Python3 warningsDavid Goulet
Signed-off-by: David Goulet <dgoulet@torproject.org>
2020-02-18Merge branch 'tor-github/pr/1743'David Goulet
2020-02-18lintChanges: Tolerate variants that sortChanges knows how to clean up.Nick Mathewson
2020-02-16Stop assuming that /usr/bin/python existsPanagiotis Vasilopoulos
Fixes 33192
2019-12-12python: Add __future__ imports for python 3 compatibilityteor
Except for src/ext, which we may not want to modify. Closes ticket 32732.
2019-01-17lintChanges.py: Two python re usage fixesNick Mathewson
2018-09-18check-changes: Warn about bugfixes on future releasesteor
Warn when bugfix changes files say that the bug is in a future release. Closes ticket 27761.
2018-09-18check-changes: Check bugfix version formattingteor
Check that bugfix versions in changes files look like Tor versions from the versions spec. Part of ticket 27761.
2017-11-05lintchanges: Allow 'fixes bugs a, b, and c'Nick Mathewson
2017-10-17Add dirauth changes as a lintchanges categoryNick Mathewson
2017-09-21Make check-spaces part of the standard "make check" processNick Mathewson
To do this, we had to make sure it passes when the changes directory is empty. I also tried to improve the quality of the output, and fix some false-positive cases. Let's see how this goes! Closes ticket 23564.
2017-01-11Warn on Tor versions with the 'tor-' prefixcypherpunks
Closes ticket 21096.
2017-01-11Fix coding style issues in the changes file lintercypherpunks
Found using flake8 which gave the following output; lintChanges.py:10:13: E225 missing whitespace around operator lintChanges.py:25:1: E302 expected 2 blank lines, found 1 lintChanges.py:46:5: F841 local variable 'lines' is assigned to but never used lintChanges.py:52:32: E228 missing whitespace around modulo operator lintChanges.py:53:11: E201 whitespace after '(' lintChanges.py:56:41: E228 missing whitespace around modulo operator Part of ticket 21096.
2016-09-22fix crash in lintChanges.pyNick Mathewson
2016-08-02Update lintChanges script to understand 'Minor features (debugging)'Nick Mathewson
Previously we would give a warning because we didn't say "Fixes bug Foo" on these.
2016-03-21Fix (most) lintChanges warnings on master.Nick Mathewson
2016-02-01Fix all the warnings from lintChanges.pyNick Mathewson
2015-03-09Be exact about the number of spaces in the header.cypherpunks
Also fixes changes files that warn on this.
2015-03-09Add `check-changes` rule for checking formatting of changes files.cypherpunks
Additional fixes to make the change work; - fix Python 2 vs 3 issues - fix some PEP 8 warnings - handle paths with numbers correctly - mention the make rule in doc/HACKING.
2015-02-19Check for # characters in lintchangesNick Mathewson
2014-12-22have lintchanges check header format.Nick Mathewson
2014-12-22Resolve issues in changes filesNick Mathewson
2014-12-22Short python script to lint the changes filesNick Mathewson