summaryrefslogtreecommitdiff
path: root/maint
Commit message (Collapse)AuthorAgeFilesLines
* Bump versions: tor-* and arti-* unstable cratesIan Jackson2026-03-302-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As per https://gitlab.torproject.org/tpo/core/arti/-/issues/2436#note_3384773 Made with nailing-cargo -Eu set-version -p arti-client 0.41.0 nailing-cargo -Eu set-version -p arti-relay 0.41.0 nailing-cargo -Eu set-version -p arti-rpcserver 0.41.0 nailing-cargo -Eu set-version -p arti-ureq 0.41.0 nailing-cargo -Eu set-version -p arti-rpc-client-core 0.41.0 nailing-cargo -Eu set-version -p tor-basic-utils 0.41.0 nailing-cargo -Eu set-version -p tor-error 0.41.0 nailing-cargo -Eu set-version -p tor-general-addr 0.41.0 nailing-cargo -Eu set-version -p tor-geoip 0.41.0 nailing-cargo -Eu set-version -p tor-memquota-cost 0.41.0 nailing-cargo -Eu set-version -p tor-llcrypto 0.41.0 nailing-cargo -Eu set-version -p tor-cert-x509 0.41.0 nailing-cargo -Eu set-version -p tor-rtcompat 0.41.0 nailing-cargo -Eu set-version -p tor-rtmock 0.41.0 nailing-cargo -Eu set-version -p tor-async-utils 0.41.0 nailing-cargo -Eu set-version -p tor-config 0.41.0 nailing-cargo -Eu set-version -p tor-config-path 0.41.0 nailing-cargo -Eu set-version -p tor-rpc-connect 0.41.0 nailing-cargo -Eu set-version -p tor-log-ratelim 0.41.0 nailing-cargo -Eu set-version -p tor-rpcbase 0.41.0 nailing-cargo -Eu set-version -p tor-memquota 0.41.0 nailing-cargo -Eu set-version -p tor-units 0.41.0 nailing-cargo -Eu set-version -p tor-bytes 0.41.0 nailing-cargo -Eu set-version -p tor-protover 0.41.0 nailing-cargo -Eu set-version -p tor-checkable 0.41.0 nailing-cargo -Eu set-version -p tor-cert 0.41.0 nailing-cargo -Eu set-version -p tor-key-forge 0.41.0 nailing-cargo -Eu set-version -p tor-hscrypto 0.41.0 nailing-cargo -Eu set-version -p tor-socksproto 0.41.0 nailing-cargo -Eu set-version -p tor-linkspec 0.41.0 nailing-cargo -Eu set-version -p tor-cell 0.41.0 nailing-cargo -Eu set-version -p tor-persist 0.41.0 nailing-cargo -Eu set-version -p tor-keymgr 0.41.0 nailing-cargo -Eu set-version -p tor-relay-crypto 0.41.0 nailing-cargo -Eu set-version -p tor-proto 0.41.0 nailing-cargo -Eu set-version -p tor-netdoc 0.41.0 nailing-cargo -Eu set-version -p tor-consdiff 0.41.0 nailing-cargo -Eu set-version -p tor-netdir 0.41.0 nailing-cargo -Eu set-version -p tor-relay-selection 0.41.0 nailing-cargo -Eu set-version -p tor-chanmgr 0.41.0 nailing-cargo -Eu set-version -p tor-ptmgr 0.41.0 nailing-cargo -Eu set-version -p tor-dircommon 0.41.0 nailing-cargo -Eu set-version -p tor-guardmgr 0.41.0 nailing-cargo -Eu set-version -p tor-circmgr 0.41.0 nailing-cargo -Eu set-version -p tor-dirclient 0.41.0 nailing-cargo -Eu set-version -p tor-dirmgr 0.41.0 nailing-cargo -Eu set-version -p tor-dirserver 0.41.0 nailing-cargo -Eu set-version -p tor-hsclient 0.41.0 nailing-cargo -Eu set-version -p tor-hsservice 0.41.0 nailing-cargo -Eu set-version -p tor-hsrproxy 0.41.0
* Run cargo sort --workspace and commit the parts we wantIan Jackson2026-03-301-1/+2
|
* Add missing full feature to maint/keygen-client-auth-testIan Jackson2026-03-301-0/+7
| | | | As generated by maint/fixup-features.
* Fix typosTobias Stoeckmann2026-03-242-4/+4
| | | | Typos found with codespell
* keymgr, key-forge: Use our ssh-* forksGabriela Moldovan2026-03-161-1/+1
| | | | | | | | | | | | | | | | Upstream `ssh-key` is missing some important features we need for arti-relay: * a bug fix without which we can't convert deserialized RSA keys to their rsa counterparts: https://github.com/RustCrypto/SSH/pull/318 * @wesleyac 's patch https://github.com/RustCrypto/SSH/pull/412 for allowing insecure (1024 bits long) RSA keys (needed because the relay KS_relayid_rsa identity keys are 1024 bits long) We plan to switch back to mainline `ssh-key` when `ssh-key 0.7.0` comes out. See the discussion in #2398 for more details.
* Fix word duplicate typosTobias Stoeckmann2026-03-151-1/+1
|
* chutney scripts: opt into strict typecheckingJim Newsome2026-03-091-0/+6
|
* Bump toml_edit to 0.25.3Gabriela Moldovan2026-03-041-1/+1
|
* python-lints: work around mypy import bug 20962Jim Newsome2026-03-031-4/+17
| | | | | | | | | | | | | | When analyzing a script, mypy *should* look in the script's directory for imports, but appears not to do so when the script doesn't have a .py extension: https://github.com/python/mypy/issues/20962 We can work around that by adding the script's directory to MYPYPATH. With that workaround, we no longer need to add OTHER_PYTHON files to every invocation when analyzing scripts. That also worked around the problem in some cases, but experimentally not when the script is more than one subdirectory deep (?!)
* Bump all the unstable tor- and arti- crates to 0.40.0.Gabriela Moldovan2026-03-022-6/+6
| | | | | | | | | Done using: ``` for crate in $(./maint/list_crates | rg '^(tor|arti-)'); do cargo set-version -p $crate 0.40.0 done
* Bump the versions of the non-{arti-,tor-} cratesGabriela Moldovan2026-03-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The non-{arti-,tor-} crates are: ``` ./maint/list-crates | rg -v '^(tor|arti)' oneshot-fused-workaround slotmap-careful test-temp-dir fslock-guard hashx equix caret fs-mistrust safelog retry-error futures-copy ``` Because this release bumps the MSRV, I am bumping the minor version of all of them. MINOR=" oneshot-fused-workaround slotmap-careful test-temp-dir fslock-guard hashx equix caret fs-mistrust safelog retry-error futures-copy " for crate in $MINOR; do cargo set-version --bump minor -p $crate; done ```
* Allow clippy::collapsible_if to triggerGabriela Moldovan2026-02-162-0/+2
| | | | | | | | | `clippy::collapsible_if` started triggering after bumping the MSRV to 1.88. Since this triggers from a lot of places, and since there even are a couple of instances where we explicitly allow `clippy::collapsible_ifs`, I've opened #2342 for deciding what to do about it.
* Bump MSRV from 1.86 to 1.89Gabriela Moldovan2026-02-164-4/+4
| | | | | | | As agreed at our last team meeting. See https://gitlab.torproject.org/tpo/core/arti/#minimum-supported-rust-version
* Bump time to 0.3.47Gabriela Moldovan2026-02-161-7/+0
| | | | | | This enables us to un-ignore RUSTSEC-2026-0009. See #2341 for analysis of impact.
* Merge branch 'bump-min-async-io' into 'main'David Goulet2026-02-091-0/+8
|\ | | | | | | | | | | | | downgrade-dependencies: require async-io 1.1.5. Closes #1168 See merge request tpo/core/arti!3660
| * downgrade-dependencies: require async-io 1.1.5.Nick Mathewson2026-02-091-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In my testing, this appears to fix #1168, an intermittent test failure. The underlying cause of the failure appears to be a surprise blocking return old async-io versions: > The problem was in that random yielding inside > AsyncRead/AsyncWrite (which is supposed to prevent task starvation > when I/O never returns the WouldBlock error) doesn't play nice > with the TLS protocol. It seems that TLS handshake fails if a > write errors with WouldBlock. -- https://github.com/smol-rs/async-io/issues/31 I think the problem here might actually be something more subtle than _that_, since WouldBlock on an underlying write is totally legit. But this appears to fix the testing issue at least.
* | Merge branch 'cargo-metadata-all-features' into 'main'Nick Mathewson2026-02-091-0/+38
|\ \ | | | | | | | | | | | | | | | | | | Set package.metadata.docs.rs.all-features to true for all crates Closes #2307 See merge request tpo/core/arti!3656
| * | ci: Check crates configure features published to docs.rsNiel Duysters2026-02-091-0/+38
| |/ | | | | | | | | | | All (publishable) crates should explicitly configure what features to (not) document in docs.rs. This to avoid our documentation containing references to public API specifications which yield "given resource not found" due to them being behind a feature flag not being published to docs.rs by default.
* / maint/cargo-audit: Ignore RUSTSEC-2026-0009 for nowGabriela Moldovan2026-02-091-0/+7
|/ | | | | See https://gitlab.torproject.org/tpo/core/arti/-/issues/2341#note_3339657
* release: Bump `arti-*` and `tor-*` crates to 0.39.0Wesley Aptekar-Cassels2026-02-022-6/+6
| | | | | | | | | | Done via: ``` for crate in $(./maint/list-crates | rg '^(tor|arti-)'); do cargo set-version -p $crate 0.39.0 done ```
* Merge branch 'main' into 'main'gabi-2502026-02-021-2/+1
|\ | | | | | | | | fix(minver): Update paste dependency to be minver compatible See merge request tpo/core/arti!3610
| * Remove paste from downgrade-dependenciessjcobb2026-02-021-2/+1
| |
* | Add integration test suite for `hsc ctor-migrate` subcommandhjrgrn2026-02-025-0/+180
| |
* | maint/add_warning: Run script to add new warningGabriela Moldovan2026-01-271-0/+1
| | | | | | | | This adds the lint to all our crates.
* | maint/add_warning: Deny clippy::unused_asyncGabriela Moldovan2026-01-271-0/+1
|/ | | | Part of #2328
* Bump blackJim Newsome2026-01-216-29/+15
|
* Rename check-api-surface CI job and associated scriptIan Jackson2026-01-201-0/+0
| | | | | | | Change the script name to use hyphens, not underscores. Make the script name and the CI job name the same, except the script has -arti at the end in case we add more similar checks.
* maint/rust-maint-common/forbid-script-underscores: Look at gitIan Jackson2026-01-201-1/+4
| | | | This avoids tripping over things like `__pycache__`
* Rename maint/list_crates to kebab-caseIan Jackson2026-01-2010-88/+88
| | | | | | | | | | Swap the symlink direction: now we have list_crates.py (the python module) with a symlink list-crates pointing to it. This allows the module to be imported but the command to be kebab case. The checking tooling doesn't understand this special arrangement. Lots of references to update!
* maint/rust-maint-common/forbid-script-extensions: Support exceptionsIan Jackson2026-01-201-2/+14
|
* Rename CI functions file to kebab-caseIan Jackson2026-01-201-0/+0
|
* Rename config file to kebab-caseIan Jackson2026-01-202-2/+2
|
* Remove maint/shellcheck_all compatibility linkIan Jackson2026-01-201-1/+0
| | | | | We're using maint/common/shellcheck-all now. The docs were inconsistent.
* maint: Rename reproducible build scripts to kebab caseIan Jackson2026-01-203-1/+1
| | | | We had both maint/docker-... and maint/docker_...
* maint: Rename miscellaneous scripts to kebab caseIan Jackson2026-01-2010-11/+11
|
* maint/rust-maint-common/forbid-script-underscores: Support exceptionsIan Jackson2026-01-201-2/+25
|
* Rename remaining maint/check_ to maint/check-Ian Jackson2026-01-207-0/+0
|
* CI: Rename script and job to check-blocking-todosIan Jackson2026-01-201-0/+0
|
* Rename maint/check_tree to maint/check-cargo-treeIan Jackson2026-01-201-0/+0
|
* Rename maint/check_wildcard to check-wildcard-depsIan Jackson2026-01-201-0/+0
| | | | | Use kebab case, and also add the word deps. Otherwise it might refer to files or something.
* Rename cargo_audit and cargo_sort scripts to kebab-caseIan Jackson2026-01-202-0/+0
|
* maint: Rename script and job to cargo-check-targetsIan Jackson2026-01-201-0/+0
| | | | | | The job was called `check-targets` and the script was called `cargo_check_target`. Make them match. Use kebab case, and the plural (it checks multiple targets).
* Merge branch 'thanks' into 'main'Nick Mathewson2026-01-162-6/+6
|\ | | | | | | | | | | | | maint: Use 'C.UTF-8' locale for sorting `exclude_contributors.txt` Closes #2313 See merge request tpo/core/arti!3588
| * maint: add comment in `exclude_contributors.txt`Steven Engler2026-01-131-1/+2
| |
| * maint: use 'C.UTF-8' locale for sorting excl contrib fileSteven Engler2026-01-132-5/+4
| |
* | Merge branch 'opaque_arti_2.0' into 'main'Nick Mathewson2026-01-151-0/+43
|\ \ | | | | | | | | | | | | | | | | | | Make all non-main APIs in arti experimental. Closes #2284, #2299, and #419 See merge request tpo/core/arti!3586
| * | Make arti crate opaque by defaultNick Mathewson2026-01-131-40/+0
| | | | | | | | | | | | | | | | | | Only fn main() is now pub when experimental-api is disabled. Closes #2284.
| * | Add a script to test the APIs in the arti against a list.Nick Mathewson2026-01-131-0/+83
| |/ | | | | | | | | We'll use this to enforce the opacity of the arti crate, once it is more opaque.
* / cargo: Upgrade dependencies potentially breakingClara Engler2026-01-141-1/+1
|/
* cargo: Update `arti-*` and `tor-*` to `0.38.0`Clara Engler2026-01-121-3/+3
| | | | | | | | | Done using the following: ```bash for crate in $(./maint/list_crates | rg '^(tor|arti-)'); do cargo set-version -p $crate 0.38.0 done ```