[tor-bugs] #28718 [Core Tor/sbws]: Simplify configuration options

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Dec 4 09:39:48 UTC 2018


#28718: Simplify configuration options
-------------------------------+-------------------------------
     Reporter:  juga           |      Owner:  (none)
         Type:  defect         |     Status:  new
     Priority:  Medium         |  Milestone:  sbws: unspecified
    Component:  Core Tor/sbws  |    Version:
     Severity:  Normal         |   Keywords:
Actual Points:                 |  Parent ID:  #28684
       Points:                 |   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 https://github.com/bw2/ConfigArgParse
 (supported in Debian) or some other design can help to simplify this.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/28718>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list