{"action":"created","issue":{"url":"https://api.github.com/repos/openSUSE/docmanager/issues/29","labels_url":"https://api.github.com/repos/openSUSE/docmanager/issues/29/labels{/name}","comments_url":"https://api.github.com/repos/openSUSE/docmanager/issues/29/comments","events_url":"https://api.github.com/repos/openSUSE/docmanager/issues/29/events","html_url":"https://github.com/openSUSE/docmanager/pull/29","id":77108019,"number":29,"title":"Implemented improved API, obsoletes Action class","user":{"login":"tomschr","id":1312925,"avatar_url":"https://avatars.githubusercontent.com/u/1312925?v=3","gravatar_id":"","url":"https://api.github.com/users/tomschr","html_url":"https://github.com/tomschr","followers_url":"https://api.github.com/users/tomschr/followers","following_url":"https://api.github.com/users/tomschr/following{/other_user}","gists_url":"https://api.github.com/users/tomschr/gists{/gist_id}","starred_url":"https://api.github.com/users/tomschr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomschr/subscriptions","organizations_url":"https://api.github.com/users/tomschr/orgs","repos_url":"https://api.github.com/users/tomschr/repos","events_url":"https://api.github.com/users/tomschr/events{/privacy}","received_events_url":"https://api.github.com/users/tomschr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-16T19:21:27Z","updated_at":"2015-05-16T19:21:29Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/openSUSE/docmanager/pulls/29","html_url":"https://github.com/openSUSE/docmanager/pull/29","diff_url":"https://github.com/openSUSE/docmanager/pull/29.diff","patch_url":"https://github.com/openSUSE/docmanager/pull/29.patch"},"body":"Split how to render files from how the data structure is saved.\r\n\r\n* Removed any DC or daps dependencies\r\n* Implemented new methods: __iter__, __repr__, action\r\n* Implemented rendering in textrenderer (default) and tablerenderer\r\n* Adapt main() and parsecli() to new \"API\"\r\n  * parsecli():\r\n    - Fixed wording\r\n    - Simplified generation of standard options like --maintainer\r\n    - Set args.format = None if not available\r\n  * main(): Use parsecli instead of action.Actions class;\r\n    call filehandler.Files first and pass it to a renderer function\r\n* Adapted test cases to new API\r\n\r\nTrying to detect prolog of XML file (still WIP):\r\n* Added root_sourceline() and prolog() functions which gets the line number\r\n  of the root element and try to extract the header\r\n* Added test case\r\n* Prepared XMLProxy class\r\n\r\nOthers\r\n* .gitignore: Ignore .tmp and tmp directories\r\n* Removed now obsolete action.py module\n<a href='#crh-start'></a><a href='#crh-data-%7B%7D'></a>\n<a href='https://www.codereviewhub.com/'><img src='http://www.codereviewhub.com/site/github-bar.png' height=40></a>\n<a href='https://www.codereviewhub.com/openSUSE/docmanager/pull/29?approve=1'><img src='http://www.codereviewhub.com/site/github-approve.png' height=26></a>&nbsp;<a href='https://github.com/openSUSE/docmanager/pull/29'><img src='http://www.codereviewhub.com/site/github-refresh.png' height=26></a>\n<a href='#crh-end'></a>"},"comment":{"url":"https://api.github.com/repos/openSUSE/docmanager/issues/comments/102667621","html_url":"https://github.com/openSUSE/docmanager/pull/29#issuecomment-102667621","issue_url":"https://api.github.com/repos/openSUSE/docmanager/issues/29","id":102667621,"user":{"login":"tomschr","id":1312925,"avatar_url":"https://avatars.githubusercontent.com/u/1312925?v=3","gravatar_id":"","url":"https://api.github.com/users/tomschr","html_url":"https://github.com/tomschr","followers_url":"https://api.github.com/users/tomschr/followers","following_url":"https://api.github.com/users/tomschr/following{/other_user}","gists_url":"https://api.github.com/users/tomschr/gists{/gist_id}","starred_url":"https://api.github.com/users/tomschr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomschr/subscriptions","organizations_url":"https://api.github.com/users/tomschr/orgs","repos_url":"https://api.github.com/users/tomschr/repos","events_url":"https://api.github.com/users/tomschr/events{/privacy}","received_events_url":"https://api.github.com/users/tomschr/received_events","type":"User","site_admin":false},"created_at":"2015-05-16T19:21:29Z","updated_at":"2015-05-16T19:21:29Z","body":"This pull request is now managed with CodeReviewHub. <a href='https://github.com/openSUSE/docmanager/pull/29'>Refresh</a>.<a href='#crh-update-none'></a>"}}