{"action":"created","issue":{"url":"https://api.github.com/repos/sepulworld/aptly_cli/issues/134","repository_url":"https://api.github.com/repos/sepulworld/aptly_cli","labels_url":"https://api.github.com/repos/sepulworld/aptly_cli/issues/134/labels{/name}","comments_url":"https://api.github.com/repos/sepulworld/aptly_cli/issues/134/comments","events_url":"https://api.github.com/repos/sepulworld/aptly_cli/issues/134/events","html_url":"https://github.com/sepulworld/aptly_cli/issues/134","id":167176863,"number":134,"title":"--debug appears to be broken","user":{"login":"sepulworld","id":538171,"avatar_url":"https://avatars.githubusercontent.com/u/538171?v=3","gravatar_id":"","url":"https://api.github.com/users/sepulworld","html_url":"https://github.com/sepulworld","followers_url":"https://api.github.com/users/sepulworld/followers","following_url":"https://api.github.com/users/sepulworld/following{/other_user}","gists_url":"https://api.github.com/users/sepulworld/gists{/gist_id}","starred_url":"https://api.github.com/users/sepulworld/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sepulworld/subscriptions","organizations_url":"https://api.github.com/users/sepulworld/orgs","repos_url":"https://api.github.com/users/sepulworld/repos","events_url":"https://api.github.com/users/sepulworld/events{/privacy}","received_events_url":"https://api.github.com/users/sepulworld/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"sepulworld","id":538171,"avatar_url":"https://avatars.githubusercontent.com/u/538171?v=3","gravatar_id":"","url":"https://api.github.com/users/sepulworld","html_url":"https://github.com/sepulworld","followers_url":"https://api.github.com/users/sepulworld/followers","following_url":"https://api.github.com/users/sepulworld/following{/other_user}","gists_url":"https://api.github.com/users/sepulworld/gists{/gist_id}","starred_url":"https://api.github.com/users/sepulworld/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sepulworld/subscriptions","organizations_url":"https://api.github.com/users/sepulworld/orgs","repos_url":"https://api.github.com/users/sepulworld/repos","events_url":"https://api.github.com/users/sepulworld/events{/privacy}","received_events_url":"https://api.github.com/users/sepulworld/received_events","type":"User","site_admin":false},"assignees":[{"login":"sepulworld","id":538171,"avatar_url":"https://avatars.githubusercontent.com/u/538171?v=3","gravatar_id":"","url":"https://api.github.com/users/sepulworld","html_url":"https://github.com/sepulworld","followers_url":"https://api.github.com/users/sepulworld/followers","following_url":"https://api.github.com/users/sepulworld/following{/other_user}","gists_url":"https://api.github.com/users/sepulworld/gists{/gist_id}","starred_url":"https://api.github.com/users/sepulworld/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sepulworld/subscriptions","organizations_url":"https://api.github.com/users/sepulworld/orgs","repos_url":"https://api.github.com/users/sepulworld/repos","events_url":"https://api.github.com/users/sepulworld/events{/privacy}","received_events_url":"https://api.github.com/users/sepulworld/received_events","type":"User","site_admin":false}],"milestone":null,"comments":9,"created_at":"2016-07-23T09:38:26Z","updated_at":"2016-07-23T18:00:55Z","closed_at":null,"body":"Looks like --debug doesn't work presently.  \r\n\r\n```debug_output $stdout``` L66 in aptly_command.rb doesn't appear to respond and even if you set ```debug_output $stdout``` directly in class AptlyCommand it isn't used when running http queries in let's say aptly_repo\r\n\r\n```\r\n$ aptly-cli repo_list --debug --no-config\r\n{\"Name\"=>\"testrepo\", \"Comment\"=>\"\", \"DefaultDistribution\"=>\"\", \"DefaultComponent\"=>\"main\"}\r\n{\"Name\"=>\"testrepocreate\", \"Comment\"=>\"testing repo creation\", \"DefaultDistribution\"=>\"precisecreatetest\", \"DefaultComponent\"=>\"\"}\r\n{\"Name\"=>\"testrepotoshow\", \"Comment\"=>\"testing repo show\", \"DefaultDistribution\"=>\"preciseshowtest\", \"DefaultComponent\"=>\"\"}\r\n{\"Name\"=>\"testrepo20\", \"Comment\"=>\"\", \"DefaultDistribution\"=>\"\", \"DefaultComponent\"=>\"main\"}\r\n{\"Name\"=>\"testrepotoquery\", \"Comment\"=>\"testing repo query with name\", \"DefaultDistribution\"=>\"precisequerytest\", \"DefaultComponent\"=>\"\"}\r\n{\"Name\"=>\"testrepoedit\", \"Comment\"=>\"testing repo edit distro name\", \"DefaultDistribution\"=>\"preciseeditdistnew\", \"DefaultComponent\"=>\"\"}\r\n```\r\n\r\nThe above command should include HTTP debug output from HTTParty."},"comment":{"url":"https://api.github.com/repos/sepulworld/aptly_cli/issues/comments/234731624","html_url":"https://github.com/sepulworld/aptly_cli/issues/134#issuecomment-234731624","issue_url":"https://api.github.com/repos/sepulworld/aptly_cli/issues/134","id":234731624,"user":{"login":"sepulworld","id":538171,"avatar_url":"https://avatars.githubusercontent.com/u/538171?v=3","gravatar_id":"","url":"https://api.github.com/users/sepulworld","html_url":"https://github.com/sepulworld","followers_url":"https://api.github.com/users/sepulworld/followers","following_url":"https://api.github.com/users/sepulworld/following{/other_user}","gists_url":"https://api.github.com/users/sepulworld/gists{/gist_id}","starred_url":"https://api.github.com/users/sepulworld/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sepulworld/subscriptions","organizations_url":"https://api.github.com/users/sepulworld/orgs","repos_url":"https://api.github.com/users/sepulworld/repos","events_url":"https://api.github.com/users/sepulworld/events{/privacy}","received_events_url":"https://api.github.com/users/sepulworld/received_events","type":"User","site_admin":false},"created_at":"2016-07-23T18:00:55Z","updated_at":"2016-07-23T18:00:55Z","body":"I think I have boiled it down to\r\n\r\n```if options.respond_to?(:debug)``` to passing"}}
{"actor":{"display_login":"sepulworld"}}