summaryrefslogtreecommitdiff
path: root/maint/rust-maint-common
Commit message (Collapse)AuthorAgeFilesLines
* forbid-hard-tabs: Improve doc commentIan Jackson2024-10-021-1/+5
| | | | | Prompted by https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2488#note_3087164
* bash-utils.sh: reject_options: Don't crash due to -u if no argumentsIan Jackson2024-10-021-1/+1
|
* Provide new forbid-hard-tabs scriptIan Jackson2024-10-021-0/+45
|
* Fix typosDimitris Apostolou2024-09-031-1/+1
|
* Exclude debian/* from the forbid-absolute-shebangs checksNoisyCoil2024-08-271-1/+1
|
* maint/rust-maint-common/forbid-absolute-shebang: Fix error messageIan Jackson2024-07-171-1/+1
|
* maint/common/update-shell-includes: Tolerate includes with a `$`Ian Jackson2024-07-161-1/+1
| | | | | | | | | | | | | | | These are not hardcoded, whatever they are, so they're not the principal thing we're trying to prevent. Previously, this would trip on this in arti.git:maint/cargo-publish: maint="$(dirname "$0")" ... # shellcheck source=maint/crates-io-utils.sh source "$maint/crates-io-utils.sh" Ideally we'd teach this script to be able to check and maintain includes for scripts that aren't in common/, but I think that's a task for another day.
* maint/common/forbid-absolute-shebansg: Fix error handlingIan Jackson2024-07-161-4/+15
| | | | | | | | set -o pipefail is defused by the if. And we should properly check the expected statuses from git. If git isn't found, this script would otherwise spuriously think everything is fine.
* maint/common/apt-install: Don't repeat apt-get updateIan Jackson2024-07-161-1/+9
|
* maint/common/apt-install: Use `apt-get install`Ian Jackson2024-07-161-1/+1
| | | | | This changes from `apt install` (which is not supposed to be used in scripts) to `apt-get install`.
* Add 'maint/rust-maint-common/' from commit ↵Ian Jackson2024-07-1616-0/+698
'be8ec72c0b0ced653c618af564387079d9ea8e5f' git-subtree-dir: maint/rust-maint-common git-subtree-mainline: c05af7edf8f715b31d90d128ba6078a8094f440c git-subtree-split: be8ec72c0b0ced653c618af564387079d9ea8e5f