radicle-heartwood-lfs/crates/radicle/src
Lorenz Leutgeb 80c1bba76f
radicle: Prevent `RAD_SOCKET` from polluting tests
The value of `RAD_SOCKET` influences the outcome of `cargo test`.

Users that set this environment variable to, e.g. point `rad` at
a socket at a custom location, were surprised that execution of
tests would interact with their node.

Split `Home::socket` into two functions. `Home::socket_default` is
"pure" and only dependent on the path represented by `Home`. On the
other hand, `Home::socket_from_env` interprets the environment.

Most users will want to use `Home::socket_from_env`.
2026-04-09 17:53:49 +02:00
..
canonical radicle/canonical: provide public Canonical JSON link 2026-01-22 09:10:53 +00:00
cob radicle: Refactor COB Storage Access 2026-03-31 17:57:14 +01:00
git radicle/crefs/protect: Module for protected refs 2026-04-08 11:02:25 +01:00
identity radicle/crefs: Use `GetPayload` to load 2026-04-08 11:17:46 +01:00
logger radicle: Move logging setup calls to binaries 2025-08-07 08:30:59 +01:00
node radicle: Add Version to User Agent 2026-04-02 16:26:46 +01:00
profile rust/edition/fmt: 2021 → 2024 2026-03-30 16:57:51 +02:00
storage radicle/crefs: Refactor `GetCanonicalRefs` 2026-04-08 11:13:28 +01:00
test radicle/storage: Split `WriteRepository::set_head` 2026-04-08 11:02:07 +01:00
canonical.rs radicle/canonical: provide public Canonical JSON link 2026-01-22 09:10:53 +00:00
cli.rs repo: Move workspace crates into `crates` subdirectory 2025-06-09 15:09:21 +02:00
cob.rs rust/edition/fmt: 2021 → 2024 2026-03-30 16:57:51 +02:00
collections.rs repo: Move workspace crates into `crates` subdirectory 2025-06-09 15:09:21 +02:00
explorer.rs radicle/explorer: Allow overriding default URL 2025-09-04 16:44:05 +03:00
git.rs rust/edition/fmt: 2021 → 2024 2026-03-30 16:57:51 +02:00
identity.rs radicle: canonical references payload 2025-07-16 16:41:16 +02:00
io.rs rust/edition/fmt: 2021 → 2024 2026-03-30 16:57:51 +02:00
lib.rs rust/edition/fmt: 2021 → 2024 2026-03-30 16:57:51 +02:00
logger.rs radicle: Move logging setup calls to binaries 2025-08-07 08:30:59 +01:00
node.rs radicle: Add Version to User Agent 2026-04-02 16:26:46 +01:00
profile.rs radicle: Prevent `RAD_SOCKET` from polluting tests 2026-04-09 17:53:49 +02:00
rad.rs radicle/storage: Split `WriteRepository::set_head` 2026-04-08 11:02:07 +01:00
schemars_ext.rs crypto: Optionally provide JSON Schema 2026-02-10 09:39:34 +00:00
serde_ext.rs radicle: Add Version to User Agent 2026-04-02 16:26:46 +01:00
sql.rs radicle: Re-export `radicle_core::RepoId` 2026-01-09 14:04:18 +01:00
storage.rs radicle/storage: Split `WriteRepository::set_head` 2026-04-08 11:02:07 +01:00
test.rs radicle/storage: Split `WriteRepository::set_head` 2026-04-08 11:02:07 +01:00
version.rs repo: Move workspace crates into `crates` subdirectory 2025-06-09 15:09:21 +02:00
web.rs radicle: Keep pinned repos ordered in config 2025-07-19 12:59:02 +01:00