Open JamesClarke7283 opened 8 months ago
topgrade --no-retry --cleanup --yes
should be the command you want to run.
You can also edit the config file to have those options as default for the topgrade
invocation
Many tools that topgrade interacts with expect user interaction (for example, on arch, pacman). This would not work on those package managers unless unattended upgrade support is added.
Hello,
I stupon this too. You can also add --disabled <step>
if any answer is needed but not absolutely necessary in topgrade sequence.
There's several options avaible that use the same behaviour :
--yes [<STEP>...]. #Say yes to package manager's prompt
--only <STEP>... #Perform only the specified steps (experimental)
The step are the different step available in the host :
am, app_man, asdf, atom, audit, auto_cpufreq, bin, bob, brew_cask, brew_formula, bun, bun_packages, cargo, certbot, chezmoi, chocolatey, choosenim, clam_av_db, composer, conda, config_update, containers, custom_commands, deb_get, deno, distrobox, dkp_pacman, dotnet, elan, emacs, firmware, flatpak, flutter, fossil, gcloud, gem, ghcup, github_cli_extensions, git_repos, gnome_shell_extensions, go, guix, haxelib, helm, home_manager, jetpack, julia, juliaup, kakoune, helix, krew, lure, lensfun, macports, mamba, miktex, mas, maza, micro, mise, myrepos, nix, node, opam, pacdef, pacstall, pearl, pip3, pip_review, pip_review_local, pipupgrade, pipx, pkg, pkgin, platformio_core, pnpm, powershell, protonup, pyenv, raco, rcm, remotes, restarts, rtcl, ruby_gems, rustup, rye, scoop, sdkman, self_update, sheldon, shell, snap, sparkle, spicetify, stack, stew, system, tldr, tlmgr, tmux, toolbx, vagrant, vcpkg, vim, vscode, waydroid, winget, wsl, wsl_update, xcodes, yadm, yarn]
This comment is not related to the issue.
Perform only the specified steps (experimental)
I guess this option no longer needs to be experimental, let me update the doc.
Discussed in https://github.com/topgrade-rs/topgrade/discussions/736
Could we have some sort of builtin way to run topgrade periodically? like on boot(unattended-upgrades) or via a cron (every 12 or x hours). It would help my grandad especially who does not know much about computers and i have to do the updates myself every time i come round, would be better if they could optionally be automatic.