Commit Graph

1064 Commits

Author SHA1 Message Date
Funky185540
d15bc32614
linux: Ignore "--yes" for rpm-ostree upgrade (#849)
Previously when performing the "system" upgrade step, rpm-ostree would
be passed a "--yes" argument when it was configured in topgrade.
However, this is not an option available for rpm-ostree, so it would
cause an error and abort execution of the updates.
2022-02-01 12:46:27 +02:00
Janek
c9b846bd6b
Update Issue Templates (#848)
* Update feature_request.md

* Update bug_report.md
2022-01-30 14:05:21 +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
Macavirus
6b09212814
Fix typo (#845) 2022-01-26 22:21:35 +02:00
Roey Darwish Dror
0525e5aac3
Do not run Conda if auto_activate_base is set to False (#841) 2022-01-24 22:05:52 +02:00
Roey Darwish Dror
63f4e01650 Preserve DIFFPROG when running Pacdiff in sudo (fix #842) 2022-01-24 20:32:48 +02:00
Roey Darwish Dror
912dd006a1 Version bump 2022-01-24 12:11:02 +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
Roey Darwish Dror
4932be15a3 Bump deps 2022-01-24 12:10:02 +02:00
Janek
b65a15051e
Update README.md (#837) 2022-01-23 16:44:58 +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
f21ba9d495 Don't print the NPM separator if the step is skipped (fix #831) 2022-01-14 22:46:10 +02:00
Roey Darwish Dror
b34cc1b0f8 Add a seperator to pacstall (fix #826) 2022-01-06 21:41:36 +02:00
Roey Darwish Dror
ff9072f7b1 Don't panic when cannot detect the arch package manager (fix #818) 2022-01-06 06:27:44 +02:00
Aroun
fb0d726703
fix: pacstall should run without yay arguments (#824)
fix: pacstall should run without yay arguments

Co-authored-by: Zahrun <Zahrun@github.com>
2022-01-06 05:44:37 +02:00
Roey Darwish Dror
6d6dee9878 Bump the minimal version of Rust 2022-01-06 05:43:56 +02:00
Roey Darwish Dror
0c5b8099cb Pass -Force instead of -Confirm to powershell update (fix #825) 2022-01-06 05:35:40 +02:00
Funky185540
81fb880155
Linux: System: Fix rpm-ostree detection (#816)
On a rpm-ostree based system, topgrade would previously fail to detect
the rpm-ostree executable and fall back to yum instead, which isn't
available. This was caused by constructing a Path instance with
`Path::new`, rather than querying the underlying OS for a path to the
rpm-ostree executable.

Make the `system` update step use `which` to determine if an executable
called "rpm-ostree" is available on the system and get the correct path
to the executable.
2021-12-26 11:42:09 +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
2c7dfb66c5 Remove obsolete struct (fix #812) 2021-12-18 20:14:00 +02:00
Roey Darwish Dror
0a7d576b59 8.1.2 2021-12-16 09:44:51 +02:00
Roey Darwish Dror
fe31688954 Bump deps 2021-12-16 09:44:51 +02:00
Roey Darwish Dror
e769baaaca pacdiff needs vim 2021-12-15 21:49:03 +02:00
Laurent le Beau-Martin
1c24014178
Fix build for Android (#809) 2021-12-13 23:04:21 +02:00
Roey Darwish Dror
1f3d8d39a0 Fix breakage 2021-12-12 13:52:07 +02:00
Roey Darwish Dror
97958041c9 v8.1.0 2021-12-12 13:24:35 +02:00
Roey Darwish Dror
4716cb7c94
Add Bedrock Linux support (fix #745) (#747)
* Bedrock Linux (fix #745)

* Add more distributions

* fix

* fix

* Fix

* Merge

* Move pacnew to the correct location

* Version bump

* Correct spelling for GNOME Shell extensions update (#778)

* fix gnome shell extensions update object path (#788)

* 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

* Add release pipeline

* Run GNOME update only when using GNOME

* Delete travis file and appveyor

* Bump

* Support rust 1.51.0 (#789)

* Cross compilation

* Bump

* fix: GNOME detection for customized version (#790)

Signed-off-by: Noel Georgi <git@frezbo.dev>

* Add a flag to disable showing Arch Linux news (fix #786)

* Bump

* Update pacstall (fix #769)

* Add an option to force vim plug update (#795)

* Add an option to force vim plug update (fix #751)

* Rustfmt

* Update src/config.rs

Co-authored-by: M*C*O <mcofficer@gmx.de>

Co-authored-by: M*C*O <mcofficer@gmx.de>

* Add new step pacdiff (#796)

* Add Support for Spicetify (#798)

* Look for ~/.config/emacs directory in Windows (fix #766)

* Pass --force to doom when -y is set (fix #799)

* Implement cleanup for flatpak (#801)

* Cleanup flatpak

* Fix compile error

* Make sure we only move our values at the very end

* Access config.cleanup() through ExecutionContext

* Improve man page (#803)

Wordings & argument format

* Avoid running remote topgrade on the current host (fix #804) (#807)

* Merge the command line and the configuration flags of --only and --disable (fix #805) (#806)

* Merge the command line and the configuration flags of --only and --disable (fix #805)

* Fix

* Fix rust requirement in the readme

* Selective yes (fix #802) (#808)

* Selective yes flag (fix #802)

* Selective yes flag (fix #802)

* selective yes

* MacOS

* Fix bedrock detection

* Bedrock fixes

* format

* Fedora fixes

Co-authored-by: Björn Daase <bjoern.daase@gmail.com>
Co-authored-by: modularTaco <37046961+modularTaco@users.noreply.github.com>
Co-authored-by: M*C*O <mcofficer@gmx.de>
Co-authored-by: Noel Georgi <git@frezbo.dev>
Co-authored-by: Manuel Hässig <mhaessig@users.noreply.github.com>
Co-authored-by: Janek <27jf@pm.me>
2021-12-09 15:16:42 +02:00
Roey Darwish Dror
ab3ff0ecae
Selective yes (fix #802) (#808)
* Selective yes flag (fix #802)

* Selective yes flag (fix #802)

* selective yes

* MacOS
2021-12-06 14:44:20 +02:00
Roey Darwish Dror
4b8cf641a1 Fix rust requirement in the readme 2021-12-06 14:14:07 +02:00
Roey Darwish Dror
942702d1d2
Merge the command line and the configuration flags of --only and --disable (fix #805) (#806)
* Merge the command line and the configuration flags of --only and --disable (fix #805)

* Fix
2021-12-06 14:12:20 +02:00
Roey Darwish Dror
e9d809ddb0
Avoid running remote topgrade on the current host (fix #804) (#807) 2021-12-06 13:31:05 +02:00
Janek
10d362eab4
Improve man page (#803)
Wordings & argument format
2021-11-24 22:47:22 +02:00
M*C*O
8fb8927fea
Implement cleanup for flatpak (#801)
* Cleanup flatpak

* Fix compile error

* Make sure we only move our values at the very end

* Access config.cleanup() through ExecutionContext
2021-11-20 15:32:20 +02:00
Roey Darwish Dror
1db6dc5470 Pass --force to doom when -y is set (fix #799) 2021-11-18 20:45:34 +02:00
Roey Darwish Dror
d01a3a2c9d Look for ~/.config/emacs directory in Windows (fix #766) 2021-11-18 08:49:16 +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
23c9908a6a
Add an option to force vim plug update (#795)
* Add an option to force vim plug update (fix #751)

* Rustfmt

* Update src/config.rs

Co-authored-by: M*C*O <mcofficer@gmx.de>

Co-authored-by: M*C*O <mcofficer@gmx.de>
2021-11-06 06:06:10 +02:00
Roey Darwish Dror
d002b1ab1a Update pacstall (fix #769) 2021-11-01 09:11:01 +02:00
Roey Darwish Dror
3263b12556 Bump 2021-10-29 09:54:05 +03:00
Roey Darwish Dror
0467bd4dde Add a flag to disable showing Arch Linux news (fix #786) 2021-10-29 09:53:30 +03:00
Noel Georgi
f235c56b82
fix: GNOME detection for customized version (#790)
Signed-off-by: Noel Georgi <git@frezbo.dev>
2021-10-29 09:47:43 +03:00
Roey Darwish Dror
305e8f9406 Bump 2021-10-28 22:35:51 +03:00
Roey Darwish Dror
cd78b8ead5 Cross compilation 2021-10-28 22:35:14 +03:00
Roey Darwish Dror
539b267eef
Support rust 1.51.0 (#789) 2021-10-28 22:05:35 +03:00
Roey Darwish Dror
6ef5423d68 Bump 2021-10-28 21:30:08 +03:00
Roey Darwish Dror
0e48e88694 Delete travis file and appveyor 2021-10-28 21:29:35 +03:00