[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-bugs] #27362 [Core Tor/sbws]: (sub-)packages outside of core (cli) should not need to know about confs and args



#27362: (sub-)packages outside of core (cli) should not need to know about confs
and args
-------------------------------+--------------------
     Reporter:  juga           |      Owner:  (none)
         Type:  defect         |     Status:  new
     Priority:  Medium         |  Milestone:
    Component:  Core Tor/sbws  |    Version:
     Severity:  Normal         |   Keywords:
Actual Points:                 |  Parent ID:
       Points:                 |   Reviewer:
      Sponsor:                 |
-------------------------------+--------------------
 That would help to have a more modular design and use other (sub)packages
 and (sub)modules without the need of creating ConfigParser and
 ArgumentParser objects.
 It also would help to simplify tests configurations.

 Additionally, a program should take into account in this order:
 - cli arguments
 - environment variables
 - user configuration files
 - system configuration files
 - program defaults

 That is currently almost match. but it would be better if they all can be
 took into account in a simpler way.

 This is not for MVP, but creating the ticket cause i'm creating new code
 taking this into account, and would be nice to change at some point.

 Some tickets, as #27358, happen because of this.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/27362>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs