[metrics-bugs] #22695 [Metrics/metrics-lib]: descriptor file processing

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Jun 22 14:31:48 UTC 2017


#22695: descriptor file processing
---------------------------------+-----------------------------------
 Reporter:  iwakeh               |          Owner:  metrics-team
     Type:  defect               |         Status:  new
 Priority:  High                 |      Milestone:  metrics-lib 2.0.0
Component:  Metrics/metrics-lib  |        Version:
 Severity:  Normal               |     Resolution:
 Keywords:                       |  Actual Points:
Parent ID:                       |         Points:
 Reviewer:                       |        Sponsor:
---------------------------------+-----------------------------------

Comment (by karsten):

 I don't have a good answer yet, but my hope is that we can get rid of
 `fileName` in the medium term. See also #22207. Maybe there are more
 descriptors that we'd have to change for this, but I really hope that all
 descriptors will be self-describing without relying on file names in the
 future.

 Regarding `descriptorFile`, I think we'll have to permit `null` there,
 because it's not a strict requirements that descriptors come from a
 descriptor file. For example, an application might want to store
 descriptors in a database and parse them at a later time, and then it
 won't necessarily have the file name anymore.

 I'll think more about this and maybe come up with a better answer later.

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


More information about the metrics-bugs mailing list