Commit Graph

56 Commits

Author SHA1 Message Date
Ehren Bendler
a033152c60 Clippy fixes from rust 1.91 nightly (#1267) 2025-08-13 17:01:25 +02:00
Kian-Meng Ang
9f4cb8c1b6 feat: fix typos (#1221)
Co-authored-by: GideonBear <87426140+GideonBear@users.noreply.github.com>
2025-08-11 18:15:21 +02:00
Andre Toerien
a95dd1e037 refactor: route sudo usage through Sudo::execute* 2025-08-06 15:21:51 +02:00
Stuart Reilly
845558c1da Add support for multiple binary names and idea having multiple binaries (#1167)
Add support for tools to have multiple possible binaries because IntellIj IDEA on the AUR can have multiple depending on the edition.

[AUR Ultimate Edition](https://aur.archlinux.org/packages/intellij-idea-ultimate-edition) and [AUR Community Edition](https://aur.archlinux.org/packages/intellij-idea-community-edition-bin) renames the binary to `intellij-idea-ultimate-edition` and `intellij-idea-community-edition` respectively.
2025-06-17 11:52:58 +08:00
Gideon
fd406f0f82 Add output_changed_message!, replace some .expects (#1110) 2025-04-13 16:43:08 +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
SteveLauC
351922c81f feat: put step logs in a span (#746) 2024-03-16 14:17:19 +08:00
SteveLauC
c6d0539fd2 chore(deps): bump all deps (#618) 2023-11-24 07:50:41 +08:00
SteveLauC
a8c29fd1a2 fix: make logger work while loading config file (#581) 2023-10-17 11:19:47 +08:00
SteveLauC
57546a07fc fix(pip3): prefer python when available (#471) 2023-06-23 09:02:58 +00:00
SteveLauC
30858780cf refactor: unify the behavior of the steps that require sudo (#467) 2023-06-13 14:15:57 +00:00
PolpOnline
cb7adc8ced Added ability to include directories as an extension of the config file (#421) 2023-05-25 12:22:11 +02: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
Rebecca Turner
e456155562 Add pre_sudo option (#219)
* Add `pre_sudo` option
2022-11-24 19:15:43 +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
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
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
c4904bde3c Prefer doas over sudo (fix #576) (#578) 2020-12-07 20:45:45 +02:00
Seung-Li Maeda
c62a1149c8 Removes unnecessary duplication with a blanket implementation (#571) 2020-12-02 08:32:48 +02:00
Seung-Li Maeda
f9116dd0f3 Fixes issue with ohmyzsh returning 80 on a successful run (#570) 2020-12-02 05:56:12 +02:00
Roey Darwish Dror
417ca1257a Add --show-skipped (fix #501) (#502) 2020-08-21 23:04:36 +03:00
Roey Darwish Dror
e3d2d11e8a Make sure VIMRC doesn't contain \r (fix #476) (#482) 2020-07-21 09:09:37 +03:00
Roey Darwish Dror
065565240e Automatically detect gsudo (#469) 2020-07-10 11:21:19 +03:00
Roey Darwish Dror
f27ec9cc18 Fix config editing in Windows 2020-06-24 08:59:06 +03:00
Roey Darwish Dror
63ae33c841 Bump dependencies 2020-06-18 22:25:27 +03:00
Idan Katz
805cb34d6f Fix Clippy 1.43 warnings (#399) 2020-04-28 06:47:12 +03:00
Roey Darwish Dror
cdfcea6ba8 Fix git repository pulling in Windows (fix #283) (#284) 2019-12-29 23:18:59 +02:00
Roey Darwish Dror
c4ef712b3b TeX live manager (fix #223) (#251) 2019-12-12 20:24:22 +02:00
Roey Darwish Dror
ba516aa1dd Migrate from failure to anyhow/thiserror (#273) 2019-12-11 23:05:38 +02:00
Roey Darwish Dror
717579da1d Add debug strings for path detection 2019-12-08 20:56:03 +02:00
Roey Darwish Dror
48e694cdd5 Better fedora handling 2019-09-28 20:26:03 +03:00
Roey Darwish Dror
e548cb4059 Make clippy happy 2019-09-28 15:13:01 +03:00
Roey Darwish Dror
3c71ce019b Add a command for editing the configuration 2019-08-22 22:29:58 +03:00
Marc-Antoine Perennou
fda52486b3 allow pkexec to be used instead of sudo (#201)
Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
2019-08-20 15:02:13 +03:00
Roey Darwish Dror
a85311608e Windows step refactoring 2019-02-11 20:38:51 +02:00
Roey Darwish Dror
f56b107697 Bad configuration 2019-02-11 14:15:35 +02:00
Roey Darwish Dror
ca6e12a87d require_option is only required in Linux 2019-02-11 14:15:11 +02:00
Roey Darwish Dror
a1b3e37f93 Convert more legacy steps 2019-02-11 14:11:37 +02:00
Roey Darwish Dror
a8379fdda2 Step refactoring 2019-02-11 10:58:43 +02:00
Roey Darwish Dror
022115e237 Normalize paths in Windows (fix #113) (#116)
While `//?/C:/Users/Someone/config-files` is a valid path, it's not very human friendly.
Such paths are returned from `BaseDirs`. This patch formats them in the traditional way.
2019-01-30 16:00:10 +02:00
Roey Darwish Dror
365847a498 Rust 2018 2018-12-12 13:08:06 +02:00
Roey Darwish Dror
370310948b Better error model 2018-12-12 13:03:06 +02:00
Roey Darwish Dror
7bf4c25fcf Remove all the macro use 2018-11-18 14:25:16 +02:00
Roey Darwish Dror
1b61a07d52 Remove #[macro_use] where possible (fix #87) 2018-11-18 13:26:37 +02:00