aboutsummaryrefslogtreecommitdiff
path: root/scripts
AgeCommit message (Collapse)Author
2020-08-03Minor style improvements. #30045Daniel Pinto
2020-08-01Add --format argument to --key-expiration option. #30045Daniel Pinto
2020-07-20Merge remote-tracking branch 'tor-gitlab/mr/59'Nick Mathewson
2020-07-20Merge branch 'tor-gitlab/mr/66'Alexander Færøy
2020-07-20Merge branch 'tor-gitlab/mr/65'Alexander Færøy
2020-07-17Add running glibc version to the log. #40047Daniel Pinto
Also adds the compiled and running glibc version when using the --library-versions flag.
2020-07-17Add git-resquash.sh to repositoryNick Mathewson
This differs from my old git-resquash.sh in that it uses the newer `git rebase --keep-base` if available
2020-07-17Use gitlab-friendly URLs when formatting changelogs as HTMLNick Mathewson
Our old https://bugs.torproject.org/nnnn URLs only work for bugs numbered before 40000. Newer gitlab bugs need to have specific projects mentioned. This patch assumes that bugs are in tpo/core/tor by default, but allows us to refer to several other projects by saying e.g. "chutney#40002" if we want.
2020-07-15Add support for patterns on %include #25140Daniel Pinto
Also adds generic tor_glob function to expand globs.
2020-07-14doc: Move manpages into doc/man/David Goulet
Closes #40044 Signed-off-by: David Goulet <dgoulet@torproject.org>
2020-07-10Merge remote-tracking branch 'tor-gitlab/mr/29'Nick Mathewson
2020-07-09git-install-tools: use -b, not --backup.Nick Mathewson
The osx version of this tool doesn't have --backup
2020-07-09Update git scripts to include tor-gitlab repositoryNick Mathewson
Analogously to tor-github, we now make a tor-gitlab repository. It is set up to disable push direct attempts, and to fetch merge requests into appropriate branches. git-pull-all.sh knows how to fetch this repository.
2020-07-08trace: Move LTTng specific declartion to .inc fileDavid Goulet
LTTng tracepoint probe declaration is not really following a C standard that coccinelle and checkSpace.pl likes. Move everything to a .inc file and standardize the trace_probes_circuit.h header to include that LTTng specific file if the instrumentation was enabled at configure time. Part of #32910 Signed-off-by: David Goulet <dgoulet@torproject.org>
2020-07-08trace: Add single tracepoint in circuit subsystemDavid Goulet
This is the very first tracepoint in tor. It is in the circuit subsystem for when a new circuit opens. LTTng instrumentation requires lot more around a tracepoint than USDT thus this commit only adds one tracepoint in order to outline a base to add more tracepoints later. The idea is that we separate subsystem into what LTTng defines as "providers" so the circuit provider contains the tracepoint definitions for the circuit subsystem. Signed-off-by: David Goulet <dgoulet@torproject.org> Signed-off-by: David Goulet <dgoulet@torproject.org>
2020-07-03Merge branch 'tor-github/pr/1934'George Kadianakis
2020-07-02scripts: Don't run practracker in git hooksDavid Goulet
Signed-off-by: David Goulet <dgoulet@torproject.org>
2020-07-02scripts: Add env variable to disable pre-commit hookDavid Goulet
We introduce TOR_EXTRA_PRE_COMMIT_CHECKS environment variable to run the pre-commit hook. The pre-push git hook will set it in order to run all pre-commit checks. Signed-off-by: David Goulet <dgoulet@torproject.org>
2020-07-02Extract extend_info manipulation functions into a new file.Nick Mathewson
2020-06-30scripts: Fix rename_c_identifier.py uncommitted warningDavid Goulet
Only warn when we actually want a commit _and_ there are uncommitted changes found. Else, it is fine to rename if the script is not creating a commit. Signed-off-by: David Goulet <dgoulet@torproject.org>
2020-06-24Merge branch 'tor-github/pr/1945'David Goulet
2020-06-24Merge branch 'tor-github/pr/1929'George Kadianakis
2020-06-23addr: Rename resolve_my_address to be v4 specificDavid Goulet
Part of #33233 Signed-off-by: David Goulet <dgoulet@torproject.org>
2020-06-16practracker FTL!Mike Perry
Faster Than Light!
2020-06-11Merge branch 'maint-0.4.4'George Kadianakis
2020-06-11Improve our clang-format.sh scriptNick Mathewson
Previously, this script ran over every C file in our source code, which took up to a minute on my desktop. Instead, the script now has several modes that it can run in, to minimize the time spent and improve useful output. It should now be suitable for everyday use and git hooks. I hope. I've also renamed this script, so that we can keep using it in the future if we were to move to some tool other than clang-format.
2020-06-11Fold in a changes file and update exceptions.txt.George Kadianakis
Co-authored-by: Florentin Rochet <florentin.rochet@uclouvain.be>
2020-06-09Remove "enable_practracker_in_hooks" for 0.4.4.Nick Mathewson
2020-06-09Merge remote-tracking branch 'tor-github/pr/1888/head'Nick Mathewson
2020-06-09Add 0.4.4 to list of tor branches used by git scripts.Nick Mathewson
2020-06-09Merge branch 'ticket34375'Nick Mathewson
2020-06-08scripts/maint: Remove obsolete generated tor.shc
Per <https://trac.torproject.org/projects/tor/ticket/34381>, these contrib scripts were generated by older versions of Tor and shellcheck will throw warnings if they still exist.
2020-06-03Remove 0.4.1 from list of tor branches used by git scripts.Nick Mathewson
2020-05-18practracker: Accept extra file lines, enforce a smaller functionteor
Accept extra lines in nodelist and routerlist due to extra features, and due to refactors that simplify some functions. Most of the refactor eliminated duplicate code in smaller functions, so there's only one large function that got smaller. Part of 34200.
2020-05-14Fix a python warning in format_changelog.py.Nick Mathewson
2020-05-13practracker: Allow a few extra lines in circuituseteor
Part of 33222.
2020-05-11practracker: Accept extra or.h linesteor
2020-05-07Appease practracker: wrapping costs linesteor
2020-05-05config: New file resolve_addr.{c|h}David Goulet
Move a series of function from config.c into that new file which is related to address resolving. Part of #33789 Signed-off-by: David Goulet <dgoulet@torproject.org>
2020-04-30practracker: Accept some wrapped long linesteor
Part of 33222.
2020-04-30practracker: Accept the connection buf refactorteor
Accept a few extra lines from the connection_buf_read_from_socket() refactor. Cleanup after 33131.
2020-04-30practracker: Allow an extra line in tor_addr_parse_mask_ports()teor
We added a cast, and wrapped a line.
2020-04-14Run practracker regenteor
Lock-in improvements. Accept some small function size increases. Allow a small amount of extra file size increase.
2020-04-09Merge remote-tracking branch 'tor-github/pr/1801/head'Nick Mathewson
2020-04-09relay: Run practracker --regenteor
Lock in some file and function size improvements. Accept some small file size and dependency increases. Part of 33633.
2020-04-07Merge branch 'pr1838_squashed'teor
2020-04-07Try rewriting normalize_srcdir to normalize harder.Nick Mathewson
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