2023-05-25 12:22:11 +02:00
|
|
|
|
# Include any additional configuration file(s)
|
|
|
|
|
|
# [include] sections are processed in the order you write them
|
2023-07-14 18:12:32 +02:00
|
|
|
|
# Files in $CONFIG_DIR/topgrade.d/ are automatically included before this file
|
2023-06-01 19:02:39 +08:00
|
|
|
|
[include]
|
2023-10-18 11:13:14 +08:00
|
|
|
|
# paths = ["/etc/topgrade.toml"]
|
|
|
|
|
|
|
2023-05-25 12:22:11 +02:00
|
|
|
|
|
|
|
|
|
|
[misc]
|
2023-10-18 11:13:14 +08:00
|
|
|
|
# Run `sudo -v` to cache credentials at the start of the run
|
|
|
|
|
|
# This avoids a blocking password prompt in the middle of an unattended run
|
|
|
|
|
|
# (default: false)
|
|
|
|
|
|
# pre_sudo = false
|
|
|
|
|
|
|
|
|
|
|
|
# Sudo command to be used
|
|
|
|
|
|
# sudo_command = "sudo"
|
2020-06-25 08:22:37 +03:00
|
|
|
|
|
2019-10-10 11:26:00 +03:00
|
|
|
|
# Disable specific steps - same options as the command line flag
|
2023-10-18 11:13:14 +08:00
|
|
|
|
# disable = ["system", "emacs"]
|
2019-08-22 22:08:28 +03:00
|
|
|
|
|
2020-07-02 11:15:56 +03:00
|
|
|
|
# Ignore failures for these steps
|
2023-10-18 11:13:14 +08:00
|
|
|
|
# ignore_failures = ["powershell"]
|
2020-07-02 11:15:56 +03:00
|
|
|
|
|
2023-10-18 11:13:14 +08:00
|
|
|
|
# List of remote machines with Topgrade installed on them
|
|
|
|
|
|
# remote_topgrades = ["toothless", "pi", "parnas"]
|
2019-10-10 11:26:00 +03:00
|
|
|
|
|
2023-10-18 11:13:14 +08:00
|
|
|
|
# Path to Topgrade executable on remote machines
|
|
|
|
|
|
# remote_topgrade_path = ".cargo/bin/topgrade"
|
2019-10-10 11:26:00 +03:00
|
|
|
|
|
2023-10-18 11:13:14 +08:00
|
|
|
|
# Arguments to pass to SSH when upgrading remote systems
|
|
|
|
|
|
# ssh_arguments = "-o ConnectTimeout=2"
|
2023-03-13 19:23:37 +00:00
|
|
|
|
|
2023-10-18 11:13:14 +08:00
|
|
|
|
# Arguments to pass tmux when pulling Repositories
|
|
|
|
|
|
# tmux_arguments = "-S /var/tmux.sock"
|
2022-11-24 14:15:43 -05:00
|
|
|
|
|
2023-11-10 03:32:15 +01:00
|
|
|
|
# Do not set the terminal title (default: true)
|
2023-10-18 11:13:14 +08:00
|
|
|
|
# set_title = true
|
2019-10-10 11:26:00 +03:00
|
|
|
|
|
2023-10-18 11:13:14 +08:00
|
|
|
|
# Display the time in step titles (default: true)
|
|
|
|
|
|
# display_time = true
|
2019-08-22 22:08:28 +03:00
|
|
|
|
|
2023-10-18 11:13:14 +08:00
|
|
|
|
# Don't ask for confirmations (no default value)
|
|
|
|
|
|
# assume_yes = true
|
2019-09-04 21:12:10 +03:00
|
|
|
|
|
2023-10-18 11:13:14 +08:00
|
|
|
|
# Do not ask to retry failed steps (default: false)
|
|
|
|
|
|
# no_retry = true
|
2020-07-10 02:45:15 -05:00
|
|
|
|
|
2023-10-18 11:13:14 +08:00
|
|
|
|
# Run inside tmux (default: false)
|
|
|
|
|
|
# run_in_tmux = true
|
2019-11-06 07:27:01 +02:00
|
|
|
|
|
2024-09-17 20:06:39 +07:00
|
|
|
|
# Changes the way topgrade interacts with
|
|
|
|
|
|
# the tmux session, creating the session
|
|
|
|
|
|
# and only attaching to it if not inside tmux
|
|
|
|
|
|
# (default: "attach_if_not_in_session", allowed values: "attach_if_not_in_session", "attach_always")
|
|
|
|
|
|
# tmux_session_mode = "attach_if_not_in_session"
|
|
|
|
|
|
|
2023-10-18 11:13:14 +08:00
|
|
|
|
# Cleanup temporary or old files (default: false)
|
|
|
|
|
|
# cleanup = true
|
2020-03-08 21:38:25 +02:00
|
|
|
|
|
2023-10-18 11:13:14 +08:00
|
|
|
|
# Send a notification for every step (default: false)
|
|
|
|
|
|
# notify_each_step = false
|
2022-03-29 03:42:47 +03:00
|
|
|
|
|
2023-10-18 11:13:14 +08:00
|
|
|
|
# Skip sending a notification at the end of a run (default: false)
|
|
|
|
|
|
# skip_notify = true
|
2020-03-08 21:38:25 +02:00
|
|
|
|
|
2023-10-18 11:13:14 +08:00
|
|
|
|
# The Bash-it branch to update (default: "stable")
|
|
|
|
|
|
# bashit_branch = "stable"
|
2022-10-10 20:21:20 +00:00
|
|
|
|
|
2023-10-18 11:13:14 +08:00
|
|
|
|
# Run specific steps - same options as the command line flag
|
|
|
|
|
|
# only = ["system", "emacs"]
|
2023-03-22 22:05:21 +01:00
|
|
|
|
|
2023-10-18 11:13:14 +08:00
|
|
|
|
# Whether to self update
|
|
|
|
|
|
#
|
|
|
|
|
|
# this will be ignored if the binary is built without self update support
|
|
|
|
|
|
#
|
|
|
|
|
|
# available also via setting the environment variable TOPGRADE_NO_SELF_UPGRADE)
|
|
|
|
|
|
# no_self_update = true
|
2023-07-24 13:07:55 +08:00
|
|
|
|
|
2023-09-17 03:04:46 -04:00
|
|
|
|
# Extra tracing filter directives
|
|
|
|
|
|
# These are prepended to the `--log-filter` argument
|
|
|
|
|
|
# See: https://docs.rs/tracing-subscriber/latest/tracing_subscriber/filter/struct.EnvFilter.html#directives
|
2023-10-18 11:13:14 +08:00
|
|
|
|
# log_filters = ["topgrade::command=debug", "warn"]
|
|
|
|
|
|
|
2023-09-17 03:04:46 -04:00
|
|
|
|
|
2019-08-22 22:08:28 +03:00
|
|
|
|
# Commands to run before anything
|
2020-12-26 06:59:56 +02:00
|
|
|
|
[pre_commands]
|
2023-10-18 11:13:14 +08:00
|
|
|
|
# "Emacs Snapshot" = "rm -rf ~/.emacs.d/elpa.bak && cp -rl ~/.emacs.d/elpa ~/.emacs.d/elpa.bak"
|
|
|
|
|
|
|
2019-08-22 22:08:28 +03:00
|
|
|
|
|
2023-07-15 00:13:44 +08:00
|
|
|
|
# Commands to run after anything
|
|
|
|
|
|
[post_commands]
|
2023-10-18 11:13:14 +08:00
|
|
|
|
# "Emacs Snapshot" = "rm -rf ~/.emacs.d/elpa.bak && cp -rl ~/.emacs.d/elpa ~/.emacs.d/elpa.bak"
|
|
|
|
|
|
|
2023-07-15 00:13:44 +08:00
|
|
|
|
|
2019-08-22 22:08:28 +03:00
|
|
|
|
# Custom commands
|
2020-12-26 06:59:56 +02:00
|
|
|
|
[commands]
|
2023-10-18 11:13:14 +08:00
|
|
|
|
# "Python Environment" = "~/dev/.env/bin/pip install -i https://pypi.python.org/simple -U --upgrade-strategy eager jupyter"
|
|
|
|
|
|
# "Custom command using interactive shell (unix)" = "-i vim_upgrade"
|
|
|
|
|
|
|
2020-05-12 09:07:54 +03:00
|
|
|
|
|
2023-07-15 00:13:44 +08:00
|
|
|
|
[python]
|
2023-10-18 11:13:14 +08:00
|
|
|
|
# enable_pip_review = true ###disabled by default
|
|
|
|
|
|
# enable_pip_review_local = true ###disabled by default
|
|
|
|
|
|
# enable_pipupgrade = true ###disabled by default
|
|
|
|
|
|
# pipupgrade_arguments = "-y -u --pip-path pip" ###disabled by default
|
|
|
|
|
|
|
2023-07-15 00:13:44 +08:00
|
|
|
|
|
|
|
|
|
|
[composer]
|
2023-10-18 11:13:14 +08:00
|
|
|
|
# self_update = true
|
|
|
|
|
|
|
2023-07-15 00:13:44 +08:00
|
|
|
|
|
2020-12-26 06:59:56 +02:00
|
|
|
|
[brew]
|
2024-02-17 13:14:39 +08:00
|
|
|
|
# For the BrewCask step
|
|
|
|
|
|
# If `Repo Cask Upgrade` exists, then use the `-a` option.
|
|
|
|
|
|
# Otherwise, use the `--greedy` option.
|
2023-10-18 11:13:14 +08:00
|
|
|
|
# greedy_cask = true
|
2024-02-17 13:14:39 +08:00
|
|
|
|
|
|
|
|
|
|
# For the BrewCask step
|
2024-04-13 19:28:03 -07:00
|
|
|
|
# If `Repo Cask Upgrade` does not exist, then use the `--greedy_latest` option.
|
2024-02-17 13:14:39 +08:00
|
|
|
|
# NOTE: the above entry `greedy_cask` contains this entry, though you can enable
|
|
|
|
|
|
# both of them, they won't clash with each other.
|
2024-02-17 00:45:57 -03:00
|
|
|
|
# greedy_latest = true
|
2024-02-17 13:14:39 +08:00
|
|
|
|
|
|
|
|
|
|
# For the BrewFormula step
|
|
|
|
|
|
# Execute `brew autoremove` after the step.
|
2023-10-18 11:13:14 +08:00
|
|
|
|
# autoremove = true
|
|
|
|
|
|
|
2024-02-17 13:14:39 +08:00
|
|
|
|
# For the BrewFormula step
|
2024-02-06 10:17:27 +02:00
|
|
|
|
# Upgrade formulae built from the HEAD branch; `brew upgrade --fetch-HEAD`
|
|
|
|
|
|
# fetch_head = true
|
|
|
|
|
|
|
2020-05-14 09:22:14 +03:00
|
|
|
|
|
2020-12-26 06:59:56 +02:00
|
|
|
|
[linux]
|
2023-10-18 11:13:14 +08:00
|
|
|
|
# Arch Package Manager to use.
|
|
|
|
|
|
# Allowed values:
|
|
|
|
|
|
# autodetect, aura, garuda_update, pacman, pamac, paru, pikaur, trizen, yay
|
|
|
|
|
|
# arch_package_manager = "pacman"
|
|
|
|
|
|
|
2021-10-09 09:31:35 -03:00
|
|
|
|
# Arguments to pass yay (or paru) when updating packages
|
2023-10-18 11:13:14 +08:00
|
|
|
|
# yay_arguments = "--nodevel"
|
|
|
|
|
|
|
2022-12-30 15:52:04 -07:00
|
|
|
|
# Arguments to pass dnf when updating packages
|
2023-10-18 11:13:14 +08:00
|
|
|
|
# dnf_arguments = "--refresh"
|
|
|
|
|
|
|
|
|
|
|
|
# aura_aur_arguments = "-kx"
|
|
|
|
|
|
|
|
|
|
|
|
# aura_pacman_arguments = ""
|
|
|
|
|
|
# garuda_update_arguments = ""
|
|
|
|
|
|
|
|
|
|
|
|
# show_arch_news = true
|
|
|
|
|
|
|
|
|
|
|
|
# trizen_arguments = "--devel"
|
|
|
|
|
|
|
|
|
|
|
|
# pikaur_arguments = ""
|
|
|
|
|
|
|
|
|
|
|
|
# pamac_arguments = "--no-devel"
|
|
|
|
|
|
|
|
|
|
|
|
# enable_tlmgr = true
|
|
|
|
|
|
|
|
|
|
|
|
# emerge_sync_flags = "-q"
|
|
|
|
|
|
|
|
|
|
|
|
# emerge_update_flags = "-uDNa --with-bdeps=y world"
|
|
|
|
|
|
|
|
|
|
|
|
# redhat_distro_sync = false
|
|
|
|
|
|
|
|
|
|
|
|
# suse_dup = false
|
|
|
|
|
|
|
|
|
|
|
|
# rpm_ostree = false
|
|
|
|
|
|
|
|
|
|
|
|
# nix_arguments = "--flake"
|
|
|
|
|
|
|
|
|
|
|
|
# nix_env_arguments = "--prebuilt-only"
|
|
|
|
|
|
|
|
|
|
|
|
# Extra Home Manager arguments
|
|
|
|
|
|
# home_manager_arguments = ["--flake", "file"]
|
|
|
|
|
|
|
2023-01-29 19:19:27 +00:00
|
|
|
|
|
2023-07-15 00:13:44 +08:00
|
|
|
|
[git]
|
2024-01-24 03:22:36 +01:00
|
|
|
|
# How many repos to pull at max in parallel
|
2023-11-22 09:34:21 +08:00
|
|
|
|
# max_concurrency = 5
|
|
|
|
|
|
|
2023-11-22 02:04:19 +01:00
|
|
|
|
# Additional git repositories to pull
|
2023-11-22 09:34:21 +08:00
|
|
|
|
# repos = [
|
|
|
|
|
|
# "~/src/*/",
|
|
|
|
|
|
# "~/.config/something"
|
|
|
|
|
|
# ]
|
2023-10-13 11:01:35 +02:00
|
|
|
|
|
2023-07-15 00:13:44 +08:00
|
|
|
|
# Don't pull the predefined git repos
|
2023-10-18 11:13:14 +08:00
|
|
|
|
# pull_predefined = false
|
2023-07-15 00:13:44 +08:00
|
|
|
|
|
2023-11-22 02:04:19 +01:00
|
|
|
|
# Arguments to pass Git when pulling Repositories
|
2023-11-22 09:34:21 +08:00
|
|
|
|
# arguments = "--rebase --autostash"
|
2020-06-06 17:34:27 +03:00
|
|
|
|
|
2024-01-24 03:22:36 +01:00
|
|
|
|
|
2020-12-26 06:59:56 +02:00
|
|
|
|
[windows]
|
2020-06-07 07:11:44 +03:00
|
|
|
|
# Manually select Windows updates
|
2023-10-18 11:13:14 +08:00
|
|
|
|
# accept_all_updates = false
|
|
|
|
|
|
|
|
|
|
|
|
# open_remotes_in_new_terminal = true
|
|
|
|
|
|
|
|
|
|
|
|
# wsl_update_pre_release = true
|
|
|
|
|
|
|
|
|
|
|
|
# wsl_update_use_web_download = true
|
2020-06-07 07:11:44 +03:00
|
|
|
|
|
2020-12-26 16:10:41 -03:00
|
|
|
|
# Causes Topgrade to rename itself during the run to allow package managers
|
2020-07-01 21:03:19 +03:00
|
|
|
|
# to upgrade it. Use this only if you installed Topgrade by using a package
|
2022-10-10 20:15:30 +00:00
|
|
|
|
# manager such as Scoop or Cargo
|
2023-10-18 11:13:14 +08:00
|
|
|
|
# self_rename = true
|
|
|
|
|
|
|
2021-06-09 10:52:48 +03:00
|
|
|
|
|
|
|
|
|
|
[npm]
|
|
|
|
|
|
# Use sudo if the NPM directory isn't owned by the current user
|
2023-10-18 11:13:14 +08:00
|
|
|
|
# use_sudo = true
|
|
|
|
|
|
|
2021-06-30 11:15:18 +02:00
|
|
|
|
|
2023-07-15 00:13:44 +08:00
|
|
|
|
[yarn]
|
|
|
|
|
|
# Run `yarn global upgrade` with `sudo`
|
2023-10-18 11:13:14 +08:00
|
|
|
|
# use_sudo = true
|
|
|
|
|
|
|
2023-07-15 00:13:44 +08:00
|
|
|
|
|
|
|
|
|
|
[vim]
|
|
|
|
|
|
# For `vim-plug`, execute `PlugUpdate!` instead of `PlugUpdate`
|
2023-10-18 11:13:14 +08:00
|
|
|
|
# force_plug_update = true
|
|
|
|
|
|
|
2023-07-15 00:13:44 +08:00
|
|
|
|
|
2021-06-30 11:15:18 +02:00
|
|
|
|
[firmware]
|
|
|
|
|
|
# Offer to update firmware; if false just check for and display available updates
|
2023-10-18 11:13:14 +08:00
|
|
|
|
# upgrade = true
|
|
|
|
|
|
|
2021-06-30 12:37:41 +02:00
|
|
|
|
|
2023-07-15 00:13:44 +08:00
|
|
|
|
[vagrant]
|
|
|
|
|
|
# Vagrant directories
|
2023-10-18 11:13:14 +08:00
|
|
|
|
# directories = []
|
2023-07-15 00:13:44 +08:00
|
|
|
|
|
|
|
|
|
|
# power on vagrant boxes if needed
|
2023-10-18 11:13:14 +08:00
|
|
|
|
# power_on = true
|
2023-07-15 00:13:44 +08:00
|
|
|
|
|
|
|
|
|
|
# Always suspend vagrant boxes instead of powering off
|
2023-10-18 11:13:14 +08:00
|
|
|
|
# always_suspend = true
|
|
|
|
|
|
|
2023-07-15 00:13:44 +08:00
|
|
|
|
|
2021-06-30 12:37:41 +02:00
|
|
|
|
[flatpak]
|
|
|
|
|
|
# Use sudo for updating the system-wide installation
|
2023-10-18 11:13:14 +08:00
|
|
|
|
# use_sudo = true
|
|
|
|
|
|
|
2022-10-28 00:29:35 +02:00
|
|
|
|
|
|
|
|
|
|
[distrobox]
|
2023-10-18 11:13:14 +08:00
|
|
|
|
# use_root = false
|
|
|
|
|
|
|
2023-11-10 03:32:15 +01:00
|
|
|
|
# containers = ["archlinux-latest"]
|
2023-11-24 09:44:52 +01:00
|
|
|
|
[containers]
|
2024-01-27 10:54:55 +08:00
|
|
|
|
# Specify the containers to ignore while updating (Wildcard supported)
|
|
|
|
|
|
# ignored_containers = ["ghcr.io/rancher-sandbox/rancher-desktop/rdx-proxy:latest", "docker.io*"]
|
2024-09-01 03:35:23 -04:00
|
|
|
|
# Specify the runtime to use for containers (default: "docker", allowed values: "docker", "podman")
|
|
|
|
|
|
# runtime = "podman"
|
2024-06-30 22:41:09 +08:00
|
|
|
|
|
|
|
|
|
|
[lensfun]
|
|
|
|
|
|
# If disabled, Topgrade invokes `lensfun‑update‑data` without root priviledge,
|
|
|
|
|
|
# then the update will be only available to you. Otherwise, `sudo` is required,
|
|
|
|
|
|
# and the update will be installed system-wide, i.e., available to all users.
|
|
|
|
|
|
# (default: false)
|
|
|
|
|
|
# use_sudo = false
|