summaryrefslogtreecommitdiff
path: root/maint
Commit message (Collapse)AuthorAgeFilesLines
...
* | 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 ```
* maint: Ignore RUSTSEC-2025-0141Clara Engler2026-01-121-0/+10
| | | | | | | | | | | | | | | | | | | | Bincode is unmaintained. Right now, we do not depend on it directly, but rather transitively through maybenot (with tor-proto) and typed-index-collections (with tor-netdoc). This has been reported upstream in the respective crates: * <https://github.com/zheland/typed-index-collections/issues/10> * <https://github.com/maybenot-io/maybenot/issues/40> It is pretty unfortunate, but there is not much we can do at the current moment, given that it is an external matter and we need it for the next arti release; also, as far as I am aware, there are no known security vulnerabilities in the current version of bincode. Therefore, this commit adds it to the list of exception. Fixes #2311 See #2312
* check_licenses: Adjust comment on priority-queue exceptionGabriela Moldovan2025-12-091-4/+3
| | | | | | | | | | | | | Technically `priority-queue` belongs in the `MPL_20_OK` list, but our current checks are too rudimentary to be able to handle the `OR` (we *do* split on `OR` for one of the checks, but we only compare the resulting licenses against `RECOGNIZED_LICENSES`, not `MPL_20_OK`). So for now, let's retain the exception for `priority-queue`. (We could expand the logic in the branch handling the `OR'`d licenses to fix this issue, but the result would be quite fragile; and besides, I think we're going to eventually want to replace this with a proper license parser).
* check_licenses: Update comment about priority-queueGabriela Moldovan2025-12-091-2/+0
| | | | | | | | | | | They have in fact added the MPL "Exhibit A" text to every file in the crate. The license is still LGPL-3.0-or-later OR MPL-2.0, so the rest of the comment still applies. See https://github.com/garro95/priority-queue/pull/54/commits/e2f90b0811c252f80165bbdb19233464289e428f
* maint: rework 'extract-md-links' interpositionSteven Engler2025-12-081-52/+86
| | | | Do less parsing, and instead interpose the mistune internals.
* maint: add comment to 'extract-md-links' re manual parsingSteven Engler2025-12-081-0/+9
|
* maint: add a self-test to 'extract-md-links'Steven Engler2025-12-081-0/+39
|
* maint: fix 'extract-md-links' to work with mistune 3.1.3Steven Engler2025-12-081-6/+45
|
* maint: fix accidental globals in 'extract-md-links'Steven Engler2025-12-081-2/+6
|
* maint: fix method names for 'extract-md-links' parsersSteven Engler2025-12-081-4/+4
| | | | | `InlineParser::parse_link` isn't publicly documented, so may be subject to more breakage.
* Bump all the unstable tor- and arti- crates to 0.37.0.Gabriela Moldovan2025-12-021-3/+3
| | | | | | | | | Done using: ``` for crate in $(./maint/list_crates | rg '^(tor|arti-)'); do cargo set-version -p $crate 0.37.0 done
* opentelemetry: Instrument a bunch of functions.Wesley Aptekar-Cassels2025-11-241-2/+2
| | | | | These are all aimed at figuring out in more detail what's going on in #2079 and related issues.
* Add `hsc key ctor-migrate` subcommandhjrgrn2025-11-241-1/+1
|
* Fix name of clippy lint to unchecked_time_subtraction (2)Ian Jackson2025-11-061-2/+2
| | | | Run maint/add_warning
* Fix name of clippy lint to unchecked_time_subtraction (1)Ian Jackson2025-11-061-2/+2
| | | | | | | | | | | | warning: lint `clippy::unchecked_duration_subtraction` has been renamed to `clippy::unchecked_time_subtraction` --> crates/arti-client/examples/advanced_isolation.rs:11:10 | 11 | #![allow(clippy::unchecked_duration_subtraction)] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `clippy::unchecked_time_subtraction` | = note: `#[warn(renamed_and_removed_lints)]` on by default Add the change to maint/add_warning.
* Merge branch 'maint-common-2' into 'main'Ian Jackson2025-11-043-7/+22
|\ | | | | | | | | Import changes from upstream rust-maint-common See merge request tpo/core/arti!3438
| * Merge commit 'c8451e50f3aeb268cfa6b81e1e32928250ea3aca' into maint-common-2Ian Jackson2025-11-043-7/+22
| |\
* | \ Merge branch 'msrv-ci-check' into 'main'Nick Mathewson2025-11-041-0/+33
|\ \ \ | |/ / |/| | | | | | | | ci-check-msrv: Add check for MSRV See merge request tpo/core/arti!3405
| * | ci-check-msrv: CI check for MSRV declaration in cratesnield2025-10-291-0/+33
| | | | | | | | | | | | Checks if each crate has rust-version property in Cargo.toml.
* | | maint: update 'extract-md-links' for mistune 3.xSteven Engler2025-10-311-6/+5
| | |
* | | ci: upgrade container versionsSteven Engler2025-10-311-1/+1
| | |
* | | Revert "maint/downgrade_dependencies: No longer mess with [email protected]"Clara Engler2025-10-301-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit d37824953f9c530c57c8c5936c12b16a829778c3. Unfortunately, this merge request introduces futures-lite again into the Cargo.lock generated by maint/downgrade_dependencies. Without this, it once again caused the same failures in async-fs and async-global-executor, that were previously fixed before the above commit landed into main. This bug is apparently not reproducible on current git main, because the downgraded Cargo.lock lacks respective dependencies that get transitively introduced by this (arti!3301) merge request.
* | | maint: bump minor versions of all published cratesSteven Engler2025-10-291-3/+3
|/ / | | | | | | | | | | | | ```bash readarray -t publish < <(cargo metadata --format-version 1 | jq -r '.packages[] | select((.id | startswith("path+file:///")) and (.rust_version != null) and (.publish == null or .publish == true or .publish != [])) | .name') for package in "${publish[@]}"; do echo "$package:"; cargo set-version --bump minor -p "$package"; done ```
* | Bump MSRV from 1.85.1 to 1.86Clara Engler2025-10-212-2/+2
| |
* | ci: Parallelize minimal-features-testWesley Aptekar-Cassels2025-10-161-1/+29
| | | | | | | | | | | | | | 3 seems like a good number to start with, we can tune it later if needed. Fixes: #2207