[metrics-bugs] #22695 [Metrics/metrics-lib]: descriptor file processing
Tor Bug Tracker & Wiki
blackhole at torproject.org
Thu Jun 22 13:50: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 iwakeh):
First thoughts about possible answers:
1) Several answers:
i) some form of exception?
ii) warning and use the descriptorFile given?
2) Set `fileName = descriptorFile.getName()`.
3) More tricky:
i) use `descriptorFile = new File(fileName)` is potentially problematic
b/c there is no such file.
ii) leave `descriptorFile = null` and forget about the given filename?
iii) add getDescriptorFilename() to the Descriptor interface?
iv) some form of exception?
4) some form of exception?
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/22695#comment:2>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the metrics-bugs
mailing list