{"action":"created","issue":{"url":"https://api.github.com/repos/ckan/ckanext-harvest/issues/119","labels_url":"https://api.github.com/repos/ckan/ckanext-harvest/issues/119/labels{/name}","comments_url":"https://api.github.com/repos/ckan/ckanext-harvest/issues/119/comments","events_url":"https://api.github.com/repos/ckan/ckanext-harvest/issues/119/events","html_url":"https://github.com/ckan/ckanext-harvest/pull/119","id":52116164,"number":119,"title":"Make sure new packages get a unique 'name'","user":{"login":"metaodi","id":538415,"avatar_url":"https://avatars.githubusercontent.com/u/538415?v=3","gravatar_id":"","url":"https://api.github.com/users/metaodi","html_url":"https://github.com/metaodi","followers_url":"https://api.github.com/users/metaodi/followers","following_url":"https://api.github.com/users/metaodi/following{/other_user}","gists_url":"https://api.github.com/users/metaodi/gists{/gist_id}","starred_url":"https://api.github.com/users/metaodi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/metaodi/subscriptions","organizations_url":"https://api.github.com/users/metaodi/orgs","repos_url":"https://api.github.com/users/metaodi/repos","events_url":"https://api.github.com/users/metaodi/events{/privacy}","received_events_url":"https://api.github.com/users/metaodi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2014-12-16T14:07:19Z","updated_at":"2015-01-13T16:46:10Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ckan/ckanext-harvest/pulls/119","html_url":"https://github.com/ckan/ckanext-harvest/pull/119","diff_url":"https://github.com/ckan/ckanext-harvest/pull/119.diff","patch_url":"https://github.com/ckan/ckanext-harvest/pull/119.patch"},"body":"This fixes #117.\r\n\r\nThe problem is that a \"new\" package could have a 'name' attributes that's already taken. By using `gen_new_name()` we can be sure the name is valid for this instance. The conditional is only there to ensure that the existing 'name' is used if possible, but maybe that's not even necessary."},"comment":{"url":"https://api.github.com/repos/ckan/ckanext-harvest/issues/comments/69775833","html_url":"https://github.com/ckan/ckanext-harvest/pull/119#issuecomment-69775833","issue_url":"https://api.github.com/repos/ckan/ckanext-harvest/issues/119","id":69775833,"user":{"login":"metaodi","id":538415,"avatar_url":"https://avatars.githubusercontent.com/u/538415?v=3","gravatar_id":"","url":"https://api.github.com/users/metaodi","html_url":"https://github.com/metaodi","followers_url":"https://api.github.com/users/metaodi/followers","following_url":"https://api.github.com/users/metaodi/following{/other_user}","gists_url":"https://api.github.com/users/metaodi/gists{/gist_id}","starred_url":"https://api.github.com/users/metaodi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/metaodi/subscriptions","organizations_url":"https://api.github.com/users/metaodi/orgs","repos_url":"https://api.github.com/users/metaodi/repos","events_url":"https://api.github.com/users/metaodi/events{/privacy}","received_events_url":"https://api.github.com/users/metaodi/received_events","type":"User","site_admin":false},"created_at":"2015-01-13T16:46:10Z","updated_at":"2015-01-13T16:46:10Z","body":"@amercader I guess you have lot to do with CKAN 2.3, but when can we expect this PR to be merged?"}}