File: service_github.py

package info (click to toggle)
sphinx-needs 5.1.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 11,924 kB
  • sloc: python: 21,132; javascript: 187; makefile: 89; sh: 29; xml: 10
file content (652 lines) | stat: -rw-r--r-- 40,813 bytes parent folder | download
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
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
# Debug data set, which is used for all requests against github api by official docs.
# Needed to avoid external service calls during tests

# Response for a search api call
GITHUB_ISSUE_SEARCH_ANSWER = {
    "total_count": 2,
    "incomplete_results": False,
    "items": [
        {
            "url": "https://api.github.com/repos/useblocks/sphinxcontrib-needs/issues/141",
            "repository_url": "https://api.github.com/repos/useblocks/sphinxcontrib-needs",
            "labels_url": "https://api.github.com/repos/useblocks/sphinxcontrib-needs/issues/141/labels{/name}",
            "comments_url": "https://api.github.com/repos/useblocks/sphinxcontrib-needs/issues/141/comments",
            "events_url": "https://api.github.com/repos/useblocks/sphinxcontrib-needs/issues/141/events",
            "html_url": "https://github.com/useblocks/sphinxcontrib-needs/issues/141",
            "id": 586783574,
            "node_id": "MDU6SXNzdWU1ODY3ODM1NzQ=",
            "number": 100,
            "title": "A node can only be in one page, else it will be cut when generate latexpdf ",
            "user": {
                "login": "sophiali2008",
                "id": 62423175,
                "node_id": "MDQ6VXNlcjYyNDIzMTc1",
                "avatar_url": "https://avatars.githubusercontent.com/u/62423175?v=4",
                "gravatar_id": "",
                "url": "https://api.github.com/users/sophiali2008",
                "html_url": "https://github.com/sophiali2008",
                "followers_url": "https://api.github.com/users/sophiali2008/followers",
                "following_url": "https://api.github.com/users/sophiali2008/following{/other_user}",
                "gists_url": "https://api.github.com/users/sophiali2008/gists{/gist_id}",
                "starred_url": "https://api.github.com/users/sophiali2008/starred{/owner}{/repo}",
                "subscriptions_url": "https://api.github.com/users/sophiali2008/subscriptions",
                "organizations_url": "https://api.github.com/users/sophiali2008/orgs",
                "repos_url": "https://api.github.com/users/sophiali2008/repos",
                "events_url": "https://api.github.com/users/sophiali2008/events{/privacy}",
                "received_events_url": "https://api.github.com/users/sophiali2008/received_events",
                "type": "User",
                "site_admin": False,
            },
            "labels": [
                {
                    "id": 491973814,
                    "node_id": "MDU6TGFiZWw0OTE5NzM4MTQ=",
                    "url": "https://api.github.com/repos/useblocks/sphinxcontrib-needs/labels/bug",
                    "name": "bug",
                    "color": "ee0701",
                    "default": True,
                    "description": None,
                }
            ],
            "state": "open",
            "locked": False,
            "assignee": None,
            "assignees": [],
            "milestone": {
                "url": "https://api.github.com/repos/useblocks/sphinxcontrib-needs/milestones/6",
                "html_url": "https://github.com/useblocks/sphinxcontrib-needs/milestone/6",
                "labels_url": "https://api.github.com/repos/useblocks/sphinxcontrib-needs/milestones/6/labels",
                "id": 5182610,
                "node_id": "MDk6TWlsZXN0b25lNTE4MjYxMA==",
                "number": 6,
                "title": "0.5.5",
                "description": None,
                "creator": {
                    "login": "danwos",
                    "id": 998700,
                    "node_id": "MDQ6VXNlcjk5ODcwMA==",
                    "avatar_url": "https://avatars.githubusercontent.com/u/998700?v=4",
                    "gravatar_id": "",
                    "url": "https://api.github.com/users/danwos",
                    "html_url": "https://github.com/danwos",
                    "followers_url": "https://api.github.com/users/danwos/followers",
                    "following_url": "https://api.github.com/users/danwos/following{/other_user}",
                    "gists_url": "https://api.github.com/users/danwos/gists{/gist_id}",
                    "starred_url": "https://api.github.com/users/danwos/starred{/owner}{/repo}",
                    "subscriptions_url": "https://api.github.com/users/danwos/subscriptions",
                    "organizations_url": "https://api.github.com/users/danwos/orgs",
                    "repos_url": "https://api.github.com/users/danwos/repos",
                    "events_url": "https://api.github.com/users/danwos/events{/privacy}",
                    "received_events_url": "https://api.github.com/users/danwos/received_events",
                    "type": "User",
                    "site_admin": False,
                },
                "open_issues": 2,
                "closed_issues": 0,
                "state": "open",
                "created_at": "2020-03-09T13:53:46Z",
                "updated_at": "2020-03-24T08:50:03Z",
                "due_on": None,
                "closed_at": None,
            },
            "comments": 3,
            "created_at": "2020-03-24T08:30:43Z",
            "updated_at": "2021-02-12T11:57:06Z",
            "closed_at": None,
            "author_association": "NONE",
            "active_lock_reason": None,
            "body": "Hello,\r\nI used the extension needs 0.5.3 in my project, it is perfectly fit in html. \r\nBut when I "
            "generate latexpdf, the content is cut if it is more than one page. Is it possible to generate it like "
            "a longtable which adjust the content in different continues pages ?",
            "performed_via_github_app": None,
            "score": 1.0,
        }
    ],
}

