gitlab 4.4.0 → 4.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (232) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +4 -2
  3. data/gitlab.gemspec +3 -1
  4. data/lib/gitlab/client.rb +1 -0
  5. data/lib/gitlab/client/merge_request_approvals.rb +110 -0
  6. data/lib/gitlab/client/projects.rb +19 -9
  7. data/lib/gitlab/error.rb +10 -3
  8. data/lib/gitlab/version.rb +1 -1
  9. metadata +5 -444
  10. data/.dockerignore +0 -6
  11. data/.rubocop.yml +0 -33
  12. data/.travis.yml +0 -13
  13. data/Dockerfile +0 -8
  14. data/docker-compose.yml +0 -19
  15. data/docker.env +0 -2
  16. data/spec/fixtures/access_request.json +0 -8
  17. data/spec/fixtures/access_requests.json +0 -18
  18. data/spec/fixtures/approved_access_request.json +0 -8
  19. data/spec/fixtures/board_list.json +0 -1
  20. data/spec/fixtures/board_lists.json +0 -1
  21. data/spec/fixtures/boards.json +0 -1
  22. data/spec/fixtures/branch.json +0 -1
  23. data/spec/fixtures/branch_delete.json +0 -3
  24. data/spec/fixtures/branches.json +0 -1
  25. data/spec/fixtures/build.json +0 -38
  26. data/spec/fixtures/build_artifacts.json +0 -0
  27. data/spec/fixtures/build_cancel.json +0 -24
  28. data/spec/fixtures/build_erase.json +0 -24
  29. data/spec/fixtures/build_retry.json +0 -24
  30. data/spec/fixtures/builds.json +0 -78
  31. data/spec/fixtures/builds_commits.json +0 -64
  32. data/spec/fixtures/compare_merge_request_diff.json +0 -31
  33. data/spec/fixtures/default_approved_access_request.json +0 -8
  34. data/spec/fixtures/deployment.json +0 -57
  35. data/spec/fixtures/deployments.json +0 -116
  36. data/spec/fixtures/empty.json +0 -0
  37. data/spec/fixtures/environment.json +0 -6
  38. data/spec/fixtures/environments.json +0 -14
  39. data/spec/fixtures/error_already_exists.json +0 -1
  40. data/spec/fixtures/error_project_not_found.json +0 -1
  41. data/spec/fixtures/get_repository_file.json +0 -1
  42. data/spec/fixtures/group.json +0 -60
  43. data/spec/fixtures/group_create.json +0 -1
  44. data/spec/fixtures/group_create_with_description.json +0 -1
  45. data/spec/fixtures/group_delete.json +0 -1
  46. data/spec/fixtures/group_edit.json +0 -14
  47. data/spec/fixtures/group_member.json +0 -1
  48. data/spec/fixtures/group_member_delete.json +0 -1
  49. data/spec/fixtures/group_member_edit.json +0 -1
  50. data/spec/fixtures/group_members.json +0 -1
  51. data/spec/fixtures/group_milestone.json +0 -1
  52. data/spec/fixtures/group_milestone_issues.json +0 -1
  53. data/spec/fixtures/group_milestone_merge_requests.json +0 -1
  54. data/spec/fixtures/group_milestones.json +0 -1
  55. data/spec/fixtures/group_projects.json +0 -44
  56. data/spec/fixtures/group_search.json +0 -2
  57. data/spec/fixtures/group_subgroups.json +0 -16
  58. data/spec/fixtures/groups.json +0 -2
  59. data/spec/fixtures/issue.json +0 -1
  60. data/spec/fixtures/issue_award_emoji.json +0 -16
  61. data/spec/fixtures/issue_award_emojis.json +0 -34
  62. data/spec/fixtures/issues.json +0 -1
  63. data/spec/fixtures/job.json +0 -43
  64. data/spec/fixtures/job_trace.json +0 -1
  65. data/spec/fixtures/jobs.json +0 -91
  66. data/spec/fixtures/key.json +0 -1
  67. data/spec/fixtures/keys.json +0 -1
  68. data/spec/fixtures/label.json +0 -1
  69. data/spec/fixtures/label_unsubscribe.json +0 -1
  70. data/spec/fixtures/labels.json +0 -1
  71. data/spec/fixtures/merge_request.json +0 -1
  72. data/spec/fixtures/merge_request_award_emoji.json +0 -16
  73. data/spec/fixtures/merge_request_award_emojis.json +0 -34
  74. data/spec/fixtures/merge_request_changes.json +0 -1
  75. data/spec/fixtures/merge_request_closes_issues.json +0 -1
  76. data/spec/fixtures/merge_request_comment.json +0 -1
  77. data/spec/fixtures/merge_request_comments.json +0 -1
  78. data/spec/fixtures/merge_request_commits.json +0 -1
  79. data/spec/fixtures/merge_request_discussion.json +0 -39
  80. data/spec/fixtures/merge_request_discussion_note.json +0 -33
  81. data/spec/fixtures/merge_request_discussions.json +0 -41
  82. data/spec/fixtures/merge_requests.json +0 -1
  83. data/spec/fixtures/milestone.json +0 -1
  84. data/spec/fixtures/milestone_issues.json +0 -1
  85. data/spec/fixtures/milestone_merge_requests.json +0 -1
  86. data/spec/fixtures/milestones.json +0 -1
  87. data/spec/fixtures/namespaces.json +0 -1
  88. data/spec/fixtures/note.json +0 -1
  89. data/spec/fixtures/note_award_emoji.json +0 -16
  90. data/spec/fixtures/note_award_emojis.json +0 -18
  91. data/spec/fixtures/notes.json +0 -1
  92. data/spec/fixtures/pipeline.json +0 -23
  93. data/spec/fixtures/pipeline_cancel.json +0 -23
  94. data/spec/fixtures/pipeline_create.json +0 -23
  95. data/spec/fixtures/pipeline_jobs.json +0 -91
  96. data/spec/fixtures/pipeline_retry.json +0 -23
  97. data/spec/fixtures/pipeline_schedule.json +0 -32
  98. data/spec/fixtures/pipeline_schedule_create.json +0 -21
  99. data/spec/fixtures/pipeline_schedule_update.json +0 -26
  100. data/spec/fixtures/pipeline_schedule_variable.json +0 -5
  101. data/spec/fixtures/pipeline_schedule_variable_update.json +0 -5
  102. data/spec/fixtures/pipeline_schedules.json +0 -22
  103. data/spec/fixtures/pipelines.json +0 -48
  104. data/spec/fixtures/project.json +0 -1
  105. data/spec/fixtures/project_commit.json +0 -13
  106. data/spec/fixtures/project_commit_comment.json +0 -1
  107. data/spec/fixtures/project_commit_comments.json +0 -1
  108. data/spec/fixtures/project_commit_create.json +0 -22
  109. data/spec/fixtures/project_commit_diff.json +0 -10
  110. data/spec/fixtures/project_commit_merge_requests.json +0 -1
  111. data/spec/fixtures/project_commit_status.json +0 -42
  112. data/spec/fixtures/project_commits.json +0 -1
  113. data/spec/fixtures/project_edit.json +0 -21
  114. data/spec/fixtures/project_events.json +0 -81
  115. data/spec/fixtures/project_for_user.json +0 -1
  116. data/spec/fixtures/project_fork.json +0 -50
  117. data/spec/fixtures/project_fork_link.json +0 -1
  118. data/spec/fixtures/project_forked_for_user.json +0 -50
  119. data/spec/fixtures/project_forks.json +0 -50
  120. data/spec/fixtures/project_hook.json +0 -1
  121. data/spec/fixtures/project_hooks.json +0 -1
  122. data/spec/fixtures/project_issues.json +0 -1
  123. data/spec/fixtures/project_key.json +0 -6
  124. data/spec/fixtures/project_keys.json +0 -6
  125. data/spec/fixtures/project_runner_enable.json +0 -7
  126. data/spec/fixtures/project_runners.json +0 -16
  127. data/spec/fixtures/project_search.json +0 -1
  128. data/spec/fixtures/project_star.json +0 -44
  129. data/spec/fixtures/project_tag_annotated.json +0 -1
  130. data/spec/fixtures/project_tag_lightweight.json +0 -1
  131. data/spec/fixtures/project_tags.json +0 -1
  132. data/spec/fixtures/project_unstar.json +0 -44
  133. data/spec/fixtures/project_update_commit_status.json +0 -20
  134. data/spec/fixtures/projects.json +0 -1
  135. data/spec/fixtures/push_rule.json +0 -1
  136. data/spec/fixtures/raw_file.json +0 -2
  137. data/spec/fixtures/release_create.json +0 -1
  138. data/spec/fixtures/release_update.json +0 -1
  139. data/spec/fixtures/repository_file.json +0 -1
  140. data/spec/fixtures/run_trigger.json +0 -1
  141. data/spec/fixtures/runner.json +0 -26
  142. data/spec/fixtures/runner_delete.json +0 -7
  143. data/spec/fixtures/runner_edit.json +0 -26
  144. data/spec/fixtures/runner_jobs.json +0 -63
  145. data/spec/fixtures/runners.json +0 -16
  146. data/spec/fixtures/runners_all.json +0 -30
  147. data/spec/fixtures/service.json +0 -1
  148. data/spec/fixtures/session.json +0 -1
  149. data/spec/fixtures/shell_history.json +0 -2
  150. data/spec/fixtures/sidekiq_compound_metrics.json +0 -36
  151. data/spec/fixtures/sidekiq_job_stats.json +0 -7
  152. data/spec/fixtures/sidekiq_process_metrics.json +0 -25
  153. data/spec/fixtures/sidekiq_queue_metrics.json +0 -8
  154. data/spec/fixtures/snippet.json +0 -1
  155. data/spec/fixtures/snippet_award_emoji.json +0 -16
  156. data/spec/fixtures/snippet_award_emojis.json +0 -34
  157. data/spec/fixtures/snippet_content.json +0 -3
  158. data/spec/fixtures/snippets.json +0 -1
  159. data/spec/fixtures/system_hook.json +0 -1
  160. data/spec/fixtures/system_hooks.json +0 -1
  161. data/spec/fixtures/tag.json +0 -1
  162. data/spec/fixtures/tag_create.json +0 -1
  163. data/spec/fixtures/tag_create_with_description.json +0 -1
  164. data/spec/fixtures/tag_delete.json +0 -1
  165. data/spec/fixtures/tags.json +0 -1
  166. data/spec/fixtures/team_member.json +0 -1
  167. data/spec/fixtures/team_members.json +0 -1
  168. data/spec/fixtures/todo.json +0 -73
  169. data/spec/fixtures/todos.json +0 -148
  170. data/spec/fixtures/tree.json +0 -1
  171. data/spec/fixtures/trigger.json +0 -10
  172. data/spec/fixtures/triggers.json +0 -12
  173. data/spec/fixtures/user.json +0 -1
  174. data/spec/fixtures/user_block_unblock.json +0 -1
  175. data/spec/fixtures/user_contribution_events.json +0 -101
  176. data/spec/fixtures/user_email.json +0 -1
  177. data/spec/fixtures/user_emails.json +0 -1
  178. data/spec/fixtures/user_events.json +0 -40
  179. data/spec/fixtures/user_projects.json +0 -153
  180. data/spec/fixtures/user_search.json +0 -1
  181. data/spec/fixtures/users.json +0 -1
  182. data/spec/fixtures/variable.json +0 -4
  183. data/spec/fixtures/variables.json +0 -10
  184. data/spec/gitlab/api_spec.rb +0 -11
  185. data/spec/gitlab/cli_helpers_spec.rb +0 -56
  186. data/spec/gitlab/cli_spec.rb +0 -119
  187. data/spec/gitlab/client/access_requests_spec.rb +0 -141
  188. data/spec/gitlab/client/award_emojis_spec.rb +0 -391
  189. data/spec/gitlab/client/boards_spec.rb +0 -94
  190. data/spec/gitlab/client/branches_spec.rb +0 -118
  191. data/spec/gitlab/client/build_variables_spec.rb +0 -169
  192. data/spec/gitlab/client/builds_spec.rb +0 -148
  193. data/spec/gitlab/client/client_spec.rb +0 -11
  194. data/spec/gitlab/client/commits_spec.rb +0 -190
  195. data/spec/gitlab/client/deployments_spec.rb +0 -38
  196. data/spec/gitlab/client/environments_spec.rb +0 -132
  197. data/spec/gitlab/client/events_spec.rb +0 -48
  198. data/spec/gitlab/client/group_milestones_spec.rb +0 -98
  199. data/spec/gitlab/client/groups_spec.rb +0 -246
  200. data/spec/gitlab/client/issues_spec.rb +0 -285
  201. data/spec/gitlab/client/jobs_spec.rb +0 -135
  202. data/spec/gitlab/client/keys_spec.rb +0 -19
  203. data/spec/gitlab/client/labels_spec.rb +0 -100
  204. data/spec/gitlab/client/merge_requests_spec.rb +0 -351
  205. data/spec/gitlab/client/milestones_spec.rb +0 -98
  206. data/spec/gitlab/client/namespaces_spec.rb +0 -22
  207. data/spec/gitlab/client/notes_spec.rb +0 -333
  208. data/spec/gitlab/client/pipeline_schedules_spec.rb +0 -158
  209. data/spec/gitlab/client/pipeline_triggers_spec.rb +0 -157
  210. data/spec/gitlab/client/pipelines_spec.rb +0 -95
  211. data/spec/gitlab/client/projects_spec.rb +0 -630
  212. data/spec/gitlab/client/repositories_spec.rb +0 -94
  213. data/spec/gitlab/client/repository_files_spec.rb +0 -95
  214. data/spec/gitlab/client/runners_spec.rb +0 -193
  215. data/spec/gitlab/client/services_spec.rb +0 -55
  216. data/spec/gitlab/client/sidekiq_spec.rb +0 -64
  217. data/spec/gitlab/client/snippets_spec.rb +0 -100
  218. data/spec/gitlab/client/system_hooks_spec.rb +0 -69
  219. data/spec/gitlab/client/tags_spec.rb +0 -152
  220. data/spec/gitlab/client/todos_spec.rb +0 -45
  221. data/spec/gitlab/client/users_spec.rb +0 -418
  222. data/spec/gitlab/error_spec.rb +0 -72
  223. data/spec/gitlab/file_response_spec.rb +0 -33
  224. data/spec/gitlab/help_spec.rb +0 -46
  225. data/spec/gitlab/objectified_hash_spec.rb +0 -48
  226. data/spec/gitlab/page_links_spec.rb +0 -16
  227. data/spec/gitlab/paginated_response_spec.rb +0 -60
  228. data/spec/gitlab/request_spec.rb +0 -73
  229. data/spec/gitlab/shell_history_spec.rb +0 -53
  230. data/spec/gitlab/shell_spec.rb +0 -80
  231. data/spec/gitlab_spec.rb +0 -96
  232. data/spec/spec_helper.rb +0 -39
