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

[tor-commits] [Git][tpo/applications/tor-browser][tor-browser-115.2.0esr-13.0-1] fixup! Bug 4234: Use the Firefox Update Process for Base Browser.



Title: GitLab

richard pushed to branch tor-browser-115.2.0esr-13.0-1 at The Tor Project / Applications / Tor Browser

Commits:

  • 9b73a337
    by Pier Angelo Vendrame at 2023-09-06T22:20:01+00:00
    fixup! Bug 4234: Use the Firefox Update Process for Base Browser.
    
    Allow customizing the updater URL with config options.
    
    With this, we will not need sed hacks on tor-browser-build anymore.
    

3 changed files:

Changes:

  • build/application.ini.in
    ... ... @@ -52,5 +52,5 @@ ServerURL=@MOZ_CRASHREPORTER_URL@/submit?id=@MOZ_APP_ID@&version=@MOZ_APP_VERSIO
    52 52
     
    
    53 53
     #if MOZ_UPDATER
    
    54 54
     [AppUpdate]
    
    55
    -URL="" class="idiff left right deletion" style="background-color: #fac5cd;">https://aus1.torproject.org/torbrowser/update_3/%CHANNEL%/%BUILD_TARGET%/%VERSION%/ALL
    
    55
    +URL="" class="idiff left right addition" style="background-color: #c7f0d2;">@BB_UPDATER_URL@/%CHANNEL%/%BUILD_TARGET%/%VERSION%/ALL
    
    56 56
     #endif

  • build/moz.build
    ... ... @@ -75,6 +75,7 @@ if CONFIG["MOZ_APP_BASENAME"]:
    75 75
             "MAR_CHANNEL_ID",
    
    76 76
             "MOZ_APP_REMOTINGNAME",
    
    77 77
             "MOZ_CRASHREPORTER_URL",
    
    78
    +        "BB_UPDATER_URL",
    
    78 79
         ):
    
    79 80
             appini_defines[var] = CONFIG[var]
    
    80 81
     
    

  • build/moz.configure/update-programs.configure
    ... ... @@ -204,3 +204,19 @@ option(
    204 204
     
    
    205 205
     set_config("BASE_BROWSER_UPDATE", True, when="--enable-base-browser-update")
    
    206 206
     set_define("BASE_BROWSER_UPDATE", True, when="--enable-base-browser-update")
    
    207
    +
    
    208
    +
    
    209
    +# Updater URL
    
    210
    +# ==============================================================
    
    211
    +
    
    212
    +option(
    
    213
    +    "--with-updater-url",
    
    214
    +    default="https://aus1.torproject.org/torbrowser/update_3/",
    
    215
    +    nargs=1,
    
    216
    +    help="Set the updater URL",
    
    217
    +)
    
    218
    +
    
    219
    +set_config(
    
    220
    +    "BB_UPDATER_URL",
    
    221
    +    depends("--with-updater-url")(lambda x: x[0].rstrip("/")),
    
    222
    +)

  • _______________________________________________
    tor-commits mailing list
    tor-commits@xxxxxxxxxxxxxxxxxxxx
    https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits