| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| |
|
|
|
|
|
|
|
|
| |
This is a bit complicated since:
- Using cbindgen with macro expansion requires a nightly rust:
so, we have to look for one.
- There are some cbindgen warnings which I cannot find any way to
suppress, so instead of giving all warnings, it seems better to
give a diff from the old list of warnings to the new list.
|
| |
|
|
|
|
| |
This invalidates the cache. This may not be strictly necessary, but
it will make sure that the new pinned image is used in the CI run *for
this MR*.
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| | |
|
| | |
|
| |
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
| |
* 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
|
| |
|
|
| |
We must make a symlink so things can find the scripts in maint/.
|
| |
|
|
|
| |
These are not parts of arti per se, and we don't especially want to
track their test coverage.
|
| |\
| |
| |
| |
| |
| |
| | |
Check cargo categories against crates.io
Closes #1481
See merge request tpo/core/arti!2256
|
| | | |
|
| | |
| |
| |
| | |
What a palaver.
|
| | | |
|
| | | |
|
| | |
| |
| |
| |
| | |
If this is unset, set it to True. Otherwise it's super confusing (and
every call site needs to do this special comparison.)
|
| | |
| |
| |
| | |
See https://crates.io/data-access
|
| | | |
|
| | |
| |
| |
| |
| | |
Prompted by:
https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2255#note_3046801
|
| | |
| |
| |
| |
| |
| |
| | |
Prompted by:
https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2255#note_3046739
There is an improvement to comment semantics.
|
| | |
| |
| |
| |
| | |
Prompted by:
https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/2255#note_3046737
|
| | | |
|
| |/ |
|
| |
|
|
|
| |
We don't use the affected crates any more, now that arti-hyper is
gone.
|
| |\
| |
| |
| |
| | |
Release process improvements
See merge request tpo/core/arti!2240
|
| | | |
|
| | | |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Skip parsing the next line unless it starts with two spaces followed by
a non-whitespace character. This ensures we don't accidentally try to
parse a wrapped help line as a command.
This enables it to parse commands with wrapping descriptions, such as
```
Usage: arti hsc [OPTIONS] <COMMAND>
Commands:
prepare-service-discovery-key Prepare a service discovery key for connecting to a service
running in restricted discovery mode
help Print this message or the help of the given subcommand(s)
```
|
| |/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This adds an experimental `arti hsc` subcommand for managing client
state and keys. Currently, it only supports the
`prepare-service-discovery-keys` operation described in #1281 and
`doc/dev/notes/client-auth.md`.
A note on terminology: I am referring to services that encrypt the
second layer of their descriptor as running in "restricted discovery"
mode (because they can only be discovered, i.e. have their IPT points
found out, by a set of authorized clients). The corresponding client
"auth" keys, being the keys that enable the client to find out the list
of intro points, pow-params etc. of the service, are referred to as
service "discovery keys".
Alternative names I considered:
* extra descriptor encryption: accurate, but overly technical. IMO,
the CLI should be accessible to users who aren't familiar with the
nitty-gritty of the protocol
* shielded mode: good, but slightly misleading. Calling it "shielded
mode" makes it sound like a universally desirable "extra protection"
that should almost always be enabled (which is not the case). Seeing
`shielded_mode = off` in the config might be worry operators that
don't fully understand what "extra descriptor encryption" or
"shielded mode" means
* restricted mode: slightly inaccurate. It implies this mechanism is a
good substitute for conventional service-side authentication, which
it isn't (because client authorization isn't instantaneous)
Closes #1281
|
| | |
|
| |
|
|
|
|
|
| |
This only runs in scheduled jobs. And it doesn't work right now.
It hasn't passed for at least a month, but it's not clear how much of
that time it was being run because the osx failure would mask it.
|
| |
|
|
|
|
| |
This has been obsolete for a very long time.
We have already published a version with a "won't be updated" warning.
|
| |
|
|
|
|
|
| |
No code changes needed.
Precisely
nailing-cargo -Eu upgrade --incompatible -p base32
|
| |
|
|
|
|
|
| |
No code changes needed.
Precisely
nailing-cargo -Eu upgrade --incompatible -p itertools
|
| | |
|
| |
|
|
|
|
|
|
| |
This is superseded now.
(I wish I had noticed it; perhaps I could have souped it up rather
than writing a whole new thing, but I think the result would have been
much the same.)
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Compared to check-crate-owners:
1. Checks for uniformity, rather than having an embedded list
of intended maintainers.
2. Uses curl | jq, rather than `cargo owner`.
This is necessary for:
3. Ignores crates which have never been published.
This is necessary to be able to run this in CI, since there
may be new crates in the workspace.
4. Prints the ownership information rather differently -
just the usernames. This is a consequence of using curl | jq.
|
| |
|
|
| |
This is useful for debugging.
|
| | |
|
| | |
|
| |
|
|
|
| |
We (will) use `*.sh` for shell include files. We're about to make one
of these.
|
| |
|
|
| |
Signed-off-by: David Goulet <[email protected]>
|