Commit Graph

147 Commits

Author SHA1 Message Date
M*C*O
271b250b51 config: ArchPackageManager should be snake_case (#784)
* config: ArchPackageManager should be snake_case

* Remove unnecessary strum macro

* Add arch_package_manager to config.example.toml
2021-10-28 19:46:59 +03:00
Roey Darwish Dror
fb18af12ac Aur helper (#776)
* Arch Refactor

* Clippy
2021-10-25 22:03:57 +03:00
Andrea Tupini
6eb4cdd224 Add step to update haxelib packages (#774) 2021-10-25 21:54:27 +03:00
Roey Darwish Dror
9023942a85 Pacstall (fix #764) (#769) 2021-10-25 21:33:58 +03:00
Roey Darwish Dror
b6c468c6fb Upgrade gnome shell extensions (fix #755) (#768) 2021-10-25 21:31:13 +03:00
Marcin Puc
1478d079ca Add minor refactorings (#754) 2021-09-04 21:01:19 +03:00
Roey Darwish Dror
a39b4f846c Remove redundant dereferences 2021-09-02 07:27:09 +03:00
Roey Darwish Dror
611f69646e Support pkgin (fix #748) 2021-09-02 06:14:56 +03:00
Roey Darwish Dror
989aa053e2 Add a flag to disable pnpm (fix #743) 2021-07-19 09:43:28 +03:00
Philipp Weißmann
2c348090b7 Adds support for chezmoi (#744) 2021-07-19 08:29:34 +03:00
Eberhard Beilharz
2cd1ea6845 Allow to run flatpak update with sudo (#738)
This change adds the option `flatpak.use_sudo` that allows to update
the system-wide installation with sudo. When set to `true` the
system-wide installation will be updated with sudo. If set to `false`
(default) the update will be run as regular user.

This solves the problem where running `flatpak update` on a remote
system fails if run as regular user.

Fixes #737.
2021-06-30 13:37:41 +03:00
Eberhard Beilharz
74292ef6d2 Make firmware upgrade configurable (#739)
This change adds an option, firmware.upgrade, that if set to `false`
only checks for and displays available firmware updates. If set to `true`
(default) the user is offered to run the firmware upgrade.
2021-06-30 12:15:18 +03:00
Roey Darwish Dror
f39899c3ff Allow running NPM as sudo (fix #690) (#723)
* Allow running NPM as sudo (fix #690)

* asd

* fix
2021-06-09 10:52:48 +03:00
Roey Darwish Dror
9205649a5f Support winget (fix #721) (#722) 2021-06-03 13:08:17 +03:00
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
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
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
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
Roey Darwish Dror
a6d7c6dca9 Apt arguments (fix #669) 2021-04-06 10:54:23 +03:00
Roey Darwish Dror
fa8334d776 Make a specific flag for Mas (fix #681) 2021-04-06 09:52:55 +03: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
Roey Darwish Dror
593ff0a9bc Support VSCodium (Fix #637) (#639) 2021-02-22 13:01:33 +02:00
Roey Darwish Dror
64b2f08702 Fix improper sorting 2021-02-19 06:43:13 +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
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
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
31db02d95a Split brew cask into a seperate step (fix #588) (#593) 2020-12-30 10:35:50 +02:00
Roey Darwish Dror
a519bc5475 Enable distro-sync in Fedora (fix #587) (#590) 2020-12-26 09:17:54 +02:00
Roey Darwish Dror
514fbbbbb5 Add support for dotnet upgrade 2020-12-26 06:43:48 +02:00
Roey Darwish Dror
9a368d8218 Sort the step list in the configuration (fix #562) 2020-11-16 14:28:29 +02:00
Don Petersen
36b436efcc Add support for upgrading gcloud (#561) 2020-11-16 06:07:42 +02:00
Roey Darwish Dror
f9999b46fa --only will execute disabled steps (fix #533) (#534) 2020-10-02 23:18:14 +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
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
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
34c74e44ca Allow remotes to be launched in new Windows terminal windows (#504) 2020-08-23 09:12:40 +03:00
Roey Darwish Dror
417ca1257a Add --show-skipped (fix #501) (#502) 2020-08-21 23:04:36 +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
4171b329ba Support sheldon (#487) 2020-07-30 06:27:29 +03:00
Roey Darwish Dror
e8851af90c Support yadm (fix #464) (#470) 2020-07-11 08:00:35 +03:00