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
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
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
Thomas Schönauer
7cdaefe3b0
--yes flag support on freebsd ( #198 )
...
* Adds freebsd yes flag support
* Fixes freebsd update functions
* Missing semicolon
* Adds Step dependency to freebsd.rs
* Change freebsd to status_checked
2022-11-23 15:24:58 +00:00
Guilherme Silva
22ed1ef50a
CI: Add NetBSD target ( #180 )
...
* Remove the `sys-info` crate
It offers much more features than we currently use.
Additionally, it was preventing me to cross-compile for NetBSD.
Since we were just using the `hostname()` function from the crate,
I went ahead and stole it.
* Add NetBSD target
* Fix FreeBSD clippy warnings
2022-11-23 15:24:58 +00:00
Rebecca Turner
d8add139e1
Add Treesitter support to Vim upgrade ( #184 )
...
* Add `:TSUpdate` to Vim upgrade
* Reformat `freebsd.rs`
Co-authored-by: Thomas Schönauer <37108907+DottoDev@users.noreply.github.com >
2022-11-23 15:24:58 +00:00
Thomas Schönauer
04a8d960a9
Revert " Fix unattended package upgrades on FreeBSD" ( #188 )
...
Revert " Fix unattended package upgrades on FreeBSD (#181 )"
This reverts commit a0ad83a58b .
2022-11-23 15:24:58 +00:00
Yonas Yanfa
2c6a8f73fa
Fix unattended package upgrades on FreeBSD ( #181 )
...
* Fix unattended package upgrades on FreeBSD
* Fix unattended package upgrades on FreeBSD
Co-authored-by: Thomas Schönauer <37108907+DottoDev@users.noreply.github.com >
2022-11-23 15:24:58 +00:00
Guilherme Silva
761ffac127
Fix compilation on FreeBSD ( #175 )
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
Roey Darwish Dror
348d115ba7
Fix FreeBSD
2019-03-13 14:11:17 +02:00
Roey Darwish Dror
1095f46a8a
Remove execute legacy
2019-03-10 21:48:49 +02:00
Roey Darwish Dror
39d4100591
Fix a warning
2019-01-01 10:20:41 +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