Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-02-16 | Stop assuming that /usr/bin/python exists | Panagiotis Vasilopoulos | |
Fixes 33192 | |||
2019-12-12 | python: Add __future__ imports for python 3 compatibility | teor | |
Except for src/ext, which we may not want to modify. Closes ticket 32732. | |||
2019-08-05 | Update pre-commit hook to find checkIncludes in its new location | Nick Mathewson | |
Also add a temporary script to redirect the hook, if people don't upgrade for a bit. | |||
2019-08-05 | Move checkIncludes inside practracker | Nick Mathewson | |
Update the makefile accordingly. | |||
2019-08-05 | checkIncludes: add a real main function and CLI | Nick Mathewson | |
2019-08-05 | checkIncludes: refactor to use error-iteration style | Nick Mathewson | |
This makes checkIncludes match practracker more closely, and lets us eliminate a global. | |||
2019-08-05 | checkIncludes: Separate file-handling from rule-handling | Nick Mathewson | |
This is our shift from directory-at-a-time processing to file-at-a-time processing. | |||
2019-08-05 | checkIncludes.py: extract topological sort code | Nick Mathewson | |
Our topological sort code really deserves a function of its own. Additionally, don't print from inside the topological sort code: instead, return a result, and let the caller print it. | |||
2019-08-05 | checkIncludes: introduce rules-file caching. | Nick Mathewson | |
We'll want this so that we can have each file evaluated independently, rather than a directory at a time. | |||
2019-08-05 | Move the executable part of checkIncludes.py inside an if block. | Nick Mathewson | |
I'll want to make this block into a series of functions in a subsequent commit, but I'm doing this separately to get the indentation change out of the way. This branch will end up with making checkIncludes.py an integrated part of practracker, for ticket 31176. | |||
2019-03-27 | Stop assuming that /usr/bin/python3 exists | teor | |
For scripts that work with python2, use /usr/bin/python. Otherwise, use /usr/bin/env python3. Fixes bug 29913; bugfix on 0.2.5.3-alpha. | |||
2018-11-14 | Make the topological-sort output off by default | Nick Mathewson | |
2018-11-14 | Update the check-includes script to enforce some naming and no-circularity rules | Nick Mathewson | |
2018-08-28 | Set the file encoding in checkIncludes.py with Python3 | Nick Mathewson | |
2018-07-09 | Add a little documentation to checkIncludes.py. | Nick Mathewson | |
Someday people might be glad I did. | |||
2018-07-09 | Re-wrap the error message emitted by checkIncludes.py | Nick Mathewson | |
2018-07-09 | Make checkIncludes work on python 2.7 | Nick Mathewson | |
2018-07-01 | Prune the .may_include files a bit; detect unused lines in them | Nick Mathewson | |
2018-06-26 | Remove some accidentally committed code in checkIncludes.py | Nick Mathewson | |
2018-06-22 | Another windows include | Nick Mathewson | |
2018-06-21 | add license statement to checkincludes, and have it return an error code | Nick Mathewson | |
2018-06-21 | New script to check includes for modularity violations | Nick Mathewson | |
Includes configuration files to enforce these rules on lib and common. Of course, "common" *is* a modularity violation right now, so these rules aren't as strict as I would like them to be. |