Radish alpha
h
rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5
Radicle Heartwood Protocol & Stack
Radicle
Git
radicle: Add Version to User Agent
Merged lorenz opened 29 days ago

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.

lorenz opened with revision b80da530 on base f223afd9 +166 -43 29 days ago

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.

lorenz pushed revision 2 6d04ea8b on base b54fc820 +184 -43 28 days ago

Rebase and add test for explicitly setting the default user agent as requested by Fintan.

fintohaps pushed revision 3 209ca120 on base 48551cde +182 -44 28 days ago

Changes:

  • Rebase
  • Rename fake user agent strings to /radicle/runtime/bootstrap and /radicle/message/truncated/
  • Remove unnecessary allow(deprecated)
fintohaps merged revision 209ca120 at 22b2871f 28 days ago