{ "name": "topgrade", "version": "17.12.3", "summary": "topgrade: runs the updates of every package manager and tool it finds (cargo, pip, git repositories and more) in one go (Rust)", "category": "tool", "license": "GPL-3.0-or-later", "homepage": "https://github.com/topgrade-rs/topgrade", "source": { "url": "https://github.com/topgrade-rs/topgrade/archive/refs/tags/v17.12.3.tar.gz", "sha256": "2b7ec71fb11aa5d5db6e8b7fc492c28260835b1b64174923edae6cb38c50c4e6" }, "watch": {"kind": "github-release", "repo": "topgrade-rs/topgrade", "tag_regex": "^v([0-9]+\\.[0-9]+\\.[0-9]+)$", "revendor": {"tool": "cargo", "lockfile": "Cargo.lock"}}, "vendor": "vendor.txt", "deps": [], "env_packages": [], "static": true, "nss": true, "check": "bin/topgrade --version | has -x 'topgrade 17.12.3' && t=$(mktemp -d) && mkdir -p \"$t/.config\" && printf '[misc]\\nassume_yes = true\\nno_retry = true\\n\\n[commands]\\n\"bvs step\" = \"echo bvs-ran >> %s/marker\"\\n' \"$t\" > \"$t/.config/topgrade.toml\" && HOME=$t XDG_CONFIG_HOME=$t/.config NO_COLOR=1 bin/topgrade --allow-root --only custom_commands --dry-run < /dev/null > \"$t/dry\" 2>&1 && has \"Dry running: .*echo bvs-ran >> $t/marker\" < \"$t/dry\" && [ ! -e \"$t/marker\" ] && HOME=$t XDG_CONFIG_HOME=$t/.config NO_COLOR=1 bin/topgrade --allow-root --only custom_commands < /dev/null > \"$t/run\" 2>&1 && has 'bvs step: OK' < \"$t/run\" && [ \"$(cat \"$t/marker\")\" = bvs-ran ] && echo 'topgrade 17.12.3: a custom command step of its configuration shown by a dry run without running, then run once'" }