boklm pushed to branch main at The Tor Project / Applications / tor-browser-build
Commits:
-
eda7d2c8
by Nicolas Vigier at 2023-01-12T12:29:55+01:00
4 changed files:
- .gitlab/issue_templates/Release Prep - Alpha.md
- Makefile
- projects/translation/config
- − tools/get-translation-hashes
Changes:
... | ... | @@ -121,7 +121,7 @@ Tor Browser Alpha (and Nightly) are on the `main` branch, while Stable lives in |
121 | 121 | - [ ] `git_hash` : update the `$(BUILD_N)` section to match `tor-browser` tag
|
122 | 122 | - [ ] ***(Optional)*** `var/firefox_platform_version` : update to latest `$(ESR_VERSION)` if rebased
|
123 | 123 | - [ ] Update `projects/translation/config`:
|
124 | - - [ ] run `tools/get-translation-hashes` to get updated hashes
|
|
124 | + - [ ] run `make list_translation_updates-alpha` to get updated hashes
|
|
125 | 125 | - [ ] `steps/base-browser/git_hash` : update with `HEAD` commit of project's `base-browser` branch
|
126 | 126 | - [ ] `steps/base-browser-fluent/git_hash` : update with `HEAD` commit of project's `basebrowser-newidentityftl` branch
|
127 | 127 | - [ ] `steps/tor-browser/git_hash` : update with `HEAD` commit of project's `tor-browser` branch
|
... | ... | @@ -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 |
... | ... | @@ -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 |
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 |