Commit Graph

31 Commits

Author SHA1 Message Date
Thomas Schönauer
22ab07d88e Fixes paru/yay -Pw return code error (#228) 2022-11-29 06:49:26 +00:00
Rebecca Turner
582bc737cb Fix a bug with status_checked_with_codes (#202) 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
Rebecca Turner
55ba2d30c1 Quote arguments when executing in a shell (#118)
* Quote arguments when executing in a shell

Fixes #107

* Parse quotes in `tmux_arguments`

This makes it possible to encode spaces in arguments. Maybe the config
value should be an array instead?

* Print error causes

Co-authored-by: Thomas Schönauer <37108907+DottoDev@users.noreply.github.com>
2022-11-03 16:46:43 +00:00
Roey Darwish Dror
5da219ed69 Fix executor panic (fix #653) 2021-02-27 06:41:55 +02:00
Akeshihiro
09673297db Drop the Go step (#660)
* Drop the Go step

With the release of Go 1.16 the behavior of `go get` has been changed.
In previous Go versions `go get` was used not only to add module
dependencies but also to install Go tools.
As of Go 1.16 `go get` can only add and upgrade module dependencies.
To install Go tools now the `go install` command has to be used.

Further on Go 1.16 enabled the GOMODULE mode by default and will drop
the GOPATH mode completly in Go 1.17.
So the package definition `all` like in `go get -u all` does not work
anymore if the PWD is outside of a Go module project.
Because of this `go list all` also does not work for the same reason.
That being said it seems that currently there is no way to get a list of
all installed Go tools or packages at the GOPATH level.

So the only possible solution to determine the installed Go tools and
also to update them would be by inspecting the `go env GOBIN` directory
as well as the `go env GOMODCACHE` sub-directories and to filter the
results according to their possible name-to-package boundaries.
As this approach seems to be very ugly and also not to be very safe or
stable and Go currently does not support any kind of automated upgrades
of installed Go tools it is best to drop the Go step for now until Go
implements some kind of Go tool upgrade feature.

Fixes #659

* Remove Go from Step enum
2021-02-24 12:17:03 +02:00
Roey Darwish Dror
1fdf9c78b7 ARM Brew support (#585) 2020-12-16 13:43:38 +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
4fff6ba56f Better Vagrant error handling 2020-06-25 08:37:29 +03:00
Roey Darwish Dror
9f8fbf6d65 Fix yarn (fix #403) 2020-05-10 06:45:39 +03:00
Roey Darwish Dror
9c98005c61 Fix Go packages when using Go modules (#351) 2020-02-29 16:30:31 +02:00
Roey Darwish Dror
20a923a9c0 Log every command execution 2020-02-27 15:05:34 +02:00
Roey Darwish Dror
ba516aa1dd Migrate from failure to anyhow/thiserror (#273) 2019-12-11 23:05:38 +02:00
Roey Darwish Dror
e548cb4059 Make clippy happy 2019-09-28 15:13:01 +03:00
Roey Darwish Dror
69dfcfe55a Set PATH when running yay (fix #192)
Instead of causing an error when the Python in path is not the system Python, we prepend /usr/bin to
PATH and then run yay.
2019-08-15 09:48:53 +03:00
Roey Darwish Dror
4ae0263e0d Support PowerShell core (fix #189) 2019-08-15 08:46:54 +03:00
Roey Darwish Dror
79febd78b5 Run remote Topgrades in Tmux 2019-06-13 16:43:23 +03:00
Roey Darwish Dror
2d15814996 Perform git pulls in parallel (fix #48) 2019-05-22 10:36:19 +03:00
Roey Darwish Dror
c0c155fc8b Only show vim output on failure (fix #144) 2019-05-16 12:45:56 +03:00
Roey Darwish Dror
1b2308aaef Add check_output 2019-01-01 22:22:07 +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
957d73c634 Don't pass dry_run as a boolean to functions 2018-12-31 13:26:17 +02:00
Roey Darwish Dror
370310948b Better error model 2018-12-12 13:03:06 +02:00
Roey Darwish Dror
9f5d5a8b53 Fix some comments by Clippy 2018-09-06 15:17:03 +03:00
Roey Darwish Dror
71c071d5db Dry run (fixes #22) 2018-08-27 13:16:11 +03:00