Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
tor-browser-build
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Container registry
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
The Tor Project
Applications
tor-browser-build
Commits
ba52be71
Verified
Commit
ba52be71
authored
3 months ago
by
boklm
Committed by
Pier Angelo Vendrame
3 months ago
Browse files
Options
Downloads
Patches
Plain Diff
Bug 41448: Check for more toolchain updates
parent
23f1ab0d
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!1212
Bug 41448: Desktop toolchain update
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
projects/firefox/config
+6
-3
6 additions, 3 deletions
projects/firefox/config
projects/firefox/list_toolchain_updates_checks
+48
-0
48 additions, 0 deletions
projects/firefox/list_toolchain_updates_checks
with
54 additions
and
3 deletions
projects/firefox/config
+
6
−
3
View file @
ba52be71
...
...
@@ -58,6 +58,9 @@ var:
l10n-changesets
:
'
[%
exec("git
--no-pager
show
"
_
c("git_hash")
_
":browser/locales/l10n-changesets.json",
{
exec_noco
=>
1
})
%]'
windows_rs_version
:
'
0.58.0'
windows_rs_sha256sum
:
dd04d41d93c4992d421894c18c8b43496aa748dd4c081bac0dc93eb0489272b6
steps
:
src-tarballs
:
filename
:
'
src-[%
project
%]-[%
c("version")
%].tar.xz'
...
...
@@ -220,10 +223,10 @@ input_files:
enable
:
'
[%
c("var/windows")
%]'
target_prepend
:
-
torbrowser-windows-x86_64
-
URL
:
https://crates.io/api/v1/crates/windows/
0.58.0
/download
-
URL
:
'
https://crates.io/api/v1/crates/windows/
[%
c("var/windows_rs_version")
%]
/download
'
name
:
windows-rs
filename
:
windows-rs-
0.58.0
.tar.zst
sha256sum
:
dd04d41d93c4992d421894c18c8b43496aa748dd4c081bac0dc93eb0489272b6
filename
:
'
windows-rs-
[%
c("var/windows_rs_version")
%]
.tar.zst
'
sha256sum
:
'
[%
c("var/windows_rs_sha256sum")
%]'
enable
:
'
[%
c("var/windows")
%]'
-
filename
:
abicheck.cc
enable
:
'
[%
c("var/linux")
%]'
...
...
This diff is collapsed.
Click to expand it.
projects/firefox/list_toolchain_updates_checks
+
48
−
0
View file @
ba52be71
...
...
@@ -2,6 +2,30 @@
[
% INCLUDE
'list_toolchain_updates-common-firefox-geckoview'
%]
[
% IF c
(
"var/linux"
)
%]
read
-d
''
p
<<
'
EOF
' || true
my
$d
= YAML::XS::LoadFile('taskcluster/kinds/toolchain/misc.yml');
my
$fetches
=
$d
->{'linux64-binutils'}{fetches}{fetch};
if (ref
$fetches
ne 'ARRAY') {
print STDERR "linux64-binutils/fetches/fetch is not an array
\\
n";
exit 1;
}
foreach my
$fetch
(@
$fetches
) {
if (
$fetch
=~ m/^binutils-(.+)
$/
) {
print
$1
;
exit 0;
}
}
print STDERR "binutils not found in fetches
\\
n";
exit 1
EOF
needed
=
$(
perl
-MYAML
::XS
-e
"
$p
"
)
current
=
'[% pc("binutils", "version") %]'
check_update_needed binutils
"
$needed
"
"
$current
"
# End of Linux checks
[
% END -%]
[
% IF c
(
"var/macos"
)
%]
# macosx-sdk
read
-d
''
p
<<
'
EOF
' || true
...
...
@@ -71,6 +95,30 @@ needed=$(perl -MYAML::XS -e "$p")
current
=
'[% pc("fxc2", "git_hash") %]'
check_update_needed fxc2
"
$needed
"
"
$current
"
read
-d
''
p
<<
'
EOF
' || true
my
$d
= YAML::XS::LoadFile('taskcluster/kinds/fetch/toolchains.yml');
my
$url
=
$d
->{'windows-rs'}{fetch}{url};
if (
$url
=~ m|crates/windows/(.+)/download
$|
) {
print
$1
;
exit 0;
}
print STDERR "windows-rs url not found (
$url
)
\\
n";
exit 1
EOF
needed
=
$(
perl
-MYAML
::XS
-e
"
$p
"
)
current
=
'[% c("var/windows_rs_version") %]'
check_update_needed windows-rs
"
$needed
"
"
$current
"
read
-d
''
p
<<
'
EOF
' || true
my
$d
= YAML::XS::LoadFile('taskcluster/kinds/fetch/toolchains.yml');
my
$sha256
=
$d
->{'windows-rs'}{fetch}{sha256};
exit 1 unless
$sha256
;
print
$sha256
;
EOF
needed
=
$(
perl
-MYAML
::XS
-e
"
$p
"
)
current
=
'[% c("var/windows_rs_sha256sum") %]'
check_update_needed windows-rs-sha256sum
"
$needed
"
"
$current
"
# End of Windows checks
[
% END -%]
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
sign in
to comment