commit b7619a8e0e11cdccc55234b2091384481a064264 Merge: 6176b9a 6b54195 Author: Damian Johnson atagar@torproject.org Date: Sun Sep 15 15:27:44 2013 -0700
Rewriting arm's starter module
Overhaul of arm's initialization module, including the addition of unit tests and just damn better implementation. Turns out I've improved as a python developer in the two years since I last touched this codebase. Who whould've thought...
For user the main noticeable impact of this overhaul is that we now provide more guidance when arm fails to start.
arm/configPanel.py | 4 +- arm/controller.py | 2 +- arm/graphing/bandwidthStats.py | 2 +- arm/headerPanel.py | 81 +++-- arm/logPanel.py | 15 +- arm/settings.cfg | 63 ++++ arm/starter.py | 727 ++++++++++++++++++---------------------- arm/util/sysTools.py | 20 -- arm/util/torConfig.py | 90 ++++- arm/util/torTools.py | 82 +++-- armrc.sample | 8 +- run_tests.py | 14 + test/starter.py | 204 +++++++++++ 13 files changed, 791 insertions(+), 521 deletions(-)
tor-commits@lists.torproject.org