@@ -1,23 +0,0 @@
1
- {
2
- "id": 61,
3
- "sha": "384c444e840a515b23f21915ee5766b87068a70d",
4
- "ref": "master",
5
- "status": "pending",
6
- "before_sha": "0000000000000000000000000000000000000000",
7
- "tag": false,
8
- "yaml_errors": null,
9
- "user": {
10
- "name": "Administrator",
11
- "username": "root",
12
- "id": 1,
13
- "state": "active",
14
- "avatar_url": "http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon",
15
- "web_url": "http://localhost:3000/root"
16
- },
17
- "created_at": "2016-11-04T09:36:13.747Z",
18
- "updated_at": "2016-11-04T09:36:13.977Z",
19
- "started_at": null,
20
- "finished_at": null,
21
- "committed_at": null,
22
- "duration": null
23
- }
@@ -1,91 +0,0 @@
1
- [
2
- {
3
- "commit": {
4
- "author_email": "admin@example.com",
5
- "author_name": "Administrator",
6
- "created_at": "2015-12-24T16:51:14.000+01:00",
7
- "id": "0ff3ae198f8601a285adcf5c0fff204ee6fba5fd",
8
- "message": "Test the CI integration.",
9
- "short_id": "0ff3ae19",
10
- "title": "Test the CI integration."
11
- },
12
- "coverage": null,
13
- "created_at": "2015-12-24T15:51:21.802Z",
14
- "artifacts_file": {
15
- "filename": "artifacts.zip",
16
- "size": 1000
17
- },
18
- "finished_at": "2015-12-24T17:54:27.895Z",
19
- "id": 7,
20
- "name": "teaspoon",
21
- "pipeline": {
22
- "id": 6,
23
- "ref": "master",
24
- "sha": "0ff3ae198f8601a285adcf5c0fff204ee6fba5fd",
25
- "status": "pending"
26
- },
27
- "ref": "master",
28
- "runner": null,
29
- "stage": "test",
30
- "started_at": "2015-12-24T17:54:27.722Z",
31
- "status": "failed",
32
- "tag": false,
33
- "user": {
34
- "avatar_url": "http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon",
35
- "bio": null,
36
- "created_at": "2015-12-21T13:14:24.077Z",
37
- "id": 1,
38
- "linkedin": "",
39
- "name": "Administrator",
40
- "skype": "",
41
- "state": "active",
42
- "twitter": "",
43
- "username": "root",
44
- "web_url": "http://gitlab.dev/root",
45
- "website_url": ""
46
- }
47
- },
48
- {
49
- "commit": {
50
- "author_email": "admin@example.com",
51
- "author_name": "Administrator",
52
- "created_at": "2015-12-24T16:51:14.000+01:00",
53
- "id": "0ff3ae198f8601a285adcf5c0fff204ee6fba5fd",
54
- "message": "Test the CI integration.",
55
- "short_id": "0ff3ae19",
56
- "title": "Test the CI integration."
57
- },
58
- "coverage": null,
59
- "created_at": "2015-12-24T15:51:21.727Z",
60
- "artifacts_file": null,
61
- "finished_at": "2015-12-24T17:54:24.921Z",
62
- "id": 6,
63
- "name": "spinach:other",
64
- "pipeline": {
65
- "id": 6,
66
- "ref": "master",
67
- "sha": "0ff3ae198f8601a285adcf5c0fff204ee6fba5fd",
68
- "status": "pending"
69
- },
70
- "ref": "master",
71
- "runner": null,
72
- "stage": "test",
73
- "started_at": "2015-12-24T17:54:24.729Z",
74
- "status": "failed",
75
- "tag": false,
76
- "user": {
77
- "avatar_url": "http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon",
78
- "bio": null,
79
- "created_at": "2015-12-21T13:14:24.077Z",
80
- "id": 1,
81
- "linkedin": "",
82
- "name": "Administrator",
83
- "skype": "",
84
- "state": "active",
85
- "twitter": "",
86
- "username": "root",
87
- "web_url": "http://gitlab.dev/root",
88
- "website_url": ""
89
- }
90
- }
91
- ]
@@ -1,23 +0,0 @@
1
- {
2
- "id": 46,
3
- "status": "pending",
4
- "ref": "master",
5
- "sha": "a91957a858320c0e17f3a0eca7cfacbff50ea29a",
6
- "before_sha": "a91957a858320c0e17f3a0eca7cfacbff50ea29a",
7
- "tag": false,
8
- "yaml_errors": null,
9
- "user": {
10
- "name": "Administrator",
11
- "username": "root",
12
- "id": 1,
13
- "state": "active",
14
- "avatar_url": "http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon",
15
- "web_url": "http://localhost:3000/root"
16
- },
17
- "created_at": "2016-08-11T11:28:34.085Z",
18
- "updated_at": "2016-08-11T11:32:35.169Z",
19
- "started_at": null,
20
- "finished_at": "2016-08-11T11:32:35.145Z",
21
- "committed_at": null,
22
- "duration": null
23
- }
@@ -1,32 +0,0 @@
1
- {
2
- "id": 13,
3
- "description": "Test schedule pipeline",
4
- "ref": "master",
5
- "cron": "* * * * *",
6
- "cron_timezone": "Asia/Tokyo",
7
- "next_run_at": "2017-05-19T13:41:00.000Z",
8
- "active": true,
9
- "created_at": "2017-05-19T13:31:08.849Z",
10
- "updated_at": "2017-05-19T13:40:17.727Z",
11
- "last_pipeline": {
12
- "id": 332,
13
- "sha": "0e788619d0b5ec17388dffb973ecd505946156db",
14
- "ref": "master",
15
- "status": "pending"
16
- },
17
- "owner": {
18
- "name": "Administrator",
19
- "username": "root",
20
- "id": 1,
21
- "state": "active",
22
- "avatar_url": "http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon",
23
- "web_url": "https://gitlab.example.com/root"
24
- },
25
- "variables": [
26
- {
27
- "key": "TEST_VARIABLE_1",
28
- "value": "TEST_1"
29
- }
30
- ]
31
- }
32
-
@@ -1,21 +0,0 @@
1
- {
2
- "id": 14,
3
- "description": "Build packages",
4
- "ref": "master",
5
- "cron": "0 1 * * 5",
6
- "cron_timezone": "UTC",
7
- "next_run_at": "2017-05-26T01:00:00.000Z",
8
- "active": true,
9
- "created_at": "2017-05-19T13:43:08.169Z",
10
- "updated_at": "2017-05-19T13:43:08.169Z",
11
- "last_pipeline": null,
12
- "owner": {
13
- "name": "Administrator",
14
- "username": "root",
15
- "id": 1,
16
- "state": "active",
17
- "avatar_url": "http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon",
18
- "web_url": "https://gitlab.example.com/root"
19
- }
20
- }
21
-
@@ -1,26 +0,0 @@
1
- {
2
- "id": 13,
3
- "description": "Test schedule pipeline",
4
- "ref": "master",
5
- "cron": "0 2 * * *",
6
- "cron_timezone": "Asia/Tokyo",
7
- "next_run_at": "2017-05-19T17:00:00.000Z",
8
- "active": true,
9
- "created_at": "2017-05-19T13:31:08.849Z",
10
- "updated_at": "2017-05-19T13:44:16.135Z",
11
- "last_pipeline": {
12
- "id": 332,
13
- "sha": "0e788619d0b5ec17388dffb973ecd505946156db",
14
- "ref": "master",
15
- "status": "pending"
16
- },
17
- "owner": {
18
- "name": "Administrator",
19
- "username": "root",
20
- "id": 1,
21
- "state": "active",
22
- "avatar_url": "http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon",
23
- "web_url": "https://gitlab.example.com/root"
24
- }
25
- }
26
-
@@ -1,5 +0,0 @@
1
- {
2
- "key": "NEW_VARIABLE",
3
- "value": "new value"
4
- }
5
-
@@ -1,5 +0,0 @@
1
- {
2
- "key": "NEW_VARIABLE",
3
- "value": "update value"
4
- }
5
-
@@ -1,22 +0,0 @@
1
- [
2
- {
3
- "id": 13,
4
- "description": "Test schedule pipeline",
5
- "ref": "master",
6
- "cron": "* * * * *",
7
- "cron_timezone": "Asia/Tokyo",
8
- "next_run_at": "2017-05-19T13:41:00.000Z",
9
- "active": true,
10
- "created_at": "2017-05-19T13:31:08.849Z",
11
- "updated_at": "2017-05-19T13:40:17.727Z",
12
- "owner": {
13
- "name": "Administrator",
14
- "username": "root",
15
- "id": 1,
16
- "state": "active",
17
- "avatar_url": "http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon",
18
- "web_url": "https://gitlab.example.com/root"
19
- }
20
- }
21
- ]
22
-
@@ -1,48 +0,0 @@
1
- [
2
- {
3
- "id": 47,
4
- "status": "pending",
5
- "ref": "new-pipeline",
6
- "sha": "a91957a858320c0e17f3a0eca7cfacbff50ea29a",
7
- "before_sha": "a91957a858320c0e17f3a0eca7cfacbff50ea29a",
8
- "tag": false,
9
- "yaml_errors": null,
10
- "user": {
11
- "name": "Administrator",
12
- "username": "root",
13
- "id": 1,
14
- "state": "active",
15
- "avatar_url": "http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon",
16
- "web_url": "http://localhost:3000/root"
17
- },
18
- "created_at": "2016-08-16T10:23:19.007Z",
19
- "updated_at": "2016-08-16T10:23:19.216Z",
20
- "started_at": null,
21
- "finished_at": null,
22
- "committed_at": null,
23
- "duration": null
24
- },
25
- {
26
- "id": 48,
27
- "status": "pending",
28
- "ref": "new-pipeline",
29
- "sha": "eb94b618fb5865b26e80fdd8ae531b7a63ad851a",
30
- "before_sha": "eb94b618fb5865b26e80fdd8ae531b7a63ad851a",
31
- "tag": false,
32
- "yaml_errors": null,
33
- "user": {
34
- "name": "Administrator",
35
- "username": "root",
36
- "id": 1,
37
- "state": "active",
38
- "avatar_url": "http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon",
39
- "web_url": "http://localhost:3000/root"
40
- },
41
- "created_at": "2016-08-16T10:23:21.184Z",
42
- "updated_at": "2016-08-16T10:23:21.314Z",
43
- "started_at": null,
44
- "finished_at": null,
45
- "committed_at": null,
46
- "duration": null
47
- }
48
- ]
@@ -1 +0,0 @@
1
- {"id":3,"code":"gitlab","name":"Gitlab","description":null,"path":"gitlab","default_branch":null,"owner":{"id":1,"email":"john@example.com","name":"John Smith","blocked":false,"created_at":"2012-09-17T09:41:56Z"},"public":false,"issues_enabled":true,"merge_requests_enabled":true,"wall_enabled":true,"wiki_enabled":true,"created_at":"2012-09-17T09:41:58Z"}
@@ -1,13 +0,0 @@
1
- {
2
- "id": "6104942438c14ec7bd21c6cd5bd995272b3faff6",
3
- "short_id": "6104942438c",
4
- "title": "Sanitize for network graph",
5
- "author_name": "randx",
6
- "author_email": "dmitriy.zaporozhets@gmail.com",
7
- "created_at": "2012-09-20T09:06:12+03:00",
8
- "committed_date": "2012-09-20T09:06:12+03:00",
9
- "authored_date": "2012-09-20T09:06:12+03:00",
10
- "parent_ids": [
11
- "ae1d9fb46aa2b07ee9836d49862ec4e2c46fbbba"
12
- ]
13
- }
@@ -1 +0,0 @@
1
- {"note":"Nice code!","author":{"id":1,"username":"jsmith","email":"john@example.com","name":"John Smith","blocked":false,"created_at":"2012-07-11T01:32:18Z"}}
@@ -1 +0,0 @@
1
- [{"note":"this is the 1st comment on commit 6104942438c14ec7bd21c6cd5bd995272b3faff6","author":{"id":11,"username":"admin","email":"admin@example.com","name":"A User","state":"active","created_at":"2014-03-06T08:17:35.000Z"}},{"note":"another discussion point on commit 6104942438c14ec7bd21c6cd5bd995272b3faff6","author":{"id":12,"username":"admin","email":"admin@example.com","name":"A User","state":"active","created_at":"2014-03-06T08:17:35.000Z"}}]
@@ -1,22 +0,0 @@
1
- {
2
- "id": "ed899a2f4b50b4370feeea94676502b42383c746",
3
- "short_id": "ed899a2f4b5",
4
- "title": "some commit message",
5
- "author_name": "Dmitriy Zaporozhets",
6
- "author_email": "dzaporozhets@sphereconsultinginc.com",
7
- "committer_name": "Dmitriy Zaporozhets",
8
- "committer_email": "dzaporozhets@sphereconsultinginc.com",
9
- "created_at": "2016-09-20T09:26:24.000-07:00",
10
- "message": "some commit message",
11
- "parent_ids": [
12
- "ae1d9fb46aa2b07ee9836d49862ec4e2c46fbbba"
13
- ],
14
- "committed_date": "2016-09-20T09:26:24.000-07:00",
15
- "authored_date": "2016-09-20T09:26:24.000-07:00",
16
- "stats": {
17
- "additions": 2,
18
- "deletions": 2,
19
- "total": 4
20
- },
21
- "status": null
22
- }
@@ -1,10 +0,0 @@
1
- {
2
- "diff": "--- a/doc/update/5.4-to-6.0.md\n+++ b/doc/update/5.4-to-6.0.md\n@@ -71,6 +71,8 @@\n sudo -u git -H bundle exec rake migrate_keys RAILS_ENV=production\n sudo -u git -H bundle exec rake migrate_inline_notes RAILS_ENV=production\n \n+sudo -u git -H bundle exec rake assets:precompile RAILS_ENV=production\n+\n ```\n \n ### 6. Update config files",
3
- "new_path": "doc/update/5.4-to-6.0.md",
4
- "old_path": "doc/update/5.4-to-6.0.md",
5
- "a_mode": null,
6
- "b_mode": "100644",
7
- "new_file": false,
8
- "renamed_file": false,
9
- "deleted_file": false
10
- }
@@ -1 +0,0 @@
1
- [{"id":1,"iid":1,"project_id":1,"title":"Title","description":"","state":"merged","created_at":"2018-05-15T18:38:47.192Z","updated_at":"2018-05-15T18:39:19.621Z","target_branch":"a","source_branch":"b","upvotes":0,"downvotes":0,"author":{"id":1,"name":"admin","username":"admin","state":"active","avatar_url":"https://gitlab.example.com/uploads/-/system/user/avatar/1/avatar.png","web_url":"https://gitlab.example.com/admin"},"assignee":null,"source_project_id":1,"target_project_id":1,"labels":[],"work_in_progress":false,"milestone":null,"merge_when_pipeline_succeeds":false,"merge_status":"can_be_merged","sha":"8d35ce134dc1dc52b8060c413a8a47964e1d5c92","merge_commit_sha":"ca0eedb9ca03107d1bb62a4c98498bc35b2e17eb","user_notes_count":0,"discussion_locked":null,"should_remove_source_branch":null,"force_remove_source_branch":true,"web_url":"https://gitlab.example.com/example-group/example-project/merge_requests/1","time_stats":{"time_estimate":0,"total_time_spent":0,"human_time_estimate":null,"human_total_time_spent":null},"approvals_before_merge":null,"squash":false},{"id":2,"iid":2,"project_id":1,"title":"Title","description":"","state":"merged","created_at":"2018-05-15T18:39:39.528Z","updated_at":"2018-05-15T18:39:47.013Z","target_branch":"master","source_branch":"a","upvotes":0,"downvotes":0,"author":{"id":2,"name":"admin2","username":"admin2","state":"active","avatar_url":"https://gitlab.example.com/uploads/-/system/user/avatar/2/avatar.png","web_url":"https://gitlab.example.com/admin2"},"assignee":null,"source_project_id":1,"target_project_id":1,"labels":[],"work_in_progress":false,"milestone":null,"merge_when_pipeline_succeeds":false,"merge_status":"can_be_merged","sha":"ca0eedb9ca03107d1bb62a4c98498bc35b2e17eb","merge_commit_sha":"a5d1608991cec904a63c95eeed59d14caef43336","user_notes_count":0,"discussion_locked":null,"should_remove_source_branch":null,"force_remove_source_branch":true,"web_url":"https://gitlab.example.com/example-group/example-project/merge_requests/2","time_stats":{"time_estimate":0,"total_time_spent":0,"human_time_estimate":null,"human_total_time_spent":null},"approvals_before_merge":null,"squash":false}]
@@ -1,42 +0,0 @@
1
- [
2
- {
3
- "id": 496,
4
- "sha": "7d938cb8ac15788d71f4b67c035515a160ea76d8",
5
- "ref": "decreased-spec",
6
- "status": "failed",
7
- "name": "test",
8
- "target_url": null,
9
- "description": null,
10
- "created_at": "2015-10-23T23:35:48.693+02:00",
11
- "started_at": null,
12
- "finished_at": "2015-10-23T23:35:48.716+02:00",
13
- "author": {
14
- "name": "Dominik Sander",
15
- "username": "dsander",
16
- "id": 1,
17
- "state": "active",
18
- "avatar_url": "https://secure.gravatar.com/avatar/xxxxx?s=40&d=identicon",
19
- "web_url": "https://github.com/u/dsander"
20
- }
21
- },
22
- {
23
- "id": 493,
24
- "sha": "7d938cb8ac15788d71f4b67c035515a160ea76d8",
25
- "ref": "decreased-spec",
26
- "status": "success",
27
- "name": "specs",
28
- "target_url": "https://github.com/dsander/omniauth/builds/493",
29
- "description": null,
30
- "created_at": "2015-10-23T21:39:19.384+02:00",
31
- "started_at": "2015-10-23T21:39:21.900+02:00",
32
- "finished_at": "2015-10-23T21:39:35.215+02:00",
33
- "author": {
34
- "name": "Dominik Sander",
35
- "username": "dsander",
36
- "id": 1,
37
- "state": "active",
38
- "avatar_url": "https://secure.gravatar.com/avatar/xxxxx?s=40&d=identicon",
39
- "web_url": "https://github.com/u/dsander"
40
- }
41
- }
42
- ]
@@ -1 +0,0 @@
1
- [{"id":"f7dd067490fe57505f7226c3b54d3127d2f7fd46","short_id":"f7dd067490f","title":"API: expose issues project id","author_name":"Nihad Abbasov","author_email":"narkoz.2008@gmail.com","created_at":"2012-07-25T04:22:21-07:00"},{"id":"949b1df930bedace1dbd755aaa4a82e8c451a616","short_id":"949b1df930b","title":"API: update docs","author_name":"Nihad Abbasov","author_email":"narkoz.2008@gmail.com","created_at":"2012-07-25T02:35:41-07:00"},{"id":"1b95c8bff351f6718ec31ac1de1e48c57bc95d44","short_id":"1b95c8bff35","title":"API: ability to get project by id","author_name":"Nihad Abbasov","author_email":"narkoz.2008@gmail.com","created_at":"2012-07-25T02:18:30-07:00"},{"id":"92d98f5a0c28bffd7b070cda190b07ab72667d58","short_id":"92d98f5a0c2","title":"Merge pull request #1118 from patthoyts/pt/ldap-missing-password","author_name":"Dmitriy Zaporozhets","author_email":"dmitriy.zaporozhets@gmail.com","created_at":"2012-07-25T01:51:06-07:00"},{"id":"60d3e94874964a626f105d3598e1c122addcf43e","short_id":"60d3e948749","title":"Merge pull request #1122 from patthoyts/pt/missing-log","author_name":"Dmitriy Zaporozhets","author_email":"dmitriy.zaporozhets@gmail.com","created_at":"2012-07-25T01:50:34-07:00"},{"id":"b683a71aa1230f17f9df47661c77dfeae27027de","short_id":"b683a71aa12","title":"Merge pull request #1135 from NARKOZ/api","author_name":"Dmitriy Zaporozhets","author_email":"dmitriy.zaporozhets@gmail.com","created_at":"2012-07-25T01:48:00-07:00"},{"id":"fbb41100db35cf2def2c8b4d896b7015d56bd15b","short_id":"fbb41100db3","title":"update help section with issues API docs","author_name":"Nihad Abbasov","author_email":"narkoz.2008@gmail.com","created_at":"2012-07-24T05:52:43-07:00"},{"id":"eca823c1c7cef45cc18c6ab36d2327650c85bfc3","short_id":"eca823c1c7c","title":"Merge branch 'master' into api","author_name":"Nihad Abbasov","author_email":"narkoz.2008@gmail.com","created_at":"2012-07-24T05:46:36-07:00"},{"id":"024e0348904179a8dea81c01e27a5f014cf57499","short_id":"024e0348904","title":"update API docs","author_name":"Nihad Abbasov","author_email":"narkoz.2008@gmail.com","created_at":"2012-07-24T05:25:01-07:00"},{"id":"7b33d8cbcab3b0ee5789ec607455ab62130db69f","short_id":"7b33d8cbcab","title":"add issues API","author_name":"Nihad Abbasov","author_email":"narkoz.2008@gmail.com","created_at":"2012-07-24T05:19:51-07:00"},{"id":"6035ad7e1fe519d0c6a42731790183889e3ba31d","short_id":"6035ad7e1fe","title":"Create the githost.log file if necessary.","author_name":"Pat Thoyts","author_email":"patthoyts@users.sourceforge.net","created_at":"2012-07-21T07:32:04-07:00"},{"id":"a2d244ec062f3348f6cd1c5218c6097402c5f562","short_id":"a2d244ec062","title":"Handle LDAP missing credentials error with a flash message.","author_name":"Pat Thoyts","author_email":"patthoyts@users.sourceforge.net","created_at":"2012-07-21T01:04:05-07:00"},{"id":"8b7e404b5b6944e9c92cc270b2e5d0005781d49d","short_id":"8b7e404b5b6","title":"Up to 2.7.0","author_name":"randx","author_email":"dmitriy.zaporozhets@gmail.com","created_at":"2012-07-21T00:53:55-07:00"},{"id":"11721b0dbe82c35789be3e4fa8e14663934b2ff5","short_id":"11721b0dbe8","title":"Help section for system hooks completed","author_name":"randx","author_email":"dmitriy.zaporozhets@gmail.com","created_at":"2012-07-21T00:47:57-07:00"},{"id":"9c8a1e651716212cf50a623d98e03b8dbdb2c64a","short_id":"9c8a1e65171","title":"Fix system hook example","author_name":"randx","author_email":"dmitriy.zaporozhets@gmail.com","created_at":"2012-07-21T00:32:42-07:00"},{"id":"4261acda90ff4c61326d80cba026ae76e8551f8f","short_id":"4261acda90f","title":"move SSH keys tab closer to begining","author_name":"randx","author_email":"dmitriy.zaporozhets@gmail.com","created_at":"2012-07-21T00:27:09-07:00"},{"id":"a69fc5dd23bd502fd36892a80eec21a4c53891f8","short_id":"a69fc5dd23b","title":"Endless event loading for dsahboard","author_name":"randx","author_email":"dmitriy.zaporozhets@gmail.com","created_at":"2012-07-21T00:23:05-07:00"},{"id":"860fa1163a5fbdfec2bb01ff2d584351554dee29","short_id":"860fa1163a5","title":"Merge pull request #1117 from patthoyts/pt/user-form","author_name":"Dmitriy Zaporozhets","author_email":"dmitriy.zaporozhets@gmail.com","created_at":"2012-07-20T14:23:49-07:00"},{"id":"787e5e94acf5e20280416c9fda105ef5b77576b3","short_id":"787e5e94acf","title":"Fix english on the edit user form.","author_name":"Pat Thoyts","author_email":"patthoyts@users.sourceforge.net","created_at":"2012-07-20T14:18:42-07:00"},{"id":"9267cb04b0b3fdf127899c4b7e636dc27fac06d3","short_id":"9267cb04b0b","title":"Merge branch 'refactoring_controllers' of dev.gitlabhq.com:gitlabhq","author_name":"Dmitriy Zaporozhets","author_email":"dmitriy.zaporozhets@gmail.com","created_at":"2012-07-20T07:24:56-07:00"}]
@@ -1,21 +0,0 @@
1
- {
2
- "id":3,
3
- "code":"gitlab",
4
- "name":"Gitlab-edit",
5
- "description":null,
6
- "path":"gitlab",
7
- "default_branch":null,
8
- "owner":{
9
- "id":1,
10
- "email":"john@example.com",
11
- "name":"John Smith",
12
- "blocked":false,
13
- "created_at":"2012-09-17T09:41:56Z"
14
- },
15
- "public":false,
16
- "issues_enabled":true,
17
- "merge_requests_enabled":true,
18
- "wall_enabled":true,
19
- "wiki_enabled":true,
20
- "created_at":"2012-09-17T09:41:58Z"
21
- }
@@ -1,81 +0,0 @@
1
- [
2
- {
3
- "title":null,
4
- "project_id":1,
5
- "action_name":"opened",
6
- "target_id":160,
7
- "target_iid":160,
8
- "target_type":"Issue",
9
- "author_id":25,
10
- "target_title":"Qui natus eos odio tempore et quaerat consequuntur ducimus cupiditate quis.",
11
- "created_at":"2017-02-09T10:43:19.667Z",
12
- "author":{
13
- "name":"User 3",
14
- "username":"user3",
15
- "id":25,
16
- "state":"active",
17
- "avatar_url":"http://www.gravatar.com/avatar/97d6d9441ff85fdc730e02a6068d267b?s=80\u0026d=identicon",
18
- "web_url":"https://gitlab.example.com/user3"
19
- },
20
- "author_username":"user3"
21
- },
22
- {
23
- "title":null,
24
- "project_id":1,
25
- "action_name":"opened",
26
- "target_id":159,
27
- "target_iid":159,
28
- "target_type":"Issue",
29
- "author_id":21,
30
- "target_title":"Nostrum enim non et sed optio illo deleniti non.",
31
- "created_at":"2017-02-09T10:43:19.426Z",
32
- "author":{
33
- "name":"Test User",
34
- "username":"ted",
35
- "id":21,
36
- "state":"active",
37
- "avatar_url":"http://www.gravatar.com/avatar/80fb888c9a48b9a3f87477214acaa63f?s=80\u0026d=identicon",
38
- "web_url":"https://gitlab.example.com/ted"
39
- },
40
- "author_username":"ted"
41
- },
42
- {
43
- "title": null,
44
- "project_id": 1,
45
- "action_name": "commented on",
46
- "target_id": 1312,
47
- "target_iid": 1312,
48
- "target_type": "Note",
49
- "author_id": 1,
50
- "data": null,
51
- "target_title": null,
52
- "created_at": "2015-12-04T10:33:58.089Z",
53
- "note": {
54
- "id": 1312,
55
- "body": "What an awesome day!",
56
- "attachment": null,
57
- "author": {
58
- "name": "Dmitriy Zaporozhets",
59
- "username": "root",
60
- "id": 1,
61
- "state": "active",
62
- "avatar_url": "http://localhost:3000/uploads/user/avatar/1/fox_avatar.png",
63
- "web_url": "http://localhost:3000/root"
64
- },
65
- "created_at": "2015-12-04T10:33:56.698Z",
66
- "system": false,
67
- "noteable_id": 377,
68
- "noteable_type": "Issue",
69
- "noteable_iid": 377
70
- },
71
- "author": {
72
- "name": "Dmitriy Zaporozhets",
73
- "username": "root",
74
- "id": 1,
75
- "state": "active",
76
- "avatar_url": "http://localhost:3000/uploads/user/avatar/1/fox_avatar.png",
77
- "web_url": "http://localhost:3000/root"
78
- },
79
- "author_username": "root"
80
- }
81
- ]