-
Notifications
You must be signed in to change notification settings - Fork 235
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #111 from aritas1/v5
handle gitlab system hook inconsistencies
- Loading branch information
Showing
6 changed files
with
216 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,114 @@ | ||
{ | ||
"object_kind": "merge_request", | ||
"user": { | ||
"name": "Administrator", | ||
"username": "root", | ||
"avatar_url": "http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon" | ||
}, | ||
"project": { | ||
"name": "Example", | ||
"description": "", | ||
"web_url": "http://example.com/jsmith/example", | ||
"avatar_url": null, | ||
"git_ssh_url": "[email protected]:jsmith/example.git", | ||
"git_http_url": "http://example.com/jsmith/example.git", | ||
"namespace": "Jsmith", | ||
"visibility_level": 0, | ||
"path_with_namespace": "jsmith/example", | ||
"default_branch": "master", | ||
"ci_config_path": "", | ||
"homepage": "http://example.com/jsmith/example", | ||
"url": "[email protected]:jsmith/example.git", | ||
"ssh_url": "[email protected]:jsmith/example.git", | ||
"http_url": "http://example.com/jsmith/example.git" | ||
}, | ||
"object_attributes": { | ||
"id": 90, | ||
"target_branch": "master", | ||
"source_branch": "ms-viewport", | ||
"source_project_id": 14, | ||
"author_id": 51, | ||
"assignee_id": 6, | ||
"title": "MS-Viewport", | ||
"created_at": "2017-09-20T08:31:45.944Z", | ||
"updated_at": "2017-09-28T12:23:42.365Z", | ||
"milestone_id": null, | ||
"state": "opened", | ||
"merge_status": "unchecked", | ||
"target_project_id": 14, | ||
"iid": 1, | ||
"description": "", | ||
"updated_by_id": 1, | ||
"merge_error": null, | ||
"merge_params": { | ||
"force_remove_source_branch": "0" | ||
}, | ||
"merge_when_pipeline_succeeds": false, | ||
"merge_user_id": null, | ||
"merge_commit_sha": null, | ||
"deleted_at": null, | ||
"in_progress_merge_commit_sha": null, | ||
"lock_version": 5, | ||
"time_estimate": 0, | ||
"last_edited_at": "2017-09-27T12:43:37.558Z", | ||
"last_edited_by_id": 1, | ||
"head_pipeline_id": 61, | ||
"ref_fetched": true, | ||
"merge_jid": null, | ||
"source": { | ||
"name": "Awesome Project", | ||
"description": "", | ||
"web_url": "http://example.com/awesome_space/awesome_project", | ||
"avatar_url": null, | ||
"git_ssh_url": "[email protected]:awesome_space/awesome_project.git", | ||
"git_http_url": "http://example.com/awesome_space/awesome_project.git", | ||
"namespace": "root", | ||
"visibility_level": 0, | ||
"path_with_namespace": "awesome_space/awesome_project", | ||
"default_branch": "master", | ||
"ci_config_path": "", | ||
"homepage": "http://example.com/awesome_space/awesome_project", | ||
"url": "http://example.com/awesome_space/awesome_project.git", | ||
"ssh_url": "[email protected]:awesome_space/awesome_project.git", | ||
"http_url": "http://example.com/awesome_space/awesome_project.git" | ||
}, | ||
"target": { | ||
"name": "Awesome Project", | ||
"description": "Aut reprehenderit ut est.", | ||
"web_url": "http://example.com/awesome_space/awesome_project", | ||
"avatar_url": null, | ||
"git_ssh_url": "[email protected]:awesome_space/awesome_project.git", | ||
"git_http_url": "http://example.com/awesome_space/awesome_project.git", | ||
"namespace": "Awesome Space", | ||
"visibility_level": 0, | ||
"path_with_namespace": "awesome_space/awesome_project", | ||
"default_branch": "master", | ||
"ci_config_path": "", | ||
"homepage": "http://example.com/awesome_space/awesome_project", | ||
"url": "http://example.com/awesome_space/awesome_project.git", | ||
"ssh_url": "[email protected]:awesome_space/awesome_project.git", | ||
"http_url": "http://example.com/awesome_space/awesome_project.git" | ||
}, | ||
"last_commit": { | ||
"id": "ba3e0d8ff79c80d5b0bbb4f3e2e343e0aaa662b7", | ||
"message": "fixed readme", | ||
"timestamp": "2017-09-26T16:12:57Z", | ||
"url": "http://example.com/awesome_space/awesome_project/commits/da1560886d4f094c3e6c9ef40349f7d38b5d27d7", | ||
"author": { | ||
"name": "GitLab dev user", | ||
"email": "gitlabdev@dv6700.(none)" | ||
} | ||
}, | ||
"work_in_progress": false, | ||
"total_time_spent": 0, | ||
"human_total_time_spent": null, | ||
"human_time_estimate": null | ||
}, | ||
"labels": null, | ||
"repository": { | ||
"name": "git-gpg-test", | ||
"url": "[email protected]:awesome_space/awesome_project.git", | ||
"description": "", | ||
"homepage": "http://example.com/awesome_space/awesome_project" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
{ | ||
"event_name": "push", | ||
"before": "95790bf891e76fee5e1747ab589903a6a1f80f22", | ||
"after": "da1560886d4f094c3e6c9ef40349f7d38b5d27d7", | ||
"ref": "refs/heads/master", | ||
"checkout_sha": "da1560886d4f094c3e6c9ef40349f7d38b5d27d7", | ||
"user_id": 4, | ||
"user_name": "John Smith", | ||
"user_email": "[email protected]", | ||
"user_avatar": "https://s.gravatar.com/avatar/d4c74594d841139328695756648b6bd6?s=8://s.gravatar.com/avatar/d4c74594d841139328695756648b6bd6?s=80", | ||
"project_id": 15, | ||
"project":{ | ||
"name":"Diaspora", | ||
"description":"", | ||
"web_url":"http://example.com/mike/diaspora", | ||
"avatar_url":null, | ||
"git_ssh_url":"[email protected]:mike/diaspora.git", | ||
"git_http_url":"http://example.com/mike/diaspora.git", | ||
"namespace":"Mike", | ||
"visibility_level":0, | ||
"path_with_namespace":"mike/diaspora", | ||
"default_branch":"master", | ||
"homepage":"http://example.com/mike/diaspora", | ||
"url":"[email protected]:mike/diaspora.git", | ||
"ssh_url":"[email protected]:mike/diaspora.git", | ||
"http_url":"http://example.com/mike/diaspora.git" | ||
}, | ||
"repository":{ | ||
"name": "Diaspora", | ||
"url": "[email protected]:mike/diaspora.git", | ||
"description": "", | ||
"homepage": "http://example.com/mike/diaspora", | ||
"git_http_url":"http://example.com/mike/diaspora.git", | ||
"git_ssh_url":"[email protected]:mike/diaspora.git", | ||
"visibility_level":0 | ||
}, | ||
"commits": [ | ||
{ | ||
"id": "c5feabde2d8cd023215af4d2ceeb7a64839fc428", | ||
"message": "Add simple search to projects in public area", | ||
"timestamp": "2013-05-13T18:18:08+00:00", | ||
"url": "https://dev.gitlab.org/gitlab/gitlabhq/commit/c5feabde2d8cd023215af4d2ceeb7a64839fc428", | ||
"author": { | ||
"name": "Example User", | ||
"email": "[email protected]" | ||
} | ||
} | ||
], | ||
"total_commits_count": 1 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
{ | ||
"event_name": "tag_push", | ||
"before": "0000000000000000000000000000000000000000", | ||
"after": "82b3d5ae55f7080f1e6022629cdb57bfae7cccc7", | ||
"ref": "refs/tags/v1.0.0", | ||
"checkout_sha": "5937ac0a7beb003549fc5fd26fc247adbce4a52e", | ||
"user_id": 1, | ||
"user_name": "John Smith", | ||
"user_avatar": "https://s.gravatar.com/avatar/d4c74594d841139328695756648b6bd6?s=8://s.gravatar.com/avatar/d4c74594d841139328695756648b6bd6?s=80", | ||
"project_id": 1, | ||
"project":{ | ||
"name":"Example", | ||
"description":"", | ||
"web_url":"http://example.com/jsmith/example", | ||
"avatar_url":null, | ||
"git_ssh_url":"[email protected]:jsmith/example.git", | ||
"git_http_url":"http://example.com/jsmith/example.git", | ||
"namespace":"Jsmith", | ||
"visibility_level":0, | ||
"path_with_namespace":"jsmith/example", | ||
"default_branch":"master", | ||
"homepage":"http://example.com/jsmith/example", | ||
"url":"[email protected]:jsmith/example.git", | ||
"ssh_url":"[email protected]:jsmith/example.git", | ||
"http_url":"http://example.com/jsmith/example.git" | ||
}, | ||
"repository":{ | ||
"name": "Example", | ||
"url": "ssh://[email protected]/jsmith/example.git", | ||
"description": "", | ||
"homepage": "http://example.com/jsmith/example", | ||
"git_http_url":"http://example.com/jsmith/example.git", | ||
"git_ssh_url":"[email protected]:jsmith/example.git", | ||
"visibility_level":0 | ||
}, | ||
"commits": [], | ||
"total_commits_count": 0 | ||
} |