Make zypper dist-upgrade opt-in on SLE/Leap
- Create a `suse_dup` config option
- Create a new `Distribution::OpenSuseTumbleweed` object along with `upgrade_opensuse_tumbleweed()`
* The purpose of it is to ignore the config option on Tumblweed as
zypper `dup` is the only way to update a Tumbleweed
* Don't show desktop notification on error (if `skip_notify = true`) (#275)
* Use ─ (U+2500) to draw borders (#282)
* Adds Pclinuxos support (#283)
* Add Devkitpro Pacman support (#291)
* Added support for Neovim package manager lazy.nvim (#293)
* Added support for lazy.nvim
From https://github.com/folke/lazy.nvim
Authored-by: Jacob Lane Ledbetter <jledbetter460@gmail.com>
* Make garuda-update update AUR packages by default (#296)
* fix(#298): Don't throw error if no Helm repository found (#305)
* Skip .NET when `dotnet tool list` is not successful (#302)
* feat(pacstall): add `-y` flag variant (#312)
* Add openSUSE MicroOS support (#315)
* Adds notify-send timeout of 10s (#318)
* Don't run yum when rpm-ostree is available (#313)
* don't run yum when rpm-ostree is available
* Clippy fix
* rpm-ostree: set default value to true
* Fixes if loop error
* Fixes gem update --system requires sudo now (#317)
* Fixes gem update --system requires sudo now
* rubygem: Adds arg -EH to sudo
* Use fixed nala path instead of which(nala) (#314)
* Adds notify-send bug warning when topgrade is run (#324)
* Adds notify-send bug warning when topgrade is run
* fix typo + clippy
* notify-send warning respects skip_notify flag
* nix: Adds additional arguments support (#325)
* Adds pip-review and pipupgrade support (#316)
* Adds pip-review and pipupgrade support
* Python: fixes pip_review and pipupgrade
* v10.2.5 patch (#329)
* WSL: Adds new wsl --update flags (#327)
* wsl: Updates available flags
* Clippy fix
* Add WslUpdate runner
* wsl: Code Typo
* wsl: Code Typos
* wsl: Code Typos
* wsl: Code Typo
* Adds AM Package Manager (#328)
* Adds AM Package Manager
* Clippy fixes
* Cargo fmt
* Moves am to linux only in main file
---------
Co-authored-by: Guilherme Silva <626206+guihkx@users.noreply.github.com>
Co-authored-by: Gabriel Augendre <gabriel@augendre.info>
Co-authored-by: Cat Core <34719527+arthurbambou@users.noreply.github.com>
Co-authored-by: Hugo Haas <hugoh@hugoh.net>
Co-authored-by: Baptiste <32563450+BapRx@users.noreply.github.com>
Co-authored-by: bbx0 <39773919+bbx0@users.noreply.github.com>
Co-authored-by: Sourajyoti Basak <wiz28@protonmail.com>
* Create `Sudo` type and `SudoKind` enum
* Fix build
* reformat
* Fix choco on windows
* Fix linux
* Fix linux more
* more fix stuff hehe hoho hahaha
* more fix stuff hehe hoho hahaha
Co-authored-by: Thomas Schönauer <37108907+DottoDev@users.noreply.github.com>
* Closes#150 please disable distrobox by default (#151)
* Check if distrobox exists before running step
* Improve help prompt value names (#153)
* 159 self update error message with standalone versions (#161)
* Rename back to topgrade
* Bugfix Version bump
* Changes reference to topgrade-rs in self-update
* Fixes distrobox errors (#160)
* Rename back to topgrade
* Bugfix Version bump
* Check if distrobox exists before running step
* Fixed sitrobox and version bump
* Version bump to 10.1.2
Co-authored-by: Marcin Puc <tranzystorek.io@protonmail.com>
when deciding whether the `-y` argument should be added to an operation.
Previously the `-y` was implicitly assumed for regular updates but was
ignored for the cleanup steps.
Now, it is added as defined in the topgrade runtime configuration.
Authored-by: Andreas Hartmann <hartan@7x.de>
Approved-by: Thomas Schönauer <t.schoenauer@hgs-wt.at>
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.
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.