aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkongr45gpen <electrovesta@gmail.com>2017-11-13 01:01:29 +0200
committerkongr45gpen <electrovesta@gmail.com>2017-11-13 01:01:29 +0200
commit1a87997aa49a8a3931525c910400bf8db141ddb7 (patch)
treec75222a8dbe18e0da39996307896db9ae0fbc631
parent58f5ea4879a9a8b486e13bcf0213f0762efbf3f9 (diff)
downloadsupybot_github-1a87997aa49a8a3931525c910400bf8db141ddb7.tar.gz
supybot_github-1a87997aa49a8a3931525c910400bf8db141ddb7.tar.bz2
supybot_github-1a87997aa49a8a3931525c910400bf8db141ddb7.zip
Add sample files for releases
-rw-r--r--samples/push-tag.json157
-rw-r--r--samples/release-publish.json151
2 files changed, 308 insertions, 0 deletions
diff --git a/samples/push-tag.json b/samples/push-tag.json
new file mode 100644
index 0000000..e330409
--- /dev/null
+++ b/samples/push-tag.json
@@ -0,0 +1,157 @@
+{
+ "ref": "refs/tags/v2.6.6",
+ "before": "0000000000000000000000000000000000000000",
+ "after": "ca0d54b36485433061a1301e211494b90ec990a0",
+ "created": true,
+ "deleted": false,
+ "forced": false,
+ "base_ref": "refs/heads/pullr1",
+ "compare": "https://github.com/kongr45gpen/test/compare/v2.6.6",
+ "commits": [
+
+ ],
+ "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": 1510527558,
+ "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": 33,
+ "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/release-publish.json b/samples/release-publish.json
new file mode 100644
index 0000000..7b577c0
--- /dev/null
+++ b/samples/release-publish.json
@@ -0,0 +1,151 @@
+{
+ "action": "published",
+ "release": {
+ "url": "https://api.github.com/repos/kongr45gpen/test/releases/8484650",
+ "assets_url": "https://api.github.com/repos/kongr45gpen/test/releases/8484650/assets",
+ "upload_url": "https://uploads.github.com/repos/kongr45gpen/test/releases/8484650/assets{?name,label}",
+ "html_url": "https://github.com/kongr45gpen/test/releases/tag/v2.6.6",
+ "id": 8484650,
+ "tag_name": "v2.6.6",
+ "target_commitish": "pullr1",
+ "name": "More fancy calculations",
+ "draft": false,
+ "author": {
+ "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
+ },
+ "prerelease": false,
+ "created_at": "2017-11-10T11:21:26Z",
+ "published_at": "2017-11-12T22:59:18Z",
+ "assets": [
+
+ ],
+ "tarball_url": "https://api.github.com/repos/kongr45gpen/test/tarball/v2.6.6",
+ "zipball_url": "https://api.github.com/repos/kongr45gpen/test/zipball/v2.6.6",
+ "body": "Added a new product.\r\n\r\nThe new product contains:\r\n- Containables\r\n- Toast\r\n- Numbers"
+ },
+ "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-12T22:59:18Z",
+ "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": 33,
+ "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