[tor-bugs] #13801 [Ooni]: OONI Pipeline archives reports using tar.gz instead of .gz

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Nov 21 13:54:52 UTC 2014


#13801: OONI Pipeline archives reports using tar.gz instead of .gz
--------------------+-------------------------
 Reporter:  otr     |          Owner:  hellais
     Type:  defect  |         Status:  new
 Priority:  normal  |      Milestone:
Component:  Ooni    |        Version:
 Keywords:          |  Actual Points:
Parent ID:          |         Points:
--------------------+-------------------------
 During the import step of the ooni pipeline the santised reports are
 archived to $OONI_ARCHIVE_DIR as tar.gz using the tarfile python module.
 However the archived reports are named just .gz and not .tar.gz, which is
 confusing.

 We could use the gzip module to just gzip them or alternatively just name
 the archived reports with an tar.gz file extension instead of .gz. As we
 archive each report separately and never as a bundle we do not actually
 need the tar step and therefore we should use the first solution.

 For the production environment archived reports should probably be
 recompressed (from .tar.gz -> .gz) in order to have a consistent format.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/13801>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list