Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancement #180 - option to automate build prompts #191

Open
wants to merge 12 commits into
base: master
Choose a base branch
from

Conversation

lilly-lizard
Copy link

@lilly-lizard lilly-lizard commented May 16, 2022

(kinda) resolves #180

  • adds --auto-build/-b option to automate rua promps for the upgrade, install and builddir subcommands
  • doesn't add --noconfirm to pacman commands so user input is still required there. I think this is best because --noconfirm will actually select No when replacing another package which isn't the desired behavior for a -y option. However I'd be happy to add --noconfirm to the code if you'd prefer.
  • automates build promps:
    • confirm install [O] in show_install_summary()
    • confirm upgrade [O] in upgrade_real()
    • confirm pacman install [S] in ensure_packages_installed() but skips [X] if first attempt fails
    • merge upstream [M]/use package [O] in review_repo()
    • skip tarcheck [O] in tar_check_archive()
  • whenever user input is automated, a message is printed to give the user immediate feedback that an option has been chosen and what the equivalent user input would be
    • the autobuild messages are italicized to distinguish from proceeding output and reduce visual clutter
    • where appropriate the autobuild selection is colorized to match the preceding prompt

rua-pr

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.

Give upgrade -y to process without confirmation?
1 participant