Commit Graph

42 Commits

Author SHA1 Message Date
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
Roey Darwish Dror
79c2c77bbe Windows Update (fix #37) 2018-08-22 22:18:48 +03:00
Roey Darwish Dror
056a49bc50 Fix some stuff for Rust 2018 2018-08-22 10:43:32 +03:00
Roey Darwish Dror
4c1320f955 PathExt trait 2018-07-07 09:27:42 +03:00
Roey Darwish Dror
445ad96c10 Path overhaul 2018-07-07 02:18:55 +03:00
Roey Darwish Dror
b3c8044ad3 Add logging (fix #8) 2018-06-17 14:17:36 +03:00
Roey Darwish Dror
0e2fe028e6 Utils module 2018-06-17 11:43:30 +03:00