radicle-heartwood-lfs/crates/radicle-cli/tests/util
Lorenz Leutgeb 22b2871f64 radicle: Add Version to User Agent
The main motivation behind this change is to get just a little
telemetry information from nodes on the network, namely the version
of Radicle they are running.

This is achieved by rewriting `impl Default for UserAgent` which now
uses the version information provided by the build script also used
in other crates.

Also, a new configuration option `node.userAgent` is added, which
allows users to override the user agent if they so please, or set
the value `null`, which will in turn send the user agent
`/radicle/`, which is not really helpful, and the default prior to
this commit.

Creations of `UserAgent` in the whole workspace is cleaned up. In
order to do that `UserAgent::test` is introduced.
2026-04-02 16:26:46 +01:00
..
environment.rs radicle: Add Version to User Agent 2026-04-02 16:26:46 +01:00
formula.rs cli/test: Clean up testing environment 2025-10-13 08:56:23 +01:00
mod.rs node, cli: Refactor test environment 2025-07-09 11:47:50 +01:00