[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-bugs] #28684 [Core Tor/sbws]: Make sbws easy to understand and maintain



#28684: Make sbws easy to understand and maintain
---------------------------+-----------------------------------
 Reporter:  juga           |          Owner:  (none)
     Type:  defect         |         Status:  new
 Priority:  Medium         |      Milestone:  sbws: unspecified
Component:  Core Tor/sbws  |        Version:
 Severity:  Normal         |     Resolution:
 Keywords:                 |  Actual Points:
Parent ID:                 |         Points:
 Reviewer:                 |        Sponsor:
---------------------------+-----------------------------------

Comment (by juga):

 Replying to [comment:16 irl]:
 > The output of the parser for stem should be a Python object. Take a look
 at the ServerDescriptor class for an example:
 >
 >
 https://stem.torproject.org/api/descriptor/server_descriptor.html#stem.descriptor.server_descriptor.RelayDescriptor

 Oh, then it's even easier, since it's already an object
 (https://github.com/torproject/sbws/blob/master/sbws/lib/v3bwfile.py#L511).
 The things to do then:
 1. Maybe solve first #28282 to eliminate the aggregation logic from the
 classes
 2. To do not depend on a stem version that is not released, duplicate the
 code both in sbws and stem, until there's a new stem release

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/28684#comment:17>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs