Skip to content

Commit

Permalink
[rust] Automated Firefox management (#11680 and #11682) (#12582)
Browse files Browse the repository at this point in the history
* [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
  • Loading branch information
bonigarcia committed Aug 23, 2023
1 parent 47ec6f6 commit f6bd738
Show file tree
Hide file tree
Showing 18 changed files with 1,982 additions and 376 deletions.
866 changes: 810 additions & 56 deletions rust/Cargo.Bazel.lock

Large diffs are not rendered by default.

179 changes: 165 additions & 14 deletions rust/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions rust/Cargo.toml
Expand Up @@ -29,6 +29,8 @@ infer = "0.14.0"
exitcode = "1.1.2"
is_executable = "1.0.1"
toml = "0.7.6"
bzip2 = "0.4.4"
sevenz-rust = "0.5.0"

[dev-dependencies]
assert_cmd = "2.0.12"
Expand Down
2 changes: 2 additions & 0 deletions rust/README.md
Expand Up @@ -59,6 +59,8 @@ Options:
Offline mode (i.e., disabling network requests and downloads)
--force-browser-download
Force to download browser. Currently Chrome for Testing (CfT) is supported
--avoid-browser-download
Avoid to download browser (even when browser-version is specified)
-h, --help
Print help
-V, --version
Expand Down

0 comments on commit f6bd738

Please sign in to comment.