Commit Graph

157 Commits

Author SHA1 Message Date
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
M*C*O
30bc572c88 Install VSCode extensions with a single command (#652)
closes #647
2021-02-22 10:40:20 +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
Roey Darwish Dror
5361695252 Fix crash when dry running vscode (fix #632) 2021-02-15 09:03:28 +02:00
Roey Darwish Dror
dbcbd3df73 Don't print a warning about cargo-update if cargo isn't installed (fix #630) 2021-02-13 06:39:06 +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
e38fc78c3b Show a warning when cargo-update isn't installed (fxi #619) 2021-02-08 06:31:14 +02:00
Roey Darwish Dror
ab8abea6be Run go in GOPATH (fix #608) 2021-01-23 10:12:06 +02:00
Roey Darwish Dror
7f03f33d6b Skip dotnet when no SDK is installed (fix #592) (#597) 2021-01-11 13:32:04 +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
Don Petersen
36b436efcc Add support for upgrading gcloud (#561) 2020-11-16 06:07:42 +02: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
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
43be5bd7da Don't pass --user-install if ruby is managed by rbenv (fix #393) (#489) 2020-08-01 15:13:04 +03:00
Roey Darwish Dror
4171b329ba Support sheldon (#487) 2020-07-30 06:27:29 +03:00
Alex Hamilton
69b9c4b24c Add remote_topgrade_path configuration option 2020-07-10 10:45:15 +03:00
Roey Darwish Dror
e3b01d5848 Add indicator for connecting to remote topgrades 2020-07-09 21:21:59 +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
91ef904e57 Run -y on remote topgrades if necessary 2020-06-19 22:29:28 +03:00
Roey Darwish Dror
98657edb60 Allow tlmgr to run in Linux (fix #406) 2020-06-03 22:12:27 +03:00
Roey Darwish Dror
ca62fbcb91 Fix composer output (fix #402) (#404) 2020-05-11 06:23:43 +03:00
Roey Darwish Dror
b8496064ec Disable tlmgr in linux (fix #384) (#389) 2020-04-03 12:19:55 +03:00
Roey Darwish Dror
e6546710c6 Fix go module 2020-03-09 09:43:11 +02:00
Roey Darwish Dror
ce7af763bb Add an option for self-updating composer (fix #318) (#346) 2020-03-08 21:38:25 +02:00
Roey Darwish Dror
9c98005c61 Fix Go packages when using Go modules (#351) 2020-02-29 16:30:31 +02:00
Roey Darwish Dror
22a27ed2c5 Formatting 2020-02-11 07:56:02 +02:00
Roey Darwish Dror
b0b3d577ab Execution context 2020-02-10 22:23:13 +02:00
Morten Scheel
c3b8449eb7 Only run "valet install" if valet was updated (#315) 2020-02-10 22:10:06 +02:00
Roey Darwish Dror
c716b68e9c Execution Context 2020-02-08 22:13:56 +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
Andrei Pavel
e5f7c74c84 [📦 NEW] go get -u all (#262) 2019-11-20 14:41:05 +02:00
Andrei Pavel
4b495629c8 [📦 NEW] flutter upgrade (#260) 2019-11-20 13:35:41 +02:00
Roey Darwish Dror
8ce55f4c31 Add support for passing arguments to tmux (fix #236) (#250) 2019-11-06 07:27:01 +02:00
czwinzscher
065bb87c97 add stack support (#234) 2019-10-07 20:13:29 +03:00
Roey Darwish Dror
e548cb4059 Make clippy happy 2019-09-28 15:13:01 +03:00
Fred Morcos
bfbb486fba Add an ssh_arguments configuration file field (#211)
Can be used to add SSH command-line arguments like `-o
ConnectTimeout=2`
2019-09-01 21:45:44 +03:00
Roey Darwish Dror
2392a8bf9b Fix custom steps in Windows (fix #205) 2019-08-22 21:46:06 +03:00
Roey Darwish Dror
69e9ff693b Fix composer (fix #173) 2019-07-01 09:16:47 +03:00
Roey Darwish Dror
79febd78b5 Run remote Topgrades in Tmux 2019-06-13 16:43:23 +03:00
Roey Darwish Dror
4a7218293b Add a key for running remote topgrades 2019-06-05 14:16:53 +03:00
Philipp Weißmann
599fa49260 Adds support for 'myrepos' cli tool (#149) 2019-05-15 12:33:22 +03:00
Roey Darwish Dror
2872081754 Make Clippy happy 2019-04-14 11:35:18 +03:00
Roey Darwish Dror
bb1312e6d9 Better Emacs handling in Windows (fix #112) 2019-03-17 14:25:15 +02:00