| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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.
|
| | | | | |
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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.
|
| | | | |
| | | |
| | | |
| | | | |
Without this, maint/shebang is broken.
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | |
| | | | |
This changes from `apt install` (which is not supposed to be used in
scripts) to `apt-get install`.
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | | |
And delete our old version of the script.
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
See docs in maint/common/via-cargo-install-in-ci
This is not the same id as in our maint/via-cargo-install-in-ci,
which is deliberate. Let's flush this cache, just in case.
|
| | | | |
| | | |
| | | |
| | | | |
We're about to switch to a version that doesn't support this.
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* Change all in-tree reference
* Delete our copy of script, which now lives
in the rust-maint-common subtree.
* Leave a symlink behind, so that old git hooks that people
(IMO possibly unwisely) installed, still work.
|
| | | | |
| | | |
| | | |
| | | | |
As recommended by the README there
|
| | |\ \ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
'be8ec72c0b0ced653c618af564387079d9ea8e5f'
git-subtree-dir: maint/rust-maint-common
git-subtree-mainline: c05af7edf8f715b31d90d128ba6078a8094f440c
git-subtree-split: be8ec72c0b0ced653c618af564387079d9ea8e5f
|
| | | |\ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
for-every-commit: Copy from derive-deftly
See merge request tpo/core/rust-maint-common!5
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | | |
Resolves semantic conflict with !7
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | | |
This rune appears *so much*!
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | | |
|
| | | |/ / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This is definitely the most sophisticated version of this script,
which also exists in rust-pwd-grp and maybe elsewhere.
The head comment is garbage.
Copied from derive-deftly.git#f71bf71c913acc23286a828a8ea51c708b4c88ed
|
| | | |\ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Use non-cwd-relative $0-based includes in shell scripts
Closes #1
See merge request tpo/core/rust-maint-common!7
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Apparently Alpine's realpath(1) (and presumably its dirname(1)) don't
understand it. In 2024!
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | | |
|
| | | |/ / / |
|
| | | |\ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Provide and run forbid-script-underscores
See merge request tpo/core/rust-maint-common!6
|
| | | | | | | |
|
| | | |/ / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
arti.git:maint/ has a mixture of underscores and hyphens.
We should make a decision on style.
I think these scripts are command names, and Unix command names ought
to be hpyhenated, not underscored. So that's my choice here.
|
| | | |\ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Fix it so scripts will work in maint/common/
Closes #1
See merge request tpo/core/rust-maint-common!4
|
| | | | | | | |
|
| | | |/ / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This does *not* fix #1.
But it does make the system work in the recommended layout.
|
| | | |\ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Copy and run script-checking scripts from arti.git
See merge request tpo/core/rust-maint-common!3
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | | |
This doesn't matter, but it placates shellcheck.
|