# Response of a specific element from github api
GITHUB_SPECIFIC_ISSUE_ANSWER = {
    "url": "https://api.github.com/repos/useblocks/sphinxcontrib-needs/issues/141",
    "repository_url": "https://api.github.com/repos/useblocks/sphinxcontrib-needs",
    "labels_url": "https://api.github.com/repos/useblocks/sphinxcontrib-needs/issues/"
    "141/labels{/name}",
    "comments_url": "https://api.github.com/repos/useblocks/sphinxcontrib-needs/issues/141/comments",
    "events_url": "https://api.github.com/repos/useblocks/sphinxcontrib-needs/issues/141/events",
    "html_url": "https://github.com/useblocks/sphinxcontrib-needs/issues/141",
    "id": 586783574,
    "node_id": "MDU6SXNzdWU1ODY3ODM1NzQ=",
    "number": 340,
    "title": "A node can only be in one page, else it will be cut when generate latexpdf ",
    "user": {
        "login": "sophiali2008",
        "id": 62423175,
        "node_id": "MDQ6VXNlcjYyNDIzMTc1",
        "avatar_url": "https://avatars.githubusercontent.com/u/62423175?v=4",
        "gravatar_id": "",
        "url": "https://api.github.com/users/sophiali2008",
        "html_url": "https://github.com/sophiali2008",
        "followers_url": "https://api.github.com/users/sophiali2008/followers",
        "following_url": "https://api.github.com/users/sophiali2008/following{/other_user}",
        "gists_url": "https://api.github.com/users/sophiali2008/gists{/gist_id}",
        "starred_url": "https://api.github.com/users/sophiali2008/starred{/owner}{/repo}",
        "subscriptions_url": "https://api.github.com/users/sophiali2008/subscriptions",
        "organizations_url": "https://api.github.com/users/sophiali2008/orgs",
        "repos_url": "https://api.github.com/users/sophiali2008/repos",
        "events_url": "https://api.github.com/users/sophiali2008/events{/privacy}",
        "received_events_url": "https://api.github.com/users/sophiali2008/received_events",
        "type": "User",
        "site_admin": False,
    },
    "labels": [
        {
            "id": 491973814,
            "node_id": "MDU6TGFiZWw0OTE5NzM4MTQ=",
            "url": "https://api.github.com/repos/useblocks/sphinxcontrib-needs"
            "/labels/bug",
            "name": "bug",
            "color": "ee0701",
            "default": True,
            "description": None,
        }
    ],
    "state": "open",
    "locked": False,
    "assignee": None,
    "assignees": [],
    "milestone": {
        "url": "https://api.github.com/repos/useblocks/sphinxcontrib-needs/milestones/6",
        "html_url": "https://github.com/useblocks/sphinxcontrib-needs/milestone/6",
        "labels_url": "https://api.github.com/repos/useblocks/sphinxcontrib-needs/milestones/6/labels",
        "id": 5182610,
        "node_id": "MDk6TWlsZXN0b25lNTE4MjYxMA==",
        "number": 6,
        "title": "0.5.5",
        "description": None,
        "creator": {
            "login": "danwos",
            "id": 998700,
            "node_id": "MDQ6VXNlcjk5ODcwMA==",
            "avatar_url": "https://avatars.githubusercontent.com/u/998700?v=4",
            "gravatar_id": "",
            "url": "https://api.github.com/users/danwos",
            "html_url": "https://github.com/danwos",
            "followers_url": "https://api.github.com/users/danwos/followers",
            "following_url": "https://api.github.com/users/danwos/following{/other_user}",
            "gists_url": "https://api.github.com/users/danwos/gists{/gist_id}",
            "starred_url": "https://api.github.com/users/danwos/starred{/owner}{/repo}",
            "subscriptions_url": "https://api.github.com/users/danwos/subscriptions",
            "organizations_url": "https://api.github.com/users/danwos/orgs",
            "repos_url": "https://api.github.com/users/danwos/repos",
            "events_url": "https://api.github.com/users/danwos/events{/privacy}",
            "received_events_url": "https://api.github.com/users/danwos/received_events",
            "type": "User",
            "site_admin": False,
        },
        "open_issues": 2,
        "closed_issues": 0,
        "state": "open",
        "created_at": "2020-03-09T13:53:46Z",
        "updated_at": "2020-03-24T08:50:03Z",
        "due_on": None,
        "closed_at": None,
    },
    "comments": 3,
    "created_at": "2020-03-24T08:30:43Z",
    "updated_at": "2021-02-12T11:57:06Z",
    "closed_at": None,
    "author_association": "NONE",
    "active_lock_reason": None,
    "body": "Hello,\r\nI used the extension needs 0.5.3 in my project, it is perfectly fit in html. \r\nBut when I "
    "generate latexpdf, the content is cut if it is more than one page. Is it possible to generate it like a "
    "longtable which adjust the content in different continues pages ?",
    "performed_via_github_app": None,
    "score": 1.0,
}

