boklm pushed to branch main at The Tor Project / Applications /
tor-browser-build
Commits:
610c0219 by Nicolas Vigier at 2026-01-26T12:04:07+01:00
Bug 41687: Add single `make list_toolchain_updates` command to list all
toolchain updates
- - - - -
2 changed files:
- Makefile
- + tools/list_toolchain_updates
Changes:
=====================================
Makefile
=====================================
@@ -554,6 +554,9 @@ list_translation_updates-release:
list_translation_updates-alpha:
$(rbm) showconf --target alpha --step list_updates translation
list_updates
+list_toolchain_updates:
+ tools/list_toolchain_updates
+
list_toolchain_updates-firefox-linux: submodule-update
$(rbm) build firefox --step list_toolchain_updates --target nightly
--target torbrowser-linux-x86_64
=====================================
tools/list_toolchain_updates
=====================================
@@ -0,0 +1,35 @@
+#!/bin/bash
+#
+# This script runs all `make list_toolchain_updates-*` commands, save
+# their outputs to a file (tmp/toolchain_updates.txt) and print it
+# (again) at the end.
+#
+set -e
+
+script_dir=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
+cd "$script_dir"/..
+
+output_file="$script_dir/../tmp/toolchain_updates.txt"
+
+rm -f "$output_file"
+
+function list_toolchain_updates {
+ for cmd in \
+ list_toolchain_updates-firefox-linux \
+ list_toolchain_updates-firefox-windows \
+ list_toolchain_updates-firefox-macos \
+ list_toolchain_updates-application-services \
+ list_toolchain_updates-geckoview
+ do
+ line_title="** $cmd **"
+ line_size=$(echo "$line_title" | wc -m)
+ line_line=$(perl -e 'print "*" x ('$line_size' - 1), "\n"')
+ echo "$line_line"; echo "$line_title"; echo "$line_line"; echo
+ make -s $cmd
+ echo; echo; echo "$line_line"; echo "$line_line"; echo; echo
+ done
+}
+
+list_toolchain_updates | tee -a "$output_file"
+
+echo "See also tmp/toolchain_updates.txt"
View it on GitLab:
https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/commit/610c02193e08132e227bb94925d3684d782e5299
--
View it on GitLab:
https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/commit/610c02193e08132e227bb94925d3684d782e5299
You're receiving this email because of your account on gitlab.torproject.org.
_______________________________________________
tor-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]