[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-bugs] #26234 [Applications/Tor Browser]: Add support in update_responses for redirecting old versions to a separate directory



#26234: Add support in update_responses for redirecting old versions to a separate
directory
---------------------------------------------+-----------------------------
 Reporter:  boklm                            |          Owner:  tbb-team
     Type:  task                             |         Status:
                                             |  needs_review
 Priority:  Medium                           |      Milestone:
Component:  Applications/Tor Browser         |        Version:
 Severity:  Normal                           |     Resolution:
 Keywords:  ff60-esr, TorBrowserTeam201806R  |  Actual Points:
Parent ID:  #26050                           |         Points:
 Reviewer:                                   |        Sponsor:
---------------------------------------------+-----------------------------
Changes (by boklm):

 * status:  new => needs_review
 * keywords:  ff60-esr, TorBrowserTeam201806 => ff60-esr,
     TorBrowserTeam201806R


Comment:

 There is a patch for review in branch `bug_26234_v2`:
 https://gitweb.torproject.org/user/boklm/tor-browser-
 build.git/commit/?h=bug_26234_v2&id=3cab74acf8a2f2a311c133544ccc8c00a43e00a2

 In this patch we add support for the `htaccess_rewrite_rules` option,
 which we can use in #26050 to redirect `7.5` users to a different
 directory containing the `8.0` update:
 {{{
 diff --git a/projects/release/update_responses_config.yml
 b/projects/release/update_responses_config.yml
 index 1a9b0cf..c9cd675 100644
 --- a/projects/release/update_responses_config.yml
 +++ b/projects/release/update_responses_config.yml
 @@ -23,6 +23,9 @@ build_targets:
      osx64: Darwin_x86_64-gcc3
  channels:
      [% pc('firefox', 'var/torbrowser_update_channel') %]: [%
 c("var/torbrowser_version") %]
 +htaccess_rewrite_rules:
 +    alpha: |
 +        RewriteRule ^([^/]+/7\.5.+/.*)
 https://aus1.torproject.org/torbrowser/update_watershed_7.5/alpha/$1
 [last]
  versions:
      [% c("var/torbrowser_version") %]:
  [% IF c("var/create_unsigned_incrementals") -%]
 }}}
 I did not check yet that the rewrite rule in this example is working
 correctly.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/26234#comment:2>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs