Commit Graph

79 Commits

Author SHA1 Message Date
GideonBear
b00c4c1503 chore: upgrade to edition 2024
Co-authored-by: Ehren Bendler <a5ehren@gmail.com>
2025-11-23 13:26:47 +01:00
Gideon
639d055f9a feat: print summary and run post commands when (q)uit is used (#1254) 2025-11-15 10:03:46 +01:00
Andre Toerien
ad9f2c2ccb feat(sudo): print warning if steps were skipped due to missing sudo 2025-09-28 15:38:30 +02:00
Andre Toerien
7c7e7c3ce4 Fix "WSL already reported" panic (#1344) 2025-09-28 08:25:10 +02:00
Stuart Reilly
30941ed26d Drop lazy_static (#1168)
Co-authored-by: Stuart Reilly <sreilly@scottlogic.com>
2025-06-12 14:32:29 +08: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
Kevin Gavrois
7db991db9d Merge code for desktop notification between MacOS and Linux (#438) 2023-05-26 10:07:14 +02:00
Roey Darwish Dror
ddb1a021bb Display the preamble in Linux only if notify-send is installed (#401) 2023-04-05 12:34:47 +00:00
Thomas Schönauer
ab630cfbc6 v10.2.5 release (#330)
* Don't show desktop notification on error (if `skip_notify = true`) (#275)

* Use ─ (U+2500) to draw borders (#282)

* Adds Pclinuxos support (#283)

* Add Devkitpro Pacman support (#291)

* Added support for Neovim package manager lazy.nvim (#293)

* Added support for lazy.nvim

From https://github.com/folke/lazy.nvim
Authored-by: Jacob Lane Ledbetter <jledbetter460@gmail.com>

* Make garuda-update update AUR packages by default (#296)

* fix(#298): Don't throw error if no Helm repository found (#305)

* Skip .NET when `dotnet tool list` is not successful (#302)

* feat(pacstall): add `-y` flag variant (#312)

* Add openSUSE MicroOS support (#315)

* Adds notify-send timeout of 10s (#318)

* Don't run yum when rpm-ostree is available (#313)

* don't run yum when rpm-ostree is available

* Clippy fix

* rpm-ostree: set default value to true

* Fixes if loop error

* Fixes gem update --system requires sudo now (#317)

* Fixes gem update --system requires sudo now

* rubygem: Adds arg -EH to sudo

* Use fixed nala path instead of which(nala) (#314)

* Adds notify-send bug warning when topgrade is run (#324)

* Adds notify-send bug warning when topgrade is run

* fix typo + clippy

* notify-send warning respects skip_notify flag

* nix: Adds additional arguments support (#325)

* Adds pip-review and pipupgrade support (#316)

* Adds pip-review and pipupgrade support

* Python: fixes pip_review and pipupgrade

* v10.2.5 patch (#329)

* WSL: Adds new wsl --update flags (#327)

* wsl: Updates available flags

* Clippy fix

* Add WslUpdate runner

* wsl: Code Typo

* wsl: Code Typos

* wsl: Code Typos

* wsl: Code Typo

* Adds AM Package Manager (#328)

* Adds AM Package Manager

* Clippy fixes

* Cargo fmt

* Moves am to linux only in main file

---------

Co-authored-by: Guilherme Silva <626206+guihkx@users.noreply.github.com>
Co-authored-by: Gabriel Augendre <gabriel@augendre.info>
Co-authored-by: Cat Core <34719527+arthurbambou@users.noreply.github.com>
Co-authored-by: Hugo Haas <hugoh@hugoh.net>
Co-authored-by: Baptiste <32563450+BapRx@users.noreply.github.com>
Co-authored-by: bbx0 <39773919+bbx0@users.noreply.github.com>
Co-authored-by: Sourajyoti Basak <wiz28@protonmail.com>
2023-01-29 19:19:27 +00:00
pwygab
b4c5efde50 Fix small typo in warning when notify-send fails (#319)
Fix small typo
2023-01-27 20:52:20 +00:00
Thomas Schönauer
81928f55a2 Fix notify not available (#257) 2022-12-15 11:34:18 +00:00
Rebecca Turner
41e2321b93 Use tracing (#174) 2022-11-23 15:24:58 +00:00
Rebecca Turner
022afab1ca Print errors when steps fail (#171) 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
Thomas Schönauer
347372ca71 Resolves clippy errors, please review!!! (#60) 2022-10-23 11:34:30 +00:00
Roey Darwish Dror
af3f5ddc76 Desktop notifications show step in summary (#920)
Fixes #918
2022-05-09 23:02:42 +03:00
Roey Darwish Dror
591f23e2f7 No 'failed step' notification (#917) 2022-05-06 12:44:27 +03:00
Sandro
9ed518c82a Always display quit (#894)
you can always press q to quit so it should also always be displayed
2022-04-11 19:46:16 +03:00
Roey Darwish Dror
13104a029c Add option to control the time display (fix #860) 2022-03-29 03:48:02 +03: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
497fc4f97e Set IN_TOPGRADE when running the interactive shell (fix #752) 2021-09-02 06:04:04 +03:00
Roey Darwish Dror
0fe0c70b2b Use console's read_key instead of read_char (#629)
read_char returns an error if keys such as CapsLock are pressed
2021-02-13 06:26:50 +02:00
Roey Darwish Dror
440ad06768 Don't crash when can't read a character from the terminal 2021-01-30 14:57:35 +02:00
Roey Darwish Dror
35c47a529d Send a notification at the end of the run (fix #554) 2020-11-04 11:31:09 +02:00
Roey Darwish Dror
a1789e1b0a Remove debug print 2020-08-26 22:33:10 +03:00
Roey Darwish Dror
1317e51096 Proper ctrl+c handling in Windows (fix #508) 2020-08-26 22:30:38 +03:00
Roey Darwish Dror
417ca1257a Add --show-skipped (fix #501) (#502) 2020-08-21 23:04:36 +03:00
Roey Darwish Dror
5c7f04c2cf Add ability to ignore certain failures (#461) 2020-07-02 11:15:56 +03:00
Roey Darwish Dror
4d8dc69e7f Ask before installing macOS upgrades (#433) 2020-06-15 15:43:59 +03:00
Roey Darwish Dror
16efada11b Desktop notifications for Linux (#353)
* Enable desktop notifications for Linux

* Fix macOS

* Fix unused variable

* Add missing message

* Pass a title to notify-send
2020-03-03 13:30:09 +02:00
Roey Darwish Dror
2392124f71 Add a configuration variable to display a notification at the be… (#345) 2020-02-27 13:30:55 +02:00
Roey Darwish Dror
b049151993 Desktop notifications in macOS #285 2020-01-03 10:26:21 +02:00
Roey Darwish Dror
78cfffb73b Add a flag to control setting the terimnal title (fix #194) 2019-09-05 20:52:51 +03:00
Roey Darwish Dror
f6d761d15c Use the upstream's set console title 2019-08-26 21:06:55 +03:00
Roey Darwish Dror
2392a8bf9b Fix custom steps in Windows (fix #205) 2019-08-22 21:46:06 +03:00
Roey Darwish Dror
4ae0263e0d Support PowerShell core (fix #189) 2019-08-15 08:46:54 +03:00
Roey Darwish Dror
a7b1ad31f1 Set the terminal title according to the current step 2019-07-31 13:44:41 +03:00
Roey Darwish Dror
b6e838bab0 Add -k flag 2019-06-16 09:09:05 +03:00
Roey Darwish Dror
a834a79f45 Add reboot and shell ability in pause 2019-06-16 08:32:50 +03:00
Roey Darwish Dror
e5d0f4cbfa Implemented the pause in tmux in a different way 2019-06-13 16:22:03 +03:00
Roey Darwish Dror
5b179d93d9 Run WSL in Topgrade if present (fix #163) 2019-06-04 14:56:49 +03:00
Roey Darwish Dror
a3af9144ae Bring back the default option for retry (fix #159) 2019-05-27 10:35:51 +03:00
Roey Darwish Dror
90c3420743 Add an option to drop you into shell for fixing a step 2019-05-23 19:54:18 +03:00
Roey Darwish Dror
48653f555d Show timestamps (fix #156) 2019-05-22 10:33:48 +03:00