[tor-commits] [Git][tpo/applications/tor-browser-build][main] 2 commits: Bug 41259: Skip versions which don't set incremental_from when generating incrementals

morgan (@morgan) git at gitlab.torproject.org
Mon Oct 7 16:34:38 UTC 2024



morgan pushed to branch main at The Tor Project / Applications / tor-browser-build


Commits:
f61208a8 by Nicolas Vigier at 2024-10-07T09:40:47+02:00
Bug 41259: Skip versions which don't set incremental_from when generating incrementals

Also don't set `incremental_from` for the legacy version in
update_responses config.

- - - - -
f27b3742 by Nicolas Vigier at 2024-10-07T09:46:47+02:00
Bug 41259: Don't set legacy version for Mullvad Browser

- - - - -


2 changed files:

- projects/release/update_responses_config.yml
- tools/update-responses/update_responses


Changes:

=====================================
projects/release/update_responses_config.yml
=====================================
@@ -72,12 +72,11 @@ versions:
             minSupportedInstructionSet: SSE2
         linux-x86_64:
             minSupportedInstructionSet: SSE2
-[% IF c("var/torbrowser_legacy_version") -%]
+[% IF c("var/tor-browser") && c("var/torbrowser_legacy_version") -%]
     [% c("var/torbrowser_legacy_version") %]:
         mar_channel_id: [% c('var/mar_channel_id') %]
         platformVersion: [% c('var/torbrowser_legacy_platform_version') %]
         detailsURL: https://blog.torproject.org/new[% IF c("var/alpha") %]-alpha[% END %]-release-tor-browser-[% c("var/torbrowser_legacy_version") FILTER remove('\.') %]
-        incremental_from: []
         # minSupportedOsVersion on macOS corresponds to the Darwin version ( https://en.wikipedia.org/wiki/Darwin_(operating_system) )
         macos:
             # macOS v10.12.0


=====================================
tools/update-responses/update_responses
=====================================
@@ -702,6 +702,7 @@ my %actions = (
         exit_error "Unknown channel" unless $config->{channels}{$channel};
         my $versions = as_array($config->{channels}{$channel});
         foreach my $version (@$versions) {
+            next unless $config->{versions}{$version}{incremental_from};
             extract_martools($config, $version);
             get_version_files($config, $version);
             create_incremental_mars_for_version($config, $version, $channel);



View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/compare/ab31d9420de21724c4a1f11e266f77977d090679...f27b37421deb3dd27fb76ee40cfb6ec77c9012a2

-- 
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/compare/ab31d9420de21724c4a1f11e266f77977d090679...f27b37421deb3dd27fb76ee40cfb6ec77c9012a2
You're receiving this email because of your account on gitlab.torproject.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.torproject.org/pipermail/tor-commits/attachments/20241007/44a880bf/attachment-0001.htm>


More information about the tor-commits mailing list