aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkongr45gpen <electrovesta@gmail.com>2017-11-13 00:48:14 +0200
committerkongr45gpen <electrovesta@gmail.com>2017-11-13 00:48:14 +0200
commita01e5e5e16c7a119d7fbac00bb5c4722344ff08e (patch)
tree4414ad31f16d49b6fc120f3f262e9badb9fc862a
parent664fb0d72095f4a606028bb40a88d09b0161cb1c (diff)
downloadsupybot_github-a01e5e5e16c7a119d7fbac00bb5c4722344ff08e.tar.gz
supybot_github-a01e5e5e16c7a119d7fbac00bb5c4722344ff08e.tar.bz2
supybot_github-a01e5e5e16c7a119d7fbac00bb5c4722344ff08e.zip
Use a better verb for PR synchronisation
-rw-r--r--local/utility.py6
-rwxr-xr-xrequest.sh2
-rw-r--r--samples/pr-synchronize-push.json237
-rw-r--r--samples/pr-synchronize.json432
4 files changed, 675 insertions, 2 deletions
diff --git a/local/utility.py b/local/utility.py
index fbf2db4..86e1b91 100644
--- a/local/utility.py
+++ b/local/utility.py
@@ -104,6 +104,10 @@ def maxLen(msg, maxn=400, splitLines=True):
def colorAction(action):
"""Give an action string (e.g. created, edited) and get a nice IRC colouring"""
+ # Fix past tense for some github verbs
+ if action in ["synchronize"]:
+ action += "d"
+
if action in ["created", "opened", "tagged", "success", "passed", "fixed",
"published", "completed", "ready"]:
return ircutils.bold(ircutils.mircColor(action, "green"))
@@ -111,7 +115,7 @@ def colorAction(action):
"failed", "errored", "failure", "still failing",
"broken", "error"]:
return ircutils.bold(ircutils.mircColor(action, "red"))
- if action in ["assigned", "merged", "synchronize"]:
+ if action in ["assigned", "merged", "synchronized"]:
return ircutils.bold(ircutils.mircColor(action, "light blue"))
if action in ["reopened", "pending"]:
return ircutils.bold(ircutils.mircColor(action, "blue"))
diff --git a/request.sh b/request.sh
index 61864e7..cf81721 100755
--- a/request.sh
+++ b/request.sh
@@ -9,4 +9,4 @@ echo $hash
echo -n "$DATA" > ~/repos/supybot-github/cmpr
-curl --header "X-GitHub-Event: $1" --header "X-Hub-Signature: sha1=$hash" --data "$DATA" http://localhost:8093/
+curl --header "X-GitHub-Event: $1" --header "X-Hub-Signature: sha1=$hash" --header "X-GitHub-Delivery: nil" --data "$DATA" http://localhost:8093/
diff --git a/samples/pr-synchronize-push.json b/samples/pr-synchronize-push.json
new file mode 100644
index 0000000..01188d5
--- /dev/null
+++ b/samples/pr-synchronize-push.json
@@ -0,0 +1,237 @@
+{
+ "ref": "refs/heads/pullr1",
+ "before": "95074a64cad4545dde9a6a9cc4966b661fd24f88",
+ "after": "ca0d54b36485433061a1301e211494b90ec990a0",
+ "created": false,
+ "deleted": false,
+ "forced": false,
+ "base_ref": null,
+ "compare": "https://github.com/kongr45gpen/test/compare/95074a64cad4...ca0d54b36485",
+ "commits": [
+ {
+ "id": "8d9cdf6f4ba29b117006f3b25635c22eacdad3c0",
+ "tree_id": "3ddaea069ced58b2e4ad897f031a9f8543d1a734",
+ "distinct": true,
+ "message": "asdfjioaiojafdjio",
+ "timestamp": "2017-11-10T13:20:58+02:00",
+ "url": "https://github.com/kongr45gpen/test/commit/8d9cdf6f4ba29b117006f3b25635c22eacdad3c0",
+ "author": {
+ "name": "kongr45gpen",
+ "email": "electrovesta@gmail.com",
+ "username": "kongr45gpen"
+ },
+ "committer": {
+ "name": "kongr45gpen",
+ "email": "electrovesta@gmail.com",
+ "username": "kongr45gpen"
+ },
+ "added": [
+
+ ],
+ "removed": [
+
+ ],
+ "modified": [
+ "README"
+ ]
+ },
+ {
+ "id": "9ae12ce15059a297d4a04ad3d33813620ec10f40",
+ "tree_id": "295e39968ba68695348e568ed1cdad9b46bf1151",
+ "distinct": true,
+ "message": "WOWO WOWOWOWOWOWOWOW WOWOWOWOWOWOWOW WOWOW",
+ "timestamp": "2017-11-10T13:21:10+02:00",
+ "url": "https://github.com/kongr45gpen/test/commit/9ae12ce15059a297d4a04ad3d33813620ec10f40",
+ "author": {
+ "name": "kongr45gpen",
+ "email": "electrovesta@gmail.com",
+ "username": "kongr45gpen"
+ },
+ "committer": {
+ "name": "kongr45gpen",
+ "email": "electrovesta@gmail.com",
+ "username": "kongr45gpen"
+ },
+ "added": [
+
+ ],
+ "removed": [
+
+ ],
+ "modified": [
+ "README"
+ ]
+ },
+ {
+ "id": "ca0d54b36485433061a1301e211494b90ec990a0",
+ "tree_id": "ec5fc59048c84dca1dfc2fa1be1c26c42dec7c2b",
+ "distinct": true,
+ "message": "Remove useless stuff",
+ "timestamp": "2017-11-10T13:21:26+02:00",
+ "url": "https://github.com/kongr45gpen/test/commit/ca0d54b36485433061a1301e211494b90ec990a0",
+ "author": {
+ "name": "kongr45gpen",
+ "email": "electrovesta@gmail.com",
+ "username": "kongr45gpen"
+ },
+ "committer": {
+ "name": "kongr45gpen",
+ "email": "electrovesta@gmail.com",
+ "username": "kongr45gpen"
+ },
+ "added": [
+
+ ],
+ "removed": [
+
+ ],
+ "modified": [
+ "README"
+ ]
+ }
+ ],
+ "head_commit": {
+ "id": "ca0d54b36485433061a1301e211494b90ec990a0",
+ "tree_id": "ec5fc59048c84dca1dfc2fa1be1c26c42dec7c2b",
+ "distinct": true,
+ "message": "Remove useless stuff",
+ "timestamp": "2017-11-10T13:21:26+02:00",
+ "url": "https://github.com/kongr45gpen/test/commit/ca0d54b36485433061a1301e211494b90ec990a0",
+ "author": {
+ "name": "kongr45gpen",
+ "email": "electrovesta@gmail.com",
+ "username": "kongr45gpen"
+ },
+ "committer": {
+ "name": "kongr45gpen",
+ "email": "electrovesta@gmail.com",
+ "username": "kongr45gpen"
+ },
+ "added": [
+
+ ],
+ "removed": [
+
+ ],
+ "modified": [
+ "README"
+ ]
+ },
+ "repository": {
+ "id": 7406434,
+ "name": "test",
+ "full_name": "kongr45gpen/test",
+ "owner": {
+ "name": "kongr45gpen",
+ "email": "electrovesta@gmail.com",
+ "login": "kongr45gpen",
+ "id": 720678,
+ "avatar_url": "https://avatars3.githubusercontent.com/u/720678?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/kongr45gpen",
+ "html_url": "https://github.com/kongr45gpen",
+ "followers_url": "https://api.github.com/users/kongr45gpen/followers",
+ "following_url": "https://api.github.com/users/kongr45gpen/following{/other_user}",
+ "gists_url": "https://api.github.com/users/kongr45gpen/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/kongr45gpen/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/kongr45gpen/subscriptions",
+ "organizations_url": "https://api.github.com/users/kongr45gpen/orgs",
+ "repos_url": "https://api.github.com/users/kongr45gpen/repos",
+ "events_url": "https://api.github.com/users/kongr45gpen/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/kongr45gpen/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "private": false,
+ "html_url": "https://github.com/kongr45gpen/test",
+ "description": "You can safely ignore this repo :)",
+ "fork": false,
+ "url": "https://github.com/kongr45gpen/test",
+ "forks_url": "https://api.github.com/repos/kongr45gpen/test/forks",
+ "keys_url": "https://api.github.com/repos/kongr45gpen/test/keys{/key_id}",
+ "collaborators_url": "https://api.github.com/repos/kongr45gpen/test/collaborators{/collaborator}",
+ "teams_url": "https://api.github.com/repos/kongr45gpen/test/teams",
+ "hooks_url": "https://api.github.com/repos/kongr45gpen/test/hooks",
+ "issue_events_url": "https://api.github.com/repos/kongr45gpen/test/issues/events{/number}",
+ "events_url": "https://api.github.com/repos/kongr45gpen/test/events",
+ "assignees_url": "https://api.github.com/repos/kongr45gpen/test/assignees{/user}",
+ "branches_url": "https://api.github.com/repos/kongr45gpen/test/branches{/branch}",
+ "tags_url": "https://api.github.com/repos/kongr45gpen/test/tags",
+ "blobs_url": "https://api.github.com/repos/kongr45gpen/test/git/blobs{/sha}",
+ "git_tags_url": "https://api.github.com/repos/kongr45gpen/test/git/tags{/sha}",
+ "git_refs_url": "https://api.github.com/repos/kongr45gpen/test/git/refs{/sha}",
+ "trees_url": "https://api.github.com/repos/kongr45gpen/test/git/trees{/sha}",
+ "statuses_url": "https://api.github.com/repos/kongr45gpen/test/statuses/{sha}",
+ "languages_url": "https://api.github.com/repos/kongr45gpen/test/languages",
+ "stargazers_url": "https://api.github.com/repos/kongr45gpen/test/stargazers",
+ "contributors_url": "https://api.github.com/repos/kongr45gpen/test/contributors",
+ "subscribers_url": "https://api.github.com/repos/kongr45gpen/test/subscribers",
+ "subscription_url": "https://api.github.com/repos/kongr45gpen/test/subscription",
+ "commits_url": "https://api.github.com/repos/kongr45gpen/test/commits{/sha}",
+ "git_commits_url": "https://api.github.com/repos/kongr45gpen/test/git/commits{/sha}",
+ "comments_url": "https://api.github.com/repos/kongr45gpen/test/comments{/number}",
+ "issue_comment_url": "https://api.github.com/repos/kongr45gpen/test/issues/comments{/number}",
+ "contents_url": "https://api.github.com/repos/kongr45gpen/test/contents/{+path}",
+ "compare_url": "https://api.github.com/repos/kongr45gpen/test/compare/{base}...{head}",
+ "merges_url": "https://api.github.com/repos/kongr45gpen/test/merges",
+ "archive_url": "https://api.github.com/repos/kongr45gpen/test/{archive_format}{/ref}",
+ "downloads_url": "https://api.github.com/repos/kongr45gpen/test/downloads",
+ "issues_url": "https://api.github.com/repos/kongr45gpen/test/issues{/number}",
+ "pulls_url": "https://api.github.com/repos/kongr45gpen/test/pulls{/number}",
+ "milestones_url": "https://api.github.com/repos/kongr45gpen/test/milestones{/number}",
+ "notifications_url": "https://api.github.com/repos/kongr45gpen/test/notifications{?since,all,participating}",
+ "labels_url": "https://api.github.com/repos/kongr45gpen/test/labels{/name}",
+ "releases_url": "https://api.github.com/repos/kongr45gpen/test/releases{/id}",
+ "deployments_url": "https://api.github.com/repos/kongr45gpen/test/deployments",
+ "created_at": 1357130000,
+ "updated_at": "2017-05-07T12:27:10Z",
+ "pushed_at": 1510313088,
+ "git_url": "git://github.com/kongr45gpen/test.git",
+ "ssh_url": "git@github.com:kongr45gpen/test.git",
+ "clone_url": "https://github.com/kongr45gpen/test.git",
+ "svn_url": "https://github.com/kongr45gpen/test",
+ "homepage": "",
+ "size": 31,
+ "stargazers_count": 0,
+ "watchers_count": 0,
+ "language": "Ruby",
+ "has_issues": true,
+ "has_projects": true,
+ "has_downloads": true,
+ "has_wiki": true,
+ "has_pages": false,
+ "forks_count": 1,
+ "mirror_url": null,
+ "archived": false,
+ "open_issues_count": 5,
+ "forks": 1,
+ "open_issues": 5,
+ "watchers": 0,
+ "default_branch": "pullr1",
+ "stargazers": 0,
+ "master_branch": "pullr1"
+ },
+ "pusher": {
+ "name": "kongr45gpen",
+ "email": "electrovesta@gmail.com"
+ },
+ "sender": {
+ "login": "kongr45gpen",
+ "id": 720678,
+ "avatar_url": "https://avatars3.githubusercontent.com/u/720678?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/kongr45gpen",
+ "html_url": "https://github.com/kongr45gpen",
+ "followers_url": "https://api.github.com/users/kongr45gpen/followers",
+ "following_url": "https://api.github.com/users/kongr45gpen/following{/other_user}",
+ "gists_url": "https://api.github.com/users/kongr45gpen/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/kongr45gpen/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/kongr45gpen/subscriptions",
+ "organizations_url": "https://api.github.com/users/kongr45gpen/orgs",
+ "repos_url": "https://api.github.com/users/kongr45gpen/repos",
+ "events_url": "https://api.github.com/users/kongr45gpen/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/kongr45gpen/received_events",
+ "type": "User",
+ "site_admin": false
+ }
+}
diff --git a/samples/pr-synchronize.json b/samples/pr-synchronize.json
new file mode 100644
index 0000000..899c2ed
--- /dev/null
+++ b/samples/pr-synchronize.json
@@ -0,0 +1,432 @@
+{
+ "action": "synchronize",
+ "number": 10,
+ "pull_request": {
+ "url": "https://api.github.com/repos/kongr45gpen/test/pulls/10",
+ "id": 99676627,
+ "html_url": "https://github.com/kongr45gpen/test/pull/10",
+ "diff_url": "https://github.com/kongr45gpen/test/pull/10.diff",
+ "patch_url": "https://github.com/kongr45gpen/test/pull/10.patch",
+ "issue_url": "https://api.github.com/repos/kongr45gpen/test/issues/10",
+ "number": 10,
+ "state": "open",
+ "locked": false,
+ "title": "Fix toast",
+ "user": {
+ "login": "kongr45gpen",
+ "id": 720678,
+ "avatar_url": "https://avatars3.githubusercontent.com/u/720678?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/kongr45gpen",
+ "html_url": "https://github.com/kongr45gpen",
+ "followers_url": "https://api.github.com/users/kongr45gpen/followers",
+ "following_url": "https://api.github.com/users/kongr45gpen/following{/other_user}",
+ "gists_url": "https://api.github.com/users/kongr45gpen/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/kongr45gpen/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/kongr45gpen/subscriptions",
+ "organizations_url": "https://api.github.com/users/kongr45gpen/orgs",
+ "repos_url": "https://api.github.com/users/kongr45gpen/repos",
+ "events_url": "https://api.github.com/users/kongr45gpen/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/kongr45gpen/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "body": "",
+ "created_at": "2016-12-29T16:57:44Z",
+ "updated_at": "2017-11-10T11:24:48Z",
+ "closed_at": null,
+ "merged_at": null,
+ "merge_commit_sha": "f2b45a96be0424fbae2635d4d0e575c5cd74cafe",
+ "assignee": null,
+ "assignees": [
+
+ ],
+ "requested_reviewers": [
+
+ ],
+ "milestone": null,
+ "commits_url": "https://api.github.com/repos/kongr45gpen/test/pulls/10/commits",
+ "review_comments_url": "https://api.github.com/repos/kongr45gpen/test/pulls/10/comments",
+ "review_comment_url": "https://api.github.com/repos/kongr45gpen/test/pulls/comments{/number}",
+ "comments_url": "https://api.github.com/repos/kongr45gpen/test/issues/10/comments",
+ "statuses_url": "https://api.github.com/repos/kongr45gpen/test/statuses/ca0d54b36485433061a1301e211494b90ec990a0",
+ "head": {
+ "label": "kongr45gpen:pullr1",
+ "ref": "pullr1",
+ "sha": "ca0d54b36485433061a1301e211494b90ec990a0",
+ "user": {
+ "login": "kongr45gpen",
+ "id": 720678,
+ "avatar_url": "https://avatars3.githubusercontent.com/u/720678?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/kongr45gpen",
+ "html_url": "https://github.com/kongr45gpen",
+ "followers_url": "https://api.github.com/users/kongr45gpen/followers",
+ "following_url": "https://api.github.com/users/kongr45gpen/following{/other_user}",
+ "gists_url": "https://api.github.com/users/kongr45gpen/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/kongr45gpen/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/kongr45gpen/subscriptions",
+ "organizations_url": "https://api.github.com/users/kongr45gpen/orgs",
+ "repos_url": "https://api.github.com/users/kongr45gpen/repos",
+ "events_url": "https://api.github.com/users/kongr45gpen/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/kongr45gpen/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "repo": {
+ "id": 7406434,
+ "name": "test",
+ "full_name": "kongr45gpen/test",
+ "owner": {
+ "login": "kongr45gpen",
+ "id": 720678,
+ "avatar_url": "https://avatars3.githubusercontent.com/u/720678?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/kongr45gpen",
+ "html_url": "https://github.com/kongr45gpen",
+ "followers_url": "https://api.github.com/users/kongr45gpen/followers",
+ "following_url": "https://api.github.com/users/kongr45gpen/following{/other_user}",
+ "gists_url": "https://api.github.com/users/kongr45gpen/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/kongr45gpen/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/kongr45gpen/subscriptions",
+ "organizations_url": "https://api.github.com/users/kongr45gpen/orgs",
+ "repos_url": "https://api.github.com/users/kongr45gpen/repos",
+ "events_url": "https://api.github.com/users/kongr45gpen/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/kongr45gpen/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "private": false,
+ "html_url": "https://github.com/kongr45gpen/test",
+ "description": "You can safely ignore this repo :)",
+ "fork": false,
+ "url": "https://api.github.com/repos/kongr45gpen/test",
+ "forks_url": "https://api.github.com/repos/kongr45gpen/test/forks",
+ "keys_url": "https://api.github.com/repos/kongr45gpen/test/keys{/key_id}",
+ "collaborators_url": "https://api.github.com/repos/kongr45gpen/test/collaborators{/collaborator}",
+ "teams_url": "https://api.github.com/repos/kongr45gpen/test/teams",
+ "hooks_url": "https://api.github.com/repos/kongr45gpen/test/hooks",
+ "issue_events_url": "https://api.github.com/repos/kongr45gpen/test/issues/events{/number}",
+ "events_url": "https://api.github.com/repos/kongr45gpen/test/events",
+ "assignees_url": "https://api.github.com/repos/kongr45gpen/test/assignees{/user}",
+ "branches_url": "https://api.github.com/repos/kongr45gpen/test/branches{/branch}",
+ "tags_url": "https://api.github.com/repos/kongr45gpen/test/tags",
+ "blobs_url": "https://api.github.com/repos/kongr45gpen/test/git/blobs{/sha}",
+ "git_tags_url": "https://api.github.com/repos/kongr45gpen/test/git/tags{/sha}",
+ "git_refs_url": "https://api.github.com/repos/kongr45gpen/test/git/refs{/sha}",
+ "trees_url": "https://api.github.com/repos/kongr45gpen/test/git/trees{/sha}",
+ "statuses_url": "https://api.github.com/repos/kongr45gpen/test/statuses/{sha}",
+ "languages_url": "https://api.github.com/repos/kongr45gpen/test/languages",
+ "stargazers_url": "https://api.github.com/repos/kongr45gpen/test/stargazers",
+ "contributors_url": "https://api.github.com/repos/kongr45gpen/test/contributors",
+ "subscribers_url": "https://api.github.com/repos/kongr45gpen/test/subscribers",
+ "subscription_url": "https://api.github.com/repos/kongr45gpen/test/subscription",
+ "commits_url": "https://api.github.com/repos/kongr45gpen/test/commits{/sha}",
+ "git_commits_url": "https://api.github.com/repos/kongr45gpen/test/git/commits{/sha}",
+ "comments_url": "https://api.github.com/repos/kongr45gpen/test/comments{/number}",
+ "issue_comment_url": "https://api.github.com/repos/kongr45gpen/test/issues/comments{/number}",
+ "contents_url": "https://api.github.com/repos/kongr45gpen/test/contents/{+path}",
+ "compare_url": "https://api.github.com/repos/kongr45gpen/test/compare/{base}...{head}",
+ "merges_url": "https://api.github.com/repos/kongr45gpen/test/merges",
+ "archive_url": "https://api.github.com/repos/kongr45gpen/test/{archive_format}{/ref}",
+ "downloads_url": "https://api.github.com/repos/kongr45gpen/test/downloads",
+ "issues_url": "https://api.github.com/repos/kongr45gpen/test/issues{/number}",
+ "pulls_url": "https://api.github.com/repos/kongr45gpen/test/pulls{/number}",
+ "milestones_url": "https://api.github.com/repos/kongr45gpen/test/milestones{/number}",
+ "notifications_url": "https://api.github.com/repos/kongr45gpen/test/notifications{?since,all,participating}",
+ "labels_url": "https://api.github.com/repos/kongr45gpen/test/labels{/name}",
+ "releases_url": "https://api.github.com/repos/kongr45gpen/test/releases{/id}",
+ "deployments_url": "https://api.github.com/repos/kongr45gpen/test/deployments",
+ "created_at": "2013-01-02T12:33:20Z",
+ "updated_at": "2017-05-07T12:27:10Z",
+ "pushed_at": "2017-11-10T11:24:48Z",
+ "git_url": "git://github.com/kongr45gpen/test.git",
+ "ssh_url": "git@github.com:kongr45gpen/test.git",
+ "clone_url": "https://github.com/kongr45gpen/test.git",
+ "svn_url": "https://github.com/kongr45gpen/test",
+ "homepage": "",
+ "size": 31,
+ "stargazers_count": 0,
+ "watchers_count": 0,
+ "language": "Ruby",
+ "has_issues": true,
+ "has_projects": true,
+ "has_downloads": true,
+ "has_wiki": true,
+ "has_pages": false,
+ "forks_count": 1,
+ "mirror_url": null,
+ "archived": false,
+ "open_issues_count": 5,
+ "forks": 1,
+ "open_issues": 5,
+ "watchers": 0,
+ "default_branch": "pullr1"
+ }
+ },
+ "base": {
+ "label": "kongr45gpen:toast",
+ "ref": "toast",
+ "sha": "af7c1f1712f72e413f7fbd5f623b1cf57855a8c3",
+ "user": {
+ "login": "kongr45gpen",
+ "id": 720678,
+ "avatar_url": "https://avatars3.githubusercontent.com/u/720678?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/kongr45gpen",
+ "html_url": "https://github.com/kongr45gpen",
+ "followers_url": "https://api.github.com/users/kongr45gpen/followers",
+ "following_url": "https://api.github.com/users/kongr45gpen/following{/other_user}",
+ "gists_url": "https://api.github.com/users/kongr45gpen/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/kongr45gpen/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/kongr45gpen/subscriptions",
+ "organizations_url": "https://api.github.com/users/kongr45gpen/orgs",
+ "repos_url": "https://api.github.com/users/kongr45gpen/repos",
+ "events_url": "https://api.github.com/users/kongr45gpen/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/kongr45gpen/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "repo": {
+ "id": 7406434,
+ "name": "test",
+ "full_name": "kongr45gpen/test",
+ "owner": {
+ "login": "kongr45gpen",
+ "id": 720678,
+ "avatar_url": "https://avatars3.githubusercontent.com/u/720678?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/kongr45gpen",
+ "html_url": "https://github.com/kongr45gpen",
+ "followers_url": "https://api.github.com/users/kongr45gpen/followers",
+ "following_url": "https://api.github.com/users/kongr45gpen/following{/other_user}",
+ "gists_url": "https://api.github.com/users/kongr45gpen/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/kongr45gpen/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/kongr45gpen/subscriptions",
+ "organizations_url": "https://api.github.com/users/kongr45gpen/orgs",
+ "repos_url": "https://api.github.com/users/kongr45gpen/repos",
+ "events_url": "https://api.github.com/users/kongr45gpen/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/kongr45gpen/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "private": false,
+ "html_url": "https://github.com/kongr45gpen/test",
+ "description": "You can safely ignore this repo :)",
+ "fork": false,
+ "url": "https://api.github.com/repos/kongr45gpen/test",
+ "forks_url": "https://api.github.com/repos/kongr45gpen/test/forks",
+ "keys_url": "https://api.github.com/repos/kongr45gpen/test/keys{/key_id}",
+ "collaborators_url": "https://api.github.com/repos/kongr45gpen/test/collaborators{/collaborator}",
+ "teams_url": "https://api.github.com/repos/kongr45gpen/test/teams",
+ "hooks_url": "https://api.github.com/repos/kongr45gpen/test/hooks",
+ "issue_events_url": "https://api.github.com/repos/kongr45gpen/test/issues/events{/number}",
+ "events_url": "https://api.github.com/repos/kongr45gpen/test/events",
+ "assignees_url": "https://api.github.com/repos/kongr45gpen/test/assignees{/user}",
+ "branches_url": "https://api.github.com/repos/kongr45gpen/test/branches{/branch}",
+ "tags_url": "https://api.github.com/repos/kongr45gpen/test/tags",
+ "blobs_url": "https://api.github.com/repos/kongr45gpen/test/git/blobs{/sha}",
+ "git_tags_url": "https://api.github.com/repos/kongr45gpen/test/git/tags{/sha}",
+ "git_refs_url": "https://api.github.com/repos/kongr45gpen/test/git/refs{/sha}",
+ "trees_url": "https://api.github.com/repos/kongr45gpen/test/git/trees{/sha}",
+ "statuses_url": "https://api.github.com/repos/kongr45gpen/test/statuses/{sha}",
+ "languages_url": "https://api.github.com/repos/kongr45gpen/test/languages",
+ "stargazers_url": "https://api.github.com/repos/kongr45gpen/test/stargazers",
+ "contributors_url": "https://api.github.com/repos/kongr45gpen/test/contributors",
+ "subscribers_url": "https://api.github.com/repos/kongr45gpen/test/subscribers",
+ "subscription_url": "https://api.github.com/repos/kongr45gpen/test/subscription",
+ "commits_url": "https://api.github.com/repos/kongr45gpen/test/commits{/sha}",
+ "git_commits_url": "https://api.github.com/repos/kongr45gpen/test/git/commits{/sha}",
+ "comments_url": "https://api.github.com/repos/kongr45gpen/test/comments{/number}",
+ "issue_comment_url": "https://api.github.com/repos/kongr45gpen/test/issues/comments{/number}",
+ "contents_url": "https://api.github.com/repos/kongr45gpen/test/contents/{+path}",
+ "compare_url": "https://api.github.com/repos/kongr45gpen/test/compare/{base}...{head}",
+ "merges_url": "https://api.github.com/repos/kongr45gpen/test/merges",
+ "archive_url": "https://api.github.com/repos/kongr45gpen/test/{archive_format}{/ref}",
+ "downloads_url": "https://api.github.com/repos/kongr45gpen/test/downloads",
+ "issues_url": "https://api.github.com/repos/kongr45gpen/test/issues{/number}",
+ "pulls_url": "https://api.github.com/repos/kongr45gpen/test/pulls{/number}",
+ "milestones_url": "https://api.github.com/repos/kongr45gpen/test/milestones{/number}",
+ "notifications_url": "https://api.github.com/repos/kongr45gpen/test/notifications{?since,all,participating}",
+ "labels_url": "https://api.github.com/repos/kongr45gpen/test/labels{/name}",
+ "releases_url": "https://api.github.com/repos/kongr45gpen/test/releases{/id}",
+ "deployments_url": "https://api.github.com/repos/kongr45gpen/test/deployments",
+ "created_at": "2013-01-02T12:33:20Z",
+ "updated_at": "2017-05-07T12:27:10Z",
+ "pushed_at": "2017-11-10T11:24:48Z",
+ "git_url": "git://github.com/kongr45gpen/test.git",
+ "ssh_url": "git@github.com:kongr45gpen/test.git",
+ "clone_url": "https://github.com/kongr45gpen/test.git",
+ "svn_url": "https://github.com/kongr45gpen/test",
+ "homepage": "",
+ "size": 31,
+ "stargazers_count": 0,
+ "watchers_count": 0,
+ "language": "Ruby",
+ "has_issues": true,
+ "has_projects": true,
+ "has_downloads": true,
+ "has_wiki": true,
+ "has_pages": false,
+ "forks_count": 1,
+ "mirror_url": null,
+ "archived": false,
+ "open_issues_count": 5,
+ "forks": 1,
+ "open_issues": 5,
+ "watchers": 0,
+ "default_branch": "pullr1"
+ }
+ },
+ "_links": {
+ "self": {
+ "href": "https://api.github.com/repos/kongr45gpen/test/pulls/10"
+ },
+ "html": {
+ "href": "https://github.com/kongr45gpen/test/pull/10"
+ },
+ "issue": {
+ "href": "https://api.github.com/repos/kongr45gpen/test/issues/10"
+ },
+ "comments": {
+ "href": "https://api.github.com/repos/kongr45gpen/test/issues/10/comments"
+ },
+ "review_comments": {
+ "href": "https://api.github.com/repos/kongr45gpen/test/pulls/10/comments"
+ },
+ "review_comment": {
+ "href": "https://api.github.com/repos/kongr45gpen/test/pulls/comments{/number}"
+ },
+ "commits": {
+ "href": "https://api.github.com/repos/kongr45gpen/test/pulls/10/commits"
+ },
+ "statuses": {
+ "href": "https://api.github.com/repos/kongr45gpen/test/statuses/ca0d54b36485433061a1301e211494b90ec990a0"
+ }
+ },
+ "author_association": "OWNER",
+ "merged": false,
+ "mergeable": null,
+ "rebaseable": null,
+ "mergeable_state": "unknown",
+ "merged_by": null,
+ "comments": 0,
+ "review_comments": 0,
+ "maintainer_can_modify": false,
+ "commits": 39,
+ "additions": 45,
+ "deletions": 480,
+ "changed_files": 6
+ },
+ "before": "95074a64cad4545dde9a6a9cc4966b661fd24f88",
+ "after": "ca0d54b36485433061a1301e211494b90ec990a0",
+ "repository": {
+ "id": 7406434,
+ "name": "test",
+ "full_name": "kongr45gpen/test",
+ "owner": {
+ "login": "kongr45gpen",
+ "id": 720678,
+ "avatar_url": "https://avatars3.githubusercontent.com/u/720678?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/kongr45gpen",
+ "html_url": "https://github.com/kongr45gpen",
+ "followers_url": "https://api.github.com/users/kongr45gpen/followers",
+ "following_url": "https://api.github.com/users/kongr45gpen/following{/other_user}",
+ "gists_url": "https://api.github.com/users/kongr45gpen/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/kongr45gpen/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/kongr45gpen/subscriptions",
+ "organizations_url": "https://api.github.com/users/kongr45gpen/orgs",
+ "repos_url": "https://api.github.com/users/kongr45gpen/repos",
+ "events_url": "https://api.github.com/users/kongr45gpen/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/kongr45gpen/received_events",
+ "type": "User",
+ "site_admin": false
+ },
+ "private": false,
+ "html_url": "https://github.com/kongr45gpen/test",
+ "description": "You can safely ignore this repo :)",
+ "fork": false,
+ "url": "https://api.github.com/repos/kongr45gpen/test",
+ "forks_url": "https://api.github.com/repos/kongr45gpen/test/forks",
+ "keys_url": "https://api.github.com/repos/kongr45gpen/test/keys{/key_id}",
+ "collaborators_url": "https://api.github.com/repos/kongr45gpen/test/collaborators{/collaborator}",
+ "teams_url": "https://api.github.com/repos/kongr45gpen/test/teams",
+ "hooks_url": "https://api.github.com/repos/kongr45gpen/test/hooks",
+ "issue_events_url": "https://api.github.com/repos/kongr45gpen/test/issues/events{/number}",
+ "events_url": "https://api.github.com/repos/kongr45gpen/test/events",
+ "assignees_url": "https://api.github.com/repos/kongr45gpen/test/assignees{/user}",
+ "branches_url": "https://api.github.com/repos/kongr45gpen/test/branches{/branch}",
+ "tags_url": "https://api.github.com/repos/kongr45gpen/test/tags",
+ "blobs_url": "https://api.github.com/repos/kongr45gpen/test/git/blobs{/sha}",
+ "git_tags_url": "https://api.github.com/repos/kongr45gpen/test/git/tags{/sha}",
+ "git_refs_url": "https://api.github.com/repos/kongr45gpen/test/git/refs{/sha}",
+ "trees_url": "https://api.github.com/repos/kongr45gpen/test/git/trees{/sha}",
+ "statuses_url": "https://api.github.com/repos/kongr45gpen/test/statuses/{sha}",
+ "languages_url": "https://api.github.com/repos/kongr45gpen/test/languages",
+ "stargazers_url": "https://api.github.com/repos/kongr45gpen/test/stargazers",
+ "contributors_url": "https://api.github.com/repos/kongr45gpen/test/contributors",
+ "subscribers_url": "https://api.github.com/repos/kongr45gpen/test/subscribers",
+ "subscription_url": "https://api.github.com/repos/kongr45gpen/test/subscription",
+ "commits_url": "https://api.github.com/repos/kongr45gpen/test/commits{/sha}",
+ "git_commits_url": "https://api.github.com/repos/kongr45gpen/test/git/commits{/sha}",
+ "comments_url": "https://api.github.com/repos/kongr45gpen/test/comments{/number}",
+ "issue_comment_url": "https://api.github.com/repos/kongr45gpen/test/issues/comments{/number}",
+ "contents_url": "https://api.github.com/repos/kongr45gpen/test/contents/{+path}",
+ "compare_url": "https://api.github.com/repos/kongr45gpen/test/compare/{base}...{head}",
+ "merges_url": "https://api.github.com/repos/kongr45gpen/test/merges",
+ "archive_url": "https://api.github.com/repos/kongr45gpen/test/{archive_format}{/ref}",
+ "downloads_url": "https://api.github.com/repos/kongr45gpen/test/downloads",
+ "issues_url": "https://api.github.com/repos/kongr45gpen/test/issues{/number}",
+ "pulls_url": "https://api.github.com/repos/kongr45gpen/test/pulls{/number}",
+ "milestones_url": "https://api.github.com/repos/kongr45gpen/test/milestones{/number}",
+ "notifications_url": "https://api.github.com/repos/kongr45gpen/test/notifications{?since,all,participating}",
+ "labels_url": "https://api.github.com/repos/kongr45gpen/test/labels{/name}",
+ "releases_url": "https://api.github.com/repos/kongr45gpen/test/releases{/id}",
+ "deployments_url": "https://api.github.com/repos/kongr45gpen/test/deployments",
+ "created_at": "2013-01-02T12:33:20Z",
+ "updated_at": "2017-05-07T12:27:10Z",
+ "pushed_at": "2017-11-10T11:24:48Z",
+ "git_url": "git://github.com/kongr45gpen/test.git",
+ "ssh_url": "git@github.com:kongr45gpen/test.git",
+ "clone_url": "https://github.com/kongr45gpen/test.git",
+ "svn_url": "https://github.com/kongr45gpen/test",
+ "homepage": "",
+ "size": 31,
+ "stargazers_count": 0,
+ "watchers_count": 0,
+ "language": "Ruby",
+ "has_issues": true,
+ "has_projects": true,
+ "has_downloads": true,
+ "has_wiki": true,
+ "has_pages": false,
+ "forks_count": 1,
+ "mirror_url": null,
+ "archived": false,
+ "open_issues_count": 5,
+ "forks": 1,
+ "open_issues": 5,
+ "watchers": 0,
+ "default_branch": "pullr1"
+ },
+ "sender": {
+ "login": "kongr45gpen",
+ "id": 720678,
+ "avatar_url": "https://avatars3.githubusercontent.com/u/720678?v=4",
+ "gravatar_id": "",
+ "url": "https://api.github.com/users/kongr45gpen",
+ "html_url": "https://github.com/kongr45gpen",
+ "followers_url": "https://api.github.com/users/kongr45gpen/followers",
+ "following_url": "https://api.github.com/users/kongr45gpen/following{/other_user}",
+ "gists_url": "https://api.github.com/users/kongr45gpen/gists{/gist_id}",
+ "starred_url": "https://api.github.com/users/kongr45gpen/starred{/owner}{/repo}",
+ "subscriptions_url": "https://api.github.com/users/kongr45gpen/subscriptions",
+ "organizations_url": "https://api.github.com/users/kongr45gpen/orgs",
+ "repos_url": "https://api.github.com/users/kongr45gpen/repos",
+ "events_url": "https://api.github.com/users/kongr45gpen/events{/privacy}",
+ "received_events_url": "https://api.github.com/users/kongr45gpen/received_events",
+ "type": "User",
+ "site_admin": false
+ }
+}

© 2014-2024 Faster IT GmbH | imprint | privacy policy