aboutsummaryrefslogtreecommitdiff
path: root/scripts
AgeCommit message (Collapse)Author
2023-12-09Use raw strings for regexs containing escapesAlex Xu (Hello71)
In Python 3.12, these invalid escape sequences emit SyntaxWarnings, and will emit SyntaxErrors in a future release. Found using: grep '[^r]["'\''].*\\[^rn\\x0t"]' $(grep -rl '^#!.*python')
2023-09-25scripts: Always exit 0 after git commit for geoip scriptDavid Goulet
Signed-off-by: David Goulet <dgoulet@torproject.org>
2023-08-30script: Attempt to fix geoip scriptDavid Goulet
Signed-off-by: David Goulet <dgoulet@torproject.org>
2023-08-23Merge branch 'maint-0.4.7' into maint-0.4.8David Goulet
2023-08-23ci: Exclude yet another failing Stem testDavid Goulet
Signed-off-by: David Goulet <dgoulet@torproject.org>
2023-08-23Merge branch 'maint-0.4.7' into maint-0.4.8David Goulet
2023-08-23ci: Missing stem cmdline flag in previous commitDavid Goulet
Signed-off-by: David Goulet <dgoulet@torproject.org>
2023-08-23ci: Exclude broken Stem testsDavid Goulet
Signed-off-by: David Goulet <dgoulet@torproject.org>
2023-08-23ci: Exclude broken Stem testsDavid Goulet
Signed-off-by: David Goulet <dgoulet@torproject.org>
2023-08-23scripts: Add 048 maint branch to our helper scriptsDavid Goulet
Signed-off-by: David Goulet <dgoulet@torproject.org>
2023-08-15cargo: Move lockfile to root and updateMicah Elizabeth Scott
Change 3f66ff9b000d1fbaae106e58269fe2aa306bc453 added geoip-db-tool to the main workspace, so it's no longer using a local lockfile. Move its lock to the crate root, remove from gitignore, and update it. (We could also choose to not keep the lockfiles checked in, but it seems useful to have them in our test and maintenance tooling here.)
2023-08-15geoip-db-tool: Fix clippy warningsMicah Elizabeth Scott
This fixes warnings found by clippy 0.1.71 on Rust 1.71.1 Tested this by doing a geoip update without committing changes.
2023-08-04geoip: Fix cargo target directoryDavid Goulet
Signed-off-by: David Goulet <dgoulet@torproject.org>
2023-07-13Clarify where geoip-db-tool is.Nick Mathewson
Somebody emailed me to ask where to find the tool that generated our geoip file. I was about to suggest that they search for "geoip-db-tool", when I found that you can't actually search for that and find our code. Therefore, I'm adding a link.
2023-06-19scripts: Update git scripts with new gitlab canonical repositoryDavid Goulet
Signed-off-by: David Goulet <dgoulet@torproject.org>
2023-06-19Change git.tpo URLs to gitlab.tpoDavid Goulet
Signed-off-by: David Goulet <dgoulet@torproject.org>
2023-06-15Change git.tpo URLs to gitlab.tpoDavid Goulet
Signed-off-by: David Goulet <dgoulet@torproject.org>
2023-06-01scripts: Use latest geoip database instead of using locationDavid Goulet
Signed-off-by: David Goulet <dgoulet@torproject.org>
2023-05-10gitlab-ci: Try enabling GPL mode so we test hs_powMicah Elizabeth Scott
Signed-off-by: Micah Elizabeth Scott <beth@torproject.org>
2023-02-16scripts: Bye bye 0.4.5, you have reached end of lifeDavid Goulet
Signed-off-by: David Goulet <dgoulet@torproject.org>
2023-01-10Merge branch 'maint-0.4.7'David Goulet
2023-01-10shellcheck: Fix new warningsDavid Goulet
Nothing important, mostly false positive except one case. Signed-off-by: David Goulet <dgoulet@torproject.org>
2022-10-27Strip "__.SYMDEF*" before re-archiving in combine_libs on macOS and iOS.Alexander Færøy
This patch changes how combine_libs works on Darwin like platforms to make sure we don't include any `__.SYMDEF` and `__.SYMDEF SORTED` symbols on the archive before we repack and run ${RANLIB} on the archive. See: tpo/core/tor#40683.
2022-10-14Strip "__.SYMDEF*" before re-archiving in combine_libs on macOS and iOS.Alexander Færøy
This patch changes how combine_libs works on Darwin like platforms to make sure we don't include any `__.SYMDEF` and `__.SYMDEF SORTED` symbols on the archive before we repack and run ${RANLIB} on the archive. See: tpo/core/tor#40683.
2022-08-11scripts: Remove 0.4.6.x as it is EOLDavid Goulet
Signed-off-by: David Goulet <dgoulet@torproject.org>
2022-08-10scripts: GeoIP update tool cargo updateDavid Goulet
Signed-off-by: David Goulet <dgoulet@torproject.org>
2022-06-16Fix `check-docs` to avoid false-positives on missing anchors.Nick Mathewson
Also add an anchor for the second ClientTranportPlugin instance. See #40339. This doesn't need a changes file because it isn't user-facing.
2022-04-27Remove broken MSVC supportAlex Xu (Hello71)
MSVC compilation has been broken since at least 1e417b727502 ("All remaining files in src/common belong to the event loop.") deleted src/common/Makefile.nmake in 2018.
2022-04-27ci: Add 0.4.7 series to scripts and CIDavid Goulet
Signed-off-by: David Goulet <dgoulet@torproject.org>
2022-03-28ci: print test_network_log contentsAlex Xu (Hello71)
cat will always print "cat: test_network_log: Is a directory". change it to head -n -0, which is arguably not the perfect format but is at least somewhat useful.
2022-02-25Fix typosDimitris Apostolou
2022-02-04Remove unmaintained versions from CI and scriptsDavid Goulet
Signed-off-by: David Goulet <dgoulet@torproject.org>
2022-01-06Improve formatting of scripts/ci/ci-driver.shskaluzka
Add and remove few empty lines, covert all tabs to 4 spaces. No real code changes here. Signed-off-by: skaluzka <skaluzka@protonmail.com>
2021-12-14Correct typo in scripts/README fileskaluzka
Signed-off-by: skaluzka <skaluzka@protonmail.com>
2021-12-13Merge remote-tracking branch 'tor-gitlab/mr/498'Nick Mathewson
2021-11-03shellcheck: Remove unused variable in ci-driver.shDavid Goulet
Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-11-03Merge branch 'maint-0.4.6'David Goulet
Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-11-03Merge branch 'maint-0.4.5' into maint-0.4.6David Goulet
2021-11-03Merge branch 'maint-0.3.5' into maint-0.4.5David Goulet
2021-11-03shellcheck: Make it happy on couple scriptsDavid Goulet
Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-10-27scripts: Quiet the IPFire location GeoIP commandDavid Goulet
We do this to avoid useless outputs but also, in the CI environement, the Python logging package stacktraces with a problem on a socket. The command still works but the logging fails. With the quiet switch, we don't get such stacktrace. Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-10-26scripts: Add -M option to git-list-tor-branches.shDavid Goulet
Omit all "maint" branch. It is the opposite of -R that omits release branches. In other words, -M can be used to list all release branches. Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-10-26Merge branch 'maint-0.4.5' into maint-0.4.6David Goulet
2021-10-26Merge branch 'maint-0.3.5' into maint-0.4.5David Goulet
2021-10-26Merge branch 'maint-0.4.6'David Goulet
2021-10-26ci: Missing source dir when parsing configure.ac versionDavid Goulet
Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-10-25Merge branch 'maint-0.4.6' into mainAlexander Færøy
2021-10-25Merge branch 'maint-0.4.5' into maint-0.4.6Alexander Færøy
2021-10-25ci: Exclude HSv2 Stem testsDavid Goulet
Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-10-15Merge remote-tracking branch 'asn-private/hsfuz' into hs_fuzzingNick Mathewson