GITHUB_SPECIFIC_COMMIT_ANSWER = {
    "url": "https://api.github.com/repos/useblocks/sphinxcontrib-needs/commits"
    "/dc14807f0b247e758bbcbef289 "
    "53444f18b503e3",
    "sha": "dc14807f0b247e758bbcbef28953444f18b503e3",
    "node_id": "MDY6Q29tbWl0NzUyMjU5NDk6ZGMxNDgwN2YwYjI0N2U3NThiYmNiZWYyODk1MzQ0NGYxOGI1MDNlMw==",
    "html_url": "https://github.com/useblocks/sphinxcontrib-needs/commit/dc14807f0b247e758bbcbef28953444f18b503e3",
    "comments_url": "https://api.github.com/repos/useblocks/sphinxcontrib-needs/commits"
    "/dc14807f0b247e758bbcbef28953444f18b503e3/comments",
    "commit": {
        "url": "https://api.github.com/repos/useblocks/sphinxcontrib-needs/git/commits"
        "/dc14807f0b247e758bbcbef28953444f18b503e3",
        "author": {
            "date": "2021-01-06T06:33:48.000+01:00",
            "name": "Daniel Woste",
            "email": "daniel.woste@useblocks.com",
        },
        "committer": {
            "date": "2021-01-06T06:47:45.000+01:00",
            "name": "Daniel Woste",
            "email": "daniel.woste@useblocks.com",
        },
        "message": "string format fix to support python 3.5",
        "tree": {
            "url": "https://api.github.com/repos/useblocks/sphinxcontrib-needs/git/trees"
            "/5bf05fc659dd7f2481e5e90ffca5015ee25e047a",
            "sha": "5bf05fc659dd7f2481e5e90ffca5015ee25e047a",
        },
        "comment_count": 0,
    },
    "author": {
        "login": "danwos",
        "id": 998700,
        "node_id": "MDQ6VXNlcjk5ODcwMA==",
        "avatar_url": "https://avatars.githubusercontent.com/u/998700?v=4",
        "gravatar_id": "",
        "url": "https://api.github.com/users/danwos",
        "html_url": "https://github.com/danwos",
        "followers_url": "https://api.github.com/users/danwos/followers",
        "following_url": "https://api.github.com/users/danwos/following{/other_user}",
        "gists_url": "https://api.github.com/users/danwos/gists{/gist_id}",
        "starred_url": "https://api.github.com/users/danwos/starred{/owner}{/repo}",
        "subscriptions_url": "https://api.github.com/users/danwos/subscriptions",
        "organizations_url": "https://api.github.com/users/danwos/orgs",
        "repos_url": "https://api.github.com/users/danwos/repos",
        "events_url": "https://api.github.com/users/danwos/events{/privacy}",
        "received_events_url": "https://api.github.com/users/danwos/received_events",
        "type": "User",
        "site_admin": False,
    },
    "committer": {
        "login": "danwos",
        "id": 998700,
        "node_id": "MDQ6VXNlcjk5ODcwMA==",
        "avatar_url": "https://avatars.githubusercontent.com/u/998700?v=4",
        "gravatar_id": "",
        "url": "https://api.github.com/users/danwos",
        "html_url": "https://github.com/danwos",
        "followers_url": "https://api.github.com/users/danwos/followers",
        "following_url": "https://api.github.com/users/danwos/following{/other_user}",
        "gists_url": "https://api.github.com/users/danwos/gists{/gist_id}",
        "starred_url": "https://api.github.com/users/danwos/starred{/owner}{/repo}",
        "subscriptions_url": "https://api.github.com/users/danwos/subscriptions",
        "organizations_url": "https://api.github.com/users/danwos/orgs",
        "repos_url": "https://api.github.com/users/danwos/repos",
        "events_url": "https://api.github.com/users/danwos/events{/privacy}",
        "received_events_url": "https://api.github.com/users/danwos/received_events",
        "type": "User",
        "site_admin": False,
    },
    "parents": [
        {
            "url": "https://api.github.com/repos/useblocks"
            "/sphinxcontrib-needs/commits"
            "/beec7bec42035e3cad09c8400397fa7c828cdd91",
            "html_url": "https://github.com/useblocks/sphinxcontrib"
            "-needs/commit"
            "/beec7bec42035e3cad09c8400397fa7c828cdd91",
            "sha": "beec7bec42035e3cad09c8400397fa7c828cdd91",
        }
    ],
    "repository": {
        "id": 75225949,
        "node_id": "MDEwOlJlcG9zaXRvcnk3NTIyNTk0OQ==",
        "name": "sphinxcontrib-needs",
        "full_name": "useblocks/sphinxcontrib-needs",
        "private": False,
        "owner": {
            "login": "useblocks",
            "id": 998587,
            "node_id": "MDEyOk9yZ2FuaXphdGlvbjk5ODU4Nw==",
            "avatar_url": "https://avatars.githubusercontent.com/u/998587?v=4",
            "gravatar_id": "",
            "url": "https://api.github.com/users/useblocks",
            "html_url": "https://github.com/useblocks",
            "followers_url": "https://api.github.com/users/useblocks/followers",
            "following_url": "https://api.github.com/users/useblocks/following{/other_user}",
            "gists_url": "https://api.github.com/users/useblocks/gists{/gist_id}",
            "starred_url": "https://api.github.com/users/useblocks/starred{/owner}{/repo}",
            "subscriptions_url": "https://api.github.com/users/useblocks/subscriptions",
            "organizations_url": "https://api.github.com/users/useblocks/orgs",
            "repos_url": "https://api.github.com/users/useblocks/repos",
            "events_url": "https://api.github.com/users/useblocks/events{/privacy}",
            "received_events_url": "https://api.github.com/users/useblocks/received_events",
            "type": "Organization",
            "site_admin": False,
        },
        "html_url": "https://github.com/useblocks/sphinxcontrib-needs",
        "description": "Adds needs/requirements to sphinx",
        "fork": False,
        "url": "https://api.github.com/repos/useblocks/sphinxcontrib-needs",
        "forks_url": "https://api.github.com/repos/useblocks/sphinxcontrib-needs/forks",
        "keys_url": "https://api.github.com/repos/useblocks/sphinxcontrib-needs/keys{/key_id}",
        "collaborators_url": "https://api.github.com/repos/useblocks/sphinxcontrib-needs"
        "/collaborators{/collaborator}",
        "teams_url": "https://api.github.com/repos/useblocks/sphinxcontrib-needs/teams",
        "hooks_url": "https://api.github.com/repos/useblocks/sphinxcontrib-needs/hooks",
        "issue_events_url": "https://api.github.com/repos/useblocks/sphinxcontrib-needs/issues/events{"
        "/number}",
        "events_url": "https://api.github.com/repos/useblocks/sphinxcontrib-needs/events",
        "assignees_url": "https://api.github.com/repos/useblocks/sphinxcontrib-needs/assignees{/user}",
        "branches_url": "https://api.github.com/repos/useblocks/sphinxcontrib-needs/branches{/branch}",
        "tags_url": "https://api.github.com/repos/useblocks/sphinxcontrib-needs/tags",
        "blobs_url": "https://api.github.com/repos/useblocks/sphinxcontrib-needs/git/blobs{/sha}",
        "git_tags_url": "https://api.github.com/repos/useblocks/sphinxcontrib-needs/git/tags{/sha}",
        "git_refs_url": "https://api.github.com/repos/useblocks/sphinxcontrib-needs/git/refs{/sha}",
        "trees_url": "https://api.github.com/repos/useblocks/sphinxcontrib-needs/git/trees{/sha}",
        "statuses_url": "https://api.github.com/repos/useblocks/sphinxcontrib-needs/statuses/{sha}",
        "languages_url": "https://api.github.com/repos/useblocks/sphinxcontrib-needs/languages",
        "stargazers_url": "https://api.github.com/repos/useblocks/sphinxcontrib-needs/stargazers",
        "contributors_url": "https://api.github.com/repos/useblocks/sphinxcontrib-needs/contributors",
        "subscribers_url": "https://api.github.com/repos/useblocks/sphinxcontrib-needs/subscribers",
        "subscription_url": "https://api.github.com/repos/useblocks/sphinxcontrib-needs/subscription",
        "commits_url": "https://api.github.com/repos/useblocks/sphinxcontrib-needs/commits{/sha}",
        "git_commits_url": "https://api.github.com/repos/useblocks/sphinxcontrib-needs/git"
        "/commits{/sha}",
        "comments_url": "https://api.github.com/repos/useblocks/sphinxcontrib-needs/comments{/number}",
        "issue_comment_url": "https://api.github.com/repos/useblocks/sphinxcontrib-needs/issues"
        "/comments{/number}",
        "contents_url": "https://api.github.com/repos/useblocks/sphinxcontrib-needs/contents/{+path}",
        "compare_url": "https://api.github.com/repos/useblocks/sphinxcontrib-needs/compare/{base}...{"
        "head}",
        "merges_url": "https://api.github.com/repos/useblocks/sphinxcontrib-needs/merges",
        "archive_url": "https://api.github.com/repos/useblocks/sphinxcontrib-needs/{archive_format}{"
        "/ref}",
        "downloads_url": "https://api.github.com/repos/useblocks/sphinxcontrib-needs/downloads",
        "issues_url": "https://api.github.com/repos/useblocks/sphinxcontrib-needs/issues{/number}",
        "pulls_url": "https://api.github.com/repos/useblocks/sphinxcontrib-needs/pulls{/number}",
        "milestones_url": "https://api.github.com/repos/useblocks/sphinxcontrib-needs/milestones{"
        "/number}",
        "notifications_url": "https://api.github.com/repos/useblocks/sphinxcontrib-needs"
        "/notifications{?since,all,participating}",
        "labels_url": "https://api.github.com/repos/useblocks/sphinxcontrib-needs/labels{/name}",
        "releases_url": "https://api.github.com/repos/useblocks/sphinxcontrib-needs/releases{/id}",
        "deployments_url": "https://api.github.com/repos/useblocks/sphinxcontrib-needs/deployments",
    },
    "score": 1.0,
}

