{"action":"created","issue":{"url":"https://api.github.com/repos/NetBSDfr/pkgin/issues/46","labels_url":"https://api.github.com/repos/NetBSDfr/pkgin/issues/46/labels{/name}","comments_url":"https://api.github.com/repos/NetBSDfr/pkgin/issues/46/comments","events_url":"https://api.github.com/repos/NetBSDfr/pkgin/issues/46/events","html_url":"https://github.com/NetBSDfr/pkgin/issues/46","id":73689622,"number":46,"title":"pkgin changes behavior if output is a tty or not, breaks Ansible","user":{"login":"jeffrizzo","id":1009305,"avatar_url":"https://avatars.githubusercontent.com/u/1009305?v=3","gravatar_id":"","url":"https://api.github.com/users/jeffrizzo","html_url":"https://github.com/jeffrizzo","followers_url":"https://api.github.com/users/jeffrizzo/followers","following_url":"https://api.github.com/users/jeffrizzo/following{/other_user}","gists_url":"https://api.github.com/users/jeffrizzo/gists{/gist_id}","starred_url":"https://api.github.com/users/jeffrizzo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeffrizzo/subscriptions","organizations_url":"https://api.github.com/users/jeffrizzo/orgs","repos_url":"https://api.github.com/users/jeffrizzo/repos","events_url":"https://api.github.com/users/jeffrizzo/events{/privacy}","received_events_url":"https://api.github.com/users/jeffrizzo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-06T17:47:17Z","updated_at":"2015-05-08T19:51:58Z","closed_at":null,"body":"when the '-p' flag was added (a good thing!), a change was also made to have this if output is not a tty.\r\n\r\nThis breaks (among other things, probably) pkgin's usage in ansible.  (See \r\nhttps://github.com/ansible/ansible-modules-extras/pull/316? for more details)\r\n\r\nin other words:  to support future tools better, you broke existing tools :(\r\n\r\nI'm not certain whether switching back is a good thing or not at this point;  it's worth pointing out that this affects all versions of ansible from 1.7 to 1.9.1 - ansible 1.6.3 (which is the current version in pkgsrc) has more limited pkgin support, and doesn't break in this particular way (but it breaks in other ways, which were fixed in newer ansible, at least until pkgin broke it entirely)"},"comment":{"url":"https://api.github.com/repos/NetBSDfr/pkgin/issues/comments/100339578","html_url":"https://github.com/NetBSDfr/pkgin/issues/46#issuecomment-100339578","issue_url":"https://api.github.com/repos/NetBSDfr/pkgin/issues/46","id":100339578,"user":{"login":"bcoca","id":836171,"avatar_url":"https://avatars.githubusercontent.com/u/836171?v=3","gravatar_id":"","url":"https://api.github.com/users/bcoca","html_url":"https://github.com/bcoca","followers_url":"https://api.github.com/users/bcoca/followers","following_url":"https://api.github.com/users/bcoca/following{/other_user}","gists_url":"https://api.github.com/users/bcoca/gists{/gist_id}","starred_url":"https://api.github.com/users/bcoca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bcoca/subscriptions","organizations_url":"https://api.github.com/users/bcoca/orgs","repos_url":"https://api.github.com/users/bcoca/repos","events_url":"https://api.github.com/users/bcoca/events{/privacy}","received_events_url":"https://api.github.com/users/bcoca/received_events","type":"User","site_admin":false},"created_at":"2015-05-08T19:51:58Z","updated_at":"2015-05-08T19:51:58Z","body":"fhis should be fixed by merged #454"}}