#4004 closed defect (fixed)

Abstract over configuration manipulation done by `write_node_config` in `create_node.py`

Reported by: exarkun Owned by: GitHub <noreply@…>
Priority: normal Milestone: undecided
Component: unknown Version: n/a
Keywords: Cc:
Launchpad Bug:

Description

The interface between the Tor/I2P providers and the rest of Tahoe is not very well defined. Parts of it are explicit (for example, IAddressFamily) but a lot of it is implicit. Also, the boundaries are unclear and a lot of responsibility for knowing how Tor/I2P works is smeared across other parts of the codebase.

One place (but certainly not the only place) this manifests in particular is in src/allmydata/scripts/create_node.py where there is a _lot_ of knowledge about how Tor and I2P can be configured and what to do with that configuration.

One very small step to improving this would be to provide an abstraction over "turn provider-specific configuration into general Tahoe-LAFS configuration" and then use it in the write_node_config function in this file.

Change History (1)

comment:1 Changed at 2023-07-21T13:31:10Z by GitHub <noreply@…>

  • Owner set to GitHub <noreply@…>
  • Resolution set to fixed
  • Status changed from new to closed

In 8b8903c4/trunk:

Merge pull request #1283 from exarkun/clean-up-tor-and-i2p-providers

Abstract over some configuration manipulation done by write_node_config in create_node.py

Fixes: ticket:4004

Note: See TracTickets for help on using tickets.