{"action":"created","comment":{"url":"https://api.github.com/repos/inveniosoftware/invenio-github/pulls/comments/72803641","id":72803641,"diff_hunk":"@@ -131,30 +130,27 @@ class Repository(db.Model, Timestamp):\n     )\n     \"\"\"Unique GitHub identifier for a repository.\n \n-    Note: Past implementations of GitHub for Invenio, used the repository name\n-    (eg. 'inveniosoftware/invenio-github') in order to track repositories. This\n-    however leads to problems, since repository names can change and thus\n-    render the stored repository name useless. In order to tackle this issue,\n-    the `github_id` should be used to track repositories, which is a unique\n-    identifier that GitHub uses for each repository and doesn't change on\n-    renames/transfers.\n-\n-    In order to be able to keep deleted repositories with releases that have\n-    been published, it is possible to keep an entry without a `github_id`,\n-    that only has a `name`.\n+    .. note::\n+\n+      Past implementations of GitHub for Invenio, used the repository name","path":"invenio_github/models.py","position":null,"original_position":58,"commit_id":"607f19de4a6b9f5020d79ed664b69aac24b4e984","original_commit_id":"607f19de4a6b9f5020d79ed664b69aac24b4e984","user":{"login":"jirikuncar","id":189798,"avatar_url":"https://avatars.githubusercontent.com/u/189798?v=3","gravatar_id":"","url":"https://api.github.com/users/jirikuncar","html_url":"https://github.com/jirikuncar","followers_url":"https://api.github.com/users/jirikuncar/followers","following_url":"https://api.github.com/users/jirikuncar/following{/other_user}","gists_url":"https://api.github.com/users/jirikuncar/gists{/gist_id}","starred_url":"https://api.github.com/users/jirikuncar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jirikuncar/subscriptions","organizations_url":"https://api.github.com/users/jirikuncar/orgs","repos_url":"https://api.github.com/users/jirikuncar/repos","events_url":"https://api.github.com/users/jirikuncar/events{/privacy}","received_events_url":"https://api.github.com/users/jirikuncar/received_events","type":"User","site_admin":false},"body":"Can you check the indentation of the note?","created_at":"2016-07-29T14:47:28Z","updated_at":"2016-07-29T14:47:28Z","html_url":"https://github.com/inveniosoftware/invenio-github/pull/8#discussion_r72803641","pull_request_url":"https://api.github.com/repos/inveniosoftware/invenio-github/pulls/8","_links":{"self":{"href":"https://api.github.com/repos/inveniosoftware/invenio-github/pulls/comments/72803641"},"html":{"href":"https://github.com/inveniosoftware/invenio-github/pull/8#discussion_r72803641"},"pull_request":{"href":"https://api.github.com/repos/inveniosoftware/invenio-github/pulls/8"}}},"pull_request":{"url":"https://api.github.com/repos/inveniosoftware/invenio-github/pulls/8","id":75595509,"html_url":"https://github.com/inveniosoftware/invenio-github/pull/8","diff_url":"https://github.com/inveniosoftware/invenio-github/pull/8.diff","patch_url":"https://github.com/inveniosoftware/invenio-github/pull/8.patch","issue_url":"https://api.github.com/repos/inveniosoftware/invenio-github/issues/8","number":8,"state":"open","locked":false,"title":"global: migrate zenodo github integration","user":{"login":"slint","id":1814661,"avatar_url":"https://avatars.githubusercontent.com/u/1814661?v=3","gravatar_id":"","url":"https://api.github.com/users/slint","html_url":"https://github.com/slint","followers_url":"https://api.github.com/users/slint/followers","following_url":"https://api.github.com/users/slint/following{/other_user}","gists_url":"https://api.github.com/users/slint/gists{/gist_id}","starred_url":"https://api.github.com/users/slint/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slint/subscriptions","organizations_url":"https://api.github.com/users/slint/orgs","repos_url":"https://api.github.com/users/slint/repos","events_url":"https://api.github.com/users/slint/events{/privacy}","received_events_url":"https://api.github.com/users/slint/received_events","type":"User","site_admin":false},"body":"* Migrates previous github implementation. (closes #8)\r\n\r\n* Adds status tracking for Releases.\r\n\r\n* Uses a Celery task for deposit publishing.\r\n\r\n* Uses GitHub's IDs to track Repositories and Releases.\r\n\r\n* Adds Bundles for the UI assets.\r\n\r\n* Adds webhook syncing.\r\n\r\n* Fixes various UI issues.\r\n\r\nSigned-off-by: Alexander Ioannidis <a.ioannidis@cern.ch>","created_at":"2016-06-29T06:40:22Z","updated_at":"2016-07-29T14:47:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3f4a8b89274224ec5a7582bbe6d2833761e465a0","assignee":{"login":"slint","id":1814661,"avatar_url":"https://avatars.githubusercontent.com/u/1814661?v=3","gravatar_id":"","url":"https://api.github.com/users/slint","html_url":"https://github.com/slint","followers_url":"https://api.github.com/users/slint/followers","following_url":"https://api.github.com/users/slint/following{/other_user}","gists_url":"https://api.github.com/users/slint/gists{/gist_id}","starred_url":"https://api.github.com/users/slint/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slint/subscriptions","organizations_url":"https://api.github.com/users/slint/orgs","repos_url":"https://api.github.com/users/slint/repos","events_url":"https://api.github.com/users/slint/events{/privacy}","received_events_url":"https://api.github.com/users/slint/received_events","type":"User","site_admin":false},"assignees":[{"login":"slint","id":1814661,"avatar_url":"https://avatars.githubusercontent.com/u/1814661?v=3","gravatar_id":"","url":"https://api.github.com/users/slint","html_url":"https://github.com/slint","followers_url":"https://api.github.com/users/slint/followers","following_url":"https://api.github.com/users/slint/following{/other_user}","gists_url":"https://api.github.com/users/slint/gists{/gist_id}","starred_url":"https://api.github.com/users/slint/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slint/subscriptions","organizations_url":"https://api.github.com/users/slint/orgs","repos_url":"https://api.github.com/users/slint/repos","events_url":"https://api.github.com/users/slint/events{/privacy}","received_events_url":"https://api.github.com/users/slint/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/inveniosoftware/invenio-github/milestones/1","html_url":"https://github.com/inveniosoftware/invenio-github/milestones/v1.0.0","labels_url":"https://api.github.com/repos/inveniosoftware/invenio-github/milestones/1/labels","id":1791663,"number":1,"title":"v1.0.0","description":null,"creator":{"login":"jirikuncar","id":189798,"avatar_url":"https://avatars.githubusercontent.com/u/189798?v=3","gravatar_id":"","url":"https://api.github.com/users/jirikuncar","html_url":"https://github.com/jirikuncar","followers_url":"https://api.github.com/users/jirikuncar/followers","following_url":"https://api.github.com/users/jirikuncar/following{/other_user}","gists_url":"https://api.github.com/users/jirikuncar/gists{/gist_id}","starred_url":"https://api.github.com/users/jirikuncar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jirikuncar/subscriptions","organizations_url":"https://api.github.com/users/jirikuncar/orgs","repos_url":"https://api.github.com/users/jirikuncar/repos","events_url":"https://api.github.com/users/jirikuncar/events{/privacy}","received_events_url":"https://api.github.com/users/jirikuncar/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":5,"state":"open","created_at":"2016-05-27T09:55:49Z","updated_at":"2016-07-20T13:44:23Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/inveniosoftware/invenio-github/pulls/8/commits","review_comments_url":"https://api.github.com/repos/inveniosoftware/invenio-github/pulls/8/comments","review_comment_url":"https://api.github.com/repos/inveniosoftware/invenio-github/pulls/comments{/number}","comments_url":"https://api.github.com/repos/inveniosoftware/invenio-github/issues/8/comments","statuses_url":"https://api.github.com/repos/inveniosoftware/invenio-github/statuses/607f19de4a6b9f5020d79ed664b69aac24b4e984","head":{"label":"slint:ui_migration","ref":"ui_migration","sha":"607f19de4a6b9f5020d79ed664b69aac24b4e984","user":{"login":"slint","id":1814661,"avatar_url":"https://avatars.githubusercontent.com/u/1814661?v=3","gravatar_id":"","url":"https://api.github.com/users/slint","html_url":"https://github.com/slint","followers_url":"https://api.github.com/users/slint/followers","following_url":"https://api.github.com/users/slint/following{/other_user}","gists_url":"https://api.github.com/users/slint/gists{/gist_id}","starred_url":"https://api.github.com/users/slint/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slint/subscriptions","organizations_url":"https://api.github.com/users/slint/orgs","repos_url":"https://api.github.com/users/slint/repos","events_url":"https://api.github.com/users/slint/events{/privacy}","received_events_url":"https://api.github.com/users/slint/received_events","type":"User","site_admin":false},"repo":{"id":61215957,"name":"invenio-github","full_name":"slint/invenio-github","owner":{"login":"slint","id":1814661,"avatar_url":"https://avatars.githubusercontent.com/u/1814661?v=3","gravatar_id":"","url":"https://api.github.com/users/slint","html_url":"https://github.com/slint","followers_url":"https://api.github.com/users/slint/followers","following_url":"https://api.github.com/users/slint/following{/other_user}","gists_url":"https://api.github.com/users/slint/gists{/gist_id}","starred_url":"https://api.github.com/users/slint/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slint/subscriptions","organizations_url":"https://api.github.com/users/slint/orgs","repos_url":"https://api.github.com/users/slint/repos","events_url":"https://api.github.com/users/slint/events{/privacy}","received_events_url":"https://api.github.com/users/slint/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/slint/invenio-github","description":"GitHub integration for Invenio.","fork":true,"url":"https://api.github.com/repos/slint/invenio-github","forks_url":"https://api.github.com/repos/slint/invenio-github/forks","keys_url":"https://api.github.com/repos/slint/invenio-github/keys{/key_id}","collaborators_url":"https://api.github.com/repos/slint/invenio-github/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/slint/invenio-github/teams","hooks_url":"https://api.github.com/repos/slint/invenio-github/hooks","issue_events_url":"https://api.github.com/repos/slint/invenio-github/issues/events{/number}","events_url":"https://api.github.com/repos/slint/invenio-github/events","assignees_url":"https://api.github.com/repos/slint/invenio-github/assignees{/user}","branches_url":"https://api.github.com/repos/slint/invenio-github/branches{/branch}","tags_url":"https://api.github.com/repos/slint/invenio-github/tags","blobs_url":"https://api.github.com/repos/slint/invenio-github/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/slint/invenio-github/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/slint/invenio-github/git/refs{/sha}","trees_url":"https://api.github.com/repos/slint/invenio-github/git/trees{/sha}","statuses_url":"https://api.github.com/repos/slint/invenio-github/statuses/{sha}","languages_url":"https://api.github.com/repos/slint/invenio-github/languages","stargazers_url":"https://api.github.com/repos/slint/invenio-github/stargazers","contributors_url":"https://api.github.com/repos/slint/invenio-github/contributors","subscribers_url":"https://api.github.com/repos/slint/invenio-github/subscribers","subscription_url":"https://api.github.com/repos/slint/invenio-github/subscription","commits_url":"https://api.github.com/repos/slint/invenio-github/commits{/sha}","git_commits_url":"https://api.github.com/repos/slint/invenio-github/git/commits{/sha}","comments_url":"https://api.github.com/repos/slint/invenio-github/comments{/number}","issue_comment_url":"https://api.github.com/repos/slint/invenio-github/issues/comments{/number}","contents_url":"https://api.github.com/repos/slint/invenio-github/contents/{+path}","compare_url":"https://api.github.com/repos/slint/invenio-github/compare/{base}...{head}","merges_url":"https://api.github.com/repos/slint/invenio-github/merges","archive_url":"https://api.github.com/repos/slint/invenio-github/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/slint/invenio-github/downloads","issues_url":"https://api.github.com/repos/slint/invenio-github/issues{/number}","pulls_url":"https://api.github.com/repos/slint/invenio-github/pulls{/number}","milestones_url":"https://api.github.com/repos/slint/invenio-github/milestones{/number}","notifications_url":"https://api.github.com/repos/slint/invenio-github/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/slint/invenio-github/labels{/name}","releases_url":"https://api.github.com/repos/slint/invenio-github/releases{/id}","deployments_url":"https://api.github.com/repos/slint/invenio-github/deployments","created_at":"2016-06-15T14:47:42Z","updated_at":"2016-06-16T08:21:28Z","pushed_at":"2016-07-29T14:32:29Z","git_url":"git://github.com/slint/invenio-github.git","ssh_url":"git@github.com:slint/invenio-github.git","clone_url":"https://github.com/slint/invenio-github.git","svn_url":"https://github.com/slint/invenio-github","homepage":null,"size":362,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"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":"inveniosoftware:master","ref":"master","sha":"254194cefbf89ff1d92259733446ec3da1572c69","user":{"login":"inveniosoftware","id":1157480,"avatar_url":"https://avatars.githubusercontent.com/u/1157480?v=3","gravatar_id":"","url":"https://api.github.com/users/inveniosoftware","html_url":"https://github.com/inveniosoftware","followers_url":"https://api.github.com/users/inveniosoftware/followers","following_url":"https://api.github.com/users/inveniosoftware/following{/other_user}","gists_url":"https://api.github.com/users/inveniosoftware/gists{/gist_id}","starred_url":"https://api.github.com/users/inveniosoftware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/inveniosoftware/subscriptions","organizations_url":"https://api.github.com/users/inveniosoftware/orgs","repos_url":"https://api.github.com/users/inveniosoftware/repos","events_url":"https://api.github.com/users/inveniosoftware/events{/privacy}","received_events_url":"https://api.github.com/users/inveniosoftware/received_events","type":"Organization","site_admin":false},"repo":{"id":59567218,"name":"invenio-github","full_name":"inveniosoftware/invenio-github","owner":{"login":"inveniosoftware","id":1157480,"avatar_url":"https://avatars.githubusercontent.com/u/1157480?v=3","gravatar_id":"","url":"https://api.github.com/users/inveniosoftware","html_url":"https://github.com/inveniosoftware","followers_url":"https://api.github.com/users/inveniosoftware/followers","following_url":"https://api.github.com/users/inveniosoftware/following{/other_user}","gists_url":"https://api.github.com/users/inveniosoftware/gists{/gist_id}","starred_url":"https://api.github.com/users/inveniosoftware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/inveniosoftware/subscriptions","organizations_url":"https://api.github.com/users/inveniosoftware/orgs","repos_url":"https://api.github.com/users/inveniosoftware/repos","events_url":"https://api.github.com/users/inveniosoftware/events{/privacy}","received_events_url":"https://api.github.com/users/inveniosoftware/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/inveniosoftware/invenio-github","description":"GitHub integration for Invenio.","fork":false,"url":"https://api.github.com/repos/inveniosoftware/invenio-github","forks_url":"https://api.github.com/repos/inveniosoftware/invenio-github/forks","keys_url":"https://api.github.com/repos/inveniosoftware/invenio-github/keys{/key_id}","collaborators_url":"https://api.github.com/repos/inveniosoftware/invenio-github/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/inveniosoftware/invenio-github/teams","hooks_url":"https://api.github.com/repos/inveniosoftware/invenio-github/hooks","issue_events_url":"https://api.github.com/repos/inveniosoftware/invenio-github/issues/events{/number}","events_url":"https://api.github.com/repos/inveniosoftware/invenio-github/events","assignees_url":"https://api.github.com/repos/inveniosoftware/invenio-github/assignees{/user}","branches_url":"https://api.github.com/repos/inveniosoftware/invenio-github/branches{/branch}","tags_url":"https://api.github.com/repos/inveniosoftware/invenio-github/tags","blobs_url":"https://api.github.com/repos/inveniosoftware/invenio-github/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/inveniosoftware/invenio-github/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/inveniosoftware/invenio-github/git/refs{/sha}","trees_url":"https://api.github.com/repos/inveniosoftware/invenio-github/git/trees{/sha}","statuses_url":"https://api.github.com/repos/inveniosoftware/invenio-github/statuses/{sha}","languages_url":"https://api.github.com/repos/inveniosoftware/invenio-github/languages","stargazers_url":"https://api.github.com/repos/inveniosoftware/invenio-github/stargazers","contributors_url":"https://api.github.com/repos/inveniosoftware/invenio-github/contributors","subscribers_url":"https://api.github.com/repos/inveniosoftware/invenio-github/subscribers","subscription_url":"https://api.github.com/repos/inveniosoftware/invenio-github/subscription","commits_url":"https://api.github.com/repos/inveniosoftware/invenio-github/commits{/sha}","git_commits_url":"https://api.github.com/repos/inveniosoftware/invenio-github/git/commits{/sha}","comments_url":"https://api.github.com/repos/inveniosoftware/invenio-github/comments{/number}","issue_comment_url":"https://api.github.com/repos/inveniosoftware/invenio-github/issues/comments{/number}","contents_url":"https://api.github.com/repos/inveniosoftware/invenio-github/contents/{+path}","compare_url":"https://api.github.com/repos/inveniosoftware/invenio-github/compare/{base}...{head}","merges_url":"https://api.github.com/repos/inveniosoftware/invenio-github/merges","archive_url":"https://api.github.com/repos/inveniosoftware/invenio-github/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/inveniosoftware/invenio-github/downloads","issues_url":"https://api.github.com/repos/inveniosoftware/invenio-github/issues{/number}","pulls_url":"https://api.github.com/repos/inveniosoftware/invenio-github/pulls{/number}","milestones_url":"https://api.github.com/repos/inveniosoftware/invenio-github/milestones{/number}","notifications_url":"https://api.github.com/repos/inveniosoftware/invenio-github/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/inveniosoftware/invenio-github/labels{/name}","releases_url":"https://api.github.com/repos/inveniosoftware/invenio-github/releases{/id}","deployments_url":"https://api.github.com/repos/inveniosoftware/invenio-github/deployments","created_at":"2016-05-24T11:27:57Z","updated_at":"2016-05-26T08:46:28Z","pushed_at":"2016-07-29T14:32:29Z","git_url":"git://github.com/inveniosoftware/invenio-github.git","ssh_url":"git@github.com:inveniosoftware/invenio-github.git","clone_url":"https://github.com/inveniosoftware/invenio-github.git","svn_url":"https://github.com/inveniosoftware/invenio-github","homepage":null,"size":291,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":3,"forks":5,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/inveniosoftware/invenio-github/pulls/8"},"html":{"href":"https://github.com/inveniosoftware/invenio-github/pull/8"},"issue":{"href":"https://api.github.com/repos/inveniosoftware/invenio-github/issues/8"},"comments":{"href":"https://api.github.com/repos/inveniosoftware/invenio-github/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/inveniosoftware/invenio-github/pulls/8/comments"},"review_comment":{"href":"https://api.github.com/repos/inveniosoftware/invenio-github/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/inveniosoftware/invenio-github/pulls/8/commits"},"statuses":{"href":"https://api.github.com/repos/inveniosoftware/invenio-github/statuses/607f19de4a6b9f5020d79ed664b69aac24b4e984"}}}}
{"actor":{"display_login":"jirikuncar"}}