summaryrefslogtreecommitdiff
path: root/maint
Commit message (Collapse)AuthorAgeFilesLines
* script to tell which crates have changed since last release.Nick Mathewson2021-11-291-0/+18
|
* Merge branch 'coverage-ux' into 'main'eta2021-11-291-14/+118
|\ | | | | | | | | UX improvements to with_coverage script See merge request tpo/core/arti!143
| * with_coverage: port to work with mawkNick Mathewson2021-11-241-5/+7
| | | | | | | | The syntax is kinda minimal, but it seems to work okay.
| * with_coverage: detect missing llvm-tools-previewNick Mathewson2021-11-241-0/+6
| | | | | | | | Applies a suggestion from @trinity-1686a
| * with_coverage: include command log in index.htmlNick Mathewson2021-11-231-0/+16
| | | | | | | | | | This is a slight kludge, but it helps a lot to keep track of what exactly was tested for coverage.
| * with_coverage: Add flags to accumulate data over runs (or not)Nick Mathewson2021-11-231-2/+15
| | | | | | | | | | | | | | | | If the -c flag is provided, we _continue_ with the previous consensus_meta data (without deleting it). If the -s flag is provided, we _skip_ generating the final report (since we're going to be doing more profiling.)
| * with_coverage: Don't try to delete absent directoriesNick Mathewson2021-11-231-2/+6
| | | | | | | | | | If the directories are absent, then deleting them gives you a line in stderr, even if you do "rm -f foo || true".
| * Let with_coverage take command-line flags.Nick Mathewson2021-11-231-8/+65
| | | | | | | | | | | | | | | | Now the shell is controlled by the presence of an -i flag, and can be combined with a command. This commit also adds usage messages and better reports for a couple of kinds of setup errors.
| * with_coverage: Wipe coverage_meta at the start of each run.Nick Mathewson2021-11-231-0/+6
| | | | | | | | Also improve comments and stdout slightly...
* | add semicolons if nothing returnedDaniel Eades2021-11-251-0/+1
|/
* Add usage string from commit message to with_coverage.Nick Mathewson2021-11-231-0/+3
|
* add with_coverage scriptTrinity Pointard2021-11-231-0/+30
| | | | | usage: with_coverage <command> [args...]: run <command> with [args...] with_coverage : run bash
* Add a shell script to find binary size and download size.Nick Mathewson2021-11-091-0/+33
| | | | | | | It formats them in a nice little json object, which it writes to stdout. Part of arti#172
* Update reproducible_build.sh to use OSX SDK 10.12Nick Mathewson2021-11-041-3/+10
| | | | | | | | | | | | | We need this for clock_gettime_nsec_np(). The source is not canonical, but neither was the one we were using before. To mitigate this, I've added a digest check on the SDK after downloading it. A 100% real canonical reproducible build process will probably require Apple hardware anyway. Closes #221
* Remove alternative-name handling from exclude_contributors.txtNick Mathewson2021-10-291-4/+2
| | | | | | This doesn't actually do the right thing: it will make somebody get ignored completely for a release if they _only_ use their alternative name.
* thanks.sh: Remove tempdir on exit.Nick Mathewson2021-10-291-0/+2
|
* Fix shellcheck warnings in thanks.shNick Mathewson2021-10-291-3/+3
|
* Merge remote-tracking branch 'origin/mr/113'Nick Mathewson2021-10-292-0/+37
|\
| * Add an attempt at autogenerating contributor lists for releaseseta2021-10-292-0/+37
| | | | | | | | | | | | | | | | | | | | | | | | Disclaimer: I have no idea what I'm doing when it comes to shell scripts. maint/thanks.sh autogenerates a list of contributors since a revision (that you pass it on the command line), intended to make the work of going through the shortlog a bit less manual. It can exclude contributors' names given in maint/exclude_contributors.txt, in order to filter out people who work for Tor, or who commit under more than one name.
* | Add a list_crates.py script, for help with foreach scripting.Nick Mathewson2021-10-291-0/+23
|/
* Add a script to enforce topological sorting in workspace Cargo.tomlNick Mathewson2021-10-291-0/+91
|
* Fix typos and cleanupDimitris Apostolou2021-10-251-4/+4
|
* Remove chrono exception from cargo_audit.shNick Mathewson2021-10-241-13/+17
|
* Fix some typos in comments.Nick Mathewson2021-10-191-1/+1
| | | | Also, tell the "typos" tool to ignore Cargo.lock.
* Upgrade to latest chrono; update cargo_audit.shNick Mathewson2021-10-191-20/+33
| | | | | | | | | | | | Thanks to the chrono update, we no longer include an obsolete/vulnerable version of the `time` crate. Unfortunately, it turns out that chrono has the same trouble as `time`: it, too, looks at the environment via localtime_r, and the environment isn't threadsafe. One step forward, one step back. At least the underlying issue is one that lots of people seem to care about; let's hope they come up with a solution.
* Add in first cargo-audit exception, as an example.Nick Mathewson2021-10-171-0/+19
|
* Add an ignored cargo-audit warning, with appropriate documentationNick Mathewson2021-10-171-2/+35
|
* Move "cargo audit" invocation into a script.Nick Mathewson2021-10-171-0/+8
|
* enable checked_conversions lint.Nick Mathewson2021-10-091-1/+1
|
* Remove some planned items in add_warnings.Nick Mathewson2021-10-091-8/+12
|
* Fix some typos (via the "typos" tool)Nick Mathewson2021-10-081-1/+1
|
* refactor a bit reproducible_build.shTrinity Pointard2021-09-201-57/+56
|
* add reproducible builds for MacOSTrinity Pointard2021-09-202-14/+68
|
* Move version-controlled Cargo.lock to /.Nick Mathewson2021-09-202-13/+0
| | | | | | | Previously I'd hoped to have it only apply to reproducible builds, but the work of keeping it up-to-date and checking it for drift seems to have been tripping us up. Let's try doing it the other way for now, and we'll see how that goes.
* Typo fixesNick Mathewson2021-09-091-5/+5
|
* use /dev/shm for reproducible buildsTrinity Pointard2021-08-301-11/+2
|
* make reproducible Windows buildTrinity Pointard2021-08-291-10/+16
| | | | | Linux hash : c024778da162cda77869c46d162729d012a7758bee973bc83fa78c964d080903 Windows hash : e97e171740b889b7e3722b79c3763177174baac7fa34a5c3615c999298e1bc48
* Move all crates into a `crates` subdirectory.Nick Mathewson2021-08-273-6/+6
| | | | | This will cause some pain for now, but now is really the best time to do this kind of thing.
* Merge remote-tracking branch 'origin/mr/67' into unwrap_usedNick Mathewson2021-08-271-1/+1
|\
| * Move "use_unwrap" lint from some to want listS0AndS02021-08-251-1/+1
| | | | | | | | | | | | | | | | And convert some `add_or_port` calls to use `SocketAddr` instead of parse + unwrap on strings. > Note, this last change is only for IPv4 addresses, for now, and only > within tests.
* | Updates for reproducible build docsNick Mathewson2021-08-263-1/+12
| |
* | address review commentsTrinity Pointard2021-08-263-13/+48
| | | | | | | | sha256: 7f190568fa05f71ad356dc56a7a9725a4be18e5e40d6880f469e22981a18edd7
* | fix segfault on static binTrinity Pointard2021-08-251-2/+4
| | | | | | | | | | | | see https://github.com/rusqlite/rusqlite/issues/914 sha256: 684ebc4b8c270fc63beba185f6c54ceeb98734f13aa7aeca9b64acb33432a21c
* | make arti availlable as build artifactTrinity Pointard2021-08-252-0/+29
|/ | | | | and make builds reproducible sha256sum: f141c54929a43a31b9ed6b529f6f863aace87f7406818b2f8ffe2b7a5e2803fb
* add_warning.py: explain what to do when no args are givenNick Mathewson2021-08-181-0/+4
|
* Add clippy::missing_panics_doc to add_warnings.py.Nick Mathewson2021-08-181-0/+1
|
* Add the "implicit_clone" lint.S0AndS02021-08-171-1/+1
| | | | | | | | | | | | | | > Check `implicit_clone` section of Clippy documentation for details; > > https://rust-lang.github.io/rust-clippy/master/index.html#implicit_clone This adds, and addresses, the following Clippy configuration to crates; #![deny(clippy::implicit_clone)] And moves related line within `maint/add_warning.py` file. My intent is to mitigate extra edits after merging, so please let me know if I need to do this last bit differently.
* Use add_warnings.py for clippy::cast_losslessNick Mathewson2021-08-131-0/+1
|
* Add unnecessary_wraps to the big warning list.Nick Mathewson2021-08-061-1/+1
|
* Remove spurious "exit 0"Nick Mathewson2021-08-041-2/+0
|