From 0264998a8956a2a4929f744a3d9f7e3ba4410b8d Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Tue, 26 Jan 2021 16:41:16 +0530 Subject: [PATCH] topgrade: init Signed-off-by: Harsh Shandilya --- README.md | 1 + topgrade.toml | 83 +++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 84 insertions(+) create mode 100644 topgrade.toml diff --git a/README.md b/README.md index b1a84e4..54259a8 100644 --- a/README.md +++ b/README.md @@ -10,3 +10,4 @@ Configuration files for various parts of my webserver - [systemd-units](systemd_units): Systemd units for various custom services I have on the webserver. - [mirror-bot.service](systemd_units/mirror-bot.service), [mirror-bot-2.service](systemd_units/mirror-bot-2.service): Systemd units for my copies of [aria-telegram-mirror-bot](https://github.com/out386/aria-telegram-mirror-bot). - [uno-bot.service](systemd_units/uno-bot.service): Service unit for the [mau_mau_bot](https://github.com/msfjarvis/mau_mau_bot) instance I run to play UNO with friends. +- [topgrade.toml](topgrade.toml): Config file for [topgrade](https://github.com/r-darwish/topgrade). diff --git a/topgrade.toml b/topgrade.toml new file mode 100644 index 0000000..ceeb84d --- /dev/null +++ b/topgrade.toml @@ -0,0 +1,83 @@ +# Don't ask for confirmations +#assume_yes = true + +# Disable specific steps - same options as the command line flag +#disable = ["system", "emacs"] + +# Ignore failures for these steps +#ignore_failures = ["powershell"] + +# Run specific steps - same options as the command line flag +#only = ["system", "emacs"] + +# Do not ask to retry failed steps (default: false) +#no_retry = true + +# Run inside tmux +#run_in_tmux = true + +# List of remote machines with Topgrade installed on them +#remote_topgrades = ["toothless", "pi", "parnas"] + +# Arguments to pass SSH when upgrading remote systems +#ssh_arguments = "-o ConnectTimeout=2" + +# Path to Topgrade executable on remote machines +#remote_topgrade_path = ".cargo/bin/topgrade" + +# Arguments to pass tmux when pulling Repositories +#tmux_arguments = "-S /var/tmux.sock" + +# Do not set the terminal title +#set_title = false + +# Cleanup temporary or old files +#cleanup = true + +[git] +#max_concurrency = 5 +# Additional git repositories to pull +#repos = [ +# "~/src/*/", +# "~/.config/something" +#] + +# Don't pull the predefined git repos +#predefined_repos = false + +# Arguments to pass Git when pulling Repositories +#arguments = "--rebase --autostash" + +[composer] +#self_update = true + +# Commands to run before anything +[pre_commands] +#"Emacs Snapshot" = "rm -rf ~/.emacs.d/elpa.bak && cp -rl ~/.emacs.d/elpa ~/.emacs.d/elpa.bak" + +# Custom commands +[commands] +#"Python Environment" = "~/dev/.env/bin/pip install -i https://pypi.python.org/simple -U --upgrade-strategy eager jupyter" +"Purge unused APT packages" = "sudo apt autoremove" + +[brew] +#greedy_cask = true + +[linux] +# Arguments to pass yay when updating packages +#yay_arguments = "--nodevel" +#trizen_arguments = "--devel" +#enable_tlmgr = true +#emerge_sync_flags = "-q" +#emerge_update_flags = "-uDNa --with-bdeps=y world" +#redhat_distro_sync = false + +[windows] +# Manually select Windows updates +#accept_all_updates = false +#open_remotes_in_new_terminal = true + +# Causes Topgrade to rename itself during the run to allow package managers +# to upgrade it. Use this only if you installed Topgrade by using a package +# manager such as Scoop to Cargo +#self_rename = true