Andre Toerien
0dee534f84
fix(sudo): reorder require_sudo() after print_separator()
2025-09-28 15:38:30 +02:00
Andre Toerien
a95dd1e037
refactor: route sudo usage through Sudo::execute*
2025-08-06 15:21:51 +02:00
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
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
Ned Wolpert
78dc567226
Added an Audit step for FreeBSD and DragonFly packagees. ( #640 )
...
* Added an Audit step for FreeBSD and DragonFly.
Allows for auditing the packages to be disabled since they are breaking steps.
Current behaivor is the default, where if the audit fails topgrade stops. Can
be disabled in the [misc] section independenly from other sections
2024-01-08 09:40:01 +08:00
Zach Crownover
1f6baefdc3
Fix builds and runs on DragonFly BSD ( #569 )
2023-10-08 08:13:26 +08:00
SteveLauC
1ec0ac50a5
fix: fix Linux and DragonFlyBSD yes option ( #513 )
2023-07-25 08:37:03 +08:00
signed-log
1ce4d66e74
Ass assume-yes to DragonflyBSD ( #502 )
...
Add assume-yes to DragonflyBSD
2023-07-17 11:40:00 +08:00
SteveLauC
30858780cf
refactor: unify the behavior of the steps that require sudo ( #467 )
2023-06-13 14:15:57 +00:00
SteveLauC
658829e4ff
refactor: make update fn take &ExectionContext & put update fn together ( #457 )
2023-06-02 20:20:42 +00:00
SteveLauC
76c39edc8b
refactor: make all step functions take &ExectutionContext ( #436 )
2023-05-25 09:09:23 +02:00
Guilherme Silva
e26ec4d9e0
Fix clippy warning for DragonFly BSD ( #231 )
2022-11-26 17:52:14 +00:00
Rebecca Turner
b31778bdd8
Add Sudo type ( #221 )
...
* Create `Sudo` type and `SudoKind` enum
* Fix build
* reformat
* Fix choco on windows
* Fix linux
* Fix linux more
* more fix stuff hehe hoho hahaha
* more fix stuff hehe hoho hahaha
Co-authored-by: Thomas Schönauer <37108907+DottoDev@users.noreply.github.com >
2022-11-25 22:19:32 +00:00
Guilherme Silva
b4407963ad
Fix compilation on DragonFly BSD ( #210 )
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
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
dd61835332
Fix BSDs ( fix #519 )
2020-09-06 19:43:14 +03:00
Roey Darwish Dror
3c67e53d88
Fix compilation in FreeBSD and DragonflyBSD ( #289 )
2020-01-06 22:33:32 +02:00
Roey Darwish Dror
ba516aa1dd
Migrate from failure to anyhow/thiserror ( #273 )
2019-12-11 23:05:38 +02:00
Zach Crownover
e8ed0d996c
Add DragonFly BSD support ( #176 )
2019-06-26 08:47:36 +03:00