[tor-bugs] #13779 [GetTor]: Create script to upload bundles to Google drive

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Nov 18 02:58:04 UTC 2014


#13779: Create script to upload bundles to Google drive
------------------------------------+-------------------------
 Reporter:  ilv                     |          Owner:  sukhbir
     Type:  enhancement             |         Status:  new
 Priority:  minor                   |      Milestone:
Component:  GetTor                  |        Version:
 Keywords:  revamp gettor provider  |  Actual Points:
Parent ID:                          |         Points:
------------------------------------+-------------------------
 A script for uploading bunldes to this cloud service should work as
 follows:

 1. Read the content of a directory and recognize:
   * The operating systems for which is intended (.tar.gz for Linux, .dmg
 for OSX, .exe for Windows)
   * The architecture (32/64 bits)
   * The locale. This could be pointed out by two characters (e.g. 'de') or
 four characters separated in the middle by a dash (e.g. 'es-ES').
   * The sha256 of the file (calculate it).
   * The associated file signature (samename.asc).

 2. Upload everyone of those files as long as they have their corresponding
 signature (.asc) file.

 3. Get the fingerprint of the PGP key that signed the bundles.

 4. Create the links file and add a link for every bundle uploaded. For
 that matter you should use the **create_links_file** and **add_link**
 methods available on **gettor.core**.

 It's recommended to study how the script for uploading bundles to Dropbox
 works.

 Note that the codebase for this can be found on
 https://github.com/ileiva/gettor.git

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


More information about the tor-bugs mailing list