{"action":"created","issue":{"url":"https://api.github.com/repos/Katello/katello-client-bootstrap/issues/91","repository_url":"https://api.github.com/repos/Katello/katello-client-bootstrap","labels_url":"https://api.github.com/repos/Katello/katello-client-bootstrap/issues/91/labels{/name}","comments_url":"https://api.github.com/repos/Katello/katello-client-bootstrap/issues/91/comments","events_url":"https://api.github.com/repos/Katello/katello-client-bootstrap/issues/91/events","html_url":"https://github.com/Katello/katello-client-bootstrap/pull/91","id":160406764,"number":91,"title":"Added documentation, comments and reshuffled code with __main__ check","user":{"login":"ericzolf","id":3105685,"avatar_url":"https://avatars.githubusercontent.com/u/3105685?v=3","gravatar_id":"","url":"https://api.github.com/users/ericzolf","html_url":"https://github.com/ericzolf","followers_url":"https://api.github.com/users/ericzolf/followers","following_url":"https://api.github.com/users/ericzolf/following{/other_user}","gists_url":"https://api.github.com/users/ericzolf/gists{/gist_id}","starred_url":"https://api.github.com/users/ericzolf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericzolf/subscriptions","organizations_url":"https://api.github.com/users/ericzolf/orgs","repos_url":"https://api.github.com/users/ericzolf/repos","events_url":"https://api.github.com/users/ericzolf/events{/privacy}","received_events_url":"https://api.github.com/users/ericzolf/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-06-15T12:11:13Z","updated_at":"2016-06-15T15:17:21Z","closed_at":"2016-06-15T15:17:21Z","pull_request":{"url":"https://api.github.com/repos/Katello/katello-client-bootstrap/pulls/91","html_url":"https://github.com/Katello/katello-client-bootstrap/pull/91","diff_url":"https://github.com/Katello/katello-client-bootstrap/pull/91.diff","patch_url":"https://github.com/Katello/katello-client-bootstrap/pull/91.patch"},"body":"Add documentation and reshuffled code with __main__ check for pydoc usage.\r\nAdd comments with double hash (##) to better understand flow of script (that was actually a learning activity for me).\r\nUse `pydoc ./bootstrap.py` to get the documentation.\r\nUse `awk -F\\#\\# 'NF>1 {print $2}' ./bootstrap.py` to see the flow.\r\nThe commit is relatively important but if you look at the diff, you'll see that the code actually doesn't change, with the exception of the __main__ check, and that only lines have been moved around and comments / documentation added all over the place.\r\n\r\nThere are a few TODO marks where I was not sure what the purpose / reason / context of the commented code was supposed to be."},"comment":{"url":"https://api.github.com/repos/Katello/katello-client-bootstrap/issues/comments/226220137","html_url":"https://github.com/Katello/katello-client-bootstrap/pull/91#issuecomment-226220137","issue_url":"https://api.github.com/repos/Katello/katello-client-bootstrap/issues/91","id":226220137,"user":{"login":"ericzolf","id":3105685,"avatar_url":"https://avatars.githubusercontent.com/u/3105685?v=3","gravatar_id":"","url":"https://api.github.com/users/ericzolf","html_url":"https://github.com/ericzolf","followers_url":"https://api.github.com/users/ericzolf/followers","following_url":"https://api.github.com/users/ericzolf/following{/other_user}","gists_url":"https://api.github.com/users/ericzolf/gists{/gist_id}","starred_url":"https://api.github.com/users/ericzolf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericzolf/subscriptions","organizations_url":"https://api.github.com/users/ericzolf/orgs","repos_url":"https://api.github.com/users/ericzolf/repos","events_url":"https://api.github.com/users/ericzolf/events{/privacy}","received_events_url":"https://api.github.com/users/ericzolf/received_events","type":"User","site_admin":false},"created_at":"2016-06-15T15:17:21Z","updated_at":"2016-06-15T15:17:21Z","body":"Sorry, made a mistake regarding blanks vs. tabs..."}}
{"actor":{"display_login":"ericzolf"}}