[tor-bugs] #24021 [Metrics/Bot]: Drop simple-json dependency in favour of gson

Tor Bug Tracker & Wiki blackhole at torproject.org
Sun Oct 29 12:07:27 UTC 2017


#24021: Drop simple-json dependency in favour of gson
-------------------------+---------------------
 Reporter:  irl          |          Owner:  irl
     Type:  enhancement  |         Status:  new
 Priority:  Low          |      Milestone:
Component:  Metrics/Bot  |        Version:
 Severity:  Normal       |     Resolution:
 Keywords:               |  Actual Points:
Parent ID:               |         Points:
 Reviewer:               |        Sponsor:
-------------------------+---------------------

Comment (by irl):

 Will be able to add more tomorrow, but quickly. metrics-bot only uses the
 details document type currently. I plan to add more functionality to the
 IRC component that would use other document types but this is not a
 priority at the moment, so if details documents were in metrics-lib then
 that would be great.

 The current details documents look like:

 https://people.torproject.org/~irl/metrics-
 bot/org/torproject/metricsbot/tor/package-summary.html

 It's also possible that we just later move the
 org.torproject.metricsbot.tor package to metrics-lib, although this would
 require separating out the badge and text generating methods e.g.
 generateBadge()

 Currently metrics-bot does not use metrics-base. Maybe it should?

 I can update #24036 with the package names used in metrics-bot if that is
 useful, but I'd like to finish some more JavaDoc to make sure myself that
 I'm happy with the organisation of them first. (I did a bunch of
 refactoring last night implementing the IRC component so I've not had a
 good pass over how it looks now yet).

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


More information about the tor-bugs mailing list