[tor-dev] GSoC : Rewrite Tor Weather (Status Update 2)
sreenatha.dev at gmail.com
Fri Jun 20 19:36:33 UTC 2014
As a part of the weather-rewrite project, I've been working on the
onionoo-wrapper module since my last update. I managed to write a couple
of utility methods to the wrapper like *is_stable*, *is_exit_relay*.
Removed the caching feature(using pymemcache) temporarily to ease the
testing process on meejah's advice. This will be picked up later from Lukas
Erlacher's Onion-Py. Wrote some preliminary unit tests for the wrapper
using python's mock module.
Also initiated the main backend work with a new implementation of the
welcome script using the Onionoo wrapper. It currently fetches details
document from Onionoo, checks for new relays, ensures their operators
haven't been sent an email yet and then updates the database accordingly
before sending them a welcome email. This is my first script regarding the
rewrite that interacts with the django components of the previous weather.
I'll be finishing up the remaining scripts as well soon enough before the
next update and then move on to testing and documentation.
As always, if you can take a look at the work and/or provide some feedback
that'd be great.
 - https://trac.torproject.org/projects/tor/ticket/12085
 - https://trac.torproject.org/projects/tor/ticket/11081
 - https://trac.torproject.org/projects/tor/ticket/11084
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the tor-dev