Commit Graph

52 Commits

Author SHA1 Message Date
signed-log
97fd2b2718 Make zypper dist-upgrade opt-in on SLE/Leap (#417)
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
2023-05-05 10:24:01 +02:00
PolpOnline
565aa405be Add no-self-update config and flag (#388) 2023-03-22 21:05:21 +00:00
Utkarsh Gupta
907465f891 run_custom_command: allow using interactive shell on unix (#383) 2023-03-17 16:28:58 +00:00
Thomas de Queiroz Barros
a3628d0d49 Add sudo_command option (#379)
This allows the user to specify the preferred sudo command to be used
instead of the command chosen by Sudo::detect
2023-03-13 19:23:37 +00:00
Thomas Schönauer
ab630cfbc6 v10.2.5 release (#330)
* 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>
2023-01-29 19:19:27 +00:00
Jacob Lane Ledbetter
9f24f6474e Add dnf config to config example (#292) 2022-12-30 22:52:04 +00:00
Rebecca Turner
e456155562 Add pre_sudo option (#219)
* Add `pre_sudo` option
2022-11-24 19:15:43 +00:00
LeSnake04
bf7f9a64ee Extra options for distrobox (#83) 2022-10-27 22:29:35 +00:00
Thomas Schönauer
7d3227c5c3 35 add support for aura aur helper (#63)
* Adds Archlinux Aura Package Manager support

* Added config support

* Fixes/adds config for aura

* changes aura arguments

* Let Aura only use sudo

* Corrects wrong order of commands
2022-10-23 21:29:25 +00:00
DottoDev
2d94eb974f feat: flag and config to skip notifications by jlucktay (#5)
* feat: flag and config to skip notifications

At the end of a run, topgrade normally sends a system notification.
This change adds a command-line flag and a config-file option to
disable this behaviour.

* fix: clippy issues

Also derive Eq where PartialEq is being derived.
https://rust-lang.github.io/rust-clippy/master/index.html#derive_partial_eq_without_eq

Authored-by: James Lucktaylor <jlucktay+github@gmail.com>
Approved-by: Thomas Schönauer <t.schoenauer@hgs-wt.at>
2022-10-10 20:21:20 +00:00
DottoDev
8472467d00 brew autoremove (#6)
Authored-by: Kilian Tyler <kilian@ktyler.me>
Approved-by: Thomas Schönauer <t.schoenauer@hgs-wt.at>
2022-10-10 20:17:50 +00:00
DottoDev
aebf3f1594 Fix typo (to -> or) (#8)
Authored-by: Sohum <github.x14x3@aleeas.com>
Approved-by: Thomas Schönauer <t.schoenauer@hgs-wt.at>
2022-10-10 20:15:30 +00:00
Amrit Rathie
d864199c67 Add Pamac support (#953) 2022-06-18 14:22:23 +03:00
GPery
1a18174693 Add pikaur support (#898) 2022-04-22 23:28:01 +03:00
Michele Bologna
7e9b2dca39 Fix: correct option name (#902)
The option name is now `pull_predefined`. This commit fixed the template config with the new option name
2022-04-22 23:26:00 +03:00
Roey Darwish Dror
13104a029c Add option to control the time display (fix #860) 2022-03-29 03:48:02 +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
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
Guilherme Silva
a5759d77c4 config: mention that yay_arguments also works for paru (#763) 2021-10-09 15:31:35 +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
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
Marcelo dos Santos Mafra
9cbe6219af Typo correction in config.example.toml file (#591) 2020-12-26 21:10:41 +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
cdbcd7be7a No more commenting out sections in the example 2020-12-26 06:59:56 +02:00
Roey Darwish Dror
621c23c8f8 Bump 2020-08-23 09:15:36 +03:00
Alex Hamilton
806741b6fa Fix remote_topgrade_path example value (#486)
The `remote_topgrade_path` expects a string, not an array.
2020-07-29 20:51:12 +03:00
Alex Hamilton
69b9c4b24c Add remote_topgrade_path configuration option 2020-07-10 10:45:15 +03:00
John Karahalis
1728e3550f Remove superfluous space in config.example.toml (#465)
Small fix. Removes a space between the comment character and the
predefined_repos option to create consistency with other options.
2020-07-08 09:47:51 +03:00
Roey Darwish Dror
5c7f04c2cf Add ability to ignore certain failures (#461) 2020-07-02 11:15:56 +03:00
Roey Darwish Dror
3f80bee53a Self rename in Windows (fix #458) (#460) 2020-07-01 21:03:19 +03:00
Roey Darwish Dror
124b3f2506 Document assume_yes (fix #449) 2020-06-25 08:25:35 +03:00
Roey Darwish Dror
f386a36754 Comment out example portage flags 2020-06-21 19:54:44 +03:00
Roey Darwish Dror
4a4e779621 Add configuration flags for portage arguments (#436) 2020-06-19 10:34:45 +03:00
Roey Darwish Dror
9d7403a256 Deprecated configuration variables 2020-06-07 07:11:44 +03:00
Roey Darwish Dror
612d74840e Git concurrency limit (#420) 2020-06-06 17:34:27 +03:00
Roey Darwish Dror
98657edb60 Allow tlmgr to run in Linux (fix #406) 2020-06-03 22:12:27 +03:00
Roey Darwish Dror
3e08fda765 Add Trizen support (fix #271) (#409) 2020-05-15 21:10:01 +03:00
Roey Darwish Dror
819447dcdf Dnf arguments (fix #314) (#405) 2020-05-14 09:22:14 +03:00
Roey Darwish Dror
5060451066 Add a configuration variable for greedy cask (fix #401) 2020-05-12 09:07:54 +03:00
Roey Darwish Dror
ce7af763bb Add an option for self-updating composer (fix #318) (#346) 2020-03-08 21:38:25 +02:00
Roey Darwish Dror
8c12707693 Add a flag to control Windows update acceptance policy (fix #310) 2020-01-30 20:43:39 +02:00
Roey Darwish Dror
4f7f6281d7 Add a flag to disable the predefined git repositories (fix #305) 2020-01-28 21:04:59 +02:00
Roey Darwish Dror
8ce55f4c31 Add support for passing arguments to tmux (fix #236) (#250) 2019-11-06 07:27:01 +02:00
Idan Katz
0e07d804cc Handle gracefully config path not existing (Fixes #238) (#239) 2019-10-20 14:11:57 +03:00
Idan Katz
43f0b75397 Allow most command-line options to be configured in config file… (#237) 2019-10-10 11:25:59 +03:00
Idan Katz
11694247c1 Support yay arguments in config file (Closes #220) (#233) 2019-10-03 08:12:43 +03:00
Roey Darwish Dror
78cfffb73b Add a flag to control setting the terimnal title (fix #194) 2019-09-05 20:52:51 +03:00
Roey Darwish Dror
c3a979caec Add a configuration variable to control git arguments (fix #193) 2019-09-04 21:31:23 +03:00