| all-api-modules |
|
8747 |
- |
| api-review-gen |
|
18188 |
- |
| cmakescan.py |
Script to scan a CMakeLists.txt file for a list of public API-defining headers.
A somewhat brutal recursive-descent parser for as much (and a random
bit more) of the file format as matters to the task in hand. Assumes
the source is well-enough formed. See its main()'s documentation for
details.
|
35892 |
- |
| fullrun |
|
|
- |
| java-api-review |
|
11105 |
- |
| modunite |
|
638 |
- |
| qml-api-review |
|
7249 |
- |
| resetboring.py |
Script to exclude boring changes from the staging area for a commit
We start on a branch off an old release, with headers from a newer
branch checked out (and thus staged) in it; git diff should say
nothing, while git diff --cached describes how the headers have
changed. We want to separate the boring changes (e.g. to copyright
headers) from the interesting ones (actual changes to the API).
The basic idea is to do an automated git reset -p that discards any
hunk entirely in the copyright header (recognized by its $-delimited
end marker) and, for any other hunks present, checks for certain
standard boring changes that we want to ignore. If such changes are
present, the hunk is replaced by one that omits the given boring
changes; otherwise, the hunk is left alone. Once we are done, git
diff --cached should contain nothing boring and git diff should be
entirely boring. Only git's staging area is changed.
This script emits to stdout the names of files that should be restored
to their prior version (i.e. as in the old release; for files from the
newer branch, this should remove them); it is left to the script
driving this one (api-review-gen) to act on that. Passing --disclaim
as a command-line option ensures all changed files with (known
variants on) the usual 'We mean it' disclaimer shall be named in this
output.
Errors and warnings are sent to stderr, not stdout.
Nothing is read from standard input.
|
58219 |
- |
| src |
|
|
- |