| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
| |
tor-netdir needs to bump because tor-netdoc bumped, even though
there were no other changes in tor-netdir. Whoops.
tor-guardmgr needs to bump because it already published, with the
older tor-netdir.
|
| | |
|
| | |
|
| | |
|
| | |
|
| |\
| |
| |
| |
| | |
Add shellcheck to gitlab ci and git hook
See merge request tpo/core/arti!275
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| |/ |
|
| | |
|
| | |
|
| |\
| |
| |
| |
| |
| |
| | |
Make max_file_limit configurable
Closes #299
See merge request tpo/core/arti!261
|
| | | |
|
| |\ \
| | |
| | |
| | |
| | | |
Improve `coverage` job in CI
See merge request tpo/core/arti!269
|
| |/ / |
|
| |\ \
| | |
| | |
| | |
| | | |
Fix test failure in tor_dirmgr::state::test::get_microdescs_state
See merge request tpo/core/arti!268
|
| |/ /
| |
| |
| |
| |
| |
| |
| |
| | |
This failure occurred because our tests use canned data to exercise
the directory state functionality, and the canned consensus has
suddenly become very expired.
There are better fixes possible, but this is a minimal one that
should get CI working on main again.
|
| |\ \
| | |
| | |
| | |
| | | |
Fix/suppress shellcheck errors in teardown.sh
See merge request tpo/core/arti!266
|
| | | |
| | |
| | |
| | | |
Rationale: It's good to have all of our scripts pass shellcheck.
|
| |\ \ \
| | | |
| | | |
| | | |
| | | | |
Unit test cleanup in tor-rtcompat
See merge request tpo/core/arti!267
|
| | | | |
| | | |
| | | |
| | | |
| | | | |
Nothing actually used these accessor functions, and it's not clear
what would. We can add them later if they're needed.
|
| | | | |
| | | |
| | | |
| | | |
| | | | |
These probably aren't for things that will fail IRL, but it's nice
to have coverage on the code, just in case.
|
| | | | |
| | | |
| | | |
| | | | |
Now there's much less copy-and-paste.
|
| | |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This makes our layout more similar to our other crates, and
successfully informs our grcov exclusion pattern that these tests
are indeed tests.
Doing this knocks down the reported coverage for the tor-rtcompat
crate, but that's okay: we hadn't earned it.
I hereby promise that this commit is only code-movement.
|
| |\ \ \
| |/ /
|/| |
| | |
| | | |
doc/Release.md: add note to check feature combinations
See merge request tpo/core/arti!265
|
| | | |
| | |
| | |
| | | |
This is a nice reminder to have before we solve arti#303 for good.
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Shellcheck doesn't like it when you do `rm -r "$A/$B"` : it worries
that the path might accidentally expand to /.
That shouldn't actually be possible in this case, but let's avoid
being the people who accidentally remove somebody's filesystem.
|
| | | |
| | |
| | |
| | |
| | | |
This was added in !210; looks like it got removed by mistake with
!221.
|
| | |/
|/|
| |
| |
| | |
This makes it easier to see when they're changing, and will make
future patches easier to review.
|
| |\ \
| |/
|/|
| |
| |
| |
| | |
Refactor the tor-rtcompat API.
Closes #301 and #300
See merge request tpo/core/arti!263
|
| | | |
|
| | |
| |
| | |
Comment-only.
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
Previously it didn't enable any TLS provider, since we made
native-tls optional a few commits ago. Now it enables rustls,
so that rustls also gets a quick check along with async-std.
I've also switched this test to use "cargo clippy" in place of
"cargo test" because it's a strict superset.
|
| | | |
|
| | | |
|
| | |
| |
| |
| |
| | |
This avoids a future confusion with the new `SpawnBlocking` trait in
async_executors v0.5, and better describes what the trait provides.
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This took some refactoring, so that I wouldn't need to define 9
different versions of the function. It also required that we change
the behavior of test_with_all_runtimes slightly, so that it asserts
on _any_ failure rather than asserting on most but returning Err()
for others. That in turn required changes to a few of its callers.
There's probably a better way to do all of this macro business, but
this is the best I could find.
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This commit puts the native-tls crate behind a feature. The feature
is off-by-default in the tor-rtcompat crate, but can be enabled
either from arti or arti-client.
There is an included script that I used to test that tor-rtcompat
could build and run its tests with all subsets of its features.
Closes #300
|
| | |
| |
| |
| |
| | |
This helps us simplify our code in a few ways, and will help even
more once native_tls is optional.
|
| | |
| |
| |
| |
| | |
This should help avoid some amount of temptation towards API
proliferation.
|
| | | |
|
| | |
| |
| |
| |
| | |
If we implement our own clone on CompoundRuntime, we no longer need
Clone implementations on our TlsProvider implementations.
|