[tor-bugs] #19791 [Metrics/metrics-lib]: Adapt to CollecTor's new date format

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Aug 15 14:57:05 UTC 2016


#19791: Adapt to CollecTor's new date format
---------------------------------+-----------------------------------
 Reporter:  karsten              |          Owner:  iwakeh
     Type:  defect               |         Status:  assigned
 Priority:  High                 |      Milestone:  metrics-lib 1.4.0
Component:  Metrics/metrics-lib  |        Version:
 Severity:  Normal               |     Resolution:
 Keywords:                       |  Actual Points:
Parent ID:                       |         Points:
 Reviewer:                       |        Sponsor:
---------------------------------+-----------------------------------

Comment (by iwakeh):

 Second part of reading from index.json:

 * create another implementation of `DescriptorCollector`, e.g.
 `org.torproject.descriptor.index.IndexCollector`  (the `index` package
 contains all the necessary classes, cf. comment:5)
 * keep the old implementation as default; use `descriptor.collector` for
 setting the new implementation
 * switch default setting to the new implementation.
 * remove current implementation.

 The final two steps of switching the implementation and removing the
 current one are not necessarily part of this ticket.  The implementations
 can co-exist, but removing the current one reduces maintenance.

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


More information about the tor-bugs mailing list