{"action":"closed","number":222,"pull_request":{"url":"https://api.github.com/repos/OCA/OCB/pulls/222","id":35616325,"html_url":"https://github.com/OCA/OCB/pull/222","diff_url":"https://github.com/OCA/OCB/pull/222.diff","patch_url":"https://github.com/OCA/OCB/pull/222.patch","issue_url":"https://api.github.com/repos/OCA/OCB/issues/222","number":222,"state":"closed","locked":false,"title":"Backport client command discovery optimization","user":{"login":"dreispt","id":1246629,"avatar_url":"https://avatars.githubusercontent.com/u/1246629?v=3","gravatar_id":"","url":"https://api.github.com/users/dreispt","html_url":"https://github.com/dreispt","followers_url":"https://api.github.com/users/dreispt/followers","following_url":"https://api.github.com/users/dreispt/following{/other_user}","gists_url":"https://api.github.com/users/dreispt/gists{/gist_id}","starred_url":"https://api.github.com/users/dreispt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dreispt/subscriptions","organizations_url":"https://api.github.com/users/dreispt/orgs","repos_url":"https://api.github.com/users/dreispt/repos","events_url":"https://api.github.com/users/dreispt/events{/privacy}","received_events_url":"https://api.github.com/users/dreispt/received_events","type":"User","site_admin":false},"body":"Using odoo commands currently imports every module sin the addons paths.\r\nThis is very slow and breaks if some error when imported (such as auth_ldap without LDAP libs installed on the system).\r\n\r\nThis is a backport of the solution already implemented on the master branch.\r\nPR for 8.0: https://github.com/odoo/odoo/pull/6335\r\nFix on master: https://github.com/odoo/odoo/commit/4b387e73cb9cd051bd549e626b9255cf3bb5ea17","created_at":"2015-05-18T09:33:49Z","updated_at":"2015-07-27T07:44:01Z","closed_at":"2015-07-27T07:44:01Z","merged_at":null,"merge_commit_sha":"d613d048b86cb2ae8e8f9dca54a9b8470694c620","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/OCA/OCB/pulls/222/commits","review_comments_url":"https://api.github.com/repos/OCA/OCB/pulls/222/comments","review_comment_url":"https://api.github.com/repos/OCA/OCB/pulls/comments{/number}","comments_url":"https://api.github.com/repos/OCA/OCB/issues/222/comments","statuses_url":"https://api.github.com/repos/OCA/OCB/statuses/1261081f4232be122c15790fcd3e33b5d989607d","head":{"label":"dreispt:backport-cli-discovery","ref":"backport-cli-discovery","sha":"1261081f4232be122c15790fcd3e33b5d989607d","user":{"login":"dreispt","id":1246629,"avatar_url":"https://avatars.githubusercontent.com/u/1246629?v=3","gravatar_id":"","url":"https://api.github.com/users/dreispt","html_url":"https://github.com/dreispt","followers_url":"https://api.github.com/users/dreispt/followers","following_url":"https://api.github.com/users/dreispt/following{/other_user}","gists_url":"https://api.github.com/users/dreispt/gists{/gist_id}","starred_url":"https://api.github.com/users/dreispt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dreispt/subscriptions","organizations_url":"https://api.github.com/users/dreispt/orgs","repos_url":"https://api.github.com/users/dreispt/repos","events_url":"https://api.github.com/users/dreispt/events{/privacy}","received_events_url":"https://api.github.com/users/dreispt/received_events","type":"User","site_admin":false},"repo":{"id":20965945,"name":"odoo","full_name":"dreispt/odoo","owner":{"login":"dreispt","id":1246629,"avatar_url":"https://avatars.githubusercontent.com/u/1246629?v=3","gravatar_id":"","url":"https://api.github.com/users/dreispt","html_url":"https://github.com/dreispt","followers_url":"https://api.github.com/users/dreispt/followers","following_url":"https://api.github.com/users/dreispt/following{/other_user}","gists_url":"https://api.github.com/users/dreispt/gists{/gist_id}","starred_url":"https://api.github.com/users/dreispt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dreispt/subscriptions","organizations_url":"https://api.github.com/users/dreispt/orgs","repos_url":"https://api.github.com/users/dreispt/repos","events_url":"https://api.github.com/users/dreispt/events{/privacy}","received_events_url":"https://api.github.com/users/dreispt/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dreispt/odoo","description":"Odoo (formerly OpenERP). Open Source Business Apps.","fork":true,"url":"https://api.github.com/repos/dreispt/odoo","forks_url":"https://api.github.com/repos/dreispt/odoo/forks","keys_url":"https://api.github.com/repos/dreispt/odoo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dreispt/odoo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dreispt/odoo/teams","hooks_url":"https://api.github.com/repos/dreispt/odoo/hooks","issue_events_url":"https://api.github.com/repos/dreispt/odoo/issues/events{/number}","events_url":"https://api.github.com/repos/dreispt/odoo/events","assignees_url":"https://api.github.com/repos/dreispt/odoo/assignees{/user}","branches_url":"https://api.github.com/repos/dreispt/odoo/branches{/branch}","tags_url":"https://api.github.com/repos/dreispt/odoo/tags","blobs_url":"https://api.github.com/repos/dreispt/odoo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dreispt/odoo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dreispt/odoo/git/refs{/sha}","trees_url":"https://api.github.com/repos/dreispt/odoo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dreispt/odoo/statuses/{sha}","languages_url":"https://api.github.com/repos/dreispt/odoo/languages","stargazers_url":"https://api.github.com/repos/dreispt/odoo/stargazers","contributors_url":"https://api.github.com/repos/dreispt/odoo/contributors","subscribers_url":"https://api.github.com/repos/dreispt/odoo/subscribers","subscription_url":"https://api.github.com/repos/dreispt/odoo/subscription","commits_url":"https://api.github.com/repos/dreispt/odoo/commits{/sha}","git_commits_url":"https://api.github.com/repos/dreispt/odoo/git/commits{/sha}","comments_url":"https://api.github.com/repos/dreispt/odoo/comments{/number}","issue_comment_url":"https://api.github.com/repos/dreispt/odoo/issues/comments{/number}","contents_url":"https://api.github.com/repos/dreispt/odoo/contents/{+path}","compare_url":"https://api.github.com/repos/dreispt/odoo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dreispt/odoo/merges","archive_url":"https://api.github.com/repos/dreispt/odoo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dreispt/odoo/downloads","issues_url":"https://api.github.com/repos/dreispt/odoo/issues{/number}","pulls_url":"https://api.github.com/repos/dreispt/odoo/pulls{/number}","milestones_url":"https://api.github.com/repos/dreispt/odoo/milestones{/number}","notifications_url":"https://api.github.com/repos/dreispt/odoo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dreispt/odoo/labels{/name}","releases_url":"https://api.github.com/repos/dreispt/odoo/releases{/id}","created_at":"2014-06-18T14:50:18Z","updated_at":"2015-02-16T14:29:34Z","pushed_at":"2015-07-24T14:28:36Z","git_url":"git://github.com/dreispt/odoo.git","ssh_url":"git@github.com:dreispt/odoo.git","clone_url":"https://github.com/dreispt/odoo.git","svn_url":"https://github.com/dreispt/odoo","homepage":"https://www.odoo.com","size":760540,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"OCA:8.0","ref":"8.0","sha":"a04d82d6feab86532b901317edbe4fbb2e225cbf","user":{"login":"OCA","id":7600578,"avatar_url":"https://avatars.githubusercontent.com/u/7600578?v=3","gravatar_id":"","url":"https://api.github.com/users/OCA","html_url":"https://github.com/OCA","followers_url":"https://api.github.com/users/OCA/followers","following_url":"https://api.github.com/users/OCA/following{/other_user}","gists_url":"https://api.github.com/users/OCA/gists{/gist_id}","starred_url":"https://api.github.com/users/OCA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OCA/subscriptions","organizations_url":"https://api.github.com/users/OCA/orgs","repos_url":"https://api.github.com/users/OCA/repos","events_url":"https://api.github.com/users/OCA/events{/privacy}","received_events_url":"https://api.github.com/users/OCA/received_events","type":"Organization","site_admin":false},"repo":{"id":20558462,"name":"OCB","full_name":"OCA/OCB","owner":{"login":"OCA","id":7600578,"avatar_url":"https://avatars.githubusercontent.com/u/7600578?v=3","gravatar_id":"","url":"https://api.github.com/users/OCA","html_url":"https://github.com/OCA","followers_url":"https://api.github.com/users/OCA/followers","following_url":"https://api.github.com/users/OCA/following{/other_user}","gists_url":"https://api.github.com/users/OCA/gists{/gist_id}","starred_url":"https://api.github.com/users/OCA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OCA/subscriptions","organizations_url":"https://api.github.com/users/OCA/orgs","repos_url":"https://api.github.com/users/OCA/repos","events_url":"https://api.github.com/users/OCA/events{/privacy}","received_events_url":"https://api.github.com/users/OCA/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/OCA/OCB","description":"Odoo Community Backports","fork":true,"url":"https://api.github.com/repos/OCA/OCB","forks_url":"https://api.github.com/repos/OCA/OCB/forks","keys_url":"https://api.github.com/repos/OCA/OCB/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OCA/OCB/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OCA/OCB/teams","hooks_url":"https://api.github.com/repos/OCA/OCB/hooks","issue_events_url":"https://api.github.com/repos/OCA/OCB/issues/events{/number}","events_url":"https://api.github.com/repos/OCA/OCB/events","assignees_url":"https://api.github.com/repos/OCA/OCB/assignees{/user}","branches_url":"https://api.github.com/repos/OCA/OCB/branches{/branch}","tags_url":"https://api.github.com/repos/OCA/OCB/tags","blobs_url":"https://api.github.com/repos/OCA/OCB/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OCA/OCB/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OCA/OCB/git/refs{/sha}","trees_url":"https://api.github.com/repos/OCA/OCB/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OCA/OCB/statuses/{sha}","languages_url":"https://api.github.com/repos/OCA/OCB/languages","stargazers_url":"https://api.github.com/repos/OCA/OCB/stargazers","contributors_url":"https://api.github.com/repos/OCA/OCB/contributors","subscribers_url":"https://api.github.com/repos/OCA/OCB/subscribers","subscription_url":"https://api.github.com/repos/OCA/OCB/subscription","commits_url":"https://api.github.com/repos/OCA/OCB/commits{/sha}","git_commits_url":"https://api.github.com/repos/OCA/OCB/git/commits{/sha}","comments_url":"https://api.github.com/repos/OCA/OCB/comments{/number}","issue_comment_url":"https://api.github.com/repos/OCA/OCB/issues/comments{/number}","contents_url":"https://api.github.com/repos/OCA/OCB/contents/{+path}","compare_url":"https://api.github.com/repos/OCA/OCB/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OCA/OCB/merges","archive_url":"https://api.github.com/repos/OCA/OCB/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OCA/OCB/downloads","issues_url":"https://api.github.com/repos/OCA/OCB/issues{/number}","pulls_url":"https://api.github.com/repos/OCA/OCB/pulls{/number}","milestones_url":"https://api.github.com/repos/OCA/OCB/milestones{/number}","notifications_url":"https://api.github.com/repos/OCA/OCB/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OCA/OCB/labels{/name}","releases_url":"https://api.github.com/repos/OCA/OCB/releases{/id}","created_at":"2014-06-06T09:33:16Z","updated_at":"2015-07-26T15:42:18Z","pushed_at":"2015-07-27T07:32:14Z","git_url":"git://github.com/OCA/OCB.git","ssh_url":"git@github.com:OCA/OCB.git","clone_url":"https://github.com/OCA/OCB.git","svn_url":"https://github.com/OCA/OCB","homepage":"http://odoo-community.org","size":961270,"stargazers_count":54,"watchers_count":54,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":58,"mirror_url":null,"open_issues_count":73,"forks":58,"open_issues":73,"watchers":54,"default_branch":"8.0"}},"_links":{"self":{"href":"https://api.github.com/repos/OCA/OCB/pulls/222"},"html":{"href":"https://github.com/OCA/OCB/pull/222"},"issue":{"href":"https://api.github.com/repos/OCA/OCB/issues/222"},"comments":{"href":"https://api.github.com/repos/OCA/OCB/issues/222/comments"},"review_comments":{"href":"https://api.github.com/repos/OCA/OCB/pulls/222/comments"},"review_comment":{"href":"https://api.github.com/repos/OCA/OCB/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/OCA/OCB/pulls/222/commits"},"statuses":{"href":"https://api.github.com/repos/OCA/OCB/statuses/1261081f4232be122c15790fcd3e33b5d989607d"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":4,"review_comments":0,"commits":1,"additions":3,"deletions":6,"changed_files":1}}