gitlab 3.0.0 → 4.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.gitignore +4 -0
- data/.travis.yml +6 -2
- data/CHANGELOG.md +244 -0
- data/CONTRIBUTING.md +195 -0
- data/LICENSE.txt +1 -1
- data/README.md +122 -10
- data/Rakefile +1 -1
- data/bin/console +10 -0
- data/bin/setup +6 -0
- data/exe/gitlab +7 -0
- data/gitlab.gemspec +9 -3
- data/lib/gitlab.rb +18 -2
- data/lib/gitlab/api.rb +6 -4
- data/lib/gitlab/cli.rb +89 -0
- data/lib/gitlab/cli_helpers.rb +241 -0
- data/lib/gitlab/client.rb +42 -6
- data/lib/gitlab/client/branches.rb +91 -0
- data/lib/gitlab/client/build_triggers.rb +51 -0
- data/lib/gitlab/client/build_variables.rb +66 -0
- data/lib/gitlab/client/builds.rb +106 -0
- data/lib/gitlab/client/commits.rb +146 -0
- data/lib/gitlab/client/groups.rb +66 -10
- data/lib/gitlab/client/issues.rb +61 -16
- data/lib/gitlab/client/labels.rb +57 -0
- data/lib/gitlab/client/merge_requests.rb +137 -26
- data/lib/gitlab/client/milestones.rb +44 -9
- data/lib/gitlab/client/namespaces.rb +20 -0
- data/lib/gitlab/client/notes.rb +71 -16
- data/lib/gitlab/client/pipelines.rb +68 -0
- data/lib/gitlab/client/projects.rb +236 -27
- data/lib/gitlab/client/repositories.rb +39 -45
- data/lib/gitlab/client/repository_files.rb +107 -0
- data/lib/gitlab/client/runners.rb +115 -0
- data/lib/gitlab/client/services.rb +50 -0
- data/lib/gitlab/client/snippets.rb +26 -21
- data/lib/gitlab/client/system_hooks.rb +59 -0
- data/lib/gitlab/client/tags.rb +96 -0
- data/lib/gitlab/client/users.rb +151 -7
- data/lib/gitlab/configuration.rb +20 -4
- data/lib/gitlab/error.rb +55 -12
- data/lib/gitlab/file_response.rb +46 -0
- data/lib/gitlab/help.rb +95 -0
- data/lib/gitlab/objectified_hash.rb +19 -3
- data/lib/gitlab/page_links.rb +33 -0
- data/lib/gitlab/paginated_response.rb +97 -0
- data/lib/gitlab/request.rb +65 -33
- data/lib/gitlab/shell.rb +84 -0
- data/lib/gitlab/shell_history.rb +59 -0
- data/lib/gitlab/version.rb +1 -1
- data/spec/fixtures/{project_branch.json → branch.json} +1 -1
- data/spec/fixtures/branch_delete.json +3 -0
- data/spec/fixtures/{project_branches.json → branches.json} +0 -0
- data/spec/fixtures/build.json +38 -0
- data/spec/fixtures/build_artifacts.json +0 -0
- data/spec/fixtures/build_cancel.json +24 -0
- data/spec/fixtures/build_erase.json +24 -0
- data/spec/fixtures/build_retry.json +24 -0
- data/spec/fixtures/builds.json +78 -0
- data/spec/fixtures/builds_commits.json +64 -0
- data/spec/fixtures/compare_merge_request_diff.json +31 -0
- data/spec/fixtures/error_project_not_found.json +1 -0
- data/spec/fixtures/get_repository_file.json +1 -0
- data/spec/fixtures/group_create_with_description.json +1 -0
- data/spec/fixtures/group_delete.json +1 -0
- data/spec/fixtures/group_member_edit.json +1 -0
- data/spec/fixtures/group_projects.json +44 -0
- data/spec/fixtures/group_search.json +2 -0
- data/spec/fixtures/label.json +1 -0
- data/spec/fixtures/labels.json +1 -0
- data/spec/fixtures/merge_request_changes.json +1 -0
- data/spec/fixtures/merge_request_closes_issues.json +1 -0
- data/spec/fixtures/{comment_merge_request.json → merge_request_comment.json} +0 -0
- data/spec/fixtures/merge_request_comments.json +1 -0
- data/spec/fixtures/merge_request_commits.json +1 -0
- data/spec/fixtures/milestone_issues.json +1 -0
- data/spec/fixtures/milestone_merge_requests.json +1 -0
- data/spec/fixtures/namespaces.json +1 -0
- data/spec/fixtures/pipeline.json +23 -0
- data/spec/fixtures/pipeline_cancel.json +23 -0
- data/spec/fixtures/pipeline_create.json +23 -0
- data/spec/fixtures/pipeline_retry.json +23 -0
- data/spec/fixtures/pipelines.json +48 -0
- data/spec/fixtures/project_commit.json +13 -0
- data/spec/fixtures/project_commit_comment.json +1 -0
- data/spec/fixtures/project_commit_comments.json +1 -0
- data/spec/fixtures/project_commit_create.json +22 -0
- data/spec/fixtures/project_commit_diff.json +10 -0
- data/spec/fixtures/project_commit_status.json +42 -0
- data/spec/fixtures/project_edit.json +21 -0
- data/spec/fixtures/project_events.json +1 -0
- data/spec/fixtures/project_fork.json +50 -0
- data/spec/fixtures/project_forked_for_user.json +50 -0
- data/spec/fixtures/project_runner_enable.json +7 -0
- data/spec/fixtures/project_runners.json +16 -0
- data/spec/fixtures/project_search.json +1 -0
- data/spec/fixtures/project_star.json +44 -0
- data/spec/fixtures/project_tag_annotated.json +1 -0
- data/spec/fixtures/project_tag_lightweight.json +1 -0
- data/spec/fixtures/project_unstar.json +44 -0
- data/spec/fixtures/project_update_commit_status.json +20 -0
- data/spec/fixtures/push_rule.json +1 -0
- data/spec/fixtures/raw_file.json +2 -0
- data/spec/fixtures/release_create.json +1 -0
- data/spec/fixtures/release_update.json +1 -0
- data/spec/fixtures/repository_file.json +1 -0
- data/spec/fixtures/runner.json +26 -0
- data/spec/fixtures/runner_delete.json +7 -0
- data/spec/fixtures/runner_edit.json +26 -0
- data/spec/fixtures/runners.json +16 -0
- data/spec/fixtures/runners_all.json +30 -0
- data/spec/fixtures/service.json +1 -0
- data/spec/fixtures/shell_history.json +2 -0
- data/spec/fixtures/snippet_content.json +3 -0
- data/spec/fixtures/system_hook.json +1 -0
- data/spec/fixtures/system_hooks.json +1 -0
- data/spec/fixtures/tag.json +1 -0
- data/spec/fixtures/tag_create.json +1 -0
- data/spec/fixtures/tag_create_with_description.json +1 -0
- data/spec/fixtures/tag_delete.json +1 -0
- data/spec/fixtures/tags.json +1 -0
- data/spec/fixtures/tree.json +1 -0
- data/spec/fixtures/trigger.json +7 -0
- data/spec/fixtures/triggers.json +16 -0
- data/spec/fixtures/user.json +1 -1
- data/spec/fixtures/user_block_unblock.json +1 -0
- data/spec/fixtures/user_email.json +1 -0
- data/spec/fixtures/user_emails.json +1 -0
- data/spec/fixtures/user_search.json +1 -0
- data/spec/fixtures/users.json +1 -1
- data/spec/fixtures/variable.json +4 -0
- data/spec/fixtures/variables.json +10 -0
- data/spec/gitlab/cli_helpers_spec.rb +57 -0
- data/spec/gitlab/cli_spec.rb +119 -0
- data/spec/gitlab/client/branches_spec.rb +99 -0
- data/spec/gitlab/client/build_triggers_spec.rb +67 -0
- data/spec/gitlab/client/build_variables_spec.rb +86 -0
- data/spec/gitlab/client/builds_spec.rb +148 -0
- data/spec/gitlab/client/client_spec.rb +11 -0
- data/spec/gitlab/client/commits_spec.rb +168 -0
- data/spec/gitlab/client/groups_spec.rb +116 -30
- data/spec/gitlab/client/issues_spec.rb +93 -29
- data/spec/gitlab/client/labels_spec.rb +68 -0
- data/spec/gitlab/client/merge_requests_spec.rb +171 -39
- data/spec/gitlab/client/milestones_spec.rb +45 -13
- data/spec/gitlab/client/namespaces_spec.rb +22 -0
- data/spec/gitlab/client/notes_spec.rb +82 -33
- data/spec/gitlab/client/pipelines_spec.rb +95 -0
- data/spec/gitlab/client/projects_spec.rb +371 -71
- data/spec/gitlab/client/repositories_spec.rb +51 -30
- data/spec/gitlab/client/repository_files_spec.rb +77 -0
- data/spec/gitlab/client/runners_spec.rb +185 -0
- data/spec/gitlab/client/services_spec.rb +55 -0
- data/spec/gitlab/client/snippets_spec.rb +35 -20
- data/spec/gitlab/client/system_hooks_spec.rb +69 -0
- data/spec/gitlab/client/tags_spec.rb +109 -0
- data/spec/gitlab/client/users_spec.rb +296 -34
- data/spec/gitlab/error_spec.rb +45 -0
- data/spec/gitlab/file_response_spec.rb +33 -0
- data/spec/gitlab/help_spec.rb +46 -0
- data/spec/gitlab/objectified_hash_spec.rb +48 -0
- data/spec/gitlab/page_links_spec.rb +16 -0
- data/spec/gitlab/paginated_response_spec.rb +60 -0
- data/spec/gitlab/request_spec.rb +73 -0
- data/spec/gitlab/shell_history_spec.rb +53 -0
- data/spec/gitlab/shell_spec.rb +80 -0
- data/spec/gitlab_spec.rb +48 -7
- data/spec/spec_helper.rb +24 -13
- metadata +287 -33
- data/spec/fixtures/create_merge_request.json +0 -1
- data/spec/fixtures/project_delete_key.json +0 -8
- data/spec/fixtures/update_merge_request.json +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"message": "404 Project Not Found"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file_name":"README.md", "file_path":"README.md", "size":"19", "encoding":"base64", "content":"VGhpcyBpcyBhICpSRUFETUUqIQ==\n", "ref":"master", "blob_id":"0eba9dff767611060181e0423a1de2941d27efc8", "commit_id":"eb38397cb6ae669219e6bc18ad19981fff18ea29"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"id":3,"name":"Gitlab-Group","path":"gitlab-group","owner_id":1,"description":"gitlab group description"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"id":42,"name":"Gitlab-Group","path":"gitlab-group","created_at":"2016-02-24T20:16:42.906Z","updated_at":"2016-02-24T20:16:42.906Z"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"id":2,"username":"jsmith","email":"jsmith@local.host","name":"John Smith","state":"active","created_at":"2013-09-04T18:15:30Z","access_level":50}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"id": 4,
|
|
4
|
+
"description": null,
|
|
5
|
+
"default_branch": "master",
|
|
6
|
+
"public": false,
|
|
7
|
+
"visibility_level": 0,
|
|
8
|
+
"ssh_url_to_repo": "git@example.com:diaspora/diaspora-client.git",
|
|
9
|
+
"http_url_to_repo": "http://example.com/diaspora/diaspora-client.git",
|
|
10
|
+
"web_url": "http://example.com/diaspora/diaspora-client",
|
|
11
|
+
"tag_list": [
|
|
12
|
+
"example",
|
|
13
|
+
"disapora client"
|
|
14
|
+
],
|
|
15
|
+
"owner": {
|
|
16
|
+
"id": 3,
|
|
17
|
+
"name": "Diaspora",
|
|
18
|
+
"created_at": "2013-09-30T13: 46: 02Z"
|
|
19
|
+
},
|
|
20
|
+
"name": "Diaspora Client",
|
|
21
|
+
"name_with_namespace": "Diaspora / Diaspora Client",
|
|
22
|
+
"path": "diaspora-client",
|
|
23
|
+
"path_with_namespace": "diaspora/diaspora-client",
|
|
24
|
+
"issues_enabled": true,
|
|
25
|
+
"merge_requests_enabled": true,
|
|
26
|
+
"builds_enabled": true,
|
|
27
|
+
"wiki_enabled": true,
|
|
28
|
+
"snippets_enabled": false,
|
|
29
|
+
"created_at": "2013-09-30T13: 46: 02Z",
|
|
30
|
+
"last_activity_at": "2013-09-30T13: 46: 02Z",
|
|
31
|
+
"creator_id": 3,
|
|
32
|
+
"namespace": {
|
|
33
|
+
"created_at": "2013-09-30T13: 46: 02Z",
|
|
34
|
+
"description": "",
|
|
35
|
+
"id": 3,
|
|
36
|
+
"name": "Diaspora",
|
|
37
|
+
"owner_id": 1,
|
|
38
|
+
"path": "diaspora",
|
|
39
|
+
"updated_at": "2013-09-30T13: 46: 02Z"
|
|
40
|
+
},
|
|
41
|
+
"archived": false,
|
|
42
|
+
"avatar_url": "http://example.com/uploads/project/avatar/4/uploads/avatar.png"
|
|
43
|
+
}
|
|
44
|
+
]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"name": "Backlog", "color": "#DD10AA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
[{"name": "Backlog", "color": "#DD10AA"},{"name": "Documentation", "color": "#1E80DD"}]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"id":2,"iid":5,"project_id":3,"title":"Uncovered","description":"","state":"opened","created_at":"2015-03-15T23:15:13.292+01:00","updated_at":"2015-03-15T23:15:14.132+01:00","target_branch":"master","source_branch":"uncovered","upvotes":0,"downvotes":0,"author":{"name":"Dominik Sander","username":"dsander","id":1,"state":"active","avatar_url":"https://secure.gravatar.com/avatar/7f01734389dd6730d076ddee04838bd3?s=40\u0026d=identicon"},"assignee":null,"source_project_id":6,"target_project_id":6,"labels":[],"milestone":null,"changes":[{"old_path":"lib/omniauth/builder.rb","new_path":"lib/omniauth/builder.rb","a_mode":"100644","b_mode":"100644","diff":"--- a/lib/omniauth/builder.rb\n+++ b/lib/omniauth/builder.rb\n@@ -7,11 +7,13 @@ module OmniAuth\n else\n @app = app\n super(\u0026block)\n+ two = 1 # woah! uncovered\n @ins \u003c\u003c @app\n end\n end\n \n def rack14?\n+ one = 2 # thats oke!\n Rack.release.split('.')[1].to_i \u003e= 4\n end\n ","new_file":false,"renamed_file":false,"deleted_file":false}]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
[{"id":1,"iid":1,"project_id":5,"title":"Merge request 1 issue 1","description":"","state":"opened","created_at":"2017-04-06T08:03:36.163Z","updated_at":"2017-04-06T08:03:57.087Z","labels":[],"milestone":null,"assignee":null,"author":{"name":"John","username":"jdoe","id":1,"state":"active","avatar_url":"","web_url":"https://gitlab.com/jdoe"},"user_notes_count":0,"upvotes":0,"downvotes":0,"due_date":null,"confidential":false,"weight":null,"web_url":"https://gitlab.com/jdoe/milestone_merge_requests_test/issues/1"},{"id":2,"iid":2,"project_id":5,"title":"Merge request 1 issue 2","description":"","state":"opened","created_at":"2017-04-06T08:03:44.023Z","updated_at":"2017-04-06T08:03:44.023Z","labels":[],"milestone":null,"assignee":null,"author":{"name":"John","username":"jdoe","id":426047,"state":"active","avatar_url":"","web_url":"https://gitlab.com/jdoe"},"user_notes_count":0,"upvotes":0,"downvotes":0,"due_date":null,"confidential":false,"weight":null,"web_url":"https://gitlab.com/jdoe/milestone_merge_requests_test/issues/2"}]
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
[{"note":"this is the 1st comment on the 2merge merge request","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 the 2merge request","author":{"id":12,"username":"admin","email":"admin@example.com","name":"A User","state":"active","created_at":"2014-03-06T08:17:35.000Z"}}]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
[{"id":"a2da7552f26d5b46a6a09bb8b7b066e3a102be7d","short_id":"a2da7552","title": "piyo","author_name":"example","author_email":"example@example.com","created_at":"2015-12-19T18:02:31.000+09:00","message":"fuga"},{"id":"3ce509590f37dbce5b877c3e1c78bd3903493170","short_id":"3ce50959","title":"hoge","author_name":"example","author_email":"example@example.com","created_at":"2015-12-19T17:53:46.000+09:00","message":"Hoge"}]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
[{"id":1,"project_id":3,"title":"Culpa eius recusandae suscipit autem distinctio dolorum.","description":null,"labels":[],"milestone":{"id": 1},"assignee":{"id":1,"email":"john@example.com","name":"John Smith","blocked":false,"created_at":"2012-09-17T09:41:56Z"},"author":{"id":1,"email":"john@example.com","name":"John Smith","blocked":false,"created_at":"2012-09-17T09:41:56Z"},"closed":false,"updated_at":"2012-09-17T09:42:20Z","created_at":"2012-09-17T09:42:20Z"},{"id":6,"project_id":3,"title":"Ut in dolorum omnis sed sit aliquam.","description":null,"labels":[],"milestone":{"id": 1},"assignee":{"id":1,"email":"john@example.com","name":"John Smith","blocked":false,"created_at":"2012-09-17T09:41:56Z"},"author":{"id":1,"email":"john@example.com","name":"John Smith","blocked":false,"created_at":"2012-09-17T09:41:56Z"},"closed":false,"updated_at":"2012-09-17T09:42:20Z","created_at":"2012-09-17T09:42:20Z"},{"id":12,"project_id":3,"title":"Veniam et tempore quidem eum reprehenderit cupiditate non aut velit eaque.","description":null,"labels":[],"milestone":{"id": 1},"assignee":{"id":1,"email":"john@example.com","name":"John Smith","blocked":false,"created_at":"2012-09-17T09:41:56Z"},"author":{"id":1,"email":"john@example.com","name":"John Smith","blocked":false,"created_at":"2012-09-17T09:41:56Z"},"closed":false,"updated_at":"2012-09-17T09:42:20Z","created_at":"2012-09-17T09:42:20Z"},{"id":21,"project_id":3,"title":"Vitae ea aliquam et quo eligendi sapiente voluptatum labore hic nihil culpa.","description":null,"labels":[],"milestone":{"id": 1},"assignee":{"id":1,"email":"john@example.com","name":"John Smith","blocked":false,"created_at":"2012-09-17T09:41:56Z"},"author":{"id":1,"email":"john@example.com","name":"John Smith","blocked":false,"created_at":"2012-09-17T09:41:56Z"},"closed":false,"updated_at":"2012-09-17T09:42:20Z","created_at":"2012-09-17T09:42:20Z"},{"id":26,"project_id":3,"title":"Quo enim est nihil atque placeat voluptas neque eos voluptas.","description":null,"labels":[],"milestone":{"id": 1},"assignee":{"id":1,"email":"john@example.com","name":"John Smith","blocked":false,"created_at":"2012-09-17T09:41:56Z"},"author":{"id":1,"email":"john@example.com","name":"John Smith","blocked":false,"created_at":"2012-09-17T09:41:56Z"},"closed":false,"updated_at":"2012-09-17T09:42:20Z","created_at":"2012-09-17T09:42:20Z"},{"id":32,"project_id":3,"title":"Deserunt tenetur impedit est beatae voluptas voluptas quaerat quisquam.","description":null,"labels":[],"milestone":{"id": 1},"assignee":{"id":1,"email":"john@example.com","name":"John Smith","blocked":false,"created_at":"2012-09-17T09:41:56Z"},"author":{"id":1,"email":"john@example.com","name":"John Smith","blocked":false,"created_at":"2012-09-17T09:41:56Z"},"closed":false,"updated_at":"2012-09-17T09:42:20Z","created_at":"2012-09-17T09:42:20Z"}]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
[{"id":1,"iid":1,"project_id":1,"title":"lorem ipsum","description":"","state":"opened","created_at":"2017-03-24T12:23:53.918Z","updated_at":"2017-03-24T12:23:53.918Z","target_branch":"master","source_branch":"def","upvotes":0,"downvotes":0,"author":{"name":"John Doe","username":"jdoe","id":1,"state":"active","avatar_url":"","web_url":"https://gitlab.com/jdoen"},"assignee":null,"source_project_id":1,"target_project_id":1,"labels":[],"work_in_progress":false,"milestone":{"id":1,"iid":1,"project_id":1,"title":"Test","description":"","state":"active","created_at":"2017-03-24T12:23:00.560Z","updated_at":"2017-03-24T12:23:00.560Z","due_date":null,"start_date":null},"merge_when_pipeline_succeeds":false,"merge_status":"can_be_merged","sha":"aec123d1775790b2347fdd684b5ba613fdeb994b","merge_commit_sha":null,"user_notes_count":0,"approvals_before_merge":null,"should_remove_source_branch":null,"force_remove_source_branch":false,"squash":false,"web_url":"https://gitlab.com/jdoe/milestone_merge_requests_test/merge_requests/2"},{"id":2,"iid":2,"project_id":1,"title":"ipsum lorem","description":"","state":"opened","created_at":"2017-03-24T12:23:24.662Z","updated_at":"2017-03-24T12:23:33.522Z","target_branch":"master","source_branch":"test1","upvotes":0,"downvotes":0,"author":{"name":"Joren","username":"jdoe","id":1,"state":"active","":"","web_url":"https://gitlab.com/jdoe"},"assignee":null,"source_project_id":1,"target_project_id":1,"labels":[],"work_in_progress":false,"milestone":{"id":1,"iid":1,"project_id":1,"title":"Test","description":"","state":"active","created_at":"2017-03-24T12:23:00.560Z","updated_at":"2017-03-24T12:23:00.560Z","due_date":null,"start_date":null},"merge_when_pipeline_succeeds":false,"merge_status":"can_be_merged","sha":"3ee44c9b40deddae596f838b97523c6f010fd80d","merge_commit_sha":null,"user_notes_count":0,"approvals_before_merge":null,"should_remove_source_branch":null,"force_remove_source_branch":true,"squash":false,"web_url":"https://gitlab.com/jdoe/milestone_merge_requests_test/merge_requests/1"}]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
[{"id": 1, "path": "john", "kind": "user"}]
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": 46,
|
|
3
|
+
"status": "success",
|
|
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
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": 46,
|
|
3
|
+
"status": "canceled",
|
|
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
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
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
|
+
]
|
|
@@ -0,0 +1,13 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
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"}}
|
|
@@ -0,0 +1 @@
|
|
|
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"}}]
|
|
@@ -0,0 +1,22 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
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
|
+
]
|
|
@@ -0,0 +1,21 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
[{"title":null,"project_id":2,"action_name":"opened","target_id":null,"target_type":null,"author_id":1,"data":{"before":"ac0c1aa3898d6dea54d7868ea6f9c45fd5e30c59","after":"66350dbb62a221bc619b665aef3e1e7d3b306747","ref":"refs/heads/master","user_id":1,"user_name":"Administrator","project_id":2,"repository":{"name":"gitlab-ci","url":"git@demo.gitlab.com:gitlab/gitlab-ci.git","description":"Continuous integration server for gitlabhq | Coordinator","homepage":"http://demo.gitlab.com/gitlab/gitlab-ci"},"commits":[{"id":"8cf469b039931bab37bbf025e6b69287ea3cfb0e","message":"Modify screenshot\n\nSigned-off-by: Dmitriy Zaporozhets \u003Cdummy@gmail.com\u003E","timestamp":"2014-05-20T10:34:27+00:00","url":"http://demo.gitlab.com/gitlab/gitlab-ci/commit/8cf469b039931bab37bbf025e6b69287ea3cfb0e","author":{"name":"Dummy","email":"dummy@gmail.com"}},{"id":"66350dbb62a221bc619b665aef3e1e7d3b306747","message":"Edit some code\n\nSigned-off-by: Dmitriy Zaporozhets \u003Cdummy@gmail.com\u003E","timestamp":"2014-05-20T10:35:15+00:00","url":"http://demo.gitlab.com/gitlab/gitlab-ci/commit/66350dbb62a221bc619b665aef3e1e7d3b306747","author":{"name":"Dummy","email":"dummy@gmail.com"}}],"total_commits_count":2},"target_title":null,"created_at":"2014-05-20T10:35:26.240Z"},{"title":null,"project_id":2,"action_name":"opened","target_id":2,"target_type":"MergeRequest","author_id":1,"data":null,"target_title":" Morbi et cursus leo. Sed eget vestibulum sapien","created_at":"2014-05-20T10:24:11.917Z"}]
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id":20,
|
|
3
|
+
"description":"desc",
|
|
4
|
+
"default_branch":"master",
|
|
5
|
+
"tag_list":[
|
|
6
|
+
|
|
7
|
+
],
|
|
8
|
+
"public":false,
|
|
9
|
+
"archived":false,
|
|
10
|
+
"visibility_level":10,
|
|
11
|
+
"ssh_url_to_repo":"git@git.gitlab.com:root/gitlab.git",
|
|
12
|
+
"http_url_to_repo":"http://git.gitlab.com/root/gitlab.git",
|
|
13
|
+
"web_url":"http://git.gitlab.com/root/gitlab",
|
|
14
|
+
"owner":{
|
|
15
|
+
"name":"Administrator",
|
|
16
|
+
"username":"root",
|
|
17
|
+
"id":1,
|
|
18
|
+
"state":"active",
|
|
19
|
+
"avatar_url":"http://git.gitlab.com/uploads/user/avatar/1/12586377.jpeg"
|
|
20
|
+
},
|
|
21
|
+
"name":"gitlab",
|
|
22
|
+
"name_with_namespace":"Administrator / gitlab",
|
|
23
|
+
"path":"gitlab",
|
|
24
|
+
"path_with_namespace":"root/gitlab",
|
|
25
|
+
"issues_enabled":true,
|
|
26
|
+
"merge_requests_enabled":true,
|
|
27
|
+
"wiki_enabled":true,
|
|
28
|
+
"snippets_enabled":false,
|
|
29
|
+
"created_at":"2015-06-08T01:29:17.190Z",
|
|
30
|
+
"last_activity_at":"2015-06-08T01:29:17.190Z",
|
|
31
|
+
"creator_id":1,
|
|
32
|
+
"namespace":{
|
|
33
|
+
"id":1,
|
|
34
|
+
"name":"root",
|
|
35
|
+
"path":"root",
|
|
36
|
+
"owner_id":1,
|
|
37
|
+
"created_at":"2015-05-28T19:23:40.445Z",
|
|
38
|
+
"updated_at":"2015-05-28T19:23:40.445Z",
|
|
39
|
+
"description":"",
|
|
40
|
+
"avatar":null
|
|
41
|
+
},
|
|
42
|
+
"forked_from_project":{
|
|
43
|
+
"id":3,
|
|
44
|
+
"name":"Gitlab",
|
|
45
|
+
"name_with_namespace":"Root / gitlab",
|
|
46
|
+
"path":"gitlab",
|
|
47
|
+
"path_with_namespace":"root/gitlab"
|
|
48
|
+
},
|
|
49
|
+
"avatar_url":null
|
|
50
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id":20,
|
|
3
|
+
"description":"desc",
|
|
4
|
+
"default_branch":"master",
|
|
5
|
+
"tag_list":[
|
|
6
|
+
|
|
7
|
+
],
|
|
8
|
+
"public":false,
|
|
9
|
+
"archived":false,
|
|
10
|
+
"visibility_level":10,
|
|
11
|
+
"ssh_url_to_repo":"git@git.gitlab.com:root/gitlab.git",
|
|
12
|
+
"http_url_to_repo":"http://git.gitlab.com/root/gitlab.git",
|
|
13
|
+
"web_url":"http://git.gitlab.com/root/gitlab",
|
|
14
|
+
"owner":{
|
|
15
|
+
"name":"Jack Smith",
|
|
16
|
+
"username":"jack.smith",
|
|
17
|
+
"id":2,
|
|
18
|
+
"state":"active",
|
|
19
|
+
"avatar_url":"http://git.gitlab.com/uploads/user/avatar/1/12586377.jpeg"
|
|
20
|
+
},
|
|
21
|
+
"name":"gitlab",
|
|
22
|
+
"name_with_namespace":"Jack Smith / gitlab",
|
|
23
|
+
"path":"gitlab",
|
|
24
|
+
"path_with_namespace":"jack.smith/gitlab",
|
|
25
|
+
"issues_enabled":true,
|
|
26
|
+
"merge_requests_enabled":true,
|
|
27
|
+
"wiki_enabled":true,
|
|
28
|
+
"snippets_enabled":false,
|
|
29
|
+
"created_at":"2015-06-08T01:29:17.190Z",
|
|
30
|
+
"last_activity_at":"2015-06-08T01:29:17.190Z",
|
|
31
|
+
"creator_id":1,
|
|
32
|
+
"namespace":{
|
|
33
|
+
"id":1,
|
|
34
|
+
"name":"jack.smith",
|
|
35
|
+
"path":"jack.smith",
|
|
36
|
+
"owner_id":2,
|
|
37
|
+
"created_at":"2015-05-28T19:23:40.445Z",
|
|
38
|
+
"updated_at":"2015-05-28T19:23:40.445Z",
|
|
39
|
+
"description":"",
|
|
40
|
+
"avatar":null
|
|
41
|
+
},
|
|
42
|
+
"forked_from_project":{
|
|
43
|
+
"id":3,
|
|
44
|
+
"name":"Gitlab",
|
|
45
|
+
"name_with_namespace":"Root / gitlab",
|
|
46
|
+
"path":"gitlab",
|
|
47
|
+
"path_with_namespace":"root/gitlab"
|
|
48
|
+
},
|
|
49
|
+
"avatar_url":null
|
|
50
|
+
}
|