{"action":"created","issue":{"url":"https://api.github.com/repos/inveniosoftware/invenio/issues/2898","labels_url":"https://api.github.com/repos/inveniosoftware/invenio/issues/2898/labels{/name}","comments_url":"https://api.github.com/repos/inveniosoftware/invenio/issues/2898/comments","events_url":"https://api.github.com/repos/inveniosoftware/invenio/issues/2898/events","html_url":"https://github.com/inveniosoftware/invenio/pull/2898","id":62660368,"number":2898,"title":"Upgrades: safer new bibdocfile model upgrade","user":{"login":"kasioumis","id":968953,"avatar_url":"https://avatars.githubusercontent.com/u/968953?v=3","gravatar_id":"","url":"https://api.github.com/users/kasioumis","html_url":"https://github.com/kasioumis","followers_url":"https://api.github.com/users/kasioumis/followers","following_url":"https://api.github.com/users/kasioumis/following{/other_user}","gists_url":"https://api.github.com/users/kasioumis/gists{/gist_id}","starred_url":"https://api.github.com/users/kasioumis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kasioumis/subscriptions","organizations_url":"https://api.github.com/users/kasioumis/orgs","repos_url":"https://api.github.com/users/kasioumis/repos","events_url":"https://api.github.com/users/kasioumis/events{/privacy}","received_events_url":"https://api.github.com/users/kasioumis/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/inveniosoftware/invenio/labels/c_upgrader","name":"c_upgrader","color":"ededed"},{"url":"https://api.github.com/repos/inveniosoftware/invenio/labels/in_review","name":"in_review","color":"fef2c0"},{"url":"https://api.github.com/repos/inveniosoftware/invenio/labels/maint-1.2","name":"maint-1.2","color":"d4c5f9"},{"url":"https://api.github.com/repos/inveniosoftware/invenio/labels/p_minor","name":"p_minor","color":"f7c6c7"},{"url":"https://api.github.com/repos/inveniosoftware/invenio/labels/t_bug","name":"t_bug","color":"eb6420"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/inveniosoftware/invenio/milestones/15","html_url":"https://github.com/inveniosoftware/invenio/milestones/v1.2.x","labels_url":"https://api.github.com/repos/inveniosoftware/invenio/milestones/15/labels","id":1005294,"number":15,"title":"v1.2.x","description":"","creator":{"login":"tiborsimko","id":517546,"avatar_url":"https://avatars.githubusercontent.com/u/517546?v=3","gravatar_id":"","url":"https://api.github.com/users/tiborsimko","html_url":"https://github.com/tiborsimko","followers_url":"https://api.github.com/users/tiborsimko/followers","following_url":"https://api.github.com/users/tiborsimko/following{/other_user}","gists_url":"https://api.github.com/users/tiborsimko/gists{/gist_id}","starred_url":"https://api.github.com/users/tiborsimko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tiborsimko/subscriptions","organizations_url":"https://api.github.com/users/tiborsimko/orgs","repos_url":"https://api.github.com/users/tiborsimko/repos","events_url":"https://api.github.com/users/tiborsimko/events{/privacy}","received_events_url":"https://api.github.com/users/tiborsimko/received_events","type":"User","site_admin":false},"open_issues":13,"closed_issues":1,"state":"open","created_at":"2015-03-04T08:28:10Z","updated_at":"2015-03-18T11:05:34Z","due_on":"2015-03-31T22:00:00Z","closed_at":null},"comments":1,"created_at":"2015-03-18T11:00:04Z","updated_at":"2015-03-18T13:33:01Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/inveniosoftware/invenio/pulls/2898","html_url":"https://github.com/inveniosoftware/invenio/pull/2898","diff_url":"https://github.com/inveniosoftware/invenio/pull/2898.diff","patch_url":"https://github.com/inveniosoftware/invenio/pull/2898.patch"},"body":"* Uses the get() method instead of __getitem__() defaulting the return\r\n  value to an empty dictionary in case of missing keys in more_info."},"comment":{"url":"https://api.github.com/repos/inveniosoftware/invenio/issues/comments/82972661","html_url":"https://github.com/inveniosoftware/invenio/pull/2898#issuecomment-82972661","issue_url":"https://api.github.com/repos/inveniosoftware/invenio/issues/2898","id":82972661,"user":{"login":"tiborsimko","id":517546,"avatar_url":"https://avatars.githubusercontent.com/u/517546?v=3","gravatar_id":"","url":"https://api.github.com/users/tiborsimko","html_url":"https://github.com/tiborsimko","followers_url":"https://api.github.com/users/tiborsimko/followers","following_url":"https://api.github.com/users/tiborsimko/following{/other_user}","gists_url":"https://api.github.com/users/tiborsimko/gists{/gist_id}","starred_url":"https://api.github.com/users/tiborsimko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tiborsimko/subscriptions","organizations_url":"https://api.github.com/users/tiborsimko/orgs","repos_url":"https://api.github.com/users/tiborsimko/repos","events_url":"https://api.github.com/users/tiborsimko/events{/privacy}","received_events_url":"https://api.github.com/users/tiborsimko/received_events","type":"User","site_admin":false},"created_at":"2015-03-18T13:33:01Z","updated_at":"2015-03-18T13:33:01Z","body":"Thanks, look good.  Please update module name in the commit message, and add FIX label as per #2856; for example:\r\n\r\n```\r\nBibDocFile: safer new bibdocfile model upgrade\r\n\r\n* FIX Safer upgrade recipe for migrations from the old document storage\r\n  model (used in v1.1) to the new document storage model (used in v1.2).\r\n\r\n* Uses the get() method instead of __getitem__() defaulting the return\r\n  value to an empty dictionary in case of missing keys in more_info.\r\n\r\nReviewed-by: Tibor Simko <tibor.simko@cern.ch>\r\n```"}}