summaryrefslogtreecommitdiff
path: root/scripts
AgeCommit message (Collapse)Author
2020-04-07Make check_subsystem_order work in distcheck builds.Nick Mathewson
2020-04-07Make check_subsystem_order work in out-of-tree builds.Nick Mathewson
2020-04-07Add a test script to check subsystem order as part of make check.Nick Mathewson
2020-04-03scripts: Ignore editor temporary filesteor
Ignore editor temporary files when autostyling in: * rectify_include_paths.py * rename_c_identifier.py Obviously correct changes to already-reviewed code.
2020-03-26Teach --check-subsystem-order to take input from stdinNick Mathewson
2020-03-26Extend includes.py to compare topology with subsystem init order.Nick Mathewson
2020-03-21practracker: Accept changesteor
Accept a smaller file and function. Let router.c grow slightly without warning. Accept an extra comment line. Cleanup after 32588.
2020-03-21practracker: Accept larger dirvote fileteor
Due to improved function comments.
2020-03-20practracker: Disable practracker in git hooksteor
Disable our coding standards best practices tracker in our git hooks. 0.4.3 branches only. Closes ticket 33678.
2020-03-19practracker: Regenerate exceptions fileteor
Accept the current state of the tor codebase, including all the files and functions that have increased technical debt over the last few months. Accepts all the current practracker warnings, so that reviewers can focus on new warnings. Closes ticket 33635.
2020-03-17Run "practracker.py --regen-overbroad"teor
We've successfully resolved a bunch of technical debt over the last few months. Let's remove the allowances for that debt from the practracker exceptions.
2020-03-13Merge branch 'pr1764_squashed'teor
2020-03-13Add a script to install the scripts in scripts/git appropriately.Nick Mathewson
To run this, say something like TOR_DEVTOOL_DIR=~/bin scripts/git/git-install-tools.sh all To see what it would do, give it the -n flag. To get help, give it the -h flag.
2020-03-11hs-v3: Log reasons why service can't upload descriptorDavid Goulet
When a service can not upload its descriptor(s), we have no logs on why. This adds logging for each possible reason for each descriptors. That logging is emitted every second so it is rate limited for each reason and per descriptor. Closes #33400 Signed-off-by: David Goulet <dgoulet@torproject.org>
2020-03-09Revert "scripts: Remove typo in git-list-tor-branches.sh"Nick Mathewson
This reverts commit a63b4148229ae8ce46494fd6a0f99149c231605c. The "typo" wasn't actually a typo. The "r" in the suffixes for the release branches is meant to make them distinct from the maint branches. Now, _right now_, nothing uses release branch suffixes, but it's important to keep them distinct if we decide to use them in the future.
2020-03-05scripts: Remove typo in git-list-tor-branches.shDavid Goulet
Signed-off-by: David Goulet <dgoulet@torproject.org>
2020-03-05Merge branch 'tor-github/pr/1720'David Goulet
2020-03-05Update git scripts to use git-list-tor-branches.shNick Mathewson
2020-03-05Add a script to list the maintained Tor branches in different waysNick Mathewson
This will be used for 32121
2020-03-05Merge branch 'clang_format_prep_3'Nick Mathewson
2020-02-24Merge remote-tracking branch 'tor-github/pr/1685/head'Nick Mathewson
2020-02-20Merge branch 'maint-0.4.3'Nick Mathewson
2020-02-20Merge remote-tracking branch 'tor-github/pr/1757/head' into maint-0.4.3Nick Mathewson
2020-02-20Merge branch 'extract_routerkeys_squashed'Nick Mathewson
2020-02-20Move relay_handshake.[ch] into src/feature/relay, and make it optionalNick Mathewson
2020-02-20Merge branch 'maint-0.4.3'Nick Mathewson
2020-02-19Extract relay-only handshake code into its own file.Nick Mathewson
This is not the only relay-only handshake code, but it is most of such code that is in connection_or.c.
2020-02-19practracker: Read unicode files when using Python 2teor
Allow the "practracker" coding best practices checking script to read unicode files, when using Python 2. We made the script use unicode literals in 0.4.3.1-alpha, but didn't change the codec for opening files. Fixes bug 33374; bugfix on 0.4.3.1-alpha.
2020-02-19Run "practracker --regen-overbroad"teor
Closes ticket 33373.
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
2020-02-14Script to check sorting of manpage entriesTaylor Yu
Add a script to help check the alphabetical ordering of option names in a manpage. Closes ticket 33339.
2020-02-12Add a dire warning about not reformatting the whole codebase yet.Nick Mathewson
2020-02-12scripts/git: Stop running the checked-out git scriptsteor
Stop executing the checked-out pre-commit hook from the pre-push hook. Instead, execute the copy in the user's git dir. Fixes bug 33284; bugfix on 0.4.1.1-alpha.
2020-02-11Merge branch 'tor-github/pr/1717'David Goulet
2020-02-11Update scripts/git/*.sh to know about 043 and not about 040.Nick Mathewson
2020-02-11Merge branch 'ticket33029_042_01' into ticket33029_043_03David Goulet
Conflicts: doc/tor.1.txt src/app/config/config.c src/app/config/or_options_st.h src/core/mainloop/connection.h Between 042 and 043, the dirauth options were modularized so this merge commit address this by moving the AuthDirRejectUncompressedRequests to the module along with a series of accessors. Signed-off-by: David Goulet <dgoulet@torproject.org>
2020-02-11Undefined name: make_key() -> make_rsa_key()Christian Clauss
2020-02-06checkSpace: permit wide lines for LCOV_EXCLNick Mathewson
We're telling clang-format that a line with LCOV_EXCL must not be split -- that's fine, but we shouldn't complain when it indents it.
2020-02-06checkSpace: be more careful about bad function headers.Nick Mathewson
Previously we would forbid macro indentations like this: FOO({ int x; }) But clang-format sometimes generates those.
2020-02-06checkSpace: don't treat an unindented label as starting a function.Nick Mathewson
2020-02-06checkSpace.pl: Allow space between iteration macros and ().Nick Mathewson
Clang-format wants to put these in, and they do make sense for consistency. Also allow more types.
2020-02-06checkSpace.pl: Use a data structure for a list of non-function namesNick Mathewson
2020-02-06checkspace: allow spaces in cpp directives.Nick Mathewson
2020-02-06checkSpace.pl: allow {{, ){, and ({.Nick Mathewson
2020-02-06checkSpace: remove the nosplabel test.Nick Mathewson
2020-02-06Temporary clang-format configuration and script.Nick Mathewson
The format is the same as in my previous efforts here. The script is a little tricky, since it invokes both clang-format and codetool, and it makes sure that files do not have a changed mtime unless there is actually some change in the file.
2020-02-06codetool: post-processor for clang-formatNick Mathewson
This code transformer makes a couple of changes that we want for our source code, and can be expanded to handle more.
2020-02-06Merge remote-tracking branch 'public/practracker_regen_overbroad_2'Nick Mathewson