commit 138c9152287e171d1e6ecc4910aa101f22c92d55 Author: Cecylia Bocovich cohosh@torproject.org Date: Mon Apr 13 16:44:39 2020 -0400
Remove old upload documentation --- doc/UPLOAD-DROPBOX | 20 -------------------- doc/UPLOAD-GOOGLE-DRIVE | 21 --------------------- 2 files changed, 41 deletions(-)
diff --git a/doc/UPLOAD-DROPBOX b/doc/UPLOAD-DROPBOX deleted file mode 100644 index dc0728a..0000000 --- a/doc/UPLOAD-DROPBOX +++ /dev/null @@ -1,20 +0,0 @@ -1) Get the current repo: - -$ git clone https://github.com/ileiva/gettor.git - -2) Check if you have Dropbox and GnuPG Python modules. If not, install them: - -$ pip install dropbox gnupg - -4) Get the PGP key that signs the Tor Browser Bundles. - -3) Change general configuration and account info in dropbox.cfg. - -3) Run the script: - -$ python dropbox.py - -If everything works fine, you should see a dropbox.links file inside the -'providers' directory. The script will take the files on upload_dir -(dropbox.cfg) that end up on .xz and .xz.asc respectively. A script for -getting the latest bundles from dist.tp.o is pending. \ No newline at end of file diff --git a/doc/UPLOAD-GOOGLE-DRIVE b/doc/UPLOAD-GOOGLE-DRIVE deleted file mode 100644 index 0ab505e..0000000 --- a/doc/UPLOAD-GOOGLE-DRIVE +++ /dev/null @@ -1,21 +0,0 @@ -1) Clone into the latest version of gettor: - -$ git clone https://github.com/ilv/gettor.git - -2) Get the PGP key that signs the Tor Browser Bundle - -2) Visit https://console.developers.google.com//start/api?id=drive&credential=cli... and follow OAUTH2 process to get client ID and client secret for 'other' desktop application. - -3) Edit drive.cfg to with new client-id and secret. Leave refresh_token empty. - -4) Install the google drive API python client: - -$ pip install --upgrade google-api-python-client - -5) Run the script: - -$ python bundles2drive.py - -The first time the script is run, you will have to authorize it through a web browser. You will be prompted with a URL. Once that is done, a refresh token will be stored locally so that re-authorzing is unnesaccary. - -The script will then look for files in upload_dir (as specified in drive.cfg) and upload them to google drive. If no errors occur, it will then add formatted links and hash information to the drive.links file.