{"action":"created","issue":{"url":"https://api.github.com/repos/ansible/ansible-modules-extras/issues/235","labels_url":"https://api.github.com/repos/ansible/ansible-modules-extras/issues/235/labels{/name}","comments_url":"https://api.github.com/repos/ansible/ansible-modules-extras/issues/235/comments","events_url":"https://api.github.com/repos/ansible/ansible-modules-extras/issues/235/events","html_url":"https://github.com/ansible/ansible-modules-extras/pull/235","id":56425715,"number":235,"title":"pkgng: add 'batch' parameter","user":{"login":"mwpher","id":5957891,"avatar_url":"https://avatars.githubusercontent.com/u/5957891?v=3","gravatar_id":"","url":"https://api.github.com/users/mwpher","html_url":"https://github.com/mwpher","followers_url":"https://api.github.com/users/mwpher/followers","following_url":"https://api.github.com/users/mwpher/following{/other_user}","gists_url":"https://api.github.com/users/mwpher/gists{/gist_id}","starred_url":"https://api.github.com/users/mwpher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mwpher/subscriptions","organizations_url":"https://api.github.com/users/mwpher/orgs","repos_url":"https://api.github.com/users/mwpher/repos","events_url":"https://api.github.com/users/mwpher/events{/privacy}","received_events_url":"https://api.github.com/users/mwpher/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ansible/ansible-modules-extras/labels/bugfix_pull_request","name":"bugfix_pull_request","color":"ded270"},{"url":"https://api.github.com/repos/ansible/ansible-modules-extras/labels/needs_revision","name":"needs_revision","color":"eb6450"},{"url":"https://api.github.com/repos/ansible/ansible-modules-extras/labels/P3","name":"P3","color":"fef2c0"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-02-03T19:39:25Z","updated_at":"2015-02-03T21:47:14Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ansible/ansible-modules-extras/pulls/235","html_url":"https://github.com/ansible/ansible-modules-extras/pull/235","diff_url":"https://github.com/ansible/ansible-modules-extras/pull/235.diff","patch_url":"https://github.com/ansible/ansible-modules-extras/pull/235.patch"},"body":"Some packages attempt to prompt the user for certain settings during\r\ninstallation. Thus, this parameter sets the environment variable\r\n$BATCH to 'yes', which forces package installation scripts to accept\r\ndefault values for these interactive prompts. This should work for all\r\nprompts that have a default value and aren't implemented through a\r\ncustom script (as this variable is built into the ports/package system).\r\nThis feature was created once I realized that package installs hang\r\nwhen installing an interactive package without this variable set.\r\nHopefully someone smarter then me can fix that issue.\r\n\r\nA good matching feature would be allowing the user to specify custom\r\nanswers to these package prompts.\r\n\r\nAlthough this variable is integrated into the pkg/port system and thus\r\nshould work with most prompts, I have NOT tested this with any\r\npackages besides bsdstats. Please let me know what I can improve\r\nupon next time."},"comment":{"url":"https://api.github.com/repos/ansible/ansible-modules-extras/issues/comments/72741953","html_url":"https://github.com/ansible/ansible-modules-extras/pull/235#issuecomment-72741953","issue_url":"https://api.github.com/repos/ansible/ansible-modules-extras/issues/235","id":72741953,"user":{"login":"mwpher","id":5957891,"avatar_url":"https://avatars.githubusercontent.com/u/5957891?v=3","gravatar_id":"","url":"https://api.github.com/users/mwpher","html_url":"https://github.com/mwpher","followers_url":"https://api.github.com/users/mwpher/followers","following_url":"https://api.github.com/users/mwpher/following{/other_user}","gists_url":"https://api.github.com/users/mwpher/gists{/gist_id}","starred_url":"https://api.github.com/users/mwpher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mwpher/subscriptions","organizations_url":"https://api.github.com/users/mwpher/orgs","repos_url":"https://api.github.com/users/mwpher/repos","events_url":"https://api.github.com/users/mwpher/events{/privacy}","received_events_url":"https://api.github.com/users/mwpher/received_events","type":"User","site_admin":false},"created_at":"2015-02-03T21:47:14Z","updated_at":"2015-02-03T21:47:14Z","body":"Committed! Anything else to change?"}}