GITHUB_SEARCH_COMMIT_ANSWER = {
    "total_count": 11,
    "incomplete_results": False,
    "items": [
        {
            "url": "https://api.github.com/repos/useblocks/sphinxcontrib-needs/commits/dc14807f0b247e758bbcbef28953444f18b503e3",
            "sha": "dc14807f0b247e758bbcbef28953444f18b503e3",
            "node_id": "MDY6Q29tbWl0NzUyMjU5NDk6ZGMxNDgwN2YwYjI0N2U3NThiYmNiZWYyODk1MzQ0NGYxOGI1MDNlMw==",
            "html_url": "https://github.com/useblocks/sphinxcontrib-needs/commit/dc14807f0b247e758bbcbef28953444f18b503e3",
            "comments_url": "https://api.github.com/repos/useblocks/sphinxcontrib-needs/commits/dc14807f0b247e758bbcbef28953444f18b503e3/comments",
            "commit": {
                "url": "https://api.github.com/repos/useblocks/sphinxcontrib-needs/git/commits/dc14807f0b247e758bbcbef28953444f18b503e3",
                "author": {
                    "date": "2021-01-06T06:33:48.000+01:00",
                    "name": "Daniel Woste",
                    "email": "daniel.woste@useblocks.com",
                },
                "committer": {
                    "date": "2021-01-06T06:47:45.000+01:00",
                    "name": "Daniel Woste",
                    "email": "daniel.woste@useblocks.com",
                },
                "message": "string format fix to support python 3.5",
                "tree": {
                    "url": "https://api.github.com/repos/useblocks/sphinxcontrib-needs/git/trees/5bf05fc659dd7f2481e5e90ffca5015ee25e047a",
                    "sha": "5bf05fc659dd7f2481e5e90ffca5015ee25e047a",
                },
                "comment_count": 0,
            },
            "author": {
                "login": "danwos",
                "id": 998700,
                "node_id": "MDQ6VXNlcjk5ODcwMA==",
                "avatar_url": "https://avatars.githubusercontent.com/u/998700?v=4",
                "gravatar_id": "",
                "url": "https://api.github.com/users/danwos",
                "html_url": "https://github.com/danwos",
                "followers_url": "https://api.github.com/users/danwos/followers",
                "following_url": "https://api.github.com/users/danwos/following{/other_user}",
                "gists_url": "https://api.github.com/users/danwos/gists{/gist_id}",
                "starred_url": "https://api.github.com/users/danwos/starred{/owner}{/repo}",
                "subscriptions_url": "https://api.github.com/users/danwos/subscriptions",
                "organizations_url": "https://api.github.com/users/danwos/orgs",
                "repos_url": "https://api.github.com/users/danwos/repos",
                "events_url": "https://api.github.com/users/danwos/events{/privacy}",
                "received_events_url": "https://api.github.com/users/danwos/received_events",
                "type": "User",
                "site_admin": False,
            },
            "committer": {
                "login": "danwos",
                "id": 998700,
                "node_id": "MDQ6VXNlcjk5ODcwMA==",
                "avatar_url": "https://avatars.githubusercontent.com/u/998700?v=4",
                "gravatar_id": "",
                "url": "https://api.github.com/users/danwos",
                "html_url": "https://github.com/danwos",
                "followers_url": "https://api.github.com/users/danwos/followers",
                "following_url": "https://api.github.com/users/danwos/following{/other_user}",
                "gists_url": "https://api.github.com/users/danwos/gists{/gist_id}",
                "starred_url": "https://api.github.com/users/danwos/starred{/owner}{/repo}",
                "subscriptions_url": "https://api.github.com/users/danwos/subscriptions",
                "organizations_url": "https://api.github.com/users/danwos/orgs",
                "repos_url": "https://api.github.com/users/danwos/repos",
                "events_url": "https://api.github.com/users/danwos/events{/privacy}",
                "received_events_url": "https://api.github.com/users/danwos/received_events",
                "type": "User",
                "site_admin": False,
            },
            "parents": [
                {
                    "url": "https://api.github.com/repos/useblocks/sphinxcontrib-needs/commits/beec7bec42035e3cad09c8400397fa7c828cdd91",
                    "html_url": "https://github.com/useblocks/sphinxcontrib-needs/commit/beec7bec42035e3cad09c8400397fa7c828cdd91",
                    "sha": "beec7bec42035e3cad09c8400397fa7c828cdd91",
                }
            ],
            "repository": {
                "id": 75225949,
                "node_id": "MDEwOlJlcG9zaXRvcnk3NTIyNTk0OQ==",
                "name": "sphinxcontrib-needs",
                "full_name": "useblocks/sphinxcontrib-needs",
                "private": False,
                "owner": {
                    "login": "useblocks",
                    "id": 998587,
                    "node_id": "MDEyOk9yZ2FuaXphdGlvbjk5ODU4Nw==",
                    "avatar_url": "https://avatars.githubusercontent.com/u/998587?v=4",
                    "gravatar_id": "",
                    "url": "https://api.github.com/users/useblocks",
                    "html_url": "https://github.com/useblocks",
                    "followers_url": "https://api.github.com/users/useblocks/followers",
                    "following_url": "https://api.github.com/users/useblocks/following{/other_user}",
                    "gists_url": "https://api.github.com/users/useblocks/gists{/gist_id}",
                    "starred_url": "https://api.github.com/users/useblocks/starred{/owner}{/repo}",
                    "subscriptions_url": "https://api.github.com/users/useblocks/subscriptions",
                    "organizations_url": "https://api.github.com/users/useblocks/orgs",
                    "repos_url": "https://api.github.com/users/useblocks/repos",
                    "events_url": "https://api.github.com/users/useblocks/events{/privacy}",
                    "received_events_url": "https://api.github.com/users/useblocks/received_events",
                    "type": "Organization",
                    "site_admin": False,
                },
                "html_url": "https://github.com/useblocks/sphinxcontrib-needs",
                "description": "Adds needs/requirements to sphinx",
                "fork": False,
                "url": "https://api.github.com/repos/useblocks/sphinxcontrib-needs",
                "forks_url": "https://api.github.com/repos/useblocks/sphinxcontrib-needs/forks",
                "keys_url": "https://api.github.com/repos/useblocks/sphinxcontrib-needs/keys{/key_id}",
                "collaborators_url": "https://api.github.com/repos/useblocks/sphinxcontrib-needs/collaborators{/collaborator}",
                "teams_url": "https://api.github.com/repos/useblocks/sphinxcontrib-needs/teams",
                "hooks_url": "https://api.github.com/repos/useblocks/sphinxcontrib-needs/hooks",
                "issue_events_url": "https://api.github.com/repos/useblocks/sphinxcontrib-needs/issues/events{/number}",
                "events_url": "https://api.github.com/repos/useblocks/sphinxcontrib-needs/events",
                "assignees_url": "https://api.github.com/repos/useblocks/sphinxcontrib-needs/assignees{/user}",
                "branches_url": "https://api.github.com/repos/useblocks/sphinxcontrib-needs/branches{/branch}",
                "tags_url": "https://api.github.com/repos/useblocks/sphinxcontrib-needs/tags",
                "blobs_url": "https://api.github.com/repos/useblocks/sphinxcontrib-needs/git/blobs{/sha}",
                "git_tags_url": "https://api.github.com/repos/useblocks/sphinxcontrib-needs/git/tags{/sha}",
                "git_refs_url": "https://api.github.com/repos/useblocks/sphinxcontrib-needs/git/refs{/sha}",
                "trees_url": "https://api.github.com/repos/useblocks/sphinxcontrib-needs/git/trees{/sha}",
                "statuses_url": "https://api.github.com/repos/useblocks/sphinxcontrib-needs/statuses/{sha}",
                "languages_url": "https://api.github.com/repos/useblocks/sphinxcontrib-needs/languages",
                "stargazers_url": "https://api.github.com/repos/useblocks/sphinxcontrib-needs/stargazers",
                "contributors_url": "https://api.github.com/repos/useblocks/sphinxcontrib-needs/contributors",
                "subscribers_url": "https://api.github.com/repos/useblocks/sphinxcontrib-needs/subscribers",
                "subscription_url": "https://api.github.com/repos/useblocks/sphinxcontrib-needs/subscription",
                "commits_url": "https://api.github.com/repos/useblocks/sphinxcontrib-needs/commits{/sha}",
                "git_commits_url": "https://api.github.com/repos/useblocks/sphinxcontrib-needs/git/commits{/sha}",
                "comments_url": "https://api.github.com/repos/useblocks/sphinxcontrib-needs/comments{/number}",
                "issue_comment_url": "https://api.github.com/repos/useblocks/sphinxcontrib-needs/issues/comments{/number}",
                "contents_url": "https://api.github.com/repos/useblocks/sphinxcontrib-needs/contents/{+path}",
                "compare_url": "https://api.github.com/repos/useblocks/sphinxcontrib-needs/compare/{base}...{head}",
                "merges_url": "https://api.github.com/repos/useblocks/sphinxcontrib-needs/merges",
                "archive_url": "https://api.github.com/repos/useblocks/sphinxcontrib-needs/{archive_format}{/ref}",
                "downloads_url": "https://api.github.com/repos/useblocks/sphinxcontrib-needs/downloads",
                "issues_url": "https://api.github.com/repos/useblocks/sphinxcontrib-needs/issues{/number}",
                "pulls_url": "https://api.github.com/repos/useblocks/sphinxcontrib-needs/pulls{/number}",
                "milestones_url": "https://api.github.com/repos/useblocks/sphinxcontrib-needs/milestones{/number}",
                "notifications_url": "https://api.github.com/repos/useblocks/sphinxcontrib-needs/notifications{?since,all,participating}",
                "labels_url": "https://api.github.com/repos/useblocks/sphinxcontrib-needs/labels{/name}",
                "releases_url": "https://api.github.com/repos/useblocks/sphinxcontrib-needs/releases{/id}",
                "deployments_url": "https://api.github.com/repos/useblocks/sphinxcontrib-needs/deployments",
            },
            "score": 1.0,
        },
        {
            "url": "https://api.github.com/repos/useblocks/sphinxcontrib-needs/commits/e9e2da4fece4a053d1a033027f08356657d61d63",
            "sha": "e9e2da4fece4a053d1a033027f08356657d61d63",
            "node_id": "MDY6Q29tbWl0NzUyMjU5NDk6ZTllMmRhNGZlY2U0YTA1M2QxYTAzMzAyN2YwODM1NjY1N2Q2MWQ2Mw==",
            "html_url": "https://github.com/useblocks/sphinxcontrib-needs/commit/e9e2da4fece4a053d1a033027f08356657d61d63",
            "comments_url": "https://api.github.com/repos/useblocks/sphinxcontrib-needs/commits/e9e2da4fece4a053d1a033027f08356657d61d63/comments",
            "commit": {
                "url": "https://api.github.com/repos/useblocks/sphinxcontrib-needs/git/commits/e9e2da4fece4a053d1a033027f08356657d61d63",
                "author": {
                    "date": "2020-04-24T08:34:27.000+02:00",
                    "name": "Daniel Woste",
                    "email": "daniel.woste@useblocks.com",
                },
                "committer": {
                    "date": "2020-04-24T08:36:31.000+02:00",
                    "name": "Daniel Woste",
                    "email": "daniel.woste@useblocks.com",
                },
                "message": "Pin MarkupSafe installation to version <2 for Python<3.6",
                "tree": {
                    "url": "https://api.github.com/repos/useblocks/sphinxcontrib-needs/git/trees/cb297c837987a8facf4c5208a24d66162d249dee",
                    "sha": "cb297c837987a8facf4c5208a24d66162d249dee",
                },
                "comment_count": 0,
            },
            "author": {
                "login": "danwos",
                "id": 998700,
                "node_id": "MDQ6VXNlcjk5ODcwMA==",
                "avatar_url": "https://avatars.githubusercontent.com/u/998700?v=4",
                "gravatar_id": "",
                "url": "https://api.github.com/users/danwos",
                "html_url": "https://github.com/danwos",
                "followers_url": "https://api.github.com/users/danwos/followers",
                "following_url": "https://api.github.com/users/danwos/following{/other_user}",
                "gists_url": "https://api.github.com/users/danwos/gists{/gist_id}",
                "starred_url": "https://api.github.com/users/danwos/starred{/owner}{/repo}",
                "subscriptions_url": "https://api.github.com/users/danwos/subscriptions",
                "organizations_url": "https://api.github.com/users/danwos/orgs",
                "repos_url": "https://api.github.com/users/danwos/repos",
                "events_url": "https://api.github.com/users/danwos/events{/privacy}",
                "received_events_url": "https://api.github.com/users/danwos/received_events",
                "type": "User",
                "site_admin": False,
            },
            "committer": {
                "login": "danwos",
                "id": 998700,
                "node_id": "MDQ6VXNlcjk5ODcwMA==",
                "avatar_url": "https://avatars.githubusercontent.com/u/998700?v=4",
                "gravatar_id": "",
                "url": "https://api.github.com/users/danwos",
                "html_url": "https://github.com/danwos",
                "followers_url": "https://api.github.com/users/danwos/followers",
                "following_url": "https://api.github.com/users/danwos/following{/other_user}",
                "gists_url": "https://api.github.com/users/danwos/gists{/gist_id}",
                "starred_url": "https://api.github.com/users/danwos/starred{/owner}{/repo}",
                "subscriptions_url": "https://api.github.com/users/danwos/subscriptions",
                "organizations_url": "https://api.github.com/users/danwos/orgs",
                "repos_url": "https://api.github.com/users/danwos/repos",
                "events_url": "https://api.github.com/users/danwos/events{/privacy}",
                "received_events_url": "https://api.github.com/users/danwos/received_events",
                "type": "User",
                "site_admin": False,
            },
            "parents": [
                {
                    "url": "https://api.github.com/repos/useblocks/sphinxcontrib-needs/commits/add7f346e42921f779d2181b95ae2c7aea3d6546",
                    "html_url": "https://github.com/useblocks/sphinxcontrib-needs/commit/add7f346e42921f779d2181b95ae2c7aea3d6546",
                    "sha": "add7f346e42921f779d2181b95ae2c7aea3d6546",
                }
            ],
            "repository": {
                "id": 75225949,
                "node_id": "MDEwOlJlcG9zaXRvcnk3NTIyNTk0OQ==",
                "name": "sphinxcontrib-needs",
                "full_name": "useblocks/sphinxcontrib-needs",
                "private": False,
                "owner": {
                    "login": "useblocks",
                    "id": 998587,
                    "node_id": "MDEyOk9yZ2FuaXphdGlvbjk5ODU4Nw==",
                    "avatar_url": "https://avatars.githubusercontent.com/u/998587?v=4",
                    "gravatar_id": "",
                    "url": "https://api.github.com/users/useblocks",
                    "html_url": "https://github.com/useblocks",
                    "followers_url": "https://api.github.com/users/useblocks/followers",
                    "following_url": "https://api.github.com/users/useblocks/following{/other_user}",
                    "gists_url": "https://api.github.com/users/useblocks/gists{/gist_id}",
                    "starred_url": "https://api.github.com/users/useblocks/starred{/owner}{/repo}",
                    "subscriptions_url": "https://api.github.com/users/useblocks/subscriptions",
                    "organizations_url": "https://api.github.com/users/useblocks/orgs",
                    "repos_url": "https://api.github.com/users/useblocks/repos",
                    "events_url": "https://api.github.com/users/useblocks/events{/privacy}",
                    "received_events_url": "https://api.github.com/users/useblocks/received_events",
                    "type": "Organization",
                    "site_admin": False,
                },
                "html_url": "https://github.com/useblocks/sphinxcontrib-needs",
                "description": "Adds needs/requirements to sphinx",
                "fork": False,
                "url": "https://api.github.com/repos/useblocks/sphinxcontrib-needs",
                "forks_url": "https://api.github.com/repos/useblocks/sphinxcontrib-needs/forks",
                "keys_url": "https://api.github.com/repos/useblocks/sphinxcontrib-needs/keys{/key_id}",
                "collaborators_url": "https://api.github.com/repos/useblocks/sphinxcontrib-needs/collaborators{/collaborator}",
                "teams_url": "https://api.github.com/repos/useblocks/sphinxcontrib-needs/teams",
                "hooks_url": "https://api.github.com/repos/useblocks/sphinxcontrib-needs/hooks",
                "issue_events_url": "https://api.github.com/repos/useblocks/sphinxcontrib-needs/issues/events{/number}",
                "events_url": "https://api.github.com/repos/useblocks/sphinxcontrib-needs/events",
                "assignees_url": "https://api.github.com/repos/useblocks/sphinxcontrib-needs/assignees{/user}",
                "branches_url": "https://api.github.com/repos/useblocks/sphinxcontrib-needs/branches{/branch}",
                "tags_url": "https://api.github.com/repos/useblocks/sphinxcontrib-needs/tags",
                "blobs_url": "https://api.github.com/repos/useblocks/sphinxcontrib-needs/git/blobs{/sha}",
                "git_tags_url": "https://api.github.com/repos/useblocks/sphinxcontrib-needs/git/tags{/sha}",
                "git_refs_url": "https://api.github.com/repos/useblocks/sphinxcontrib-needs/git/refs{/sha}",
                "trees_url": "https://api.github.com/repos/useblocks/sphinxcontrib-needs/git/trees{/sha}",
                "statuses_url": "https://api.github.com/repos/useblocks/sphinxcontrib-needs/statuses/{sha}",
                "languages_url": "https://api.github.com/repos/useblocks/sphinxcontrib-needs/languages",
                "stargazers_url": "https://api.github.com/repos/useblocks/sphinxcontrib-needs/stargazers",
                "contributors_url": "https://api.github.com/repos/useblocks/sphinxcontrib-needs/contributors",
                "subscribers_url": "https://api.github.com/repos/useblocks/sphinxcontrib-needs/subscribers",
                "subscription_url": "https://api.github.com/repos/useblocks/sphinxcontrib-needs/subscription",
                "commits_url": "https://api.github.com/repos/useblocks/sphinxcontrib-needs/commits{/sha}",
                "git_commits_url": "https://api.github.com/repos/useblocks/sphinxcontrib-needs/git/commits{/sha}",
                "comments_url": "https://api.github.com/repos/useblocks/sphinxcontrib-needs/comments{/number}",
                "issue_comment_url": "https://api.github.com/repos/useblocks/sphinxcontrib-needs/issues/comments{/number}",
                "contents_url": "https://api.github.com/repos/useblocks/sphinxcontrib-needs/contents/{+path}",
                "compare_url": "https://api.github.com/repos/useblocks/sphinxcontrib-needs/compare/{base}...{head}",
                "merges_url": "https://api.github.com/repos/useblocks/sphinxcontrib-needs/merges",
                "archive_url": "https://api.github.com/repos/useblocks/sphinxcontrib-needs/{archive_format}{/ref}",
                "downloads_url": "https://api.github.com/repos/useblocks/sphinxcontrib-needs/downloads",
                "issues_url": "https://api.github.com/repos/useblocks/sphinxcontrib-needs/issues{/number}",
                "pulls_url": "https://api.github.com/repos/useblocks/sphinxcontrib-needs/pulls{/number}",
                "milestones_url": "https://api.github.com/repos/useblocks/sphinxcontrib-needs/milestones{/number}",
                "notifications_url": "https://api.github.com/repos/useblocks/sphinxcontrib-needs/notifications{?since,all,participating}",
                "labels_url": "https://api.github.com/repos/useblocks/sphinxcontrib-needs/labels{/name}",
                "releases_url": "https://api.github.com/repos/useblocks/sphinxcontrib-needs/releases{/id}",
                "deployments_url": "https://api.github.com/repos/useblocks/sphinxcontrib-needs/deployments",
            },
            "score": 1.0,
        },
    ],
}