summaryrefslogtreecommitdiff
path: root/maint
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'explain_downgrade' into 'main'eta2022-05-031-0/+6
|\ | | | | | | | | Add a comment explaining what downgrade_dependencies is for. See merge request tpo/core/arti!480
| * Add a comment explaining what downgrade_dependencies is for.Nick Mathewson2022-04-281-0/+6
| |
* | remove some unecessary crates from downgrade_dependenciestrinity-1686a2022-04-281-3/+1
| | | | | | | | | | nix:0.4.2 is no longer a dependency synstructure:0.12.0 is no longer required to build
* | update tls-api to 0.8.0trinity-1686a2022-04-281-4/+4
| | | | | | | | and remove corresponding RUSTSEC from ignored list
* | downgrade_dependencies: Remove "quote" exception.Nick Mathewson2022-04-261-1/+0
|/ | | | This is no longer necessary. :)
* Use git source for derive_builder for now, for sub_builder featureIan Jackson2022-04-211-1/+0
| | | | | | | | | | | | | | | This commitid is the current head of my MR branch https://github.com/colin-kiegel/rust-derive-builder/pull/253 https://github.com/ijackson/rust-derive-builder/tree/field-builder Using the commitid prevents surprises if that branch is updated. We will require this newer version of derive_builder. The version will need to be bumped again later, assuming the upstream MR is merged and upstream do a release containing the needed changes. We will need the new version of not only `derive_builder_core` (the main macro implementation) but also`derive_builder` for a new error type.
* Fix typosDimitris Apostolou2022-04-111-3/+3
|
* Merge branch 'cargo-audit' into 'main'Nick Mathewson2022-04-081-0/+11
|\ | | | | | | | | fix maint/cargo_audit not propagating error and add temporary exceptions See merge request tpo/core/arti!452
| * fix maint/cargo_audit not propagating error and add temporary exceptionstrinity-1686a2022-04-081-0/+11
| |
* | use default toolchain from rustup instead of stable for coveragetrinity-1686a2022-04-081-1/+2
| | | | | | | | using stable doesn't work for CI because a specific version like 1.60 is installed
* | bring back RUST_COVERAGE_TOOLCHAINtrinity-1686a2022-04-081-2/+8
| |
* | use rustc 1.60 (stable) for coveragetrinity-1686a2022-04-072-12/+5
|/
* fix with_coverage script to exclude pub(crate) mod test from resultstrinity-1686a2022-03-241-1/+1
|
* downgrade_dependencies: Upgrade darlingIan Jackson2022-03-161-0/+1
| | | | | | | | | The new version of derive_builder requires a newer darling. Ooops. Upstream MR here: https://github.com/colin-kiegel/rust-derive-builder/pull/242 For now, upgrade darling. When there's a new upstream derive_builder, we can use it and drop this.
* tests/chutney: Merge chutney-launching scriptsNick Mathewson2022-03-101-1/+1
| | | | | | | | | Formerly, the "launch a chutney network" code was duplicated in "setup" and "arti-bench", since "setup" always launched an arti proxy, while "arti-bench" didn't want that functionality. Now the "setup" script launches an arti proxy conditionally, depending on whether the "proxy" argument is given.
* Omit arti-testing from coverage.Nick Mathewson2022-03-041-0/+1
|
* fix reproducible build summary giving invalid branch and commit idtrinity-1686a2022-03-041-0/+1
| | | | | fix #378 also fix unrelated error in nightly rustdoc CI
* Reproducible build: Bump to Rust 1.59 and Alpine 3.15Nick Mathewson2022-03-041-1/+4
| | | | | | | | | | | | | | The Rust upgrade is necessary since our Cargo.lock file now requires `ed25519` 1.4.0, which requires edition2021, which requires Rust 1.56 or later. The Alpine upgrade is opportunistic: we might as well. I've also added comments to remind us to keep the .gitlab-ci.yml and docker_reproducible_build files in sync, since my first version of this commit messed that up. Closes #376.
* add_warning: remove clone_on_ref_ptrNick Mathewson2022-03-011-1/+0
| | | | See !352
* Add nix exception to downgrade_dependencies.Nick Mathewson2022-02-281-1/+2
|
* 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
| |