[tor-bugs] #13564 [Ooni]: Work on the script for putting the sanitised reports into the database
Tor Bug Tracker & Wiki
blackhole at torproject.org
Sat Oct 25 09:25:06 UTC 2014
#13564: Work on the script for putting the sanitised reports into the database
--------------------------------------+-------------------------
Reporter: hellais | Owner: hellais
Type: task | Status: new
Priority: normal | Milestone:
Component: Ooni | Version:
Keywords: ooni_data_analytics_team | Actual Points:
Parent ID: | Points:
--------------------------------------+-------------------------
This involves taking the reports that are in the SANITISED state, putting
them into the database in the tables "report", "measurements" and moving
the data to the /data/reports directory (hence entering the PUBLISHED
state).
To get an idea of how this should be done see:
https://github.com/hellais/datanalytics/blob/master/process.py#L239
https://github.com/hellais/datanalytics/blob/master/process.py#L248
The script should make it explicit what are the keys that are added to the
database.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/13564>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list