{"action":"reopened","number":2418,"pull_request":{"url":"https://api.github.com/repos/OpenTreeMap/otm-core/pulls/2418","id":55497357,"html_url":"https://github.com/OpenTreeMap/otm-core/pull/2418","diff_url":"https://github.com/OpenTreeMap/otm-core/pull/2418.diff","patch_url":"https://github.com/OpenTreeMap/otm-core/pull/2418.patch","issue_url":"https://api.github.com/repos/OpenTreeMap/otm-core/issues/2418","number":2418,"state":"open","locked":false,"title":"Importer bug fixes","user":{"login":"maurizi","id":4432106,"avatar_url":"https://avatars.githubusercontent.com/u/4432106?v=3","gravatar_id":"","url":"https://api.github.com/users/maurizi","html_url":"https://github.com/maurizi","followers_url":"https://api.github.com/users/maurizi/followers","following_url":"https://api.github.com/users/maurizi/following{/other_user}","gists_url":"https://api.github.com/users/maurizi/gists{/gist_id}","starred_url":"https://api.github.com/users/maurizi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maurizi/subscriptions","organizations_url":"https://api.github.com/users/maurizi/orgs","repos_url":"https://api.github.com/users/maurizi/repos","events_url":"https://api.github.com/users/maurizi/events{/privacy}","received_events_url":"https://api.github.com/users/maurizi/received_events","type":"User","site_admin":false},"body":" -  Always set importer status to canceled when calling the cancel endpoint\r\n    On some occasions we cannot get the Celery task when attempting to call\r\n    `GroupResult.restore()`, which caused attempts to call `.revoke()` to fail,\r\n    which caused the change to the Import status to be rolled back.\r\n\r\n    We explicitly check the return of `.restore()` before attempting to call\r\n    `revoke()`, which prevents the transaction rollback from reverting the changed\r\n    status.\r\n\r\n - Do not show the importer view link until it has started verification …\r\n\r\nConnects to OpenTreeMap/otm-addons#990\r\nConnects to OpenTreeMap/otm-addons#991","created_at":"2016-01-08T19:02:57Z","updated_at":"2016-01-08T20:10:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":"113e50736393667538aa84d1ae7d612ef4995c32","assignee":{"login":"steventlamb","id":1699455,"avatar_url":"https://avatars.githubusercontent.com/u/1699455?v=3","gravatar_id":"","url":"https://api.github.com/users/steventlamb","html_url":"https://github.com/steventlamb","followers_url":"https://api.github.com/users/steventlamb/followers","following_url":"https://api.github.com/users/steventlamb/following{/other_user}","gists_url":"https://api.github.com/users/steventlamb/gists{/gist_id}","starred_url":"https://api.github.com/users/steventlamb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/steventlamb/subscriptions","organizations_url":"https://api.github.com/users/steventlamb/orgs","repos_url":"https://api.github.com/users/steventlamb/repos","events_url":"https://api.github.com/users/steventlamb/events{/privacy}","received_events_url":"https://api.github.com/users/steventlamb/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/OpenTreeMap/otm-core/pulls/2418/commits","review_comments_url":"https://api.github.com/repos/OpenTreeMap/otm-core/pulls/2418/comments","review_comment_url":"https://api.github.com/repos/OpenTreeMap/otm-core/pulls/comments{/number}","comments_url":"https://api.github.com/repos/OpenTreeMap/otm-core/issues/2418/comments","statuses_url":"https://api.github.com/repos/OpenTreeMap/otm-core/statuses/c70d1be190decde0a3c8a9748893a93f5b404dd3","head":{"label":"maurizi:importer-bug-fixes","ref":"importer-bug-fixes","sha":"c70d1be190decde0a3c8a9748893a93f5b404dd3","user":{"login":"maurizi","id":4432106,"avatar_url":"https://avatars.githubusercontent.com/u/4432106?v=3","gravatar_id":"","url":"https://api.github.com/users/maurizi","html_url":"https://github.com/maurizi","followers_url":"https://api.github.com/users/maurizi/followers","following_url":"https://api.github.com/users/maurizi/following{/other_user}","gists_url":"https://api.github.com/users/maurizi/gists{/gist_id}","starred_url":"https://api.github.com/users/maurizi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maurizi/subscriptions","organizations_url":"https://api.github.com/users/maurizi/orgs","repos_url":"https://api.github.com/users/maurizi/repos","events_url":"https://api.github.com/users/maurizi/events{/privacy}","received_events_url":"https://api.github.com/users/maurizi/received_events","type":"User","site_admin":false},"repo":{"id":11374160,"name":"otm-core","full_name":"maurizi/otm-core","owner":{"login":"maurizi","id":4432106,"avatar_url":"https://avatars.githubusercontent.com/u/4432106?v=3","gravatar_id":"","url":"https://api.github.com/users/maurizi","html_url":"https://github.com/maurizi","followers_url":"https://api.github.com/users/maurizi/followers","following_url":"https://api.github.com/users/maurizi/following{/other_user}","gists_url":"https://api.github.com/users/maurizi/gists{/gist_id}","starred_url":"https://api.github.com/users/maurizi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maurizi/subscriptions","organizations_url":"https://api.github.com/users/maurizi/orgs","repos_url":"https://api.github.com/users/maurizi/repos","events_url":"https://api.github.com/users/maurizi/events{/privacy}","received_events_url":"https://api.github.com/users/maurizi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/maurizi/otm-core","description":"","fork":true,"url":"https://api.github.com/repos/maurizi/otm-core","forks_url":"https://api.github.com/repos/maurizi/otm-core/forks","keys_url":"https://api.github.com/repos/maurizi/otm-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/maurizi/otm-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/maurizi/otm-core/teams","hooks_url":"https://api.github.com/repos/maurizi/otm-core/hooks","issue_events_url":"https://api.github.com/repos/maurizi/otm-core/issues/events{/number}","events_url":"https://api.github.com/repos/maurizi/otm-core/events","assignees_url":"https://api.github.com/repos/maurizi/otm-core/assignees{/user}","branches_url":"https://api.github.com/repos/maurizi/otm-core/branches{/branch}","tags_url":"https://api.github.com/repos/maurizi/otm-core/tags","blobs_url":"https://api.github.com/repos/maurizi/otm-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/maurizi/otm-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/maurizi/otm-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/maurizi/otm-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/maurizi/otm-core/statuses/{sha}","languages_url":"https://api.github.com/repos/maurizi/otm-core/languages","stargazers_url":"https://api.github.com/repos/maurizi/otm-core/stargazers","contributors_url":"https://api.github.com/repos/maurizi/otm-core/contributors","subscribers_url":"https://api.github.com/repos/maurizi/otm-core/subscribers","subscription_url":"https://api.github.com/repos/maurizi/otm-core/subscription","commits_url":"https://api.github.com/repos/maurizi/otm-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/maurizi/otm-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/maurizi/otm-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/maurizi/otm-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/maurizi/otm-core/contents/{+path}","compare_url":"https://api.github.com/repos/maurizi/otm-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/maurizi/otm-core/merges","archive_url":"https://api.github.com/repos/maurizi/otm-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/maurizi/otm-core/downloads","issues_url":"https://api.github.com/repos/maurizi/otm-core/issues{/number}","pulls_url":"https://api.github.com/repos/maurizi/otm-core/pulls{/number}","milestones_url":"https://api.github.com/repos/maurizi/otm-core/milestones{/number}","notifications_url":"https://api.github.com/repos/maurizi/otm-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/maurizi/otm-core/labels{/name}","releases_url":"https://api.github.com/repos/maurizi/otm-core/releases{/id}","created_at":"2013-07-12T17:26:29Z","updated_at":"2015-06-15T19:13:56Z","pushed_at":"2016-01-08T20:09:41Z","git_url":"git://github.com/maurizi/otm-core.git","ssh_url":"git@github.com:maurizi/otm-core.git","clone_url":"https://github.com/maurizi/otm-core.git","svn_url":"https://github.com/maurizi/otm-core","homepage":null,"size":12622,"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":"develop"}},"base":{"label":"OpenTreeMap:develop","ref":"develop","sha":"e6fbc3cf0bf67b094bf3f54c458674d8fdeee8f2","user":{"login":"OpenTreeMap","id":1125635,"avatar_url":"https://avatars.githubusercontent.com/u/1125635?v=3","gravatar_id":"","url":"https://api.github.com/users/OpenTreeMap","html_url":"https://github.com/OpenTreeMap","followers_url":"https://api.github.com/users/OpenTreeMap/followers","following_url":"https://api.github.com/users/OpenTreeMap/following{/other_user}","gists_url":"https://api.github.com/users/OpenTreeMap/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenTreeMap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenTreeMap/subscriptions","organizations_url":"https://api.github.com/users/OpenTreeMap/orgs","repos_url":"https://api.github.com/users/OpenTreeMap/repos","events_url":"https://api.github.com/users/OpenTreeMap/events{/privacy}","received_events_url":"https://api.github.com/users/OpenTreeMap/received_events","type":"Organization","site_admin":false},"repo":{"id":8292625,"name":"otm-core","full_name":"OpenTreeMap/otm-core","owner":{"login":"OpenTreeMap","id":1125635,"avatar_url":"https://avatars.githubusercontent.com/u/1125635?v=3","gravatar_id":"","url":"https://api.github.com/users/OpenTreeMap","html_url":"https://github.com/OpenTreeMap","followers_url":"https://api.github.com/users/OpenTreeMap/followers","following_url":"https://api.github.com/users/OpenTreeMap/following{/other_user}","gists_url":"https://api.github.com/users/OpenTreeMap/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenTreeMap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenTreeMap/subscriptions","organizations_url":"https://api.github.com/users/OpenTreeMap/orgs","repos_url":"https://api.github.com/users/OpenTreeMap/repos","events_url":"https://api.github.com/users/OpenTreeMap/events{/privacy}","received_events_url":"https://api.github.com/users/OpenTreeMap/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/OpenTreeMap/otm-core","description":"OpenTreeMap is a collaborative platform for crowdsourced tree inventory, ecosystem services calculations, urban forestry analysis, and community engagement.","fork":false,"url":"https://api.github.com/repos/OpenTreeMap/otm-core","forks_url":"https://api.github.com/repos/OpenTreeMap/otm-core/forks","keys_url":"https://api.github.com/repos/OpenTreeMap/otm-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OpenTreeMap/otm-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OpenTreeMap/otm-core/teams","hooks_url":"https://api.github.com/repos/OpenTreeMap/otm-core/hooks","issue_events_url":"https://api.github.com/repos/OpenTreeMap/otm-core/issues/events{/number}","events_url":"https://api.github.com/repos/OpenTreeMap/otm-core/events","assignees_url":"https://api.github.com/repos/OpenTreeMap/otm-core/assignees{/user}","branches_url":"https://api.github.com/repos/OpenTreeMap/otm-core/branches{/branch}","tags_url":"https://api.github.com/repos/OpenTreeMap/otm-core/tags","blobs_url":"https://api.github.com/repos/OpenTreeMap/otm-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OpenTreeMap/otm-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OpenTreeMap/otm-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/OpenTreeMap/otm-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OpenTreeMap/otm-core/statuses/{sha}","languages_url":"https://api.github.com/repos/OpenTreeMap/otm-core/languages","stargazers_url":"https://api.github.com/repos/OpenTreeMap/otm-core/stargazers","contributors_url":"https://api.github.com/repos/OpenTreeMap/otm-core/contributors","subscribers_url":"https://api.github.com/repos/OpenTreeMap/otm-core/subscribers","subscription_url":"https://api.github.com/repos/OpenTreeMap/otm-core/subscription","commits_url":"https://api.github.com/repos/OpenTreeMap/otm-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/OpenTreeMap/otm-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/OpenTreeMap/otm-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/OpenTreeMap/otm-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/OpenTreeMap/otm-core/contents/{+path}","compare_url":"https://api.github.com/repos/OpenTreeMap/otm-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OpenTreeMap/otm-core/merges","archive_url":"https://api.github.com/repos/OpenTreeMap/otm-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OpenTreeMap/otm-core/downloads","issues_url":"https://api.github.com/repos/OpenTreeMap/otm-core/issues{/number}","pulls_url":"https://api.github.com/repos/OpenTreeMap/otm-core/pulls{/number}","milestones_url":"https://api.github.com/repos/OpenTreeMap/otm-core/milestones{/number}","notifications_url":"https://api.github.com/repos/OpenTreeMap/otm-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OpenTreeMap/otm-core/labels{/name}","releases_url":"https://api.github.com/repos/OpenTreeMap/otm-core/releases{/id}","created_at":"2013-02-19T15:11:04Z","updated_at":"2016-01-04T21:02:57Z","pushed_at":"2016-01-08T20:09:41Z","git_url":"git://github.com/OpenTreeMap/otm-core.git","ssh_url":"git@github.com:OpenTreeMap/otm-core.git","clone_url":"https://github.com/OpenTreeMap/otm-core.git","svn_url":"https://github.com/OpenTreeMap/otm-core","homepage":"www.opentreemap.org","size":12997,"stargazers_count":70,"watchers_count":70,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":45,"mirror_url":null,"open_issues_count":331,"forks":45,"open_issues":331,"watchers":70,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/OpenTreeMap/otm-core/pulls/2418"},"html":{"href":"https://github.com/OpenTreeMap/otm-core/pull/2418"},"issue":{"href":"https://api.github.com/repos/OpenTreeMap/otm-core/issues/2418"},"comments":{"href":"https://api.github.com/repos/OpenTreeMap/otm-core/issues/2418/comments"},"review_comments":{"href":"https://api.github.com/repos/OpenTreeMap/otm-core/pulls/2418/comments"},"review_comment":{"href":"https://api.github.com/repos/OpenTreeMap/otm-core/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/OpenTreeMap/otm-core/pulls/2418/commits"},"statuses":{"href":"https://api.github.com/repos/OpenTreeMap/otm-core/statuses/c70d1be190decde0a3c8a9748893a93f5b404dd3"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":1,"review_comments":0,"commits":2,"additions":12,"deletions":6,"changed_files":2}}