Commit Graph

402 Commits

Author SHA1 Message Date
Roey Darwish Dror
11d2b2d4ef Avoid displaying unnecessary Cargo warning (fix #671) (#675)
if ~/.cargo/.crates.toml doesn't exists or is empty then the user did not install any applications using Cargo
2021-03-22 09:00:56 +02:00
Seλçuk Öztürk
bf986e313c Racket package manager support (#667) 2021-03-14 12:12:38 +02:00
Alex
8bf3d70e5f Support for PIP3 (self update) (#663) 2021-03-02 11:39:49 +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
Akeshihiro
f3c3ff5eb8 Use go env GOPATH to determine the GOPATH (#658)
The GOPATH env variable usually is not set on any system because Go
uses its own env management via `go env` command.
Also `go env GOPATH` is not on all systems the same as `$HOME/go`.
On such systems topgrade would use the wrong GOPATH.

If the `go` command is installed then `go env GOPATH` will always print
something.
If GOPATH is set then `go env GOPATH` will print the value of GOPATH,
otherwise `go env GOPATH` will print the GOPATH value of the Go env
config.
2021-02-23 10:27:43 +02:00
Roey Darwish Dror
593ff0a9bc Support VSCodium (Fix #637) (#639) 2021-02-22 13:01:33 +02:00
Roey Darwish Dror
c9aecda2ca Fix vscode enum key (fix #645) 2021-02-19 06:42:23 +02:00
Roey Darwish Dror
4fe3c257b6 Fixed Microsoft Store terminology 2021-02-18 14:20:30 +02:00
Roey Darwish Dror
6d130f07cb Fix compilation in FreeBSD (fix #641) 2021-02-17 19:44:31 +02:00
Roey Darwish Dror
bb3a9347c9 Fossil support (#636) 2021-02-17 16:46:29 +02:00
M*C*O
513ffb8f22 Add support for the micro text editor (#635) 2021-02-15 21:43:36 +02:00
Alex
878cad5c80 added support for Visual Studio Code (VSC) extension update (#628) 2021-02-13 06:35:20 +02: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
746ffda444 Windows App Store (fix #622) (#624) 2021-02-11 06:31:59 +02:00
Roey Darwish Dror
729b5b6cb4 Bash-it (fix #621) (#625) 2021-02-10 08:58:03 +02:00
Roey Darwish Dror
66e62cc3eb Windows: look for git repos in the startup directory 2021-02-02 22:28:22 +02:00
Roey Darwish Dror
31db02d95a Split brew cask into a seperate step (fix #588) (#593) 2020-12-30 10:35:50 +02:00
Roey Darwish Dror
47481ae64e Name change for .NET 2020-12-26 09:21:14 +02:00
Roey Darwish Dror
514fbbbbb5 Add support for dotnet upgrade 2020-12-26 06:43:48 +02:00
Roey Darwish Dror
1fdf9c78b7 ARM Brew support (#585) 2020-12-16 13:43:38 +02:00
Roey Darwish Dror
19d052a3d3 Avoid having an Rc to a PathBuf 2020-12-01 08:59:59 +02:00
Roey Darwish Dror
60ba90aa66 Make clippy happy 2020-12-01 08:49:09 +02:00
Don Petersen
36b436efcc Add support for upgrading gcloud (#561) 2020-11-16 06:07:42 +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
Eric Nielsen
7783fc77ba Add support to Zim (#545) 2020-10-24 22:46:38 +03:00
Terkwood
ee20a755d8 Add deno upgrade (#531)
* Add Deno support (fix #526)

* Change deno update to deno upgrade

Co-authored-by: Roey Darwish Dror <roey.ghost@gmail.com>
2020-10-01 22:59:06 +03:00
Roey Darwish Dror
f5e6dc0fb3 Deprecate the brew cask step (fix #520) (#529) 2020-10-01 14:31:36 +03:00
Hsiao-nan Cheung
06369e6e4a Add rtcl::rupdate (#525)
* Add rtcl::rupdate

Signed-off-by: Hsiao-nan Cheung <niheaven@gmail.com>

* Using `rtcl` as seperator

Signed-off-by: Hsiao-nan Cheung <niheaven@gmail.com>
2020-09-24 20:00:06 +03:00
Hsiao-nan Cheung
011ad6ef8b Fix Jetpack typo (#523)
Signed-off-by: Hsiao-nan Cheung <niheaven@gmail.com>
2020-09-23 13:31:11 +03:00
Roey Darwish Dror
ce06b6e307 Add oh-my-fish (fix #513) (#514) 2020-09-03 09:32:45 +03:00
Roey Darwish Dror
10f3d929e8 Add post-commands (fix #505) (#515) 2020-08-30 07:40:06 +03:00
Roey Darwish Dror
2504652857 Add choosenim (fix #511) (#512) 2020-08-28 16:16:23 +03:00
Roey Darwish Dror
f4a1f26e39 Remoting refactor (#503) 2020-08-22 14:46:17 +03:00
Roey Darwish Dror
417ca1257a Add --show-skipped (fix #501) (#502) 2020-08-21 23:04:36 +03:00
Roey Darwish Dror
d48182e6bd Pass -y to WSL if necessary 2020-08-21 21:10:54 +03:00
Roey Darwish Dror
be631c663e Add flag for limit execution to specific remote hosts (fix #491) (#492) 2020-08-02 06:29:16 +03:00
Roey Darwish Dror
d2bab85a86 Restore openssl-probe (#490) 2020-07-30 10:18:37 +03:00
Roey Darwish Dror
4171b329ba Support sheldon (#487) 2020-07-30 06:27:29 +03:00
Roey Darwish Dror
abc6a8065b Support yes flags for Powershell 2020-07-15 08:47:15 +03:00
Roey Darwish Dror
e8851af90c Support yadm (fix #464) (#470) 2020-07-11 08:00:35 +03:00
Roey Darwish Dror
25b6b97d38 Brew cask should only run in macos (fix #467) (#468) 2020-07-10 11:22:29 +03:00
Roey Darwish Dror
065565240e Automatically detect gsudo (#469) 2020-07-10 11:21:19 +03:00
Roey Darwish Dror
5c7f04c2cf Add ability to ignore certain failures (#461) 2020-07-02 11:15:56 +03:00
Roey Darwish Dror
3d4917fa88 Split brew cask to a seperated step 2020-07-02 08:37:18 +03:00
Roey Darwish Dror
6300d6fb2a Remove debugging readline 2020-07-02 08:34:03 +03:00
Roey Darwish Dror
3f80bee53a Self rename in Windows (fix #458) (#460) 2020-07-01 21:03:19 +03:00
Oleksii Filonenko
d838eb588b Add support for -y flag in Chocolatey (#457) 2020-06-30 11:55:39 +03:00
Roey Darwish Dror
e542054229 Add a command for showing config reference 2020-06-30 10:01:22 +03:00
Bastian Hofmann
e38252d95d Add support for the kubectl plugin package manager krew (#454)
https://krew.sigs.k8s.io/
2020-06-29 06:13:31 +03:00
Roey Darwish Dror
5fb9b41771 Use a vim script to upgrade vim (#451) 2020-06-28 08:33:40 +03:00