{"action":"created","comment":{"url":"https://api.github.com/repos/seveas/git-spindle/pulls/comments/181893045","pull_request_review_id":112593568,"id":181893045,"diff_hunk":"@@ -8,16 +8,16 @@\n glapi.UserProject.spindle = 'gitlab'\n \n # Monkeypatch github3.gists.Gist to behave more like a repo\n-github3.gists.Gist.ssh_url = property(lambda self: 'git@gist.github.com:/%s.git' % self.id)\n+github3.gists.Gist.ssh_url = property(lambda self: self.git_push_url)\n github3.gists.Gist.clone_url = property(lambda self: self.git_pull_url)\n-github3.gists.Gist.git_url = property(lambda self: 'git://gist.github.com/%s.git' % self.id)\n+github3.gists.Gist.git_url = property(lambda self: self.git_pull_url)","path":"lib/gitspindle/monkey.py","position":8,"original_position":8,"commit_id":"a3a680ba9c545ae23d799bcecefb7d326e0e022e","original_commit_id":"a3a680ba9c545ae23d799bcecefb7d326e0e022e","user":{"login":"seveas","id":200649,"avatar_url":"https://avatars3.githubusercontent.com/u/200649?v=4","gravatar_id":"","url":"https://api.github.com/users/seveas","html_url":"https://github.com/seveas","followers_url":"https://api.github.com/users/seveas/followers","following_url":"https://api.github.com/users/seveas/following{/other_user}","gists_url":"https://api.github.com/users/seveas/gists{/gist_id}","starred_url":"https://api.github.com/users/seveas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seveas/subscriptions","organizations_url":"https://api.github.com/users/seveas/orgs","repos_url":"https://api.github.com/users/seveas/repos","events_url":"https://api.github.com/users/seveas/events{/privacy}","received_events_url":"https://api.github.com/users/seveas/received_events","type":"User","site_admin":true},"body":"so the push_url is always ssh ant the pull_url always git://?","created_at":"2018-04-16T21:34:58Z","updated_at":"2018-04-16T21:38:02Z","html_url":"https://github.com/seveas/git-spindle/pull/110#discussion_r181893045","pull_request_url":"https://api.github.com/repos/seveas/git-spindle/pulls/110","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/seveas/git-spindle/pulls/comments/181893045"},"html":{"href":"https://github.com/seveas/git-spindle/pull/110#discussion_r181893045"},"pull_request":{"href":"https://api.github.com/repos/seveas/git-spindle/pulls/110"}}},"pull_request":{"url":"https://api.github.com/repos/seveas/git-spindle/pulls/110","id":65056642,"html_url":"https://github.com/seveas/git-spindle/pull/110","diff_url":"https://github.com/seveas/git-spindle/pull/110.diff","patch_url":"https://github.com/seveas/git-spindle/pull/110.patch","issue_url":"https://api.github.com/repos/seveas/git-spindle/issues/110","number":110,"state":"open","locked":false,"title":"Porting the github backend to github3.py 1.0.0","user":{"login":"aroig","id":1743143,"avatar_url":"https://avatars3.githubusercontent.com/u/1743143?v=4","gravatar_id":"","url":"https://api.github.com/users/aroig","html_url":"https://github.com/aroig","followers_url":"https://api.github.com/users/aroig/followers","following_url":"https://api.github.com/users/aroig/following{/other_user}","gists_url":"https://api.github.com/users/aroig/gists{/gist_id}","starred_url":"https://api.github.com/users/aroig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aroig/subscriptions","organizations_url":"https://api.github.com/users/aroig/orgs","repos_url":"https://api.github.com/users/aroig/repos","events_url":"https://api.github.com/users/aroig/events{/privacy}","received_events_url":"https://api.github.com/users/aroig/received_events","type":"User","site_admin":false},"body":"I wanted to package git-spindle for the Arch Linux User Repository\n(AUR). Since on AUR there is version 1.0.0a2 of github3.py, I started\nporting git spindle to that version of the library.\n\nCurrently I use my fork for packaging git-spindle on AUR, and opened\nthis PR so you can track the changes, and merge it when the time comes. \n\nI see no sane way to keep compatibility with both 0.9 and 1.0 versions\nof github3.py.\n","created_at":"2016-04-03T02:20:42Z","updated_at":"2018-04-16T21:38:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e9f30acb0b08bcb4cf83a2e8724dc7bfbe0adf79","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/seveas/git-spindle/pulls/110/commits","review_comments_url":"https://api.github.com/repos/seveas/git-spindle/pulls/110/comments","review_comment_url":"https://api.github.com/repos/seveas/git-spindle/pulls/comments{/number}","comments_url":"https://api.github.com/repos/seveas/git-spindle/issues/110/comments","statuses_url":"https://api.github.com/repos/seveas/git-spindle/statuses/a3a680ba9c545ae23d799bcecefb7d326e0e022e","head":{"label":"aroig:gh/github3.py-1.0-madness","ref":"gh/github3.py-1.0-madness","sha":"a3a680ba9c545ae23d799bcecefb7d326e0e022e","user":{"login":"aroig","id":1743143,"avatar_url":"https://avatars3.githubusercontent.com/u/1743143?v=4","gravatar_id":"","url":"https://api.github.com/users/aroig","html_url":"https://github.com/aroig","followers_url":"https://api.github.com/users/aroig/followers","following_url":"https://api.github.com/users/aroig/following{/other_user}","gists_url":"https://api.github.com/users/aroig/gists{/gist_id}","starred_url":"https://api.github.com/users/aroig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aroig/subscriptions","organizations_url":"https://api.github.com/users/aroig/orgs","repos_url":"https://api.github.com/users/aroig/repos","events_url":"https://api.github.com/users/aroig/events{/privacy}","received_events_url":"https://api.github.com/users/aroig/received_events","type":"User","site_admin":false},"repo":{"id":55321879,"name":"git-spindle","full_name":"aroig/git-spindle","owner":{"login":"aroig","id":1743143,"avatar_url":"https://avatars3.githubusercontent.com/u/1743143?v=4","gravatar_id":"","url":"https://api.github.com/users/aroig","html_url":"https://github.com/aroig","followers_url":"https://api.github.com/users/aroig/followers","following_url":"https://api.github.com/users/aroig/following{/other_user}","gists_url":"https://api.github.com/users/aroig/gists{/gist_id}","starred_url":"https://api.github.com/users/aroig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aroig/subscriptions","organizations_url":"https://api.github.com/users/aroig/orgs","repos_url":"https://api.github.com/users/aroig/repos","events_url":"https://api.github.com/users/aroig/events{/privacy}","received_events_url":"https://api.github.com/users/aroig/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/aroig/git-spindle","description":"Command-line interface to GitHub and other central git services","fork":true,"url":"https://api.github.com/repos/aroig/git-spindle","forks_url":"https://api.github.com/repos/aroig/git-spindle/forks","keys_url":"https://api.github.com/repos/aroig/git-spindle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aroig/git-spindle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aroig/git-spindle/teams","hooks_url":"https://api.github.com/repos/aroig/git-spindle/hooks","issue_events_url":"https://api.github.com/repos/aroig/git-spindle/issues/events{/number}","events_url":"https://api.github.com/repos/aroig/git-spindle/events","assignees_url":"https://api.github.com/repos/aroig/git-spindle/assignees{/user}","branches_url":"https://api.github.com/repos/aroig/git-spindle/branches{/branch}","tags_url":"https://api.github.com/repos/aroig/git-spindle/tags","blobs_url":"https://api.github.com/repos/aroig/git-spindle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aroig/git-spindle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aroig/git-spindle/git/refs{/sha}","trees_url":"https://api.github.com/repos/aroig/git-spindle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aroig/git-spindle/statuses/{sha}","languages_url":"https://api.github.com/repos/aroig/git-spindle/languages","stargazers_url":"https://api.github.com/repos/aroig/git-spindle/stargazers","contributors_url":"https://api.github.com/repos/aroig/git-spindle/contributors","subscribers_url":"https://api.github.com/repos/aroig/git-spindle/subscribers","subscription_url":"https://api.github.com/repos/aroig/git-spindle/subscription","commits_url":"https://api.github.com/repos/aroig/git-spindle/commits{/sha}","git_commits_url":"https://api.github.com/repos/aroig/git-spindle/git/commits{/sha}","comments_url":"https://api.github.com/repos/aroig/git-spindle/comments{/number}","issue_comment_url":"https://api.github.com/repos/aroig/git-spindle/issues/comments{/number}","contents_url":"https://api.github.com/repos/aroig/git-spindle/contents/{+path}","compare_url":"https://api.github.com/repos/aroig/git-spindle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aroig/git-spindle/merges","archive_url":"https://api.github.com/repos/aroig/git-spindle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aroig/git-spindle/downloads","issues_url":"https://api.github.com/repos/aroig/git-spindle/issues{/number}","pulls_url":"https://api.github.com/repos/aroig/git-spindle/pulls{/number}","milestones_url":"https://api.github.com/repos/aroig/git-spindle/milestones{/number}","notifications_url":"https://api.github.com/repos/aroig/git-spindle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aroig/git-spindle/labels{/name}","releases_url":"https://api.github.com/repos/aroig/git-spindle/releases{/id}","deployments_url":"https://api.github.com/repos/aroig/git-spindle/deployments","created_at":"2016-04-03T00:04:10Z","updated_at":"2016-04-03T00:04:11Z","pushed_at":"2018-04-15T18:29:00Z","git_url":"git://github.com/aroig/git-spindle.git","ssh_url":"git@github.com:aroig/git-spindle.git","clone_url":"https://github.com/aroig/git-spindle.git","svn_url":"https://github.com/aroig/git-spindle","homepage":"http://seveas.github.io/git-spindle","size":7772,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"seveas:master","ref":"master","sha":"3e219fe645531ebc9e87365b10438f9eed0d81f4","user":{"login":"seveas","id":200649,"avatar_url":"https://avatars3.githubusercontent.com/u/200649?v=4","gravatar_id":"","url":"https://api.github.com/users/seveas","html_url":"https://github.com/seveas","followers_url":"https://api.github.com/users/seveas/followers","following_url":"https://api.github.com/users/seveas/following{/other_user}","gists_url":"https://api.github.com/users/seveas/gists{/gist_id}","starred_url":"https://api.github.com/users/seveas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seveas/subscriptions","organizations_url":"https://api.github.com/users/seveas/orgs","repos_url":"https://api.github.com/users/seveas/repos","events_url":"https://api.github.com/users/seveas/events{/privacy}","received_events_url":"https://api.github.com/users/seveas/received_events","type":"User","site_admin":true},"repo":{"id":6022671,"name":"git-spindle","full_name":"seveas/git-spindle","owner":{"login":"seveas","id":200649,"avatar_url":"https://avatars3.githubusercontent.com/u/200649?v=4","gravatar_id":"","url":"https://api.github.com/users/seveas","html_url":"https://github.com/seveas","followers_url":"https://api.github.com/users/seveas/followers","following_url":"https://api.github.com/users/seveas/following{/other_user}","gists_url":"https://api.github.com/users/seveas/gists{/gist_id}","starred_url":"https://api.github.com/users/seveas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seveas/subscriptions","organizations_url":"https://api.github.com/users/seveas/orgs","repos_url":"https://api.github.com/users/seveas/repos","events_url":"https://api.github.com/users/seveas/events{/privacy}","received_events_url":"https://api.github.com/users/seveas/received_events","type":"User","site_admin":true},"private":false,"html_url":"https://github.com/seveas/git-spindle","description":"Command-line interface to GitHub and other central git services","fork":false,"url":"https://api.github.com/repos/seveas/git-spindle","forks_url":"https://api.github.com/repos/seveas/git-spindle/forks","keys_url":"https://api.github.com/repos/seveas/git-spindle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/seveas/git-spindle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/seveas/git-spindle/teams","hooks_url":"https://api.github.com/repos/seveas/git-spindle/hooks","issue_events_url":"https://api.github.com/repos/seveas/git-spindle/issues/events{/number}","events_url":"https://api.github.com/repos/seveas/git-spindle/events","assignees_url":"https://api.github.com/repos/seveas/git-spindle/assignees{/user}","branches_url":"https://api.github.com/repos/seveas/git-spindle/branches{/branch}","tags_url":"https://api.github.com/repos/seveas/git-spindle/tags","blobs_url":"https://api.github.com/repos/seveas/git-spindle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/seveas/git-spindle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/seveas/git-spindle/git/refs{/sha}","trees_url":"https://api.github.com/repos/seveas/git-spindle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/seveas/git-spindle/statuses/{sha}","languages_url":"https://api.github.com/repos/seveas/git-spindle/languages","stargazers_url":"https://api.github.com/repos/seveas/git-spindle/stargazers","contributors_url":"https://api.github.com/repos/seveas/git-spindle/contributors","subscribers_url":"https://api.github.com/repos/seveas/git-spindle/subscribers","subscription_url":"https://api.github.com/repos/seveas/git-spindle/subscription","commits_url":"https://api.github.com/repos/seveas/git-spindle/commits{/sha}","git_commits_url":"https://api.github.com/repos/seveas/git-spindle/git/commits{/sha}","comments_url":"https://api.github.com/repos/seveas/git-spindle/comments{/number}","issue_comment_url":"https://api.github.com/repos/seveas/git-spindle/issues/comments{/number}","contents_url":"https://api.github.com/repos/seveas/git-spindle/contents/{+path}","compare_url":"https://api.github.com/repos/seveas/git-spindle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/seveas/git-spindle/merges","archive_url":"https://api.github.com/repos/seveas/git-spindle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/seveas/git-spindle/downloads","issues_url":"https://api.github.com/repos/seveas/git-spindle/issues{/number}","pulls_url":"https://api.github.com/repos/seveas/git-spindle/pulls{/number}","milestones_url":"https://api.github.com/repos/seveas/git-spindle/milestones{/number}","notifications_url":"https://api.github.com/repos/seveas/git-spindle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/seveas/git-spindle/labels{/name}","releases_url":"https://api.github.com/repos/seveas/git-spindle/releases{/id}","deployments_url":"https://api.github.com/repos/seveas/git-spindle/deployments","created_at":"2012-09-30T21:46:08Z","updated_at":"2018-04-15T17:28:30Z","pushed_at":"2018-04-15T18:29:00Z","git_url":"git://github.com/seveas/git-spindle.git","ssh_url":"git@github.com:seveas/git-spindle.git","clone_url":"https://github.com/seveas/git-spindle.git","svn_url":"https://github.com/seveas/git-spindle","homepage":"http://seveas.github.io/git-spindle","size":7946,"stargazers_count":159,"watchers_count":159,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":36,"mirror_url":null,"archived":false,"open_issues_count":21,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":36,"open_issues":21,"watchers":159,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/seveas/git-spindle/pulls/110"},"html":{"href":"https://github.com/seveas/git-spindle/pull/110"},"issue":{"href":"https://api.github.com/repos/seveas/git-spindle/issues/110"},"comments":{"href":"https://api.github.com/repos/seveas/git-spindle/issues/110/comments"},"review_comments":{"href":"https://api.github.com/repos/seveas/git-spindle/pulls/110/comments"},"review_comment":{"href":"https://api.github.com/repos/seveas/git-spindle/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/seveas/git-spindle/pulls/110/commits"},"statuses":{"href":"https://api.github.com/repos/seveas/git-spindle/statuses/a3a680ba9c545ae23d799bcecefb7d326e0e022e"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"seveas"}}