{"action":"created","comment":{"url":"https://api.github.com/repos/inspirehep/inspire-next/pulls/comments/63275709","id":63275709,"diff_hunk":"@@ -0,0 +1,219 @@\n+# -*- coding: utf-8 -*-\n+#\n+# This file is part of INSPIRE.\n+# Copyright (C) 2016 CERN.\n+#\n+# INSPIRE is free software; you can redistribute it and/or\n+# modify it under the terms of the GNU General Public License as\n+# published by the Free Software Foundation; either version 2 of the\n+# License, or (at your option) any later version.\n+#\n+# INSPIRE is distributed in the hope that it will be useful, but\n+# WITHOUT ANY WARRANTY; without even the implied warranty of\n+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\n+# General Public License for more details.\n+#\n+# You should have received a copy of the GNU General Public License\n+# along with INSPIRE; if not, write to the Free Software Foundation, Inc.,\n+# 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.\n+\n+from dojson.contrib.marc21.utils import create_record\n+from inspirehep.dojson.journals import journals\n+from inspirehep.dojson.utils import strip_empty_values\n+\n+\n+def test_issn_from_marcxml_022_with_a():\n+    \"\"\"Test simple ISSN without medium.\"\"\"\n+    snippet = (\n+            '<record> '\n+            '<datafield tag=\"022\" ind1=\" \" ind2=\" \"> '\n+            '<subfield code=\"a\">2213-1337</subfield> '\n+            '</datafield> '\n+            '</record>'\n+        )\n+\n+    record = strip_empty_values(journals.do(create_record(snippet)))\n+    assert record['issn'][0]['value'] == '2213-1337'\n+\n+\n+def test_issn_from_marcxml_022_with_a_and_b():\n+    \"\"\"Test ISSN with medium normalization.\"\"\"\n+    snippet = (\n+            '<record> '\n+            '<datafield tag=\"022\" ind1=\" \" ind2=\" \"> '\n+            '<subfield code=\"a\">2213-1337</subfield> '\n+            '<subfield code=\"b\">Print</subfield> '\n+            '</datafield> '\n+            '</record>'\n+        )\n+\n+    record = strip_empty_values(journals.do(create_record(snippet)))\n+    assert record['issn'][0]['value'] == '2213-1337'\n+    assert record['issn'][0]['medium'] == 'print'\n+\n+\n+def test_issn_from_marcxml_022_with_a_and_b_and_comment():\n+    \"\"\"Test ISSN with medium normalization. The original 'b' value\n+    will be stored in 'comment'.\n+    \"\"\"\n+    snippet = (\n+            '<record> '\n+            '<datafield tag=\"022\" ind1=\" \" ind2=\" \"> '\n+            '<subfield code=\"a\">2213-1337</subfield> '\n+            '<subfield code=\"b\">ebook</subfield> '\n+            '</datafield> '\n+            '</record>'\n+        )\n+\n+    record = strip_empty_values(journals.do(create_record(snippet)))\n+    assert record['issn'][0]['value'] == '2213-1337'\n+    assert record['issn'][0]['medium'] == 'online'\n+    assert record['issn'][0]['comment'] == 'ebook'\n+\n+\n+def test_issn_from_marcxml_022_with_b_no_a():\n+    \"\"\"Test ISSN in wrong subfield.\"\"\"\n+    snippet = (\n+            '<record> '\n+            '<datafield tag=\"022\" ind1=\" \" ind2=\" \"> '\n+            '<subfield code=\"b\">9780486632827</subfield> '\n+            '</datafield> '\n+            '</record>'\n+        )\n+\n+    record = strip_empty_values(journals.do(create_record(snippet)))\n+    assert 'issn' not in record\n+\n+\n+def test_multiple_issn_from_marcxml_022():\n+    \"\"\"Test multiple ISSNs.\"\"\"\n+    snippet = (\n+            '<record> '\n+            '<datafield tag=\"022\" ind1=\" \" ind2=\" \"> '\n+            '<subfield code=\"a\">2349-2716</subfield> '\n+            '<subfield code=\"b\">Online</subfield> '\n+            '</datafield> '\n+            '<datafield tag=\"022\" ind1=\" \" ind2=\" \"> '\n+            '<subfield code=\"a\">2349-6088</subfield> '\n+            '<subfield code=\"b\">Print</subfield> '\n+            '</datafield> '\n+            '</record>'\n+        )\n+\n+    record = strip_empty_values(journals.do(create_record(snippet)))\n+    assert record['issn'][0]['value'] == '2349-2716'\n+    assert record['issn'][0]['medium'] == 'online'\n+    assert record['issn'][1]['value'] == '2349-6088'\n+    assert record['issn'][1]['medium'] == 'print'\n+\n+\n+def test_coden_from_marcxml_030():\n+    \"\"\"Test coden.\"\"\"\n+    snippet = (\n+            '<datafield tag=\"030\" ind1=\" \" ind2=\" \"> '\n+            '<subfield code=\"2\">CODEN</subfield> '\n+            '<subfield code=\"a\">PRSTA</subfield> '\n+            '</datafield> '\n+            '</record>'\n+        )\n+\n+    record = strip_empty_values(journals.do(create_record(snippet)))\n+    assert record['coden'][0] == 'PRSTA'\n+\n+\n+def test_publisher_from_marcxml_643():\n+    \"\"\"Test publisher.\"\"\"\n+    snippet = (\n+            '<datafield tag=\"643\" ind1=\" \" ind2=\" \"> '\n+            '<subfield code=\"b\">APS</subfield> '\n+            '</datafield> '\n+            '</record>'\n+        )\n+\n+    record = strip_empty_values(journals.do(create_record(snippet)))\n+    assert record['publisher'][0] == 'APS'\n+\n+\n+def test_titles_from_marcxml_130_with_single_a():\n+    \"\"\"Test title.\"\"\"\n+    snippet = (\n+        '<record> '\n+        '<datafield tag=\"130\" ind1=\" \" ind2=\" \"> '\n+        '<subfield code=\"a\">Physical Review Special Topics - Accelerators and Beams</subfield> '\n+        '</datafield> '\n+        '</record>'\n+    )\n+\n+    record = strip_empty_values(journals.do(create_record(snippet)))\n+    title = 'Physical Review Special Topics - Accelerators and Beams'\n+    assert record['titles'][0]['title'] == title\n+\n+\n+def test_titles_from_marcxml_130_with_a_and_b():\n+    \"\"\"Test title and subtitle.\"\"\"\n+    snippet = (\n+        '<record> '\n+        '<datafield tag=\"130\" ind1=\" \" ind2=\" \"> '\n+        '<subfield code=\"a\">Humana Mente</subfield> '\n+        '<subfield code=\"b\">Journal of Philosophical Studies</subfield> '\n+        '</datafield> '\n+        '</record>'\n+    )\n+\n+    record = strip_empty_values(journals.do(create_record(snippet)))\n+    title = 'Humana Mente'\n+    subtitle = 'Journal of Philosophical Studies'\n+    assert record['titles'][0]['title'] == title\n+    assert record['titles'][0]['subtitle'] == subtitle\n+    \n+\n+\n+def test_short_titles_from_marcxml_711():\n+    \"\"\"Test short title.\"\"\"\n+    snippet = (\n+        '<record> '\n+        '<datafield tag=\"711\" ind1=\" \" ind2=\" \"> '\n+        '<subfield code=\"a\">Phys.Rev.ST Accel.Beams</subfield> '\n+        '</datafield> '\n+        '</record>'\n+    )\n+\n+    record = strip_empty_values(journals.do(create_record(snippet)))\n+    title = 'Phys.Rev.ST Accel.Beams'\n+    assert record['short_titles'][0]['title'] == title\n+\n+\n+def test_title_variants_from_marcxml_730():\n+    \"\"\"Test single title variant.\"\"\"\n+    snippet = (\n+        '<record> '\n+        '<datafield tag=\"730\" ind1=\" \" ind2=\" \"> '\n+        '<subfield code=\"a\">PHYSICAL REVIEW SPECIAL TOPICS ACCELERATORS AND BEAMS</subfield> '\n+        '</datafield> '\n+        '</record>'\n+    )\n+\n+    record = strip_empty_values(journals.do(create_record(snippet)))\n+    title = 'PHYSICAL REVIEW SPECIAL TOPICS ACCELERATORS AND BEAMS'\n+    assert record['title_variants'][0]['title'] == title\n+\n+\n+def test_multiple_title_variants_from_marcxml_730():\n+    \"\"\"Test two title variants.\"\"\"\n+    snippet = (\n+        '<record> '\n+        '<datafield tag=\"730\" ind1=\" \" ind2=\" \"> '\n+        '<subfield code=\"a\">PHYS REV SPECIAL TOPICS ACCELERATORS BEAMS</subfield> '\n+        '</datafield> '\n+        '<datafield tag=\"730\" ind1=\" \" ind2=\" \"> '\n+        '<subfield code=\"a\">PHYSICS REVIEW ST ACCEL BEAMS</subfield> '\n+        '</datafield> '\n+        '</record>'\n+    )\n+\n+    record = strip_empty_values(journals.do(create_record(snippet)))\n+    title0 = 'PHYS REV SPECIAL TOPICS ACCELERATORS BEAMS'\n+    title1 = 'PHYSICS REVIEW ST ACCEL BEAMS'\n+    assert record['title_variants'][0]['title'] == title0\n+    assert record['title_variants'][1]['title'] == title1\n+    ","path":"tests/unit/dojson/test_dojson_journals.py","position":219,"original_position":219,"commit_id":"dcf720e52ff2910ce9c211ebf5d92470d0673223","original_commit_id":"dcf720e52ff2910ce9c211ebf5d92470d0673223","user":{"login":"kaplun","id":119349,"avatar_url":"https://avatars.githubusercontent.com/u/119349?v=3","gravatar_id":"","url":"https://api.github.com/users/kaplun","html_url":"https://github.com/kaplun","followers_url":"https://api.github.com/users/kaplun/followers","following_url":"https://api.github.com/users/kaplun/following{/other_user}","gists_url":"https://api.github.com/users/kaplun/gists{/gist_id}","starred_url":"https://api.github.com/users/kaplun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaplun/subscriptions","organizations_url":"https://api.github.com/users/kaplun/orgs","repos_url":"https://api.github.com/users/kaplun/repos","events_url":"https://api.github.com/users/kaplun/events{/privacy}","received_events_url":"https://api.github.com/users/kaplun/received_events","type":"User","site_admin":false},"body":"Missing new line :stuck_out_tongue: ","created_at":"2016-05-14T12:45:07Z","updated_at":"2016-05-14T12:45:07Z","html_url":"https://github.com/inspirehep/inspire-next/pull/1069#discussion_r63275709","pull_request_url":"https://api.github.com/repos/inspirehep/inspire-next/pulls/1069","_links":{"self":{"href":"https://api.github.com/repos/inspirehep/inspire-next/pulls/comments/63275709"},"html":{"href":"https://github.com/inspirehep/inspire-next/pull/1069#discussion_r63275709"},"pull_request":{"href":"https://api.github.com/repos/inspirehep/inspire-next/pulls/1069"}}},"pull_request":{"url":"https://api.github.com/repos/inspirehep/inspire-next/pulls/1069","id":67395010,"html_url":"https://github.com/inspirehep/inspire-next/pull/1069","diff_url":"https://github.com/inspirehep/inspire-next/pull/1069.diff","patch_url":"https://github.com/inspirehep/inspire-next/pull/1069.patch","issue_url":"https://api.github.com/repos/inspirehep/inspire-next/issues/1069","number":1069,"state":"open","locked":false,"title":"dojson: clean schemas","user":{"login":"tomaszgy","id":10139760,"avatar_url":"https://avatars.githubusercontent.com/u/10139760?v=3","gravatar_id":"","url":"https://api.github.com/users/tomaszgy","html_url":"https://github.com/tomaszgy","followers_url":"https://api.github.com/users/tomaszgy/followers","following_url":"https://api.github.com/users/tomaszgy/following{/other_user}","gists_url":"https://api.github.com/users/tomaszgy/gists{/gist_id}","starred_url":"https://api.github.com/users/tomaszgy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomaszgy/subscriptions","organizations_url":"https://api.github.com/users/tomaszgy/orgs","repos_url":"https://api.github.com/users/tomaszgy/repos","events_url":"https://api.github.com/users/tomaszgy/events{/privacy}","received_events_url":"https://api.github.com/users/tomaszgy/received_events","type":"User","site_admin":false},"body":"Supersedes #1041.","created_at":"2016-04-21T17:49:19Z","updated_at":"2016-05-14T12:45:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":"93b0c23cde64041f3abd552390a675b5e78f2b28","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/inspirehep/inspire-next/pulls/1069/commits","review_comments_url":"https://api.github.com/repos/inspirehep/inspire-next/pulls/1069/comments","review_comment_url":"https://api.github.com/repos/inspirehep/inspire-next/pulls/comments{/number}","comments_url":"https://api.github.com/repos/inspirehep/inspire-next/issues/1069/comments","statuses_url":"https://api.github.com/repos/inspirehep/inspire-next/statuses/dcf720e52ff2910ce9c211ebf5d92470d0673223","head":{"label":"tomaszgy:clean_mappings","ref":"clean_mappings","sha":"dcf720e52ff2910ce9c211ebf5d92470d0673223","user":{"login":"tomaszgy","id":10139760,"avatar_url":"https://avatars.githubusercontent.com/u/10139760?v=3","gravatar_id":"","url":"https://api.github.com/users/tomaszgy","html_url":"https://github.com/tomaszgy","followers_url":"https://api.github.com/users/tomaszgy/followers","following_url":"https://api.github.com/users/tomaszgy/following{/other_user}","gists_url":"https://api.github.com/users/tomaszgy/gists{/gist_id}","starred_url":"https://api.github.com/users/tomaszgy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomaszgy/subscriptions","organizations_url":"https://api.github.com/users/tomaszgy/orgs","repos_url":"https://api.github.com/users/tomaszgy/repos","events_url":"https://api.github.com/users/tomaszgy/events{/privacy}","received_events_url":"https://api.github.com/users/tomaszgy/received_events","type":"User","site_admin":false},"repo":{"id":45853625,"name":"inspire-next","full_name":"tomaszgy/inspire-next","owner":{"login":"tomaszgy","id":10139760,"avatar_url":"https://avatars.githubusercontent.com/u/10139760?v=3","gravatar_id":"","url":"https://api.github.com/users/tomaszgy","html_url":"https://github.com/tomaszgy","followers_url":"https://api.github.com/users/tomaszgy/followers","following_url":"https://api.github.com/users/tomaszgy/following{/other_user}","gists_url":"https://api.github.com/users/tomaszgy/gists{/gist_id}","starred_url":"https://api.github.com/users/tomaszgy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomaszgy/subscriptions","organizations_url":"https://api.github.com/users/tomaszgy/orgs","repos_url":"https://api.github.com/users/tomaszgy/repos","events_url":"https://api.github.com/users/tomaszgy/events{/privacy}","received_events_url":"https://api.github.com/users/tomaszgy/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tomaszgy/inspire-next","description":"INSPIRE overlay repository to be used with https://github.com/inspirehep/invenio@labs branch","fork":true,"url":"https://api.github.com/repos/tomaszgy/inspire-next","forks_url":"https://api.github.com/repos/tomaszgy/inspire-next/forks","keys_url":"https://api.github.com/repos/tomaszgy/inspire-next/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tomaszgy/inspire-next/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tomaszgy/inspire-next/teams","hooks_url":"https://api.github.com/repos/tomaszgy/inspire-next/hooks","issue_events_url":"https://api.github.com/repos/tomaszgy/inspire-next/issues/events{/number}","events_url":"https://api.github.com/repos/tomaszgy/inspire-next/events","assignees_url":"https://api.github.com/repos/tomaszgy/inspire-next/assignees{/user}","branches_url":"https://api.github.com/repos/tomaszgy/inspire-next/branches{/branch}","tags_url":"https://api.github.com/repos/tomaszgy/inspire-next/tags","blobs_url":"https://api.github.com/repos/tomaszgy/inspire-next/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tomaszgy/inspire-next/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tomaszgy/inspire-next/git/refs{/sha}","trees_url":"https://api.github.com/repos/tomaszgy/inspire-next/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tomaszgy/inspire-next/statuses/{sha}","languages_url":"https://api.github.com/repos/tomaszgy/inspire-next/languages","stargazers_url":"https://api.github.com/repos/tomaszgy/inspire-next/stargazers","contributors_url":"https://api.github.com/repos/tomaszgy/inspire-next/contributors","subscribers_url":"https://api.github.com/repos/tomaszgy/inspire-next/subscribers","subscription_url":"https://api.github.com/repos/tomaszgy/inspire-next/subscription","commits_url":"https://api.github.com/repos/tomaszgy/inspire-next/commits{/sha}","git_commits_url":"https://api.github.com/repos/tomaszgy/inspire-next/git/commits{/sha}","comments_url":"https://api.github.com/repos/tomaszgy/inspire-next/comments{/number}","issue_comment_url":"https://api.github.com/repos/tomaszgy/inspire-next/issues/comments{/number}","contents_url":"https://api.github.com/repos/tomaszgy/inspire-next/contents/{+path}","compare_url":"https://api.github.com/repos/tomaszgy/inspire-next/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tomaszgy/inspire-next/merges","archive_url":"https://api.github.com/repos/tomaszgy/inspire-next/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tomaszgy/inspire-next/downloads","issues_url":"https://api.github.com/repos/tomaszgy/inspire-next/issues{/number}","pulls_url":"https://api.github.com/repos/tomaszgy/inspire-next/pulls{/number}","milestones_url":"https://api.github.com/repos/tomaszgy/inspire-next/milestones{/number}","notifications_url":"https://api.github.com/repos/tomaszgy/inspire-next/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tomaszgy/inspire-next/labels{/name}","releases_url":"https://api.github.com/repos/tomaszgy/inspire-next/releases{/id}","deployments_url":"https://api.github.com/repos/tomaszgy/inspire-next/deployments","created_at":"2015-11-09T17:13:36Z","updated_at":"2015-11-09T17:13:43Z","pushed_at":"2016-05-13T06:58:49Z","git_url":"git://github.com/tomaszgy/inspire-next.git","ssh_url":"git@github.com:tomaszgy/inspire-next.git","clone_url":"https://github.com/tomaszgy/inspire-next.git","svn_url":"https://github.com/tomaszgy/inspire-next","homepage":"https://labs.inspirehep.net","size":59146,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"inspirehep:master","ref":"master","sha":"3bfc675ba66e0c0ce3e6dc9586104f2ff6fc8c89","user":{"login":"inspirehep","id":356664,"avatar_url":"https://avatars.githubusercontent.com/u/356664?v=3","gravatar_id":"","url":"https://api.github.com/users/inspirehep","html_url":"https://github.com/inspirehep","followers_url":"https://api.github.com/users/inspirehep/followers","following_url":"https://api.github.com/users/inspirehep/following{/other_user}","gists_url":"https://api.github.com/users/inspirehep/gists{/gist_id}","starred_url":"https://api.github.com/users/inspirehep/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/inspirehep/subscriptions","organizations_url":"https://api.github.com/users/inspirehep/orgs","repos_url":"https://api.github.com/users/inspirehep/repos","events_url":"https://api.github.com/users/inspirehep/events{/privacy}","received_events_url":"https://api.github.com/users/inspirehep/received_events","type":"Organization","site_admin":false},"repo":{"id":15221515,"name":"inspire-next","full_name":"inspirehep/inspire-next","owner":{"login":"inspirehep","id":356664,"avatar_url":"https://avatars.githubusercontent.com/u/356664?v=3","gravatar_id":"","url":"https://api.github.com/users/inspirehep","html_url":"https://github.com/inspirehep","followers_url":"https://api.github.com/users/inspirehep/followers","following_url":"https://api.github.com/users/inspirehep/following{/other_user}","gists_url":"https://api.github.com/users/inspirehep/gists{/gist_id}","starred_url":"https://api.github.com/users/inspirehep/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/inspirehep/subscriptions","organizations_url":"https://api.github.com/users/inspirehep/orgs","repos_url":"https://api.github.com/users/inspirehep/repos","events_url":"https://api.github.com/users/inspirehep/events{/privacy}","received_events_url":"https://api.github.com/users/inspirehep/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/inspirehep/inspire-next","description":"INSPIRE overlay repository to be used with https://github.com/inspirehep/invenio@labs branch","fork":false,"url":"https://api.github.com/repos/inspirehep/inspire-next","forks_url":"https://api.github.com/repos/inspirehep/inspire-next/forks","keys_url":"https://api.github.com/repos/inspirehep/inspire-next/keys{/key_id}","collaborators_url":"https://api.github.com/repos/inspirehep/inspire-next/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/inspirehep/inspire-next/teams","hooks_url":"https://api.github.com/repos/inspirehep/inspire-next/hooks","issue_events_url":"https://api.github.com/repos/inspirehep/inspire-next/issues/events{/number}","events_url":"https://api.github.com/repos/inspirehep/inspire-next/events","assignees_url":"https://api.github.com/repos/inspirehep/inspire-next/assignees{/user}","branches_url":"https://api.github.com/repos/inspirehep/inspire-next/branches{/branch}","tags_url":"https://api.github.com/repos/inspirehep/inspire-next/tags","blobs_url":"https://api.github.com/repos/inspirehep/inspire-next/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/inspirehep/inspire-next/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/inspirehep/inspire-next/git/refs{/sha}","trees_url":"https://api.github.com/repos/inspirehep/inspire-next/git/trees{/sha}","statuses_url":"https://api.github.com/repos/inspirehep/inspire-next/statuses/{sha}","languages_url":"https://api.github.com/repos/inspirehep/inspire-next/languages","stargazers_url":"https://api.github.com/repos/inspirehep/inspire-next/stargazers","contributors_url":"https://api.github.com/repos/inspirehep/inspire-next/contributors","subscribers_url":"https://api.github.com/repos/inspirehep/inspire-next/subscribers","subscription_url":"https://api.github.com/repos/inspirehep/inspire-next/subscription","commits_url":"https://api.github.com/repos/inspirehep/inspire-next/commits{/sha}","git_commits_url":"https://api.github.com/repos/inspirehep/inspire-next/git/commits{/sha}","comments_url":"https://api.github.com/repos/inspirehep/inspire-next/comments{/number}","issue_comment_url":"https://api.github.com/repos/inspirehep/inspire-next/issues/comments{/number}","contents_url":"https://api.github.com/repos/inspirehep/inspire-next/contents/{+path}","compare_url":"https://api.github.com/repos/inspirehep/inspire-next/compare/{base}...{head}","merges_url":"https://api.github.com/repos/inspirehep/inspire-next/merges","archive_url":"https://api.github.com/repos/inspirehep/inspire-next/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/inspirehep/inspire-next/downloads","issues_url":"https://api.github.com/repos/inspirehep/inspire-next/issues{/number}","pulls_url":"https://api.github.com/repos/inspirehep/inspire-next/pulls{/number}","milestones_url":"https://api.github.com/repos/inspirehep/inspire-next/milestones{/number}","notifications_url":"https://api.github.com/repos/inspirehep/inspire-next/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/inspirehep/inspire-next/labels{/name}","releases_url":"https://api.github.com/repos/inspirehep/inspire-next/releases{/id}","deployments_url":"https://api.github.com/repos/inspirehep/inspire-next/deployments","created_at":"2013-12-16T09:11:58Z","updated_at":"2016-04-09T10:47:04Z","pushed_at":"2016-05-13T13:04:24Z","git_url":"git://github.com/inspirehep/inspire-next.git","ssh_url":"git@github.com:inspirehep/inspire-next.git","clone_url":"https://github.com/inspirehep/inspire-next.git","svn_url":"https://github.com/inspirehep/inspire-next","homepage":"https://labs.inspirehep.net","size":63791,"stargazers_count":12,"watchers_count":12,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":29,"mirror_url":null,"open_issues_count":123,"forks":29,"open_issues":123,"watchers":12,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/inspirehep/inspire-next/pulls/1069"},"html":{"href":"https://github.com/inspirehep/inspire-next/pull/1069"},"issue":{"href":"https://api.github.com/repos/inspirehep/inspire-next/issues/1069"},"comments":{"href":"https://api.github.com/repos/inspirehep/inspire-next/issues/1069/comments"},"review_comments":{"href":"https://api.github.com/repos/inspirehep/inspire-next/pulls/1069/comments"},"review_comment":{"href":"https://api.github.com/repos/inspirehep/inspire-next/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/inspirehep/inspire-next/pulls/1069/commits"},"statuses":{"href":"https://api.github.com/repos/inspirehep/inspire-next/statuses/dcf720e52ff2910ce9c211ebf5d92470d0673223"}}}}