summaryrefslogtreecommitdiff
path: root/maint
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'zlib' into 'main'Ian Jackson2023-02-271-2/+9
|\ | | | | | | | | Approve zlib licence See merge request tpo/core/arti!1035
| * maint/check_licensse: Placate shellcheckIan Jackson2023-02-241-1/+1
| | | | | | | | | | There's nothing wrong with the previous idiom since it's a trusted variable, but whatever.
| * maint/check_licensse: Approve Zlib licenceIan Jackson2023-02-241-0/+1
| | | | | | | | | | | | | | This is a very permissive BSD/MIT-like licence. I have reviewed the licence text and it is inoffensive. I want this for slotmap, in !1034
| * maint/check_licensse: Honour CARGO variableIan Jackson2023-02-241-2/+8
| | | | | | | | Even if it contains spaces.
| * maint/check_licensse: Do not discard actual errorIan Jackson2023-02-241-1/+1
| | | | | | | | This confused me while I was debugging the interaction with nailing-cargo.
* | Merge branch 'fix-adhoc' into 'main'Ian Jackson2023-02-241-1/+1
|\ \ | |/ |/| | | | | maint: fix `adhoc-add-lint-blocks` script See merge request tpo/core/arti!1031
| * maint: fix `adhoc-add-lint-blocks` scriptEmil Engler2023-02-221-1/+1
| | | | | | | | | | | | This commit fixes a bug in maint/adhoc-add-lint-blocks, which made it impossible to execute, because `/usr/bin/env` looked at Perl's command line arguments to be a part of the binary name.
* | git: add maint/.gitignore for __pycache__Emil Engler2023-02-221-0/+1
|/ | | | | The maint/ directory contains several python scripts, which will create a __pycache__ directory.
* Merge branch 'coverage-dep-check' into 'main'Ian Jackson2023-02-221-0/+23
|\ | | | | | | | | | | | | maint: add a dependency check to coverage Closes #776 See merge request tpo/core/arti!1025
| * maint: add a dependency check to coverageEmil Engler2023-02-211-0/+23
| | | | | | | | | | | | | | | | | | This commit implements a dependency check to the `maint/coverage` script, that checks for the rustup, python3, and grcov binaries in $PATH; the bs4 and lxml python packages; and the llvm-tools Rust component. Fixes #776
* | Fix a bug in check_doc_featuresNick Mathewson2023-02-211-7/+3
| | | | | | | | | | | | In Python, str.find returns -1 if it doesn't find the target character, and -1 is a true value. So `if pos := foo.find('c')` won't do what we want.
* | maint: forcefully remove files in coverageEmil Engler2023-02-161-1/+1
|/ | | | | | | | | | | | When performing the initial run of `./maint/coverage`, it will report an error message to stderr, that several files cannot be deleted, due to their non-existence. While the error is still ignored, I personally think that there is no benefit in showing it either, thereby surpressing it with this commit. Beside this, this syntax might be easier to understand from a semantical point of view.
* tor-cell: documentation cleanups related to restricted_msgNick Mathewson2023-02-071-0/+5
|
* maint: add shebangEmil Engler2023-01-261-0/+10
| | | | | | | | This commit adds a test called `shebang`, which checks if all shebangs in scripts use relative paths through `#/usr/bin/env`, rather than absolute paths, such as `#/bin/bash`. See 833b10575bbb18200ae9e6ba4f0a1dd858417020.
* maint: replace llvm-tools-preview with llvm-toolsEmil Engler2023-01-272-5/+5
| | | | | | | | | | | | This commit replaces all occurrences of `llvm-tools-preview` with `llvm-tools`, because it became a stable feature with Rust 1.60, thereby making the `-preview` prefix obsolete. Beside this, `llvm-tools-preview` is a redirection to the latter one anyway. However, it does not work the other way around. At the moment, it is not possible to execute the `maint/coverage` script on a NixOS system, because the rustup component list only includes `llvm-tools`, but not `llvm-tools-preview`, thereby making this change necessary.
* Allow clippy::unchecked_duration_subtraction in testsNick Mathewson2023-01-271-0/+1
| | | | | This panics on error, and we're fine with a panic on misbehavior in tests.
* Disable clippy::unlinlined-format-argsNick Mathewson2023-01-271-0/+1
| | | | | | | | This warning kind of snuck up on us! (See #748) For now, let's disable it. (I've cleaned it up in a couple of examples, since those are meant to be more idiomatic and user-facing.) Closes #748.
* maint: update shellcheck_all with /usr/bin/envEmil Engler2023-01-251-1/+1
| | | | | This commit updates the shellcheck_all script, in order to look for /usr/bin/env, instead of /bin.
* shell: use /usr/bin/env instead of absolute pathsEmil Engler2023-01-2533-33/+33
| | | | | | | | | | This commit changes the shebang in all shell scripts from absolute paths (such as `/bin/bash` or `/usr/bin/python3`) to the `/usr/bin/env` binary with the accompanying interpreter as it's argument. The reason for this are as follows: - NixOS cannot work with absolute paths - BSD systems install their packages in /usr/local/bin
* test lint blocks: Add ad hoc script for adding themIan Jackson2022-12-121-0/+26
|
* Merge branch 'shadow-bridge' into 'main'Ian Jackson2022-12-121-0/+13
|\ | | | | | | | | Test vanilla bridge in shadow See merge request tpo/core/arti!915
| * put ci log span magic strings in a dedicated scripttrinity-1686a2022-12-051-0/+13
| |
* | Fix typosDimitris Apostolou2022-12-091-2/+2
|/
* CI: test that we can compile, and test cfg, with/without bridges/PTsIan Jackson2022-11-291-0/+18
|
* use newer version of zstd and lzmatrinity-1686a2022-11-291-6/+0
|
* Merge branch 'test-config' into 'main'Ian Jackson2022-11-231-1/+1
|\ | | | | | | | | tor-guardmgr: Fix visibility of TestConfig with no features enabled See merge request tpo/core/arti!875
| * fixup! tor-guardmgr: Fix visibility of TestConfig with no features enabledIan Jackson2022-11-181-1/+1
| |
* | Merge branch 'matrix-test' into 'main'Nick Mathewson2022-11-231-0/+1
|\ \ | | | | | | | | | | | | maint/matrix_test: Print what command we are running! See merge request tpo/core/arti!879
| * | maint/matrix_test: Print what command we are running!Ian Jackson2022-11-211-0/+1
| |/
* / Ignore atty theoretical unaligned read for nowIan Jackson2022-11-221-0/+7
|/
* Check more targetstrinity-1686a2022-11-103-1/+113
|
* Upgrade to clap 3 with minimal changesGabriel de Perthuis2022-11-041-5/+5
| | | | | | | | This removes the last cargo audit override (for the unmaintained ansi_term). Don't mark options as required when they have default values: see <https://github.com/clap-rs/clap/pull/3793>.
* docs features: Add a suppression for testingIan Jackson2022-11-031-0/+5
|
* add_warnings: ignore clippy::result_large_errNick Mathewson2022-11-031-0/+1
| | | | | This is a temporary workaround for #587 until we get it fixed for real.
* add_warnings: work with more non-GNU finds.Nick Mathewson2022-11-031-1/+1
| | | | | We were doing `find -name '*.rs'`, but `find . -name '*.rs'` (with the .) is more standard.
* cleanup target dir on job completiontrinity-1686a2022-10-211-0/+21
|
* Merge branch 'matrix-features' into 'main'Nick Mathewson2022-10-212-0/+100
|\ | | | | | | | | | | | | add checks for many feature combinations Closes #303 See merge request tpo/core/arti!775
| * fix doc-feature synchrotrinity-1686a2022-10-161-0/+2
| |
| * 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
|