-
-
Notifications
You must be signed in to change notification settings - Fork 376
Expand file tree
/
Copy pathgetMergeRequestCommits.json
More file actions
93 lines (93 loc) · 3.53 KB
/
getMergeRequestCommits.json
File metadata and controls
93 lines (93 loc) · 3.53 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
[
{
"scope": "https://gitlab.com:443",
"method": "GET",
"path": "/api/v4/projects/456/merge_requests/27117/commits",
"body": "",
"status": 200,
"response": [
{
"id": "28531ab43666b5fdf37e0a70db3bcbf7d3f92183",
"short_id": "28531ab4",
"created_at": "2019-04-08T10:56:17.000Z",
"parent_ids": [],
"title": "Pick reviewers based on branch name",
"message": "Pick reviewers based on branch name\n\nChange reviewer roulette to always pick the same reviewers for the same\nbranch name. We do this by:\n\n1. Making the branch name 'canonical' across CE and EE by stripping a\n leading 'ce-' or 'ee-' and a trailing '-ce' or '-ee'. If people are\n following our branch naming guidelines, this should give the same\n branch name in both repos.\n2. Converting the branch name to a stable integer by taking the integer\n form of its MD5.\n3. Passing that integer as a seed to Ruby's `Random` class, which 'may\n be used to ensure repeatable sequences of pseudo-random numbers\n between different runs of the program' (from the Ruby documentation).\n\nThe upshot is that the same branch name (in CE and EE) should always\npick the same reviewers, and those should be evenly distributed across\nthe set of possible reviewers due to the use of MD5.\n",
"author_name": "Sean McGivern",
"author_email": "sean@gitlab.com",
"authored_date": "2019-04-08T10:44:57.000Z",
"committer_name": "Sean McGivern",
"committer_email": "sean@gitlab.com",
"committed_date": "2019-04-08T10:56:17.000Z"
},
{
"id": "575ec3af131e9c101edfc50ee563381b37c8076e",
"short_id": "575ec3af",
"created_at": "2019-04-08T10:56:17.000Z",
"parent_ids": [],
"title": "Add issue links to Danger roulette comments",
"message": "Add issue links to Danger roulette comments\n",
"author_name": "Sean McGivern",
"author_email": "sean@gitlab.com",
"authored_date": "2019-04-08T09:50:39.000Z",
"committer_name": "Sean McGivern",
"committer_email": "sean@gitlab.com",
"committed_date": "2019-04-08T10:56:17.000Z"
}
],
"rawHeaders": [
"Server",
"nginx",
"Date",
"Mon, 20 May 2019 11:18:36 GMT",
"Content-Type",
"application/json",
"Content-Length",
"1759",
"Connection",
"close",
"Cache-Control",
"max-age=0, private, must-revalidate",
"Etag",
"W/\"478bcb3a3b56ea7180c04159ff3adea5\"",
"Link",
"<https://gitlab.com/api/v4/projects/456/merge_requests/27117/commits?id=456&merge_request_iid=27117&page=1&per_page=>; rel=\"first\", <https://gitlab.com/api/v4/projects/456/merge_requests/27117/commits?id=456&merge_request_iid=27117&page=1&per_page=>; rel=\"last\"",
"Vary",
"Origin",
"X-Content-Type-Options",
"nosniff",
"X-Frame-Options",
"SAMEORIGIN",
"X-Next-Page",
"",
"X-Page",
"1",
"X-Per-Page",
"20",
"X-Prev-Page",
"",
"X-Request-Id",
"ddjTNYbzfd4",
"X-Runtime",
"0.063964",
"X-Total",
"2",
"X-Total-Pages",
"1",
"Strict-Transport-Security",
"max-age=31536000",
"Referrer-Policy",
"strict-origin-when-cross-origin",
"RateLimit-Limit",
"600",
"RateLimit-Observed",
"1",
"RateLimit-Remaining",
"599",
"RateLimit-Reset",
"1558351176",
"RateLimit-ResetTime",
"Mon, 20 May 2019 11:19:36 GMT"
]
}
]