Skip to content

Add option to skip the upgrade exclusion prompt - #2969

Open
fzlzjerry wants to merge 1 commit into
Jguer:nextfrom
fzlzjerry:feat/2814-upgrade-menu
Open

Add option to skip the upgrade exclusion prompt#2969
fzlzjerry wants to merge 1 commit into
Jguer:nextfrom
fzlzjerry:feat/2814-upgrade-menu

Conversation

@fzlzjerry

Copy link
Copy Markdown

Fixes #2814.

Summary

  • add a noupgrademenu JSON/CLI option and no_upgrade_menu Lua option
  • keep listing available upgrades while accepting the remaining packages without reading stdin
  • preserve UpgradeSelect hook exclusions and keep the prompt enabled by default
  • document the option and expose it in Bash, Fish, and Zsh completions

Testing

  • make test
  • GOFLAGS="-buildvcs=false -tags=next" /app/bin/golangci-lint run ./...
  • bash -n completions/bash

Tests were run in ghcr.io/jguer/yay-builder:latest, matching the repository's Arch/libalpm CI environment.

@fzlzjerry
fzlzjerry requested a review from Jguer as a code owner August 12, 2026 03:52
Copilot AI lite review requested due to automatic review settings August 12, 2026 03:52

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Option not to exclude packages

2 participants