Radish alpha
h
rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5
Radicle Heartwood Protocol & Stack
Radicle
Git
protocol: Depend on `cypheraddr` not `cyphernet`
Archived lorenz opened 2 months ago

radicle-protocol depends on cyphernet, but only uses the module cyphernet::addr, which is a re-export of cypheraddr, which is unnecessary (as cypheraddr alone would do), and invites accidentally pulling in more dependencies via cyphernet.

To prevent accidentally depending on further types from cyphernet, change this to more conservativeley depend on cypheraddr.

node/debug: Use derived serializers

The construction of the debug object is unwieldy, and error prone (for example, renamed struct members have to be manually renamed in the serialization code, see “refs” vs. “refsAt”).

Use derived serializers where possible to make this easier to maintain.

remote-helper: Produce push certificates

lorenz opened with revision ffd19e5b on base c06b00e3 +103 -44 2 months ago

radicle-protocol depends on cyphernet, but only uses the module cyphernet::addr, which is a re-export of cypheraddr, which is unnecessary (as cypheraddr alone would do), and invites accidentally pulling in more dependencies via cyphernet.

To prevent accidentally depending on further types from cyphernet, change this to more conservativeley depend on cypheraddr.

node/debug: Use derived serializers

The construction of the debug object is unwieldy, and error prone (for example, renamed struct members have to be manually renamed in the serialization code, see “refs” vs. “refsAt”).

Use derived serializers where possible to make this easier to maintain.

remote-helper: Produce push certificates