[tor-bugs] #24077 [Metrics/Bot]: Refactor microblog accounts setup and updates into a MicroblogManager
Tor Bug Tracker & Wiki
blackhole at torproject.org
Mon Oct 30 15:09:28 UTC 2017
#24077: Refactor microblog accounts setup and updates into a MicroblogManager
-----------------------------+-----------------
Reporter: irl | Owner: irl
Type: enhancement | Status: new
Priority: Medium | Milestone:
Component: Metrics/Bot | Version:
Severity: Normal | Keywords:
Actual Points: | Parent ID:
Points: | Reviewer:
Sponsor: |
-----------------------------+-----------------
Most of this code is currently in the MetricsBot class directly, with the
setup in the main method.
The `microblog(MicroblogStatus)` and `error(String)` functions should be
moved. Also, there should be new functions that also serve for logging:
* `debug(String)`
* `info(String)`
* `warning(String)`
* `relay(String)`
* `network(String)`
* `alert(String)`
* `event(String)`
This will depend on #24075 to have the StatusTypes available. It will
probably also depend on #24076 in order to have the logging to the console
functionality.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/24077>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list