<div dir="ltr"><div>Hi all,<br><br></div><div>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 <i>is_stable</i>, <i>is_exit_relay</i>. 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.<br>
<br></div><div>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.<br>
</div><div><pre></pre></div><div></div>As always, if you can take a look at the work and/or provide some feedback that'd be great.<br><div><br>[0] - <a href="https://trac.torproject.org/projects/tor/ticket/12085">https://trac.torproject.org/projects/tor/ticket/12085</a><br>
[1] - <a href="https://trac.torproject.org/projects/tor/ticket/11081">https://trac.torproject.org/projects/tor/ticket/11081</a><br>[2] - <a href="https://trac.torproject.org/projects/tor/ticket/11084">https://trac.torproject.org/projects/tor/ticket/11084</a><br>
<br>Cheers,<br>Sreenatha<br><br></div></div>