aboutsummaryrefslogtreecommitdiff
path: root/scripts
AgeCommit message (Collapse)Author
2019-02-08cov-diff: better handle the case where a file stops having coverageNick Mathewson
2019-02-08Add a script to check for coverage nondeterminismNick Mathewson
Closes ticket 29436.
2019-02-08Merge branch 'ticket29435_035' into ticket29435_040Nick Mathewson
2019-02-08Fix coverage script.Nick Mathewson
It was looking for object files made with the old automake directorations, but those changed when we split up our libraries. Fixes bug 29435; bugfix on 0.3.5.1-alpha.
2019-01-24Merge branch 'precommit_squashed'Nick Mathewson
2019-01-24Only run the checkIncludes.py script if it existsNick Mathewson
(It was added in 0.3.5)
2019-01-24lintChanges.py didn't take a directory argument in 0.2.9Nick Mathewson
2019-01-24Also run checkInclude.py before every commitrl1987
2019-01-24Add a pre-commit hook that runs code and changelog entry formatting checksrl1987
2019-01-22Merge remote-tracking branch 'tor-github/pr/653'Nick Mathewson
2019-01-18format_changelog: treat "issue NNNN" as a track ticketNick Mathewson
2019-01-17lintChanges.py: Two python re usage fixesNick Mathewson
2019-01-16Bump copyright date to 2019Nick Mathewson
2019-01-16Update copyright script for 2019Nick Mathewson
2019-01-16Bump copyright date to 2019.Nick Mathewson
2019-01-15Remove fallback scripts and whitelistNick Mathewson
They have been extracted to a new fallback-scripts.git repository. Closes ticket 27914.
2019-01-15Use [ -n "$x" ] in place of [ ! -z "$x" ] in chutney-git-bisectNick Mathewson
Closes 29099.
2019-01-15Depending on script mode, either use 'whitelist' or 'fallback list'rl1987
2019-01-15In updateFallbackDirs.py, say 'fallback list' instead of 'whitelist'rl1987
2018-12-12Merge branch 'ticket28755_v2_squashed'Nick Mathewson
2018-12-12Copy the nss-related changes into fuzzing_include_am.py.Nick Mathewson
2018-12-12Fuzzing module for various string operations, currently focusing onNick Mathewson
encoding and decoding. There are bunches of places where we don't want to invest in a full fuzzer, but we would like to make sure that some string operation can handle all its possible inputs. This fuzzer uses the first byte of its input to decide what to do with the rest of the input. Right now, all the possibilities are decoding a string, and seeing whether it is decodeable. If it is, we try to re-encode it and do the whole thing again, to make sure we get the same result. This turned up a lot of bugs in the key-value parser, and I think it will help in other cases too. Closes ticket 28808.
2018-12-11Merge remote-tracking branch 'teor/ticket24838'Nick Mathewson
2018-12-11Merge remote-tracking branch 'github/prop297'Nick Mathewson
2018-12-11Merge remote-tracking branch 'teor/24805-phoul'Nick Mathewson
2018-12-11Merge remote-tracking branch 'rl1987/ticket28007_take2'Nick Mathewson
2018-12-08Let's not double-quote OUTPUTARG after allrl1987
2018-12-07Fallbacks: accept relays that are a fuzzy match to the whitelistteor
If a relay matches at least one fingerprint, IPv4 address, or IPv6 address in the fallback whitelist, it can become a fallback. This reduces the work required to keep the list up to date. Closes ticket 28768.
2018-12-07Fallbacks: refactor is_in_whitelist() to take an exact match booleanteor
No behaviour change. Preparation for 24838.
2018-12-07Fallbacks: Rename CONSENSUS_EXPIRY_TOLERANCE to REASONABLY_LIVE_TIMEteor
Cleanup after 28768.
2018-12-07Fallbacks: use a 24 hour future consensus toleranceteor
Tor clients on 0.3.5.6-rc? and later will use a consensus that will become valid up to 24 hours in the future. Clients on 0.3.5.5-alpha? and earlier won't accept future consensuses. Update the fallback expiry tolerance to match tor's checks. Part of 28768, follow-up on 28591.
2018-12-07Fallbacks: use a 24 hour consensus expiry toleranceteor
Tor clients will use a consensus that expired up to 24 hours ago. Clients on 0.3.5.5-alpha? and earlier won't select guards from an expired consensus, but they can still bootstrap if they have existing guards. Update the fallback expiry tolerance to match tor's checks. Part of 28768, follow-up on 24661.
2018-12-07Fallbacks: minor script comment changesteor
2018-12-05Merge remote-tracking branch 'tor-github/pr/531'Nick Mathewson
2018-12-05Merge remote-tracking branch 'tor-github/pr/508'Nick Mathewson
2018-11-29Mention --no-verify in error messagerl1987
2018-11-29Improve comment at the toprl1987
2018-11-29Rename to pre-push.git-hookrl1987
2018-11-26Address SC2086 in scan-build.shrl1987
We can safely silence SC2086 warning on $CHECKERS, as contents of that is hardcoded into script, and we don't want to require Bash to use Bash array here. Double-quote $OUTPUTARG, as it's value depends on environment variable.
2018-11-26Silence SC2034 shellcheck checker for EXTRA_CHECKERS and NOISY_CHECKERS ↵rl1987
variables
2018-11-24Rewrite updateVersions script in Python, add datestamp functionality.Nick Mathewson
This updateVersions.pl script was one of the only essential perl scripts left in out maint system, and was the only one that used autoconf to fill in the script. This script adds a feature to define an APPROX_RELEASE_DATE macro that is updated when the version changes. We'll use this to implement prop297, so that we have an accurate view of when a release date happens.
2018-11-21Add CrackerboxPalace fallbackColin Childs
2018-11-20Fix SC2230 warningrl1987
2018-11-20Fix SC2046 and SC2086 warningsrl1987
2018-11-20Also disallow fixup/squash commits in maint-* and release-*rl1987
2018-11-20Silence SC1117 warningsrl1987
2018-11-20Add pre-push git hook to prevent fixup and squash commits from ending up in ↵rl1987
master
2018-11-19Merge remote-tracking branch 'tor-github/pr/519'Nick Mathewson
2018-11-15Fix shellcheck issues in cov-diff - SC2231, SC2006 and SC2086rl1987
2018-11-15Fix one last SC2086rl1987