[tor-dev] GSoC : Rewrite Tor Weather (Status Update 2)

Sreenatha Bhatlapenumarthi sreenatha.dev at gmail.com
Fri Jun 20 19:36:33 UTC 2014


Hi all,

As a part of the weather-rewrite project, I've been working on the
onionoo-wrapper module[0] 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[1]. 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.

[0] - https://trac.torproject.org/projects/tor/ticket/12085
[1] - https://trac.torproject.org/projects/tor/ticket/11081
[2] - https://trac.torproject.org/projects/tor/ticket/11084

Cheers,
Sreenatha
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.torproject.org/pipermail/tor-dev/attachments/20140621/569509c3/attachment.html>


More information about the tor-dev mailing list