Ticket #22504: 0001-Bug-22504-change-the-update-responses-path.patch

File 0001-Bug-22504-change-the-update-responses-path.patch, 1.9 KB (added by boklm, 2 years ago)
  • processes/ReleaseProcess

    From 61aac70f6dae214fa22ab2ed59364229943d365a Mon Sep 17 00:00:00 2001
    From: Nicolas Vigier <boklm@torproject.org>
    Date: Tue, 6 Jun 2017 11:34:04 +0200
    Subject: [PATCH] Bug 22504: change the update responses path
    
    Change update_2 to update_3, and use aus1.tpo instead of dist.tpo.
    ---
     processes/ReleaseProcess | 7 ++++---
     1 file changed, 4 insertions(+), 3 deletions(-)
    
    diff --git a/processes/ReleaseProcess b/processes/ReleaseProcess
    index 09d38d7..e4d261e 100644
    a b  
    166166   chmod 664 htdocs/${TORBROWSER_UPDATE_CHANNEL}/*
    167167   chmod 664 htdocs/${TORBROWSER_UPDATE_CHANNEL}/.htaccess
    168168   chmod 775 htdocs/${TORBROWSER_UPDATE_CHANNEL}/
    169    torsocks ssh staticiforme.torproject.org "rm -rf /srv/dist-master.torproject.org/htdocs/torbrowser/update_2/${TORBROWSER_UPDATE_CHANNEL}/*"
    170    torsocks rsync -avP htdocs/$TORBROWSER_UPDATE_CHANNEL staticiforme.torproject.org:/srv/dist-master.torproject.org/htdocs/torbrowser/update_2/
    171    torsocks ssh staticiforme.torproject.org "chown -R :torwww /srv/dist-master.torproject.org/htdocs/torbrowser/update_2/${TORBROWSER_UPDATE_CHANNEL}/*"
     169   torsocks ssh staticiforme.torproject.org "rm -rf /srv/aus1-master.torproject.org/htdocs/torbrowser/update_3/${TORBROWSER_UPDATE_CHANNEL}/*"
     170   torsocks rsync -avP htdocs/$TORBROWSER_UPDATE_CHANNEL staticiforme.torproject.org:/srv/aus1-master.torproject.org/htdocs/torbrowser/update_3/
     171   torsocks ssh staticiforme.torproject.org "chown -R :torwww /srv/aus1-master.torproject.org/htdocs/torbrowser/update_3/${TORBROWSER_UPDATE_CHANNEL}/*"
     172   torsocks ssh staticiforme.torproject.org "static-update-component aus1.torproject.org"
    172173   # Finally, remove old version as we point the update channel at the new version.
    173174   # XXX: CAREFUL! $OLD_TOR_BROWSER_VERSION must be set!
    174175   torsocks ssh staticiforme.torproject.org "rm -rf /srv/dist-master.torproject.org/htdocs/torbrowser/$OLD_TORBROWSER_VERSION"