summaryrefslogtreecommitdiff
path: root/maint
Commit message (Collapse)AuthorAgeFilesLines
...
| * add test for many featurestrinity-1686a2022-10-161-0/+98
| | | | | | | | and fix issue compiling tor-rtcompat with on ssl runtime
* | Remove now-needless check_doc_features exception.Nick Mathewson2022-10-201-6/+0
|/
* Abolish maint/readmesIan Jackson2022-10-121-12/+0
| | | | This is not needed any more
* Allow "clippy::single_char_pattern" in tests.Ian Jackson2022-10-121-0/+1
| | | | | | | This lint exists for perf reasons, and this is rarely relevant in tests. Using double quoted str is generally cognitively less burdensome.
* Merge branch 'bridge-parse' into 'main'Ian Jackson2022-10-031-1/+2
|\ | | | | | | | | Parse (and format) bridge lines See merge request tpo/core/arti!745
| * pt: Make PtTarget::push_setting fallible, and take IntoIan Jackson2022-10-031-1/+2
| | | | | | | | | | | | It has its own error type PtTargetInvalidSetting. In check_doc_features, adjust suppression to new code.
* | Script to list current version of every crate.arti-v1.0.1Nick Mathewson2022-10-031-0/+15
| |
* | changed_crates: output crates in toposort order.Nick Mathewson2022-10-031-1/+1
|/
* pt: Try to fix docsrs problemIan Jackson2022-09-271-1/+1
|
* Rename various Transport* types to Pt*.Nick Mathewson2022-09-231-1/+1
| | | | | This clarifies that the types apply to pluggable transports only, and not (typically) to the default plain-old-TCP transport.
* New data types to describe transport targets.Nick Mathewson2022-09-231-0/+5
| | | | | I've tried to name and structure these for consistency, and comment reasonably well. We'll still probably want to make changes.
* maint/docker_reproducible_build: Bump image here tooIan Jackson2022-09-061-1/+1
|
* maint/reproducible_build: Pass --locked to cargo buildIan Jackson2022-09-061-1/+1
| | | | We don't want any updates!
* maint/reproducible_build: Honour $CARGOIan Jackson2022-09-061-1/+4
| | | | This makes it easier to test, and perform other kinds of stunts.
* maint/reproducible_build: Centralise -p arti --features etc.Ian Jackson2022-09-061-3/+6
|
* maint/reproducible_build: Bring "cargo build" invocations togetherIan Jackson2022-09-061-3/+7
|
* update to v5.0.0trinity-1686a2022-08-311-5/+4
|
* check_licenses: List license for tinystrNick Mathewson2022-08-301-8/+1
|
* switch from awk to pythontrinity-1686a2022-08-242-85/+135
|
* add feature annotation not added by doc_auto_cfgtrinity-1686a2022-08-241-0/+94
|
* maint/cargo_audit: Tolerate RUSTSEC-2021-0139 (ansi_term unmaintained)Ian Jackson2022-08-221-0/+5
|
* maint/cargo_audit: Honour $CARGOIan Jackson2022-08-221-1/+1
| | | | | This makes it easier to for me to test this script. (I would like to do this to all of them but it's easier on a case-by-case basis.)
* format python script in maintFAMASoon2022-08-174-23/+55
|
* fix error running check_licensestrinity-1686a2022-08-131-1/+1
| | | | | | | | --version was removed in a recent update we use that to detected whether cargo-license is installed, now use --help instead
* Delete unused Enum and fileinput in maint fileFAMASoon2022-08-041-2/+1
|
* Several typo fixes from `typos`.Nick Mathewson2022-07-271-1/+1
|
* Teach check_licenses to accept license on `unicode-ident`.Nick Mathewson2022-07-201-6/+20
| | | | | | | | | | The license there is `(MIT OR Apache-2.0) AND Unicode-DFS-2016`, which fine, but the existing shell script doesn't actually handle "AND" correctly. This commit adds a workaround for licenses that are "AND", and some comments about weaknesses in our (lack of) boolean expression parsing. This should fix CI.
* Update `rsa` dependency (and use `x25519-dalek` prerelease)eta2022-07-061-1/+1
| | | | | | | | | | | | | | - arti#448 and arti!607 highlight an issue with upgrading `rsa`: namely, the `x25519-dalek` version previously used has a hard dependency on `zeroize` 1.3, which creates a dependency conflict. - However, `x25519-dalek` version `2.0.0-pre.1` relaxes this dependency. Reviewing the changelogs, it doesn't look like that version is substantially different from the current one at all, so it should be safe to use despite the "prerelease" tag. - The new `x25519-dalek` version also bumps `rand_core`, which means we don't have to use the RNG compat wrapper in `tor-llcrypto` as much. closes arti#448
* maint/add_warning: Fix parsing of --checkIan Jackson2022-06-241-1/+1
| | | | Previously this would eat the first filename!
* clippy: Consolidate many lints in maint/add_warningIan Jackson2022-06-241-0/+3
| | | | | | Found these by disabling the nightly dbg macro special case. Now, we have a mechanism for globally adding suppressions to tests, we can use that instead.
* maint/add_warning: Add two lints via add_warning as a test caseIan Jackson2022-06-241-0/+2
|
* maint/add_warning: Add ability maintain test lint blocksIan Jackson2022-06-241-8/+34
|
* maint/add_warning: Scan all files by default, but insist only in someIan Jackson2022-06-241-9/+16
| | | | | | | This will allow us to have add_warning manage test lint blocks. We have to stop printing all the filenames because there are too many. Filenames still come out on error of course.
* clippy: Supresss clippy::significant_drop_in_scrutineeIan Jackson2022-06-231-0/+1
| | | | As per the linked discussion.
* lints: Scheme for allowing us to name nightly lintsIan Jackson2022-06-231-1/+3
| | | | | As per https://gitlab.torproject.org/tpo/core/arti/-/issues/501
* Avoid matching crate names by prefix.Nick Mathewson2022-06-171-1/+5
|
* Update check_tree to better detect errors in cargo-tree.Nick Mathewson2022-06-161-6/+26
|
* Add script and CI to make sure `ring` doesn't show up in arti/fullNick Mathewson2022-06-161-0/+24
| | | | See arti#493.
* CI: Break out maint/via-cargo-installIan Jackson2022-06-081-0/+10
|
* maint/cargo_sort: Tolerate toplevel Cargo.toml not being sortedIan Jackson2022-06-081-2/+25
|
* maint/toposort: Make shebang be python3, not pythonIan Jackson2022-06-081-1/+1
| | | | | Otherwise it doesn't work on sane systems where /usr/bin/python is never an incompatible version from previously.
* Merge branch 'check-license-fixes' into 'main'Ian Jackson2022-06-021-1/+17
|\ | | | | | | | | | | | | Update check_licenses and add it to CI. Closes #462 See merge request tpo/core/arti!559
| * check_licenses: list new crates with manual license verificationNick Mathewson2022-05-311-1/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Closes #462. Note that the license on `ring` is slightly problematic for some users, including as it does old the openssl license[^1], with advertising clause and all. That's not a blocker for us now, since `ring` is not a required dependency. But we wouldn't want `ring` to become a mandatory dependency because of this. [^1]: To make the situation even more complicated, modern openssl has relicensed under apache-2.0, but that doesn't necessarily help us, since ring took its code from boringssll, which forked from an older version of openssl.
* | maint/add_warning: Convert remaining assertsIan Jackson2022-05-311-4/+8
| |
* | maint/add_warning: Introduce ImproperFile and convert one assertIan Jackson2022-05-311-2/+18
| |
* | maint/add_warning: Use python3 argparseIan Jackson2022-05-311-11/+9
| |
* | maint/add_warning: Add "how to fix" to error messageIan Jackson2022-05-311-0/+1
| | | | | | | | | | As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/557#note_2808879
* | maint/add_warning: Provide --check modeIan Jackson2022-05-311-2/+22
| |
* | maint/add_warning: Change shebang to python3Ian Jackson2022-05-311-1/+1
| | | | | | | | "python" sometimes means Python 2.
* | maint/add_warning: Use .tmp~ for temp filename, not .bakIan Jackson2022-05-311-3/+3
| | | | | | | | | | "bak" ought to be a backup file, with the old contents, which this most definitely isn't.