[tor-bugs] #1922 [Tor]: torrc.d-style configuration directories
Tor Bug Tracker & Wiki
blackhole at torproject.org
Tue Apr 22 03:26:43 UTC 2014
#1922: torrc.d-style configuration directories
-----------------------------+--------------------------------
Reporter: aa138346 | Owner:
Type: enhancement | Status: needs_review
Priority: normal | Milestone: Tor: 0.2.6.x-final
Component: Tor | Version:
Resolution: | Keywords: tor-client
Actual Points: | Parent ID:
Points: |
-----------------------------+--------------------------------
Comment (by NickHopper):
Replying to [comment:34 nickm]:
> Maybe have CONFDIR be an argument to the functions that use it, and
write a unit test (a la the stuff in test_config.c) that tries it with a
cooked value to replace CONFDIR when testing those functions?
OK, just added a new patch that has full branch coverage of the changed
code.
> * "make check-spaces" enforces some of our coding style rules
And makes this happy, too.
> * Was there going to be a ~/.tor.d/ as well?
Is there a compelling reason to have this? I was thinking:
- A local install will change CONFDIR,
- if a user knows to make a ~/.tor.d/ s/he could also just pass -d
~/.tor.d
But if there's a good reason, it's not hard to add.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/1922#comment:35>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list