forked from sigmavirus24/github3.py
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpull19
More file actions
299 lines (299 loc) · 17.2 KB
/
Copy pathpull19
File metadata and controls
299 lines (299 loc) · 17.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
{
"url": "https://api.github.com/repos/sigmavirus24/github3.py/pulls/19",
"id": 2500092,
"html_url": "https://github.com/sigmavirus24/github3.py/pull/19",
"diff_url": "https://github.com/sigmavirus24/github3.py/pull/19.diff",
"patch_url": "https://github.com/sigmavirus24/github3.py/pull/19.patch",
"issue_url": "https://github.com/sigmavirus24/github3.py/issues/19",
"number": 19,
"state": "closed",
"title": "Fix pull request urls",
"user": {
"login": "seveas",
"id": 200649,
"avatar_url": "https://secure.gravatar.com/avatar/a42c4bd1fdb275185a574b2385418a3d?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-user-420.png",
"gravatar_id": "a42c4bd1fdb275185a574b2385418a3d",
"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"
},
"body": "Pull requet urls were generated as \nhttps://api.github.com/pulls/https://api.github.com/repos/login/repo\ndue to a type on repos.py. This commit fixes that.",
"created_at": "2012-10-01T11:46:51Z",
"updated_at": "2013-06-17T18:53:30Z",
"closed_at": "2012-10-01T13:05:32Z",
"merged_at": "2012-10-01T13:05:32Z",
"merge_commit_sha": "8306d24fc26094ccececfa70e1a622d10d465bc7",
"assignee": null,
"milestone": null,
"commits_url": "https://github.com/sigmavirus24/github3.py/pull/19/commits",
"review_comments_url": "https://github.com/sigmavirus24/github3.py/pull/19/comments",
"review_comment_url": "/repos/sigmavirus24/github3.py/pulls/comments/{number}",
"comments_url": "https://api.github.com/repos/sigmavirus24/github3.py/issues/19/comments",
"head": {
"label": "seveas:master",
"ref": "master",
"sha": "7d851f7117d9348bc45131f92b9a00c9bbd0bc80",
"user": {
"login": "seveas",
"id": 200649,
"avatar_url": "https://secure.gravatar.com/avatar/a42c4bd1fdb275185a574b2385418a3d?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-user-420.png",
"gravatar_id": "a42c4bd1fdb275185a574b2385418a3d",
"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"
},
"repo": {
"id": 6021532,
"name": "github3.py",
"full_name": "seveas/github3.py",
"owner": {
"login": "seveas",
"id": 200649,
"avatar_url": "https://secure.gravatar.com/avatar/a42c4bd1fdb275185a574b2385418a3d?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-user-420.png",
"gravatar_id": "a42c4bd1fdb275185a574b2385418a3d",
"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"
},
"private": false,
"html_url": "https://github.com/seveas/github3.py",
"description": "Python library for interfacing with the GitHub APIv3",
"fork": true,
"url": "https://api.github.com/repos/seveas/github3.py",
"forks_url": "https://api.github.com/repos/seveas/github3.py/forks",
"keys_url": "https://api.github.com/repos/seveas/github3.py/keys{/key_id}",
"collaborators_url": "https://api.github.com/repos/seveas/github3.py/collaborators{/collaborator}",
"teams_url": "https://api.github.com/repos/seveas/github3.py/teams",
"hooks_url": "https://api.github.com/repos/seveas/github3.py/hooks",
"issue_events_url": "https://api.github.com/repos/seveas/github3.py/issues/events{/number}",
"events_url": "https://api.github.com/repos/seveas/github3.py/events",
"assignees_url": "https://api.github.com/repos/seveas/github3.py/assignees{/user}",
"branches_url": "https://api.github.com/repos/seveas/github3.py/branches{/branch}",
"tags_url": "https://api.github.com/repos/seveas/github3.py/tags",
"blobs_url": "https://api.github.com/repos/seveas/github3.py/git/blobs{/sha}",
"git_tags_url": "https://api.github.com/repos/seveas/github3.py/git/tags{/sha}",
"git_refs_url": "https://api.github.com/repos/seveas/github3.py/git/refs{/sha}",
"trees_url": "https://api.github.com/repos/seveas/github3.py/git/trees{/sha}",
"statuses_url": "https://api.github.com/repos/seveas/github3.py/statuses/{sha}",
"languages_url": "https://api.github.com/repos/seveas/github3.py/languages",
"stargazers_url": "https://api.github.com/repos/seveas/github3.py/stargazers",
"contributors_url": "https://api.github.com/repos/seveas/github3.py/contributors",
"subscribers_url": "https://api.github.com/repos/seveas/github3.py/subscribers",
"subscription_url": "https://api.github.com/repos/seveas/github3.py/subscription",
"commits_url": "https://api.github.com/repos/seveas/github3.py/commits{/sha}",
"git_commits_url": "https://api.github.com/repos/seveas/github3.py/git/commits{/sha}",
"comments_url": "https://api.github.com/repos/seveas/github3.py/comments{/number}",
"issue_comment_url": "https://api.github.com/repos/seveas/github3.py/issues/comments/{number}",
"contents_url": "https://api.github.com/repos/seveas/github3.py/contents/{+path}",
"compare_url": "https://api.github.com/repos/seveas/github3.py/compare/{base}...{head}",
"merges_url": "https://api.github.com/repos/seveas/github3.py/merges",
"archive_url": "https://api.github.com/repos/seveas/github3.py/{archive_format}{/ref}",
"downloads_url": "https://api.github.com/repos/seveas/github3.py/downloads",
"issues_url": "https://api.github.com/repos/seveas/github3.py/issues{/number}",
"pulls_url": "https://api.github.com/repos/seveas/github3.py/pulls{/number}",
"milestones_url": "https://api.github.com/repos/seveas/github3.py/milestones{/number}",
"notifications_url": "https://api.github.com/repos/seveas/github3.py/notifications{?since,all,participating}",
"labels_url": "https://api.github.com/repos/seveas/github3.py/labels{/name}",
"created_at": "2012-09-30T19:31:42Z",
"updated_at": "2013-06-17T18:53:30Z",
"pushed_at": "2013-06-17T18:53:28Z",
"git_url": "git://github.com/seveas/github3.py.git",
"ssh_url": "[email protected]:seveas/github3.py.git",
"clone_url": "https://github.com/seveas/github3.py.git",
"svn_url": "https://github.com/seveas/github3.py",
"homepage": "http://github3py.readthedocs.org/",
"size": 452,
"watchers_count": 2,
"language": "Python",
"has_issues": false,
"has_downloads": true,
"has_wiki": false,
"forks_count": 0,
"mirror_url": null,
"open_issues_count": 0,
"forks": 0,
"open_issues": 0,
"watchers": 2,
"master_branch": "master",
"default_branch": "master"
}
},
"base": {
"label": "sigmavirus24:master",
"ref": "master",
"sha": "ef9f73ebc13218f5be12188d2fb7e63df254b9e0",
"user": {
"login": "sigmavirus24",
"id": 240830,
"avatar_url": "https://secure.gravatar.com/avatar/c148356d89f925e692178bee1d93acf7?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-user-420.png",
"gravatar_id": "c148356d89f925e692178bee1d93acf7",
"url": "https://api.github.com/users/sigmavirus24",
"html_url": "https://github.com/sigmavirus24",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_url": "https://api.github.com/users/sigmavirus24/gists{/gist_id}",
"starred_url": "https://api.github.com/users/sigmavirus24/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sigmavirus24/subscriptions",
"organizations_url": "https://api.github.com/users/sigmavirus24/orgs",
"repos_url": "https://api.github.com/users/sigmavirus24/repos",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"received_events_url": "https://api.github.com/users/sigmavirus24/received_events",
"type": "User"
},
"repo": {
"id": 3710711,
"name": "github3.py",
"full_name": "sigmavirus24/github3.py",
"owner": {
"login": "sigmavirus24",
"id": 240830,
"avatar_url": "https://secure.gravatar.com/avatar/c148356d89f925e692178bee1d93acf7?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-user-420.png",
"gravatar_id": "c148356d89f925e692178bee1d93acf7",
"url": "https://api.github.com/users/sigmavirus24",
"html_url": "https://github.com/sigmavirus24",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_url": "https://api.github.com/users/sigmavirus24/gists{/gist_id}",
"starred_url": "https://api.github.com/users/sigmavirus24/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sigmavirus24/subscriptions",
"organizations_url": "https://api.github.com/users/sigmavirus24/orgs",
"repos_url": "https://api.github.com/users/sigmavirus24/repos",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"received_events_url": "https://api.github.com/users/sigmavirus24/received_events",
"type": "User"
},
"private": false,
"html_url": "https://github.com/sigmavirus24/github3.py",
"description": "Python library for interfacing with the GitHub APIv3",
"fork": false,
"url": "https://api.github.com/repos/sigmavirus24/github3.py",
"forks_url": "https://api.github.com/repos/sigmavirus24/github3.py/forks",
"keys_url": "https://api.github.com/repos/sigmavirus24/github3.py/keys{/key_id}",
"collaborators_url": "https://api.github.com/repos/sigmavirus24/github3.py/collaborators{/collaborator}",
"teams_url": "https://api.github.com/repos/sigmavirus24/github3.py/teams",
"hooks_url": "https://api.github.com/repos/sigmavirus24/github3.py/hooks",
"issue_events_url": "https://api.github.com/repos/sigmavirus24/github3.py/issues/events{/number}",
"events_url": "https://api.github.com/repos/sigmavirus24/github3.py/events",
"assignees_url": "https://api.github.com/repos/sigmavirus24/github3.py/assignees{/user}",
"branches_url": "https://api.github.com/repos/sigmavirus24/github3.py/branches{/branch}",
"tags_url": "https://api.github.com/repos/sigmavirus24/github3.py/tags",
"blobs_url": "https://api.github.com/repos/sigmavirus24/github3.py/git/blobs{/sha}",
"git_tags_url": "https://api.github.com/repos/sigmavirus24/github3.py/git/tags{/sha}",
"git_refs_url": "https://api.github.com/repos/sigmavirus24/github3.py/git/refs{/sha}",
"trees_url": "https://api.github.com/repos/sigmavirus24/github3.py/git/trees{/sha}",
"statuses_url": "https://api.github.com/repos/sigmavirus24/github3.py/statuses/{sha}",
"languages_url": "https://api.github.com/repos/sigmavirus24/github3.py/languages",
"stargazers_url": "https://api.github.com/repos/sigmavirus24/github3.py/stargazers",
"contributors_url": "https://api.github.com/repos/sigmavirus24/github3.py/contributors",
"subscribers_url": "https://api.github.com/repos/sigmavirus24/github3.py/subscribers",
"subscription_url": "https://api.github.com/repos/sigmavirus24/github3.py/subscription",
"commits_url": "https://api.github.com/repos/sigmavirus24/github3.py/commits{/sha}",
"git_commits_url": "https://api.github.com/repos/sigmavirus24/github3.py/git/commits{/sha}",
"comments_url": "https://api.github.com/repos/sigmavirus24/github3.py/comments{/number}",
"issue_comment_url": "https://api.github.com/repos/sigmavirus24/github3.py/issues/comments/{number}",
"contents_url": "https://api.github.com/repos/sigmavirus24/github3.py/contents/{+path}",
"compare_url": "https://api.github.com/repos/sigmavirus24/github3.py/compare/{base}...{head}",
"merges_url": "https://api.github.com/repos/sigmavirus24/github3.py/merges",
"archive_url": "https://api.github.com/repos/sigmavirus24/github3.py/{archive_format}{/ref}",
"downloads_url": "https://api.github.com/repos/sigmavirus24/github3.py/downloads",
"issues_url": "https://api.github.com/repos/sigmavirus24/github3.py/issues{/number}",
"pulls_url": "https://api.github.com/repos/sigmavirus24/github3.py/pulls{/number}",
"milestones_url": "https://api.github.com/repos/sigmavirus24/github3.py/milestones{/number}",
"notifications_url": "https://api.github.com/repos/sigmavirus24/github3.py/notifications{?since,all,participating}",
"labels_url": "https://api.github.com/repos/sigmavirus24/github3.py/labels{/name}",
"created_at": "2012-03-13T19:58:53Z",
"updated_at": "2013-06-21T16:38:02Z",
"pushed_at": "2013-06-18T06:52:07Z",
"git_url": "git://github.com/sigmavirus24/github3.py.git",
"ssh_url": "[email protected]:sigmavirus24/github3.py.git",
"clone_url": "https://github.com/sigmavirus24/github3.py.git",
"svn_url": "https://github.com/sigmavirus24/github3.py",
"homepage": "http://github3py.readthedocs.org/",
"size": 932,
"watchers_count": 99,
"language": "Python",
"has_issues": true,
"has_downloads": true,
"has_wiki": false,
"forks_count": 29,
"mirror_url": null,
"open_issues_count": 9,
"forks": 29,
"open_issues": 9,
"watchers": 99,
"master_branch": "develop",
"default_branch": "develop"
}
},
"_links": {
"self": {
"href": "https://api.github.com/repos/sigmavirus24/github3.py/pulls/19"
},
"html": {
"href": "https://github.com/sigmavirus24/github3.py/pull/19"
},
"issue": {
"href": "https://api.github.com/repos/sigmavirus24/github3.py/issues/19"
},
"comments": {
"href": "https://api.github.com/repos/sigmavirus24/github3.py/issues/19/comments"
},
"review_comments": {
"href": "https://api.github.com/repos/sigmavirus24/github3.py/pulls/19/comments"
}
},
"merged": true,
"mergeable": null,
"mergeable_state": "unknown",
"merged_by": {
"login": "sigmavirus24",
"id": 240830,
"avatar_url": "https://secure.gravatar.com/avatar/c148356d89f925e692178bee1d93acf7?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-user-420.png",
"gravatar_id": "c148356d89f925e692178bee1d93acf7",
"url": "https://api.github.com/users/sigmavirus24",
"html_url": "https://github.com/sigmavirus24",
"followers_url": "https://api.github.com/users/sigmavirus24/followers",
"following_url": "https://api.github.com/users/sigmavirus24/following{/other_user}",
"gists_url": "https://api.github.com/users/sigmavirus24/gists{/gist_id}",
"starred_url": "https://api.github.com/users/sigmavirus24/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sigmavirus24/subscriptions",
"organizations_url": "https://api.github.com/users/sigmavirus24/orgs",
"repos_url": "https://api.github.com/users/sigmavirus24/repos",
"events_url": "https://api.github.com/users/sigmavirus24/events{/privacy}",
"received_events_url": "https://api.github.com/users/sigmavirus24/received_events",
"type": "User"
},
"comments": 3,
"review_comments": 0,
"commits": 1,
"additions": 1,
"deletions": 1,
"changed_files": 1
}