{"action":"opened","number":1,"pull_request":{"url":"https://api.github.com/repos/ajite/maintainer-tools/pulls/1","id":44325097,"html_url":"https://github.com/ajite/maintainer-tools/pull/1","diff_url":"https://github.com/ajite/maintainer-tools/pull/1.diff","patch_url":"https://github.com/ajite/maintainer-tools/pull/1.patch","issue_url":"https://api.github.com/repos/ajite/maintainer-tools/issues/1","number":1,"state":"open","locked":false,"title":"Fixed contributing import rules conflict","user":{"login":"ajite","id":1198771,"avatar_url":"https://avatars.githubusercontent.com/u/1198771?v=3","gravatar_id":"","url":"https://api.github.com/users/ajite","html_url":"https://github.com/ajite","followers_url":"https://api.github.com/users/ajite/followers","following_url":"https://api.github.com/users/ajite/following{/other_user}","gists_url":"https://api.github.com/users/ajite/gists{/gist_id}","starred_url":"https://api.github.com/users/ajite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ajite/subscriptions","organizations_url":"https://api.github.com/users/ajite/orgs","repos_url":"https://api.github.com/users/ajite/repos","events_url":"https://api.github.com/users/ajite/events{/privacy}","received_events_url":"https://api.github.com/users/ajite/received_events","type":"User","site_admin":false},"body":"There was a conflict between these two rules when importing a third party lib due to the `try-except` with the `logger`:\r\n\r\n**Rule 1:**\r\n> The imports are ordered as\r\n\r\n> 1. Externals libs (One per line sorted and splitted in python stdlib)\r\n> 2. Imports of `openerp`\r\n> 3. Imports from Odoo modules (rarely, and only if necessary)\r\n> 4. Local imports in the relative form\r\n\r\n> Inside these 4 groups, the imported lines are alphabetically sorted.\r\n\r\n**Rule 2:** \r\n\r\n> In python files where you use a `import external_dependency_python_N` you will need to add a `try-except` with a debug log.\r\n\r\n> ```python\r\n try:\r\n  import external_dependency_python_N\r\nexcept ImportError:\r\n  _logger.debug('Can not `import external_dependency_python_N`.')\r\n```","created_at":"2015-09-07T06:59:31Z","updated_at":"2015-09-07T06:59:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ajite/maintainer-tools/pulls/1/commits","review_comments_url":"https://api.github.com/repos/ajite/maintainer-tools/pulls/1/comments","review_comment_url":"https://api.github.com/repos/ajite/maintainer-tools/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ajite/maintainer-tools/issues/1/comments","statuses_url":"https://api.github.com/repos/ajite/maintainer-tools/statuses/11ad2e2e43881830e027d0dc58cb1fd206f64e9d","head":{"label":"ajite:fix-contributing-import-rules-conflict","ref":"fix-contributing-import-rules-conflict","sha":"11ad2e2e43881830e027d0dc58cb1fd206f64e9d","user":{"login":"ajite","id":1198771,"avatar_url":"https://avatars.githubusercontent.com/u/1198771?v=3","gravatar_id":"","url":"https://api.github.com/users/ajite","html_url":"https://github.com/ajite","followers_url":"https://api.github.com/users/ajite/followers","following_url":"https://api.github.com/users/ajite/following{/other_user}","gists_url":"https://api.github.com/users/ajite/gists{/gist_id}","starred_url":"https://api.github.com/users/ajite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ajite/subscriptions","organizations_url":"https://api.github.com/users/ajite/orgs","repos_url":"https://api.github.com/users/ajite/repos","events_url":"https://api.github.com/users/ajite/events{/privacy}","received_events_url":"https://api.github.com/users/ajite/received_events","type":"User","site_admin":false},"repo":{"id":42035711,"name":"maintainer-tools","full_name":"ajite/maintainer-tools","owner":{"login":"ajite","id":1198771,"avatar_url":"https://avatars.githubusercontent.com/u/1198771?v=3","gravatar_id":"","url":"https://api.github.com/users/ajite","html_url":"https://github.com/ajite","followers_url":"https://api.github.com/users/ajite/followers","following_url":"https://api.github.com/users/ajite/following{/other_user}","gists_url":"https://api.github.com/users/ajite/gists{/gist_id}","starred_url":"https://api.github.com/users/ajite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ajite/subscriptions","organizations_url":"https://api.github.com/users/ajite/orgs","repos_url":"https://api.github.com/users/ajite/repos","events_url":"https://api.github.com/users/ajite/events{/privacy}","received_events_url":"https://api.github.com/users/ajite/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ajite/maintainer-tools","description":"Odoo Maintainers Tools for OCA members which evaluate and maintain repositories.","fork":true,"url":"https://api.github.com/repos/ajite/maintainer-tools","forks_url":"https://api.github.com/repos/ajite/maintainer-tools/forks","keys_url":"https://api.github.com/repos/ajite/maintainer-tools/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ajite/maintainer-tools/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ajite/maintainer-tools/teams","hooks_url":"https://api.github.com/repos/ajite/maintainer-tools/hooks","issue_events_url":"https://api.github.com/repos/ajite/maintainer-tools/issues/events{/number}","events_url":"https://api.github.com/repos/ajite/maintainer-tools/events","assignees_url":"https://api.github.com/repos/ajite/maintainer-tools/assignees{/user}","branches_url":"https://api.github.com/repos/ajite/maintainer-tools/branches{/branch}","tags_url":"https://api.github.com/repos/ajite/maintainer-tools/tags","blobs_url":"https://api.github.com/repos/ajite/maintainer-tools/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ajite/maintainer-tools/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ajite/maintainer-tools/git/refs{/sha}","trees_url":"https://api.github.com/repos/ajite/maintainer-tools/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ajite/maintainer-tools/statuses/{sha}","languages_url":"https://api.github.com/repos/ajite/maintainer-tools/languages","stargazers_url":"https://api.github.com/repos/ajite/maintainer-tools/stargazers","contributors_url":"https://api.github.com/repos/ajite/maintainer-tools/contributors","subscribers_url":"https://api.github.com/repos/ajite/maintainer-tools/subscribers","subscription_url":"https://api.github.com/repos/ajite/maintainer-tools/subscription","commits_url":"https://api.github.com/repos/ajite/maintainer-tools/commits{/sha}","git_commits_url":"https://api.github.com/repos/ajite/maintainer-tools/git/commits{/sha}","comments_url":"https://api.github.com/repos/ajite/maintainer-tools/comments{/number}","issue_comment_url":"https://api.github.com/repos/ajite/maintainer-tools/issues/comments{/number}","contents_url":"https://api.github.com/repos/ajite/maintainer-tools/contents/{+path}","compare_url":"https://api.github.com/repos/ajite/maintainer-tools/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ajite/maintainer-tools/merges","archive_url":"https://api.github.com/repos/ajite/maintainer-tools/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ajite/maintainer-tools/downloads","issues_url":"https://api.github.com/repos/ajite/maintainer-tools/issues{/number}","pulls_url":"https://api.github.com/repos/ajite/maintainer-tools/pulls{/number}","milestones_url":"https://api.github.com/repos/ajite/maintainer-tools/milestones{/number}","notifications_url":"https://api.github.com/repos/ajite/maintainer-tools/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ajite/maintainer-tools/labels{/name}","releases_url":"https://api.github.com/repos/ajite/maintainer-tools/releases{/id}","created_at":"2015-09-07T06:39:12Z","updated_at":"2015-09-07T06:39:12Z","pushed_at":"2015-09-07T06:59:32Z","git_url":"git://github.com/ajite/maintainer-tools.git","ssh_url":"git@github.com:ajite/maintainer-tools.git","clone_url":"https://github.com/ajite/maintainer-tools.git","svn_url":"https://github.com/ajite/maintainer-tools","homepage":"http://community.odoo.com","size":2207,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"ajite:master","ref":"master","sha":"21b47bd285250e6caa17ba7eab435f3d69e1c974","user":{"login":"ajite","id":1198771,"avatar_url":"https://avatars.githubusercontent.com/u/1198771?v=3","gravatar_id":"","url":"https://api.github.com/users/ajite","html_url":"https://github.com/ajite","followers_url":"https://api.github.com/users/ajite/followers","following_url":"https://api.github.com/users/ajite/following{/other_user}","gists_url":"https://api.github.com/users/ajite/gists{/gist_id}","starred_url":"https://api.github.com/users/ajite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ajite/subscriptions","organizations_url":"https://api.github.com/users/ajite/orgs","repos_url":"https://api.github.com/users/ajite/repos","events_url":"https://api.github.com/users/ajite/events{/privacy}","received_events_url":"https://api.github.com/users/ajite/received_events","type":"User","site_admin":false},"repo":{"id":42035711,"name":"maintainer-tools","full_name":"ajite/maintainer-tools","owner":{"login":"ajite","id":1198771,"avatar_url":"https://avatars.githubusercontent.com/u/1198771?v=3","gravatar_id":"","url":"https://api.github.com/users/ajite","html_url":"https://github.com/ajite","followers_url":"https://api.github.com/users/ajite/followers","following_url":"https://api.github.com/users/ajite/following{/other_user}","gists_url":"https://api.github.com/users/ajite/gists{/gist_id}","starred_url":"https://api.github.com/users/ajite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ajite/subscriptions","organizations_url":"https://api.github.com/users/ajite/orgs","repos_url":"https://api.github.com/users/ajite/repos","events_url":"https://api.github.com/users/ajite/events{/privacy}","received_events_url":"https://api.github.com/users/ajite/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ajite/maintainer-tools","description":"Odoo Maintainers Tools for OCA members which evaluate and maintain repositories.","fork":true,"url":"https://api.github.com/repos/ajite/maintainer-tools","forks_url":"https://api.github.com/repos/ajite/maintainer-tools/forks","keys_url":"https://api.github.com/repos/ajite/maintainer-tools/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ajite/maintainer-tools/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ajite/maintainer-tools/teams","hooks_url":"https://api.github.com/repos/ajite/maintainer-tools/hooks","issue_events_url":"https://api.github.com/repos/ajite/maintainer-tools/issues/events{/number}","events_url":"https://api.github.com/repos/ajite/maintainer-tools/events","assignees_url":"https://api.github.com/repos/ajite/maintainer-tools/assignees{/user}","branches_url":"https://api.github.com/repos/ajite/maintainer-tools/branches{/branch}","tags_url":"https://api.github.com/repos/ajite/maintainer-tools/tags","blobs_url":"https://api.github.com/repos/ajite/maintainer-tools/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ajite/maintainer-tools/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ajite/maintainer-tools/git/refs{/sha}","trees_url":"https://api.github.com/repos/ajite/maintainer-tools/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ajite/maintainer-tools/statuses/{sha}","languages_url":"https://api.github.com/repos/ajite/maintainer-tools/languages","stargazers_url":"https://api.github.com/repos/ajite/maintainer-tools/stargazers","contributors_url":"https://api.github.com/repos/ajite/maintainer-tools/contributors","subscribers_url":"https://api.github.com/repos/ajite/maintainer-tools/subscribers","subscription_url":"https://api.github.com/repos/ajite/maintainer-tools/subscription","commits_url":"https://api.github.com/repos/ajite/maintainer-tools/commits{/sha}","git_commits_url":"https://api.github.com/repos/ajite/maintainer-tools/git/commits{/sha}","comments_url":"https://api.github.com/repos/ajite/maintainer-tools/comments{/number}","issue_comment_url":"https://api.github.com/repos/ajite/maintainer-tools/issues/comments{/number}","contents_url":"https://api.github.com/repos/ajite/maintainer-tools/contents/{+path}","compare_url":"https://api.github.com/repos/ajite/maintainer-tools/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ajite/maintainer-tools/merges","archive_url":"https://api.github.com/repos/ajite/maintainer-tools/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ajite/maintainer-tools/downloads","issues_url":"https://api.github.com/repos/ajite/maintainer-tools/issues{/number}","pulls_url":"https://api.github.com/repos/ajite/maintainer-tools/pulls{/number}","milestones_url":"https://api.github.com/repos/ajite/maintainer-tools/milestones{/number}","notifications_url":"https://api.github.com/repos/ajite/maintainer-tools/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ajite/maintainer-tools/labels{/name}","releases_url":"https://api.github.com/repos/ajite/maintainer-tools/releases{/id}","created_at":"2015-09-07T06:39:12Z","updated_at":"2015-09-07T06:39:12Z","pushed_at":"2015-09-07T06:59:32Z","git_url":"git://github.com/ajite/maintainer-tools.git","ssh_url":"git@github.com:ajite/maintainer-tools.git","clone_url":"https://github.com/ajite/maintainer-tools.git","svn_url":"https://github.com/ajite/maintainer-tools","homepage":"http://community.odoo.com","size":2207,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ajite/maintainer-tools/pulls/1"},"html":{"href":"https://github.com/ajite/maintainer-tools/pull/1"},"issue":{"href":"https://api.github.com/repos/ajite/maintainer-tools/issues/1"},"comments":{"href":"https://api.github.com/repos/ajite/maintainer-tools/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/ajite/maintainer-tools/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/ajite/maintainer-tools/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ajite/maintainer-tools/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/ajite/maintainer-tools/statuses/11ad2e2e43881830e027d0dc58cb1fd206f64e9d"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":16,"deletions":8,"changed_files":1}}