{"action":"created","issue":{"url":"https://api.github.com/repos/polygamma/aurman/issues/91","repository_url":"https://api.github.com/repos/polygamma/aurman","labels_url":"https://api.github.com/repos/polygamma/aurman/issues/91/labels{/name}","comments_url":"https://api.github.com/repos/polygamma/aurman/issues/91/comments","events_url":"https://api.github.com/repos/polygamma/aurman/issues/91/events","html_url":"https://github.com/polygamma/aurman/issues/91","id":322534599,"number":91,"title":"AUR updates prompt (again) during post-build install","user":{"login":"glen3b","id":3952667,"avatar_url":"https://avatars1.githubusercontent.com/u/3952667?v=4","gravatar_id":"","url":"https://api.github.com/users/glen3b","html_url":"https://github.com/glen3b","followers_url":"https://api.github.com/users/glen3b/followers","following_url":"https://api.github.com/users/glen3b/following{/other_user}","gists_url":"https://api.github.com/users/glen3b/gists{/gist_id}","starred_url":"https://api.github.com/users/glen3b/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/glen3b/subscriptions","organizations_url":"https://api.github.com/users/glen3b/orgs","repos_url":"https://api.github.com/users/glen3b/repos","events_url":"https://api.github.com/users/glen3b/events{/privacy}","received_events_url":"https://api.github.com/users/glen3b/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-05-12T18:56:04Z","updated_at":"2018-05-12T20:49:33Z","closed_at":"2018-05-12T19:26:09Z","author_association":"NONE","body":"_Feature request to make batch updates friendlier._\r\n\r\n## Description\r\nSince prompting for AUR sanity checking is done entirely at the beginning of the update process (`Do you want to see the changes of ___?`), once those prompts are done, the install should be completed in batch afterwards; that is, the actual package install command passed to pacman should not further prompt for confirmation.\r\n\r\n## Expected Behavior\r\nInstallation should occur in batch. No further blocking user prompts should be needed after the initial sequence of prompts.\r\nThe snippet below should not block waiting for user input where it does.\r\n\r\n## Current Behavior\r\nFor instance, when updating \"discord-canary\" (relevant exerpt from command line output):\r\n```\r\n==> Creating package \"discord-canary\"...\r\n  -> Generating .PKGINFO file...\r\n  -> Generating .BUILDINFO file...\r\n  -> Adding install file...\r\n  -> Generating .MTREE file...\r\n  -> Compressing package...\r\n==> Leaving fakeroot environment.\r\n==> Finished making: discord-canary 0.0.49-1 (Sat May 12 11:42:07 PDT 2018)\r\n==> Cleaning up...\r\nloading packages...\r\nresolving dependencies...\r\nlooking for conflicting packages...\r\n\r\nPackages (1) discord-canary-0.0.49-1\r\n\r\nTotal Installed Size:  145.69 MiB\r\nNet Upgrade Size:        0.00 MiB\r\n\r\n:: Proceed with installation? [Y/n] \r\n```\r\nIt blocks waiting for user input, even though I've already completed all confirmation prompts before the AUR updating began.\r\n\r\n## Possible Solution\r\nI don't know where this is in your code, but probably just pass a `--noconfirm` to the underlying pacman call for AUR package updates/installations. Not sure if this could cause issues in potentially dangerous edge cases but it would probably work here. Assuming no edge cases we're worried about, should be a fairly straightforward fix.\r\n\r\n## Steps to Reproduce\r\n\r\n1. `aurman -Syu` (and wait for repository phase to finish)\r\n2. Answer all prompts at the beginning of the AUR update process\r\n3. Wait for one package build to complete, and then wait for it to prompt for installation\r\n"},"comment":{"url":"https://api.github.com/repos/polygamma/aurman/issues/comments/388581967","html_url":"https://github.com/polygamma/aurman/issues/91#issuecomment-388581967","issue_url":"https://api.github.com/repos/polygamma/aurman/issues/91","id":388581967,"user":{"login":"glen3b","id":3952667,"avatar_url":"https://avatars1.githubusercontent.com/u/3952667?v=4","gravatar_id":"","url":"https://api.github.com/users/glen3b","html_url":"https://github.com/glen3b","followers_url":"https://api.github.com/users/glen3b/followers","following_url":"https://api.github.com/users/glen3b/following{/other_user}","gists_url":"https://api.github.com/users/glen3b/gists{/gist_id}","starred_url":"https://api.github.com/users/glen3b/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/glen3b/subscriptions","organizations_url":"https://api.github.com/users/glen3b/orgs","repos_url":"https://api.github.com/users/glen3b/repos","events_url":"https://api.github.com/users/glen3b/events{/privacy}","received_events_url":"https://api.github.com/users/glen3b/received_events","type":"User","site_admin":false},"created_at":"2018-05-12T20:49:33Z","updated_at":"2018-05-12T20:49:33Z","author_association":"NONE","body":"This is potentially a dupe of/related to #73 "}}
{"actor":{"display_login":"glen3b"}}