Commit Graph

39 Commits

Author SHA1 Message Date
Andre Toerien
32197f79f3 refactor: move RunType::execute to ExecutionContext 2025-08-06 15:21:51 +02:00
Stuart Reilly
75ac6808a1 Move step running into enum for dynamic ordering (#1188)
Co-authored-by: Stuart Reilly <sreilly@scottlogic.com>
2025-07-16 11:16:27 +02:00
Dan Sully
224bb96a98 chore: update toolchain to 1.84.1. apply clippy fixes & rustfmt (#1026)
* chore: update to stable toolchain. apply clippy fixes & rustfmt

* Bump MSRV

* Try MSRV without the patch version

* fix: pin toolchain to MSRV

* trying again

* fix dead code warning

---------

Co-authored-by: Dan Sully <dsully@users.noreply.github.com>
2025-02-03 11:24:57 +08:00
Florian Nagel
29c555c394 Add i18n by using rust i18n (#807)
* feat: initial i18n setup

* style: fmt

* feat: i18n support for new steps

* fix: build on Linux

* fix: build on Linux

* refactor: rm unused translation keys

---------

Co-authored-by: Steve Lau <stevelauc@outlook.com>
2024-10-03 18:47:35 +08:00
Brent Monning
6dab1e4f37 feat: adds xcodes step (#643) 2024-03-01 07:58:24 +08:00
Brent Monning
30c5b31e21 fix: softwareupdate under dry run (#668) 2024-01-27 14:57:10 +08:00
SteveLauC
30858780cf refactor: unify the behavior of the steps that require sudo (#467) 2023-06-13 14:15:57 +00:00
SteveLauC
76c39edc8b refactor: make all step functions take &ExectutionContext (#436) 2023-05-25 09:09:23 +02:00
Rebecca Turner
41e2321b93 Use tracing (#174) 2022-11-23 15:24:58 +00:00
Rebecca Turner
2cbb7db66d Use color_eyre (#173) 2022-11-23 15:24:58 +00:00
Rebecca Turner
e84173be8f Add CommandExt trait (#146)
* Color CI output

* Improve `CommandExt`

* Add comments explaining `#[allow]`s

* Remove useless `dead_code` annotation

* Improve error messages

* Print errors when running a shell errors

* fixup! Remove useless `dead_code` annotation
2022-11-23 15:24:58 +00:00
Thomas Schönauer
bd34a3bcd4 Revert "10.2.0 release " (#215)
Revert "10.2.0 release  (#213)"

This reverts commit 13076fcef6.
2022-11-23 16:23:00 +01:00
Thomas Schönauer
13076fcef6 10.2.0 release (#213) 2022-11-23 15:18:09 +00:00
pan93412
a7c2262537 refactor: Run cargo clippy --fix (#113) 2022-11-02 20:26:20 +00:00
Roey Darwish Dror
4e6f48caef Sparkle for updates (#950) 2022-06-17 11:10:21 +03:00
Roey Darwish Dror
8dd2eb7532 Remove silnite (fix #873) 2022-03-29 03:18:03 +03:00
Roey Darwish Dror
ab3ff0ecae Selective yes (fix #802) (#808)
* Selective yes flag (fix #802)

* Selective yes flag (fix #802)

* selective yes

* MacOS
2021-12-06 14:44:20 +02:00
Roey Darwish Dror
539b267eef Support rust 1.51.0 (#789) 2021-10-28 22:05:35 +03:00
Marcin Puc
1478d079ca Add minor refactorings (#754) 2021-09-04 21:01:19 +03:00
Roey Darwish Dror
cdc7c39d02 Add silnite support (fix #701) (#714) 2021-05-29 07:54:15 +03:00
Roey Darwish Dror
3e9bd9bc0f Remove msupdate (fix #698) (#699)
* Remove msupdate (fix #698)

* Unused imports
2021-04-28 10:55:54 +03:00
Roey Darwish Dror
f73c3ef31a Stop checking the return value of msupdate in macOS (fix #644) 2021-02-21 09:42:47 +02:00
Roey Darwish Dror
f5e6dc0fb3 Deprecate the brew cask step (fix #520) (#529) 2020-10-01 14:31:36 +03:00
Roey Darwish Dror
b8cca4e00c Don't use deprecated brew cask flag (fix #516) 2020-09-05 07:54:48 +03:00
Roey Darwish Dror
417ca1257a Add --show-skipped (fix #501) (#502) 2020-08-21 23:04:36 +03:00
Roey Darwish Dror
a817d1a25a macOS system updates should be treated as success if no updates are present 2020-08-11 10:49:33 +03:00
Roey Darwish Dror
25b6b97d38 Brew cask should only run in macos (fix #467) (#468) 2020-07-10 11:22:29 +03:00
Roey Darwish Dror
4d8dc69e7f Ask before installing macOS upgrades (#433) 2020-06-15 15:43:59 +03:00
Roey Darwish Dror
62a154bc27 MacPorts (fix #331) (#341) 2020-02-27 20:28:50 +02:00
Roey Darwish Dror
2b89f87a37 Microsoft update for macOS (fix #344) 2020-02-27 15:32:13 +02:00
Roey Darwish Dror
b5e5cb0b32 Add mas support for macOS (fix #307) 2020-01-28 16:22:17 +02:00
Roey Darwish Dror
7f92b56fa8 Remove redundant must_use 2019-12-21 15:32:58 +02:00
Roey Darwish Dror
ba516aa1dd Migrate from failure to anyhow/thiserror (#273) 2019-12-11 23:05:38 +02:00
Roey Darwish Dror
1095f46a8a Remove execute legacy 2019-03-10 21:48:49 +02:00
Roey Darwish Dror
f3f8f322d8 Add check_run() 2018-12-31 22:00:34 +02:00
Roey Darwish Dror
19de361775 Dry run fixup 2018-12-31 14:06:21 +02:00
Roey Darwish Dror
2cac8a7970 Cargo fmt 2018-12-31 13:34:56 +02:00
Roey Darwish Dror
957d73c634 Don't pass dry_run as a boolean to functions 2018-12-31 13:26:17 +02:00
Roey Darwish Dror
47a271af47 Modules refactor 2018-12-17 09:40:38 +02:00