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

[tor-commits] [Git][tpo/applications/tor-browser-build][main] Bug 41687: Add single `make list_toolchain_updates` command to list all toolchain updates



Title: GitLab

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:

Changes:

  • Makefile
    ... ... @@ -554,6 +554,9 @@ list_translation_updates-release:
    554 554
     list_translation_updates-alpha:
    
    555 555
     	$(rbm) showconf --target alpha --step list_updates translation list_updates
    
    556 556
     
    
    557
    +list_toolchain_updates:
    
    558
    +	tools/list_toolchain_updates
    
    559
    +
    
    557 560
     list_toolchain_updates-firefox-linux: submodule-update
    
    558 561
     	$(rbm) build firefox --step list_toolchain_updates --target nightly --target torbrowser-linux-x86_64
    
    559 562
     
    

  • tools/list_toolchain_updates
    1
    +#!/bin/bash
    
    2
    +#
    
    3
    +# This script runs all `make list_toolchain_updates-*` commands, save
    
    4
    +# their outputs to a file (tmp/toolchain_updates.txt) and print it
    
    5
    +# (again) at the end.
    
    6
    +#
    
    7
    +set -e
    
    8
    +
    
    9
    +script_dir=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
    
    10
    +cd "$script_dir"/..
    
    11
    +
    
    12
    +output_file="$script_dir/../tmp/toolchain_updates.txt"
    
    13
    +
    
    14
    +rm -f "$output_file"
    
    15
    +
    
    16
    +function list_toolchain_updates {
    
    17
    +  for cmd in \
    
    18
    +    list_toolchain_updates-firefox-linux \
    
    19
    +    list_toolchain_updates-firefox-windows \
    
    20
    +    list_toolchain_updates-firefox-macos \
    
    21
    +    list_toolchain_updates-application-services \
    
    22
    +    list_toolchain_updates-geckoview
    
    23
    +  do
    
    24
    +    line_title="** $cmd **"
    
    25
    +    line_size=$(echo "$line_title" | wc -m)
    
    26
    +    line_line=$(perl -e 'print "*" x ('$line_size' - 1), "\n"')
    
    27
    +    echo "$line_line"; echo "$line_title"; echo "$line_line"; echo
    
    28
    +    make -s $cmd
    
    29
    +    echo; echo; echo "$line_line"; echo "$line_line"; echo; echo
    
    30
    +  done
    
    31
    +}
    
    32
    +
    
    33
    +list_toolchain_updates | tee -a "$output_file"
    
    34
    +
    
    35
    +echo "See also tmp/toolchain_updates.txt"

  • _______________________________________________
    tor-commits mailing list -- tor-commits@xxxxxxxxxxxxxxxxxxxx
    To unsubscribe send an email to tor-commits-leave@xxxxxxxxxxxxxxxxxxxx