aboutsummaryrefslogtreecommitdiff
path: root/maint
Commit message (Collapse)AuthorAgeFilesLines
...
* maint/downgrade_dependencies: Upgrade zeroize_derive, env_loggerIan Jackson2022-02-281-0/+2
| | | | | | | | The *earlier* versions of these crates pull in *dependencies* that violate our MSRV policy by requiring a *later* version of Rust. Empirically, env_logger 0.5.4 would be enough, but practice here seems to be to just say "cargo update".
* Merge branch 'upgrade-dependencies' into 'main'Nick Mathewson2022-02-251-1/+0
|\ | | | | | | | | Upgrade a few dependencies to newer versions See merge request tpo/core/arti!357
| * Remove lexical-core from downgrade_dependencies exceptions.Nick Mathewson2022-02-251-1/+0
| |
* | better config for fuzztrinity-1686a2022-02-232-4/+10
| |
* | add script for coverage on fuzzingtrinity-1686a2022-02-223-3/+47
| |
* | use libfuzz capabilities instead of scriptingtrinity-1686a2022-02-221-23/+9
|/
* maint/add_warning: Remove duplicate argv0 from usage messageIan Jackson2022-02-181-1/+1
|
* maint/gen_md_links: Add missing +x bitIan Jackson2022-02-181-0/+0
| | | | This is a program, with a main function, etc.
* rename *.py scripts to bare nameIan Jackson2022-02-187-4/+4
| | | | | | Update all references. There are three remaining hits for git-grep '\.py\b' all of which are scripts in "little-t-tor", not here in arti.
* rename *.sh scripts to bare nameIan Jackson2022-02-1812-12/+12
| | | | | | | | | As per #309 Update all references. There is one remaining hit for git-grep '\.sh\b' namely "build.sh" in maint/reproducible_build, which I think is the build script for osxcross - ie, an external project.
* Change deny(clippy::all) to warn(clippy::all).Nick Mathewson2022-02-141-1/+1
| | | | Closes #338.
* Remove file ending of shellcheck_all and downgrade_dependencies scriptDaniel Schischkin2022-02-033-3/+3
|
* Fix typosDimitris Apostolou2022-02-021-1/+1
|
* Merge branch 'dedup-cobertura' into 'main'Nick Mathewson2022-01-313-2/+43
|\ | | | | | | | | add postprocessing script to deduplicate cobertura reports See merge request tpo/core/arti!272
| * add postprocessing script to deduplicate cobertura reportstrinity-1686a2022-01-283-2/+43
| |
* | Update changed_crates to be more useful.Nick Mathewson2022-01-311-2/+3
| |
* | maint/shellcheck_all.sh: add missing final newlineIan Jackson2022-01-311-1/+1
| |
* | Change which command to command -vDaniel Schischkin2022-01-291-2/+2
| |
* | Add shellcheck script into maint directoryDaniel Schischkin2022-01-291-0/+3
| |
* | Add correct file ending to maint/downgrade_dependenciesDaniel Schischkin2022-01-281-0/+0
|/
* with_coverage: resolve a shellcheck warningNick Mathewson2022-01-271-2/+4
| | | | | | | | Shellcheck doesn't like it when you do `rm -r "$A/$B"` : it worries that the path might accidentally expand to /. That shouldn't actually be possible in this case, but let's avoid being the people who accidentally remove somebody's filesystem.
* Once more exclude arti-bench from coverage.Nick Mathewson2022-01-271-0/+1
| | | | | This was added in !210; looks like it got removed by mistake with !221.
* with_coverage.sh: split grcov options into separate lines.Nick Mathewson2022-01-271-4/+12
| | | | | This makes it easier to see when they're changing, and will make future patches easier to review.
* Merge branch 'coverage-tracking' into 'main'eta2022-01-272-10/+24
|\ | | | | | | | | | | | | Add test coverage tracking with CI/CD Closes #250 See merge request tpo/core/arti!221
| * Add changes in `maint`Arturo Marquez2022-01-262-10/+24
| | | | | | | | Follows up on changes from https://gitlab.torproject.org/trinity-1686a/arti/-/merge_requests/2/diffs#bc2cc73a8917fa6fed183148df69119665eb4e55
* | with_coverage: Allow toolchain selection.Nick Mathewson2022-01-201-6/+7
| | | | | | | | | | | | | | | | | | | | | | There's some kind of bug in nightly that (for me) keeps grcov from generating correct results. Instead, it misses some crates entirely. No trouble, though: I can just use an older nightly until they get this issue fixed! This patch makes using a different version of nightly possible with a new RUST_COVERAGE_TOOLCHAIN environment variable.
* | maint/changed_crates.sh: Add a missing space.Nick Mathewson2022-01-191-1/+1
| | | | | | | | found by shellcheck.
* | coverage.sh: Treat no-tests-selected as an error.Nick Mathewson2022-01-191-3/+2
| |
* | Rewrite coverage.sh to use with_coverage.Nick Mathewson2022-01-131-2/+100
| | | | | | | | | | | | | | | | | | | | | | | | | | `coverage.sh` is now a more elaborate script to before, thanks to moving from tarpaulin to grcov via `with_coverage.sh`. This commit also adds support for the minimalistic chutney+curl-based integration test from our gitlab-ci.yml file. See the message from "coverage.sh -h" for information about running these tests. Closes #248.
* | Add the python script I use to generate changelog links.Nick Mathewson2022-01-111-0/+136
| |
* | Add more names to exclude_contributors.txtNick Mathewson2022-01-111-0/+2
| | | | | | | | | | (We don't put Tor Project employees in the acknowledgments lists. And we probably shouldn't put bots either.)
* | Move our "minimal versions" code to a script.Nick Mathewson2022-01-071-0/+13
|/ | | | | | | | | | Previously this code was in .gitlab-ci.yml, but for the purposes of testing my fix for #275, it turned out to be much better to have it in a script of its own. Also, we now need to update our "quote" second-order dependency, since otherwise our minimal first-order dependencies won't build correctly.
* extend lints to include 'clippy::all'Daniel Eades2021-12-281-11/+10
|
* Exclude arti-bench from coverage.Nick Mathewson2021-12-211-1/+1
| | | | | This program is itself for testing; we don't strongly care how much coverage it has on its own.
* Python does not have quadruple-quote.Nick Mathewson2021-12-021-1/+1
| | | | | Fix a bug in postprocess_coverage.py that stuck a big row of ' characters in its output.
* Postprocess coverage index.html with python insteadNick Mathewson2021-12-012-21/+132
| | | | | | | | | | | | This change jettisons the awk and ed dependencies and instead uses a real HTML parser, via the BeautifulSoup library in python. Using BeautifulSoup lets us do trickier stuff, like actually extracting the coverage totals and adding our own table, with per-crate coverage. The script only does this post-processing when it finds python3; the script exits with an error if BeautifulSoup isn't installed.
* 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