Commit Graph

28 Commits

Author SHA1 Message Date
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
SteveLauC
a2fbe92a25 refactor: make SelfUpdate a step (#585) 2023-10-18 12:19:53 +08:00
Thomas Schönauer
80a95cb404 Clippy (#331) 2023-01-29 19:31:37 +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
Thomas Schönauer
e161d3cd3c 10.1.2 (#162)
* Closes #150 please disable distrobox by default (#151)

* Check if distrobox exists before running step

* Improve help prompt value names (#153)

* 159 self update error message with standalone versions (#161)

* Rename back to topgrade

* Bugfix Version bump

* Changes reference to topgrade-rs in self-update

* Fixes distrobox errors (#160)

* Rename back to topgrade

* Bugfix Version bump

* Check if distrobox exists before running step

* Fixed sitrobox and version bump

* Version bump to 10.1.2

Co-authored-by: Marcin Puc <tranzystorek.io@protonmail.com>
2022-11-06 13:54:38 +00:00
pan93412
be0984cdf3 style(self_update): Run cargo fmt (#108)
The commit 9105a8aac is not formatted, which breaks the CI check.

Co-authored-by: Thomas Schönauer <37108907+DottoDev@users.noreply.github.com>
2022-11-02 14:55:59 +00:00
Sohum
9105a8aacf Fixes some references to the original topgrade repo (#41) 2022-11-02 10:10:16 +00:00
Roey Darwish Dror
39f455f184 Clippy last time 2021-09-02 16:08:58 +03:00
Roey Darwish Dror
6cddd57850 Bump self-update (#369) 2020-05-09 07:22:51 +03:00
Idan Katz
805cb34d6f Fix Clippy 1.43 warnings (#399) 2020-04-28 06:47:12 +03:00
Roey Darwish Dror
ba516aa1dd Migrate from failure to anyhow/thiserror (#273) 2019-12-11 23:05:38 +02:00
Roey Darwish Dror
0bbe81586a Make clippy happy in Windows 2019-10-01 20:32:32 +03:00
Roey Darwish Dror
bfbf7039e2 dependencies bump 2019-08-13 14:27:41 +03:00
Roey Darwish Dror
50a0563bb4 Implement respawn after upgrade in Windows 2019-06-04 09:36:09 +03:00
Roey Darwish Dror
2872081754 Make Clippy happy 2019-04-14 11:35:18 +03:00
Roey Darwish Dror
235df19ac5 No need for patched self_upgrade 2019-01-13 22:54:51 +02:00
Roey Darwish Dror
b88d41f3db Reduced multiple calls to context 2018-12-31 22:23:04 +02:00
Roey Darwish Dror
8e3727c73f Do not check for self upgrade if already upgraded 2018-12-23 13:23:42 +02:00
Roey Darwish Dror
ee54107d2a Print the changelog when updating 2018-12-23 13:17:53 +02:00
Roey Darwish Dror
370310948b Better error model 2018-12-12 13:03:06 +02:00
Roey Darwish Dror
39faab0a12 Stop passing the terminal object 2018-12-05 12:59:53 +02:00
Roey Darwish Dror
f1de5fd545 Fix Windows build 2018-11-26 14:39:56 +02:00
Roey Darwish Dror
bbb276089d Move self-update to a module 2018-11-26 14:27:19 +02:00