Commit Graph

441 Commits

Author SHA1 Message Date
Leonardo Eugênio
0251c2769b Support for updating kakoune plugins with kak-plug (#852) 2022-02-06 23:48:06 +02:00
Roey Darwish Dror
5e7453b387 Make ConfigUpdate an individual step (fix #843) 2022-01-26 22:52:52 +02:00
Roey Darwish Dror
5f4dd33f1f Don't run pacdiff when --yes is specified (fix #846) 2022-01-26 22:51:00 +02:00
Funky185540
da8cf9da05 Enable updating Toolbx through topgrade (#830)
* steps: toolbox: Add module to upgrade toolboxes

This adds a module to upgrade all toolboxes found on a host system.
[Toolbox][1] (More recently: `toolbx`) is a tool that easily provides
mutable, containerized command line environments. It is a means to work
and develop in a mutable environment on immutable operating systems such
as Fedora Silverblue, CoreOS, Kinoite and much more. However, it is not
limited to these use cases.

The integration into topgrade works as follows: Toolbx makes many of the
hosts folders available form inside the toolbx container by default. In
particular, all of the hosts filesystem is mapped under `/run/host`. This
module exploits this fact by:

- Gathering a list of toolboxes available on the host that runs
  `topgrade`
- Executing `toolbox run` for each of these toolboxes to run a command
  inside the toolboxes, **using the executing `topgrade` executable with
  the `--only system` arguments**

[1]: https://containertoolbx.org/

* toolbx: Integrate toolbx into the application

* Toolbx is Linux specific

Co-authored-by: Roey Darwish Dror <roey.ghost@gmail.com>
2022-01-24 12:10:21 +02:00
Quinton Cloutier
51b35b374c Re-add the Go step via go-global-update (#823)
* Re-add the Go step via go-global-update

go-global-update (https://github.com/Gelio/go-global-update) is a small
tool to update all executables installed in a user's GOBIN, effectively
providing a `go get -u all` replacement for Go 1.16+.

Since it appears that Go will not be receiving a built-in way to do this
in the near future, this could be a good option in the meantime.

* Skip silently if go-global-update is not present
2022-01-16 22:24:57 +02:00
Roey Darwish Dror
54741ff899 Conda (fix #829) (#832) 2022-01-15 06:50:42 +02:00
Roey Darwish Dror
7d42ba4e52 Remove pacdiff 2021-12-18 20:39:57 +02:00
Roey Darwish Dror
3f12cf11f6 Unify pacdiff and etc-update 2021-12-18 20:20:00 +02:00
Roey Darwish Dror
1db6dc5470 Pass --force to doom when -y is set (fix #799) 2021-11-18 20:45:34 +02:00
M*C*O
329df4f406 Add Support for Spicetify (#798) 2021-11-15 08:09:02 +02:00
Manuel Hässig
f70305adcb Add new step pacdiff (#796) 2021-11-06 20:55:38 +02:00
Roey Darwish Dror
539b267eef Support rust 1.51.0 (#789) 2021-10-28 22:05:35 +03:00
Roey Darwish Dror
58491c4f8a Support sudo with pnpm (fix #759) (#772)
* Support sudo with pnpm

* Clippy

* format

* Clippy

* Clippy
2021-10-25 22:27:35 +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
Laurent le Beau-Martin
ebb66e26a4 Add Android support (#749) 2021-09-02 19:54:31 +03:00
Roey Darwish Dror
bde3600b9a Fix clippy 2021-09-02 06:18:01 +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
Roey Darwish Dror
38ca03cc38 Remove yarn (fix #727) 2021-07-06 09:36:50 +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
SilentVoid13
5ec1f4d2d6 Adding pnpm support (#734) 2021-06-27 15:48:46 +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
Vikram Dighe
f8648c9bc7 Change sucessfully to successfully to fix a typo (#726) 2021-06-05 06:11:34 +03:00
Roey Darwish Dror
9205649a5f Support winget (fix #721) (#722) 2021-06-03 13:08:17 +03:00
Roey Darwish Dror
6194eede5a Update intellimacs and ideavimrc 2021-05-30 15:50:21 +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
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
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
fa8334d776 Make a specific flag for Mas (fix #681) 2021-04-06 09:52:55 +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
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