Commit Graph

1064 Commits

Author SHA1 Message Date
Marcos Nils
c53d2f489a
Add bin support (#717) 2021-05-29 07:59:27 +03:00
Roey Darwish Dror
cdc7c39d02
Add silnite support (fix #701) (#714) 2021-05-29 07:54:15 +03:00
Roey Darwish Dror
4a4e249f5f Issue template 2021-05-13 22:16:18 +03:00
Kevin K
2bed7edaba
makes rpm-ostree configurable (#712)
This commit makes it possible to *not* to use `rpm-ostree` even on
systems where it is detected.

This commit is fully backwards compatible with previous releases, and
without changing the config file all previous behaviors are the exact
same.

This commit adds the `rpm_ostree` field in the `[linux]` table of the
configuration, and defaults to `true`. This means Topgrade will first
check if `/usr/bin/rpm-ostree` exists, and only if so then check if the
user does not want to use `rpm-ostree` via the configuration. If the
user *does not* want to use `rpm-ostree`, then normal operation
continues checking for DNF or YUM.

This makes it possible for people where `rpm-ostree` is installed, but
where the system is not an `ostree` based distribtuion. This happens
when people are using things like `osbuild-composer` to build images,
or Cockpit with the Compose feature enabled (which uses
`osbuild-composer` internally).

An alternative to this commit would be to make the config field a
negative such as `no_rpm_ostree`, however that goes against the norm in
other fields.

Closes #710
2021-05-13 21:57:29 +03:00
Roey Darwish Dror
bc0584e4b9 bump 2021-05-13 21:54:11 +03:00
Roey Darwish Dror
7d85ecca7c Revert "No need to run which in WSL (fix #694) (#707)"
This reverts commit ac4c23929e.
2021-05-13 21:53:13 +03:00
Roey Darwish Dror
cee012b132 bump 2021-05-10 09:54:16 +03:00
Roey Darwish Dror
344c74f430 bump 2021-05-10 09:54:02 +03:00
Roey Darwish Dror
ac4c23929e
No need to run which in WSL (fix #694) (#707)
* No need to run which in WSL (fix #694)

* clippy
2021-05-10 09:40:23 +03:00
jimman2003
54055a5e10
Update deps (#708)
* Update deps

* Update Cargo.lock

* Update notify-rust
2021-05-10 09:40:11 +03:00
Roey Darwish Dror
4bbebf32dd Clippy 2021-05-08 22:50:42 +03:00
Roey Darwish Dror
69e05d7cea
Honor CARGO_HOME (fix #705) (#706) 2021-05-05 13:52:12 +03:00
Roey Darwish Dror
f2e5ceb852 Change MacPorts to a single word (fix #703) 2021-05-04 11:27:19 +03:00
Roey Darwish Dror
3e9bd9bc0f
Remove msupdate (fix #698) (#699)
* Remove msupdate (fix #698)

* Unused imports
2021-04-28 10:55:54 +03:00
Roey Darwish Dror
8c6a48af76 Support -y in Powershell (fix #696) 2021-04-24 06:07:50 +03:00
Roey Darwish Dror
5989685df5 Use fwupdmgr update instead of upgrade (fix #695) 2021-04-24 06:04:52 +03:00
Roey Darwish Dror
cf63db2786 Remove Microsoft store (fix #674) 2021-04-23 07:01:11 +03:00
Roey Darwish Dror
0490bd70a2 Remove vscode 2021-04-23 07:01:11 +03:00
Hugo Haas
2c5d581bef
Added support for fish-plug (#687)
https://github.com/kidonng/fish-plug
2021-04-12 12:14:14 +03:00
Roey Darwish Dror
9f2bfb1767 Wrong flag for pip3 (fix #689) 2021-04-12 11:04:51 +03:00
Roey Darwish Dror
3cc4248cdd Remove VSCode 2021-04-08 06:43:22 +03:00
Roey Darwish Dror
ef13c72274 Bump 2021-04-08 06:35:03 +03:00
Rory O'Connell
89498ee04c
Use pkcon over apt with kde neon (#683)
* Use pkcon over apt with kde neon

* create kdeneon distribution
2021-04-07 23:04:21 +03:00
Roey Darwish Dror
35df3174c9 Clippy 2021-04-07 13:32:58 +03:00
Roey Darwish Dror
141ec83372 Clippy 2021-04-07 10:23:26 +03:00
Roey Darwish Dror
a6d7c6dca9 Apt arguments (fix #669) 2021-04-06 10:54:23 +03:00
Roey Darwish Dror
b165a6fe0b Keep making clippy happy 2021-04-06 10:28:07 +03:00
Roey Darwish Dror
fa8334d776 Make a specific flag for Mas (fix #681) 2021-04-06 09:52:55 +03:00
Roey Darwish Dror
8d55076cd3 Make clippy happy 2021-04-06 09:52:34 +03:00
Roey Darwish Dror
572e8ffdf4
Run fwupdmgr update (fix #668) (#677)
* Run fwupdmgr update (fix #668)

* Pass --y to fwupdmgr
2021-03-23 06:33:30 +02:00
Roey Darwish Dror
f9002b417c
Execute the user default shell when using remotes (fix #670) (#676) 2021-03-22 16:04:27 +02:00
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
Alex
840eb95805
be more precise what/how to test (#664) 2021-03-02 09:14:51 +02:00
Roey Darwish Dror
31f68791e4 Bump 2021-02-27 06:42:41 +02:00
Roey Darwish Dror
5da219ed69 Fix executor panic (fix #653) 2021-02-27 06:41:55 +02:00
Roey Darwish Dror
23d9a5bf63 Fix Microsoft Store (fix #656)
Despite the fact that Topgrade explicitly tries to run the Windows Powershell, gsudo has an odd behaviour which causes it to detect whether it's being run from Powershell for Cmd.
If run from Powershell, It will launch the current powershell with the given command. If the current shell is Powershell, it will try to run the command with it.
However, Get-WmiObject doesn't exist on Powershell core.
2021-02-25 10:10:57 +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
czwinzscher
88bad3380d
add support for paq-nvim (#655) 2021-02-23 10:21:58 +02:00
Christian Clauss
7fb0ce6489
GitHub Actions: Upgrade checkout (#654)
https://github.com/actions/checkout/blob/main/CHANGELOG.md
2021-02-22 16:03:58 +02:00
Roey Darwish Dror
6c61b6589e Dependencies update 2021-02-22 13:03:42 +02:00
Roey Darwish Dror
d74ca2ff80 Bump 2021-02-22 13:02:09 +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
eb358c1a88 Use redirection to $null instead of Out-Null (fix #651) 2021-02-22 10:37:35 +02:00
Roey Darwish Dror
358fbd8c02
Fix nix on multi-user setup (fix #646) (#650) 2021-02-21 12:06:37 +02:00
Roey Darwish Dror
f73c3ef31a Stop checking the return value of msupdate in macOS (fix #644) 2021-02-21 09:42:47 +02:00
Roey Darwish Dror
64b2f08702 Fix improper sorting 2021-02-19 06:43:13 +02:00