Opened 23 months ago

Last modified 19 months ago

#28718 new defect

Simplify configuration options

Reported by: juga Owned by:
Priority: Medium Milestone: sbws: unspecified
Component: Core Tor/sbws Version:
Severity: Normal Keywords: tech-debt, refactor, config
Cc: juga, teor Actual Points:
Parent ID: #28684 Points: 1
Reviewer: Sponsor:


Programs should allow in this order: cli options, user configuration files passed by cli, environment variables, system configuration files and program defaults.
There seems there's not a common easy way to achieve this in Python.
sbws accepts cli and user configuration files in a complicated way.
The program defaults are provided as a configuration file which might not be that convenient seems confuses where to find the defaults.
Maybe an external library like (supported in Debian) or some other design can help to simplify this.

Child Tickets

Change History (3)

comment:1 Changed 20 months ago by juga

Keywords: tech-debt refactor added

Add keywords

comment:2 Changed 19 months ago by juga

Points: 1

Set points at least to minimum

comment:3 Changed 19 months ago by juga

Keywords: config added
Note: See TracTickets for help on using tickets.