boklm pushed to branch maint-12.0 at The Tor Project / Applications / tor-browser-build

Commits:

3 changed files:

Changes:

  • Makefile
    ... ... @@ -223,6 +223,12 @@ dmg2mar-alpha: submodule-update
    223 223
     	tools/update-responses/download_missing_versions alpha
    
    224 224
     	CHECK_CODESIGNATURE_EXISTS=1 MAR_SKIP_EXISTING=1 tools/update-responses/gen_incrementals alpha
    
    225 225
     
    
    226
    +list_translation_updates-release:
    
    227
    +	$(rbm) showconf --target release --step list_updates translation list_updates
    
    228
    +
    
    229
    +list_translation_updates-alpha:
    
    230
    +	$(rbm) showconf --target alpha --step list_updates translation list_updates
    
    231
    +
    
    226 232
     list_toolchain_updates-fenix: submodule-update
    
    227 233
     	$(rbm) build fenix --step list_toolchain_updates --target nightly --target torbrowser-android-armv7
    
    228 234
     
    

  • projects/translation/config
    ... ... @@ -30,3 +30,17 @@ steps:
    30 30
         targets:
    
    31 31
           nightly:
    
    32 32
             git_hash: 'fenix-torbrowserstringsxml'
    
    33
    +  list_updates:
    
    34
    +    list_updates: |
    
    35
    +      [%
    
    36
    +        FOREACH component = [ 'base-browser', 'base-browser-fluent', 'tor-browser', 'fenix' ];
    
    37
    +          branch = pc(project, 'git_hash', { step => component, target => [ 'nightly' ] });
    
    38
    +          commit_hash = exec('git rev-parse ' _ branch, { git_hash => branch });
    
    39
    +          IF commit_hash == pc(project, "git_hash", { step => component });
    
    40
    +            GET '* ' _ component _ " is up to date\n";
    
    41
    +          ELSE;
    
    42
    +            GET '* ' _ component _ ' can be updated: ' _ commit_hash _ "\n";
    
    43
    +          END;
    
    44
    +        END;
    
    45
    +        -%]
    
    46
    +    fetch: 1

  • tools/get-translation-hashes deleted
    1
    -#!/bin/bash
    
    2
    -
    
    3
    -cd "$(dirname "$0")/../git_clones/translation"
    
    4
    -git fetch > /dev/null 2>&1
    
    5
    -
    
    6
    -echo -n "base-browser: "
    
    7
    -git rev-parse origin/base-browser
    
    8
    -echo -n "base-browser-fluent: "
    
    9
    -git rev-parse origin/basebrowser-newidentityftl
    
    10
    -echo -n "tor-browser: "
    
    11
    -git rev-parse origin/tor-browser
    
    12
    -echo -n "fenix: "
    
    13
    -git rev-parse origin/fenix-torbrowserstringsxml