Skip to content

Commit f6bd738

Browse files
authored
[rust] Automated Firefox management (#11680 and #11682) (#12582)
* [rust] Automated Firefox management (Linux) (#11680) * [rust] Automated Firefox management (macOS) (#11680) * [rust] Automated Firefox management (Windows) (#11680) * [rust] Refactoring and improving logs * [rust] Include test for downloading latest Firefox version * [rust] SM downloads fixed version of Firefox browser (#11682) * [rust] Update cargo lock file * [rust] Complete automated Firefox management when a version is specified * [rust] Include argument --avoid-browser-download * [rust] Error in unsupported browser download functions in different modules * [rust] Include logic to uncompress dmg files (required in Firefox nightly in macOS) * [rust] Improve command to move pkg payload * [rust] Support downloading Firefox versions lower than 68 * [rust] Improve condition to display warning due to driver in path * [rust] Rename resolve driver function to setup * [rust] Replace crate bzip2-rs with bzip2
1 parent 47ec6f6 commit f6bd738

18 files changed

+1982
-376
lines changed

rust/Cargo.Bazel.lock

Lines changed: 810 additions & 56 deletions
Large diffs are not rendered by default.

rust/Cargo.lock

Lines changed: 165 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

rust/Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ infer = "0.14.0"
2929
exitcode = "1.1.2"
3030
is_executable = "1.0.1"
3131
toml = "0.7.6"
32+
bzip2 = "0.4.4"
33+
sevenz-rust = "0.5.0"
3234

3335
[dev-dependencies]
3436
assert_cmd = "2.0.12"

rust/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,8 @@ Options:
5959
Offline mode (i.e., disabling network requests and downloads)
6060
--force-browser-download
6161
Force to download browser. Currently Chrome for Testing (CfT) is supported
62+
--avoid-browser-download
63+
Avoid to download browser (even when browser-version is specified)
6264
-h, --help
6365
Print help
6466
-V, --version

0 commit comments

Comments
 (0)