mirror of
https://github.com/zulip/zulip.git
synced 2025-10-24 16:43:57 +00:00
webhooks: Remove the legacy GitHub integration.
The github-services model for how GitHub would send requests to this legacy integration is no longer available since earlier in 2019. Removing this integration also allows us to finally remove authenticated_api_view, the legacy authentication model from 2013 that had been used for this integration (and other features long since upgraded). A few functions that were used by the Beanstalk webhook are moved into that webhook's implementation directly.
This commit is contained in:
@@ -129,7 +129,6 @@ not_yet_fully_covered = {path for target in [
|
||||
'zerver/data_import/gitter.py',
|
||||
'zerver/data_import/import_util.py',
|
||||
# Webhook integrations with incomplete coverage
|
||||
'zerver/webhooks/github_legacy/view.py',
|
||||
'zerver/webhooks/greenhouse/view.py',
|
||||
'zerver/webhooks/jira/view.py',
|
||||
'zerver/webhooks/librato/view.py',
|
||||
|
||||
@@ -29,7 +29,7 @@ from zerver.lib.validator import to_non_negative_int
|
||||
|
||||
from zerver.lib.rate_limiter import incr_ratelimit, is_ratelimited, \
|
||||
api_calls_left, RateLimitedUser, RateLimiterLockingException
|
||||
from zerver.lib.request import REQ, has_request_variables, RequestVariableMissingError
|
||||
from zerver.lib.request import REQ, has_request_variables
|
||||
|
||||
from functools import wraps
|
||||
import base64
|
||||
@@ -519,42 +519,6 @@ def require_non_guest_human_user(view_func: ViewFuncT) -> ViewFuncT:
|
||||
return view_func(request, user_profile, *args, **kwargs)
|
||||
return _wrapped_view_func # type: ignore # https://github.com/python/mypy/issues/1927
|
||||
|
||||
# authenticated_api_view will add the authenticated user's
|
||||
# user_profile to the view function's arguments list, since we have to
|
||||
# look it up anyway. It is deprecated in favor on the REST API
|
||||
# versions.
|
||||
def authenticated_api_view(is_webhook: bool=False) -> Callable[[ViewFuncT], ViewFuncT]:
|
||||
def _wrapped_view_func(view_func: ViewFuncT) -> ViewFuncT:
|
||||
@csrf_exempt
|
||||
@require_post
|
||||
@has_request_variables
|
||||
@wraps(view_func)
|
||||
def _wrapped_func_arguments(request: HttpRequest, email: str=REQ(),
|
||||
api_key: Optional[str]=REQ(default=None),
|
||||
api_key_legacy: Optional[str]=REQ('api-key', default=None),
|
||||
*args: Any, **kwargs: Any) -> HttpResponse:
|
||||
if api_key is None:
|
||||
api_key = api_key_legacy
|
||||
if api_key is None: # nocoverage # We're removing this whole decorator soon.
|
||||
raise RequestVariableMissingError("api_key")
|
||||
user_profile = validate_api_key(request, email, api_key, is_webhook)
|
||||
# Apply rate limiting
|
||||
limited_func = rate_limit()(view_func)
|
||||
try:
|
||||
return limited_func(request, user_profile, *args, **kwargs)
|
||||
except Exception as err:
|
||||
if is_webhook:
|
||||
# In this case, request_body is passed explicitly because the body
|
||||
# of the request has already been read in has_request_variables and
|
||||
# can't be read/accessed more than once, so we just access it from
|
||||
# the request.POST QueryDict.
|
||||
log_exception_to_webhook_logger(request, user_profile,
|
||||
request_body=request.POST.get('payload'))
|
||||
raise err
|
||||
|
||||
return _wrapped_func_arguments
|
||||
return _wrapped_view_func
|
||||
|
||||
# This API endpoint is used only for the mobile apps. It is part of a
|
||||
# workaround for the fact that React Native doesn't support setting
|
||||
# HTTP basic authentication headers.
|
||||
|
||||
@@ -204,36 +204,6 @@ class HubotIntegration(Integration):
|
||||
legacy=legacy
|
||||
)
|
||||
|
||||
class GithubIntegration(WebhookIntegration):
|
||||
"""
|
||||
We need this class to don't creating url object for git integrations.
|
||||
We want to have one generic url with dispatch function for github service and github webhook.
|
||||
"""
|
||||
def __init__(self, name: str, categories: List[str], client_name: Optional[str]=None,
|
||||
logo: Optional[str]=None, secondary_line_text: Optional[str]=None,
|
||||
function: Optional[str]=None, url: Optional[str]=None,
|
||||
display_name: Optional[str]=None, doc: Optional[str]=None,
|
||||
stream_name: Optional[str]=None, legacy: Optional[bool]=False) -> None:
|
||||
url = self.DEFAULT_URL.format(name='github')
|
||||
|
||||
super().__init__(
|
||||
name,
|
||||
categories,
|
||||
client_name=client_name,
|
||||
logo=logo,
|
||||
secondary_line_text=secondary_line_text,
|
||||
function=function,
|
||||
url=url,
|
||||
display_name=display_name,
|
||||
doc=doc,
|
||||
stream_name=stream_name,
|
||||
legacy=legacy
|
||||
)
|
||||
|
||||
@property
|
||||
def url_object(self) -> None:
|
||||
return
|
||||
|
||||
class EmbeddedBotIntegration(Integration):
|
||||
'''
|
||||
This class acts as a registry for bots verified as safe
|
||||
@@ -303,7 +273,7 @@ WEBHOOK_INTEGRATIONS = [
|
||||
WebhookIntegration('flock', ['customer-support'], display_name='Flock'),
|
||||
WebhookIntegration('freshdesk', ['customer-support']),
|
||||
WebhookIntegration('front', ['customer-support'], display_name='Front'),
|
||||
GithubIntegration(
|
||||
WebhookIntegration(
|
||||
'github',
|
||||
['version-control'],
|
||||
display_name='GitHub',
|
||||
|
||||
@@ -30,7 +30,6 @@ from zerver.lib.request import \
|
||||
RequestVariableConversionError, RequestConfusingParmsError
|
||||
from zerver.decorator import (
|
||||
api_key_only_webhook_view,
|
||||
authenticated_api_view,
|
||||
authenticated_json_view,
|
||||
authenticated_rest_api_view,
|
||||
authenticated_uploads_api_view,
|
||||
@@ -460,51 +459,6 @@ class SkipRateLimitingTest(ZulipTestCase):
|
||||
self.assertTrue(rate_limit_mock.called)
|
||||
|
||||
class DecoratorLoggingTestCase(ZulipTestCase):
|
||||
def test_authenticated_api_view_logging(self) -> None:
|
||||
@authenticated_api_view(is_webhook=True)
|
||||
def my_webhook_raises_exception(request: HttpRequest, user_profile: UserProfile) -> None:
|
||||
raise Exception("raised by webhook function")
|
||||
|
||||
webhook_bot_email = 'webhook-bot@zulip.com'
|
||||
webhook_bot_realm = get_realm('zulip')
|
||||
webhook_bot = get_user(webhook_bot_email, webhook_bot_realm)
|
||||
webhook_bot_api_key = get_api_key(webhook_bot)
|
||||
|
||||
request = HostRequestMock()
|
||||
request.method = 'POST'
|
||||
request.POST['api_key'] = webhook_bot_api_key
|
||||
request.POST['email'] = webhook_bot_email
|
||||
request.host = "zulip.testserver"
|
||||
|
||||
with mock.patch('zerver.decorator.webhook_logger.exception') as mock_exception:
|
||||
with self.assertRaisesRegex(Exception, "raised by webhook function"):
|
||||
request.body = '{}'
|
||||
request.POST['payload'] = '{}'
|
||||
request.content_type = 'text/plain'
|
||||
my_webhook_raises_exception(request) # type: ignore # mypy doesn't seem to apply the decorator
|
||||
|
||||
message = """
|
||||
user: {email} ({realm})
|
||||
client: {client_name}
|
||||
URL: {path_info}
|
||||
content_type: {content_type}
|
||||
custom_http_headers:
|
||||
{custom_headers}
|
||||
body:
|
||||
|
||||
{body}
|
||||
"""
|
||||
message = message.strip(' ')
|
||||
mock_exception.assert_called_with(message.format(
|
||||
email=webhook_bot_email,
|
||||
realm=webhook_bot_realm.string_id,
|
||||
client_name='Unspecified',
|
||||
path_info=request.META.get('PATH_INFO'),
|
||||
content_type=request.content_type,
|
||||
custom_headers=None,
|
||||
body=request.body,
|
||||
))
|
||||
|
||||
def test_authenticated_rest_api_view_logging(self) -> None:
|
||||
@authenticated_rest_api_view(webhook_client_name="ClientName")
|
||||
def my_webhook_raises_exception(request: HttpRequest, user_profile: UserProfile) -> None:
|
||||
|
||||
@@ -2,7 +2,8 @@
|
||||
|
||||
import base64
|
||||
from functools import wraps
|
||||
from typing import Any, Dict, Optional
|
||||
from typing import Any, Dict, Optional, List, Tuple
|
||||
import re
|
||||
|
||||
from django.http import HttpRequest, HttpResponse
|
||||
|
||||
@@ -11,9 +12,34 @@ from zerver.lib.types import ViewFuncT
|
||||
from zerver.lib.request import REQ, has_request_variables
|
||||
from zerver.lib.response import json_success
|
||||
from zerver.lib.webhooks.common import check_send_webhook_message
|
||||
from zerver.lib.webhooks.git import TOPIC_WITH_BRANCH_TEMPLATE, \
|
||||
get_push_commits_event_message
|
||||
from zerver.lib.validator import check_dict
|
||||
from zerver.models import UserProfile
|
||||
from zerver.webhooks.github_legacy.view import build_message_from_gitlog
|
||||
|
||||
def build_message_from_gitlog(user_profile: UserProfile, name: str, ref: str,
|
||||
commits: List[Dict[str, str]], before: str, after: str,
|
||||
url: str, pusher: str, forced: Optional[str]=None,
|
||||
created: Optional[str]=None, deleted: Optional[bool]=False
|
||||
) -> Tuple[str, str]:
|
||||
short_ref = re.sub(r'^refs/heads/', '', ref)
|
||||
subject = TOPIC_WITH_BRANCH_TEMPLATE.format(repo=name, branch=short_ref)
|
||||
|
||||
commits = _transform_commits_list_to_common_format(commits)
|
||||
content = get_push_commits_event_message(pusher, url, short_ref, commits, deleted=deleted)
|
||||
|
||||
return subject, content
|
||||
|
||||
def _transform_commits_list_to_common_format(commits: List[Dict[str, Any]]) -> List[Dict[str, str]]:
|
||||
new_commits_list = []
|
||||
for commit in commits:
|
||||
new_commits_list.append({
|
||||
'name': commit['author'].get('username'),
|
||||
'sha': commit.get('id'),
|
||||
'url': commit.get('url'),
|
||||
'message': commit.get('message'),
|
||||
})
|
||||
return new_commits_list
|
||||
|
||||
# Beanstalk's web hook UI rejects url with a @ in the username section of a url
|
||||
# So we ask the user to replace them with %40
|
||||
|
||||
@@ -1,14 +0,0 @@
|
||||
from django.http import HttpRequest, HttpResponse
|
||||
from django.views.decorators.csrf import csrf_exempt
|
||||
|
||||
from .github_legacy.view import api_github_landing
|
||||
from .github.view import api_github_webhook
|
||||
|
||||
# Since this dispatcher is an API-style endpoint, it needs to be
|
||||
# explicitly marked as CSRF-exempt
|
||||
@csrf_exempt
|
||||
def api_github_webhook_dispatch(request: HttpRequest) -> HttpResponse:
|
||||
if request.META.get('HTTP_X_GITHUB_EVENT'):
|
||||
return api_github_webhook(request) # type: ignore # mypy doesn't seem to apply the decorator
|
||||
else:
|
||||
return api_github_landing(request) # type: ignore # mypy doesn't seem to apply the decorator
|
||||
@@ -1,137 +0,0 @@
|
||||
{
|
||||
"event": "commit_comment",
|
||||
"payload": {
|
||||
"comment": {
|
||||
"commit_id": "7c994678d2f98797d299abed852d3ff9d0834533",
|
||||
"body": "Are we sure this is enough cowbell?",
|
||||
"url": "https://api.github.com/repos/zbenjamin/zulip-test/comments/4252302",
|
||||
"created_at": "2013-10-04T14:56:50Z",
|
||||
"updated_at": "2013-10-04T14:56:50Z",
|
||||
"html_url": "https://github.com/zbenjamin/zulip-test/commit/7c994678d2f98797d299abed852d3ff9d0834533#commitcomment-4252302",
|
||||
"user": {
|
||||
"following_url": "https://api.github.com/users/zbenjamin/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/zbenjamin/gists{/gist_id}",
|
||||
"organizations_url": "https://api.github.com/users/zbenjamin/orgs",
|
||||
"url": "https://api.github.com/users/zbenjamin",
|
||||
"events_url": "https://api.github.com/users/zbenjamin/events{/privacy}",
|
||||
"html_url": "https://github.com/zbenjamin",
|
||||
"subscriptions_url": "https://api.github.com/users/zbenjamin/subscriptions",
|
||||
"avatar_url": "https://2.gravatar.com/avatar/cdd20cf7f6f5948fad385c0c230c3b4f?d=https%3A%2F%2Fidenticons.github.com%2F0e8c5c04107d38331fdd921015823de6.png",
|
||||
"repos_url": "https://api.github.com/users/zbenjamin/repos",
|
||||
"received_events_url": "https://api.github.com/users/zbenjamin/received_events",
|
||||
"gravatar_id": "cdd20cf7f6f5948fad385c0c230c3b4f",
|
||||
"starred_url": "https://api.github.com/users/zbenjamin/starred{/owner}{/repo}",
|
||||
"login": "zbenjamin",
|
||||
"type": "User",
|
||||
"id": 58684,
|
||||
"followers_url": "https://api.github.com/users/zbenjamin/followers"
|
||||
},
|
||||
"position": null,
|
||||
"path": null,
|
||||
"line": null,
|
||||
"id": 4252302
|
||||
},
|
||||
"sender": {
|
||||
"following_url": "https://api.github.com/users/zbenjamin/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/zbenjamin/gists{/gist_id}",
|
||||
"organizations_url": "https://api.github.com/users/zbenjamin/orgs",
|
||||
"url": "https://api.github.com/users/zbenjamin",
|
||||
"events_url": "https://api.github.com/users/zbenjamin/events{/privacy}",
|
||||
"html_url": "https://github.com/zbenjamin",
|
||||
"subscriptions_url": "https://api.github.com/users/zbenjamin/subscriptions",
|
||||
"avatar_url": "https://1.gravatar.com/avatar/cdd20cf7f6f5948fad385c0c230c3b4f?d=https%3A%2F%2Fidenticons.github.com%2F0e8c5c04107d38331fdd921015823de6.png",
|
||||
"repos_url": "https://api.github.com/users/zbenjamin/repos",
|
||||
"received_events_url": "https://api.github.com/users/zbenjamin/received_events",
|
||||
"gravatar_id": "cdd20cf7f6f5948fad385c0c230c3b4f",
|
||||
"starred_url": "https://api.github.com/users/zbenjamin/starred{/owner}{/repo}",
|
||||
"login": "zbenjamin",
|
||||
"type": "User",
|
||||
"id": 58684,
|
||||
"followers_url": "https://api.github.com/users/zbenjamin/followers"
|
||||
},
|
||||
"repository": {
|
||||
"issues_url": "https://api.github.com/repos/zbenjamin/zulip-test/issues{/number}",
|
||||
"has_wiki": true,
|
||||
"forks_url": "https://api.github.com/repos/zbenjamin/zulip-test/forks",
|
||||
"mirror_url": null,
|
||||
"subscription_url": "https://api.github.com/repos/zbenjamin/zulip-test/subscription",
|
||||
"merges_url": "https://api.github.com/repos/zbenjamin/zulip-test/merges",
|
||||
"collaborators_url": "https://api.github.com/repos/zbenjamin/zulip-test/collaborators{/collaborator}",
|
||||
"updated_at": "2013-09-19T20:31:59Z",
|
||||
"private": false,
|
||||
"pulls_url": "https://api.github.com/repos/zbenjamin/zulip-test/pulls{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/zbenjamin/zulip-test/issues/comments/{number}",
|
||||
"full_name": "zbenjamin/zulip-test",
|
||||
"owner": {
|
||||
"following_url": "https://api.github.com/users/zbenjamin/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/zbenjamin/gists{/gist_id}",
|
||||
"organizations_url": "https://api.github.com/users/zbenjamin/orgs",
|
||||
"url": "https://api.github.com/users/zbenjamin",
|
||||
"events_url": "https://api.github.com/users/zbenjamin/events{/privacy}",
|
||||
"html_url": "https://github.com/zbenjamin",
|
||||
"subscriptions_url": "https://api.github.com/users/zbenjamin/subscriptions",
|
||||
"avatar_url": "https://1.gravatar.com/avatar/cdd20cf7f6f5948fad385c0c230c3b4f?d=https%3A%2F%2Fidenticons.github.com%2F0e8c5c04107d38331fdd921015823de6.png",
|
||||
"repos_url": "https://api.github.com/users/zbenjamin/repos",
|
||||
"received_events_url": "https://api.github.com/users/zbenjamin/received_events",
|
||||
"gravatar_id": "cdd20cf7f6f5948fad385c0c230c3b4f",
|
||||
"starred_url": "https://api.github.com/users/zbenjamin/starred{/owner}{/repo}",
|
||||
"login": "zbenjamin",
|
||||
"type": "User",
|
||||
"id": 58684,
|
||||
"followers_url": "https://api.github.com/users/zbenjamin/followers"
|
||||
},
|
||||
"contents_url": "https://api.github.com/repos/zbenjamin/zulip-test/contents/{+path}",
|
||||
"id": 6893087,
|
||||
"keys_url": "https://api.github.com/repos/zbenjamin/zulip-test/keys{/key_id}",
|
||||
"size": 177,
|
||||
"tags_url": "https://api.github.com/repos/zbenjamin/zulip-test/tags",
|
||||
"issue_events_url": "https://api.github.com/repos/zbenjamin/zulip-test/issues/events{/number}",
|
||||
"contributors_url": "https://api.github.com/repos/zbenjamin/zulip-test/contributors",
|
||||
"downloads_url": "https://api.github.com/repos/zbenjamin/zulip-test/downloads",
|
||||
"has_downloads": true,
|
||||
"assignees_url": "https://api.github.com/repos/zbenjamin/zulip-test/assignees{/user}",
|
||||
"statuses_url": "https://api.github.com/repos/zbenjamin/zulip-test/statuses/{sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/zbenjamin/zulip-test/git/refs{/sha}",
|
||||
"clone_url": "https://github.com/zbenjamin/zulip-test.git",
|
||||
"watchers_count": 0,
|
||||
"git_tags_url": "https://api.github.com/repos/zbenjamin/zulip-test/git/tags{/sha}",
|
||||
"milestones_url": "https://api.github.com/repos/zbenjamin/zulip-test/milestones{/number}",
|
||||
"languages_url": "https://api.github.com/repos/zbenjamin/zulip-test/languages",
|
||||
"homepage": null,
|
||||
"branches_url": "https://api.github.com/repos/zbenjamin/zulip-test/branches{/branch}",
|
||||
"fork": false,
|
||||
"commits_url": "https://api.github.com/repos/zbenjamin/zulip-test/commits{/sha}",
|
||||
"description": "Test repository",
|
||||
"archive_url": "https://api.github.com/repos/zbenjamin/zulip-test/{archive_format}{/ref}",
|
||||
"labels_url": "https://api.github.com/repos/zbenjamin/zulip-test/labels{/name}",
|
||||
"events_url": "https://api.github.com/repos/zbenjamin/zulip-test/events",
|
||||
"comments_url": "https://api.github.com/repos/zbenjamin/zulip-test/comments{/number}",
|
||||
"html_url": "https://github.com/zbenjamin/zulip-test",
|
||||
"compare_url": "https://api.github.com/repos/zbenjamin/zulip-test/compare/{base}...{head}",
|
||||
"trees_url": "https://api.github.com/repos/zbenjamin/zulip-test/git/trees{/sha}",
|
||||
"git_url": "git://github.com/zbenjamin/zulip-test.git",
|
||||
"svn_url": "https://github.com/zbenjamin/zulip-test",
|
||||
"notifications_url": "https://api.github.com/repos/zbenjamin/zulip-test/notifications{?since,all,participating}",
|
||||
"has_issues": true,
|
||||
"ssh_url": "git@github.com:zbenjamin/zulip-test.git",
|
||||
"blobs_url": "https://api.github.com/repos/zbenjamin/zulip-test/git/blobs{/sha}",
|
||||
"master_branch": "master",
|
||||
"forks": 1,
|
||||
"hooks_url": "https://api.github.com/repos/zbenjamin/zulip-test/hooks",
|
||||
"open_issues_count": 2,
|
||||
"watchers": 0,
|
||||
"name": "zulip-test",
|
||||
"language": null,
|
||||
"url": "https://api.github.com/repos/zbenjamin/zulip-test",
|
||||
"created_at": "2012-11-27T23:46:58Z",
|
||||
"pushed_at": "2013-09-05T20:01:42Z",
|
||||
"forks_count": 1,
|
||||
"default_branch": "master",
|
||||
"teams_url": "https://api.github.com/repos/zbenjamin/zulip-test/teams",
|
||||
"open_issues": 2,
|
||||
"git_commits_url": "https://api.github.com/repos/zbenjamin/zulip-test/git/commits{/sha}",
|
||||
"subscribers_url": "https://api.github.com/repos/zbenjamin/zulip-test/subscribers",
|
||||
"stargazers_url": "https://api.github.com/repos/zbenjamin/zulip-test/stargazers"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,137 +0,0 @@
|
||||
{
|
||||
"event": "commit_comment",
|
||||
"payload": {
|
||||
"comment": {
|
||||
"commit_id": "7c994678d2f98797d299abed852d3ff9d0834533",
|
||||
"body": "This line adds /unlucky/ cowbell (because of its line number). We should remove it.",
|
||||
"url": "https://api.github.com/repos/zbenjamin/zulip-test/comments/4252307",
|
||||
"created_at": "2013-10-04T14:57:34Z",
|
||||
"updated_at": "2013-10-04T14:57:34Z",
|
||||
"html_url": "https://github.com/zbenjamin/zulip-test/commit/7c994678d2f98797d299abed852d3ff9d0834533#commitcomment-4252307",
|
||||
"user": {
|
||||
"following_url": "https://api.github.com/users/zbenjamin/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/zbenjamin/gists{/gist_id}",
|
||||
"organizations_url": "https://api.github.com/users/zbenjamin/orgs",
|
||||
"url": "https://api.github.com/users/zbenjamin",
|
||||
"events_url": "https://api.github.com/users/zbenjamin/events{/privacy}",
|
||||
"html_url": "https://github.com/zbenjamin",
|
||||
"subscriptions_url": "https://api.github.com/users/zbenjamin/subscriptions",
|
||||
"avatar_url": "https://1.gravatar.com/avatar/cdd20cf7f6f5948fad385c0c230c3b4f?d=https%3A%2F%2Fidenticons.github.com%2F0e8c5c04107d38331fdd921015823de6.png",
|
||||
"repos_url": "https://api.github.com/users/zbenjamin/repos",
|
||||
"received_events_url": "https://api.github.com/users/zbenjamin/received_events",
|
||||
"gravatar_id": "cdd20cf7f6f5948fad385c0c230c3b4f",
|
||||
"starred_url": "https://api.github.com/users/zbenjamin/starred{/owner}{/repo}",
|
||||
"login": "zbenjamin",
|
||||
"type": "User",
|
||||
"id": 58684,
|
||||
"followers_url": "https://api.github.com/users/zbenjamin/followers"
|
||||
},
|
||||
"position": 13,
|
||||
"path": "cowbell",
|
||||
"line": 13,
|
||||
"id": 4252307
|
||||
},
|
||||
"sender": {
|
||||
"following_url": "https://api.github.com/users/zbenjamin/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/zbenjamin/gists{/gist_id}",
|
||||
"organizations_url": "https://api.github.com/users/zbenjamin/orgs",
|
||||
"url": "https://api.github.com/users/zbenjamin",
|
||||
"events_url": "https://api.github.com/users/zbenjamin/events{/privacy}",
|
||||
"html_url": "https://github.com/zbenjamin",
|
||||
"subscriptions_url": "https://api.github.com/users/zbenjamin/subscriptions",
|
||||
"avatar_url": "https://0.gravatar.com/avatar/cdd20cf7f6f5948fad385c0c230c3b4f?d=https%3A%2F%2Fidenticons.github.com%2F0e8c5c04107d38331fdd921015823de6.png",
|
||||
"repos_url": "https://api.github.com/users/zbenjamin/repos",
|
||||
"received_events_url": "https://api.github.com/users/zbenjamin/received_events",
|
||||
"gravatar_id": "cdd20cf7f6f5948fad385c0c230c3b4f",
|
||||
"starred_url": "https://api.github.com/users/zbenjamin/starred{/owner}{/repo}",
|
||||
"login": "zbenjamin",
|
||||
"type": "User",
|
||||
"id": 58684,
|
||||
"followers_url": "https://api.github.com/users/zbenjamin/followers"
|
||||
},
|
||||
"repository": {
|
||||
"issues_url": "https://api.github.com/repos/zbenjamin/zulip-test/issues{/number}",
|
||||
"has_wiki": true,
|
||||
"forks_url": "https://api.github.com/repos/zbenjamin/zulip-test/forks",
|
||||
"mirror_url": null,
|
||||
"subscription_url": "https://api.github.com/repos/zbenjamin/zulip-test/subscription",
|
||||
"merges_url": "https://api.github.com/repos/zbenjamin/zulip-test/merges",
|
||||
"collaborators_url": "https://api.github.com/repos/zbenjamin/zulip-test/collaborators{/collaborator}",
|
||||
"updated_at": "2013-09-19T20:31:59Z",
|
||||
"private": false,
|
||||
"pulls_url": "https://api.github.com/repos/zbenjamin/zulip-test/pulls{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/zbenjamin/zulip-test/issues/comments/{number}",
|
||||
"full_name": "zbenjamin/zulip-test",
|
||||
"owner": {
|
||||
"following_url": "https://api.github.com/users/zbenjamin/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/zbenjamin/gists{/gist_id}",
|
||||
"organizations_url": "https://api.github.com/users/zbenjamin/orgs",
|
||||
"url": "https://api.github.com/users/zbenjamin",
|
||||
"events_url": "https://api.github.com/users/zbenjamin/events{/privacy}",
|
||||
"html_url": "https://github.com/zbenjamin",
|
||||
"subscriptions_url": "https://api.github.com/users/zbenjamin/subscriptions",
|
||||
"avatar_url": "https://0.gravatar.com/avatar/cdd20cf7f6f5948fad385c0c230c3b4f?d=https%3A%2F%2Fidenticons.github.com%2F0e8c5c04107d38331fdd921015823de6.png",
|
||||
"repos_url": "https://api.github.com/users/zbenjamin/repos",
|
||||
"received_events_url": "https://api.github.com/users/zbenjamin/received_events",
|
||||
"gravatar_id": "cdd20cf7f6f5948fad385c0c230c3b4f",
|
||||
"starred_url": "https://api.github.com/users/zbenjamin/starred{/owner}{/repo}",
|
||||
"login": "zbenjamin",
|
||||
"type": "User",
|
||||
"id": 58684,
|
||||
"followers_url": "https://api.github.com/users/zbenjamin/followers"
|
||||
},
|
||||
"contents_url": "https://api.github.com/repos/zbenjamin/zulip-test/contents/{+path}",
|
||||
"id": 6893087,
|
||||
"keys_url": "https://api.github.com/repos/zbenjamin/zulip-test/keys{/key_id}",
|
||||
"size": 177,
|
||||
"tags_url": "https://api.github.com/repos/zbenjamin/zulip-test/tags",
|
||||
"issue_events_url": "https://api.github.com/repos/zbenjamin/zulip-test/issues/events{/number}",
|
||||
"contributors_url": "https://api.github.com/repos/zbenjamin/zulip-test/contributors",
|
||||
"downloads_url": "https://api.github.com/repos/zbenjamin/zulip-test/downloads",
|
||||
"has_downloads": true,
|
||||
"assignees_url": "https://api.github.com/repos/zbenjamin/zulip-test/assignees{/user}",
|
||||
"statuses_url": "https://api.github.com/repos/zbenjamin/zulip-test/statuses/{sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/zbenjamin/zulip-test/git/refs{/sha}",
|
||||
"clone_url": "https://github.com/zbenjamin/zulip-test.git",
|
||||
"watchers_count": 0,
|
||||
"git_tags_url": "https://api.github.com/repos/zbenjamin/zulip-test/git/tags{/sha}",
|
||||
"milestones_url": "https://api.github.com/repos/zbenjamin/zulip-test/milestones{/number}",
|
||||
"languages_url": "https://api.github.com/repos/zbenjamin/zulip-test/languages",
|
||||
"homepage": null,
|
||||
"branches_url": "https://api.github.com/repos/zbenjamin/zulip-test/branches{/branch}",
|
||||
"fork": false,
|
||||
"commits_url": "https://api.github.com/repos/zbenjamin/zulip-test/commits{/sha}",
|
||||
"description": "Test repository",
|
||||
"archive_url": "https://api.github.com/repos/zbenjamin/zulip-test/{archive_format}{/ref}",
|
||||
"labels_url": "https://api.github.com/repos/zbenjamin/zulip-test/labels{/name}",
|
||||
"events_url": "https://api.github.com/repos/zbenjamin/zulip-test/events",
|
||||
"comments_url": "https://api.github.com/repos/zbenjamin/zulip-test/comments{/number}",
|
||||
"html_url": "https://github.com/zbenjamin/zulip-test",
|
||||
"compare_url": "https://api.github.com/repos/zbenjamin/zulip-test/compare/{base}...{head}",
|
||||
"trees_url": "https://api.github.com/repos/zbenjamin/zulip-test/git/trees{/sha}",
|
||||
"git_url": "git://github.com/zbenjamin/zulip-test.git",
|
||||
"svn_url": "https://github.com/zbenjamin/zulip-test",
|
||||
"notifications_url": "https://api.github.com/repos/zbenjamin/zulip-test/notifications{?since,all,participating}",
|
||||
"has_issues": true,
|
||||
"ssh_url": "git@github.com:zbenjamin/zulip-test.git",
|
||||
"blobs_url": "https://api.github.com/repos/zbenjamin/zulip-test/git/blobs{/sha}",
|
||||
"master_branch": "master",
|
||||
"forks": 1,
|
||||
"hooks_url": "https://api.github.com/repos/zbenjamin/zulip-test/hooks",
|
||||
"open_issues_count": 2,
|
||||
"watchers": 0,
|
||||
"name": "zulip-test",
|
||||
"language": null,
|
||||
"url": "https://api.github.com/repos/zbenjamin/zulip-test",
|
||||
"created_at": "2012-11-27T23:46:58Z",
|
||||
"pushed_at": "2013-09-05T20:01:42Z",
|
||||
"forks_count": 1,
|
||||
"default_branch": "master",
|
||||
"teams_url": "https://api.github.com/repos/zbenjamin/zulip-test/teams",
|
||||
"open_issues": 2,
|
||||
"git_commits_url": "https://api.github.com/repos/zbenjamin/zulip-test/git/commits{/sha}",
|
||||
"subscribers_url": "https://api.github.com/repos/zbenjamin/zulip-test/subscribers",
|
||||
"stargazers_url": "https://api.github.com/repos/zbenjamin/zulip-test/stargazers"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,225 +0,0 @@
|
||||
{
|
||||
"event": "issue_comment",
|
||||
"payload": {
|
||||
"action": "created",
|
||||
"comment": {
|
||||
"body": "Whoops, I did something wrong.\r\n\r\nI'm sorry.",
|
||||
"url": "https://api.github.com/repos/zbenjamin/zulip-test/issues/comments/23374280",
|
||||
"created_at": "2013-08-27T21:55:06Z",
|
||||
"html_url": "https://github.com/zbenjamin/zulip-test/issues/5#issuecomment-23374280",
|
||||
"updated_at": "2013-08-27T21:55:06Z",
|
||||
"user": {
|
||||
"following_url": "https://api.github.com/users/zbenjamin/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/zbenjamin/gists{/gist_id}",
|
||||
"organizations_url": "https://api.github.com/users/zbenjamin/orgs",
|
||||
"url": "https://api.github.com/users/zbenjamin",
|
||||
"events_url": "https://api.github.com/users/zbenjamin/events{/privacy}",
|
||||
"html_url": "https://github.com/zbenjamin",
|
||||
"subscriptions_url": "https://api.github.com/users/zbenjamin/subscriptions",
|
||||
"avatar_url": "https://1.gravatar.com/avatar/cdd20cf7f6f5948fad385c0c230c3b4f?d=https%3A%2F%2Fidenticons.github.com%2F0e8c5c04107d38331fdd921015823de6.png",
|
||||
"repos_url": "https://api.github.com/users/zbenjamin/repos",
|
||||
"received_events_url": "https://api.github.com/users/zbenjamin/received_events",
|
||||
"gravatar_id": "cdd20cf7f6f5948fad385c0c230c3b4f",
|
||||
"starred_url": "https://api.github.com/users/zbenjamin/starred{/owner}{/repo}",
|
||||
"login": "zbenjamin",
|
||||
"type": "User",
|
||||
"id": 58684,
|
||||
"followers_url": "https://api.github.com/users/zbenjamin/followers"
|
||||
},
|
||||
"id": 23374280,
|
||||
"issue_url": "https://api.github.com/repos/zbenjamin/zulip-test/issues/5"
|
||||
},
|
||||
"issue": {
|
||||
"body": "I tried changing the widgets, but I got:\r\n\r\nPermission denied: widgets are immutable\r\n\r\nOh, and I didn't do anything wrong.",
|
||||
"events_url": "https://api.github.com/repos/zbenjamin/zulip-test/issues/5/events",
|
||||
"title": "The frobnicator doesn't work",
|
||||
"url": "https://api.github.com/repos/zbenjamin/zulip-test/issues/5",
|
||||
"labels_url": "https://api.github.com/repos/zbenjamin/zulip-test/issues/5/labels{/name}",
|
||||
"created_at": "2013-08-27T21:54:19Z",
|
||||
"labels": [],
|
||||
"comments_url": "https://api.github.com/repos/zbenjamin/zulip-test/issues/5/comments",
|
||||
"html_url": "https://github.com/zbenjamin/zulip-test/issues/5",
|
||||
"comments": 1,
|
||||
"number": 5,
|
||||
"updated_at": "2013-08-27T21:55:06Z",
|
||||
"assignee": {
|
||||
"following_url": "https://api.github.com/users/zbenjamin/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/zbenjamin/gists{/gist_id}",
|
||||
"organizations_url": "https://api.github.com/users/zbenjamin/orgs",
|
||||
"url": "https://api.github.com/users/zbenjamin",
|
||||
"events_url": "https://api.github.com/users/zbenjamin/events{/privacy}",
|
||||
"html_url": "https://github.com/zbenjamin",
|
||||
"subscriptions_url": "https://api.github.com/users/zbenjamin/subscriptions",
|
||||
"avatar_url": "https://1.gravatar.com/avatar/cdd20cf7f6f5948fad385c0c230c3b4f?d=https%3A%2F%2Fidenticons.github.com%2F0e8c5c04107d38331fdd921015823de6.png",
|
||||
"repos_url": "https://api.github.com/users/zbenjamin/repos",
|
||||
"received_events_url": "https://api.github.com/users/zbenjamin/received_events",
|
||||
"gravatar_id": "cdd20cf7f6f5948fad385c0c230c3b4f",
|
||||
"starred_url": "https://api.github.com/users/zbenjamin/starred{/owner}{/repo}",
|
||||
"login": "zbenjamin",
|
||||
"type": "User",
|
||||
"id": 58684,
|
||||
"followers_url": "https://api.github.com/users/zbenjamin/followers"
|
||||
},
|
||||
"state": "open",
|
||||
"user": {
|
||||
"following_url": "https://api.github.com/users/zbenjamin/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/zbenjamin/gists{/gist_id}",
|
||||
"organizations_url": "https://api.github.com/users/zbenjamin/orgs",
|
||||
"url": "https://api.github.com/users/zbenjamin",
|
||||
"events_url": "https://api.github.com/users/zbenjamin/events{/privacy}",
|
||||
"html_url": "https://github.com/zbenjamin",
|
||||
"subscriptions_url": "https://api.github.com/users/zbenjamin/subscriptions",
|
||||
"avatar_url": "https://1.gravatar.com/avatar/cdd20cf7f6f5948fad385c0c230c3b4f?d=https%3A%2F%2Fidenticons.github.com%2F0e8c5c04107d38331fdd921015823de6.png",
|
||||
"repos_url": "https://api.github.com/users/zbenjamin/repos",
|
||||
"received_events_url": "https://api.github.com/users/zbenjamin/received_events",
|
||||
"gravatar_id": "cdd20cf7f6f5948fad385c0c230c3b4f",
|
||||
"starred_url": "https://api.github.com/users/zbenjamin/starred{/owner}{/repo}",
|
||||
"login": "zbenjamin",
|
||||
"type": "User",
|
||||
"id": 58684,
|
||||
"followers_url": "https://api.github.com/users/zbenjamin/followers"
|
||||
},
|
||||
"milestone": {
|
||||
"description": null,
|
||||
"creator": {
|
||||
"following_url": "https://api.github.com/users/zbenjamin/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/zbenjamin/gists{/gist_id}",
|
||||
"organizations_url": "https://api.github.com/users/zbenjamin/orgs",
|
||||
"url": "https://api.github.com/users/zbenjamin",
|
||||
"events_url": "https://api.github.com/users/zbenjamin/events{/privacy}",
|
||||
"html_url": "https://github.com/zbenjamin",
|
||||
"subscriptions_url": "https://api.github.com/users/zbenjamin/subscriptions",
|
||||
"avatar_url": "https://1.gravatar.com/avatar/cdd20cf7f6f5948fad385c0c230c3b4f?d=https%3A%2F%2Fidenticons.github.com%2F0e8c5c04107d38331fdd921015823de6.png",
|
||||
"repos_url": "https://api.github.com/users/zbenjamin/repos",
|
||||
"received_events_url": "https://api.github.com/users/zbenjamin/received_events",
|
||||
"gravatar_id": "cdd20cf7f6f5948fad385c0c230c3b4f",
|
||||
"starred_url": "https://api.github.com/users/zbenjamin/starred{/owner}{/repo}",
|
||||
"login": "zbenjamin",
|
||||
"type": "User",
|
||||
"id": 58684,
|
||||
"followers_url": "https://api.github.com/users/zbenjamin/followers"
|
||||
},
|
||||
"url": "https://api.github.com/repos/zbenjamin/zulip-test/milestones/1",
|
||||
"labels_url": "https://api.github.com/repos/zbenjamin/zulip-test/milestones/1/labels",
|
||||
"created_at": "2013-08-20T21:26:50Z",
|
||||
"title": "asdf",
|
||||
"number": 1,
|
||||
"updated_at": "2013-08-27T21:54:38Z",
|
||||
"open_issues": 1,
|
||||
"state": "open",
|
||||
"closed_issues": 1,
|
||||
"due_on": null,
|
||||
"id": 406604
|
||||
},
|
||||
"closed_at": null,
|
||||
"pull_request": {
|
||||
"diff_url": null,
|
||||
"html_url": null,
|
||||
"patch_url": null
|
||||
},
|
||||
"id": 18636612
|
||||
},
|
||||
"sender": {
|
||||
"following_url": "https://api.github.com/users/zbenjamin/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/zbenjamin/gists{/gist_id}",
|
||||
"organizations_url": "https://api.github.com/users/zbenjamin/orgs",
|
||||
"url": "https://api.github.com/users/zbenjamin",
|
||||
"events_url": "https://api.github.com/users/zbenjamin/events{/privacy}",
|
||||
"html_url": "https://github.com/zbenjamin",
|
||||
"subscriptions_url": "https://api.github.com/users/zbenjamin/subscriptions",
|
||||
"avatar_url": "https://2.gravatar.com/avatar/cdd20cf7f6f5948fad385c0c230c3b4f?d=https%3A%2F%2Fidenticons.github.com%2F0e8c5c04107d38331fdd921015823de6.png",
|
||||
"repos_url": "https://api.github.com/users/zbenjamin/repos",
|
||||
"received_events_url": "https://api.github.com/users/zbenjamin/received_events",
|
||||
"gravatar_id": "cdd20cf7f6f5948fad385c0c230c3b4f",
|
||||
"starred_url": "https://api.github.com/users/zbenjamin/starred{/owner}{/repo}",
|
||||
"login": "zbenjamin",
|
||||
"type": "User",
|
||||
"id": 58684,
|
||||
"followers_url": "https://api.github.com/users/zbenjamin/followers"
|
||||
},
|
||||
"repository": {
|
||||
"issues_url": "https://api.github.com/repos/zbenjamin/zulip-test/issues{/number}",
|
||||
"has_wiki": true,
|
||||
"forks_url": "https://api.github.com/repos/zbenjamin/zulip-test/forks",
|
||||
"mirror_url": null,
|
||||
"subscription_url": "https://api.github.com/repos/zbenjamin/zulip-test/subscription",
|
||||
"merges_url": "https://api.github.com/repos/zbenjamin/zulip-test/merges",
|
||||
"collaborators_url": "https://api.github.com/repos/zbenjamin/zulip-test/collaborators{/collaborator}",
|
||||
"updated_at": "2013-08-27T21:49:43Z",
|
||||
"private": false,
|
||||
"pulls_url": "https://api.github.com/repos/zbenjamin/zulip-test/pulls{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/zbenjamin/zulip-test/issues/comments/{number}",
|
||||
"full_name": "zbenjamin/zulip-test",
|
||||
"owner": {
|
||||
"following_url": "https://api.github.com/users/zbenjamin/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/zbenjamin/gists{/gist_id}",
|
||||
"organizations_url": "https://api.github.com/users/zbenjamin/orgs",
|
||||
"url": "https://api.github.com/users/zbenjamin",
|
||||
"events_url": "https://api.github.com/users/zbenjamin/events{/privacy}",
|
||||
"html_url": "https://github.com/zbenjamin",
|
||||
"subscriptions_url": "https://api.github.com/users/zbenjamin/subscriptions",
|
||||
"avatar_url": "https://2.gravatar.com/avatar/cdd20cf7f6f5948fad385c0c230c3b4f?d=https%3A%2F%2Fidenticons.github.com%2F0e8c5c04107d38331fdd921015823de6.png",
|
||||
"repos_url": "https://api.github.com/users/zbenjamin/repos",
|
||||
"received_events_url": "https://api.github.com/users/zbenjamin/received_events",
|
||||
"gravatar_id": "cdd20cf7f6f5948fad385c0c230c3b4f",
|
||||
"starred_url": "https://api.github.com/users/zbenjamin/starred{/owner}{/repo}",
|
||||
"login": "zbenjamin",
|
||||
"type": "User",
|
||||
"id": 58684,
|
||||
"followers_url": "https://api.github.com/users/zbenjamin/followers"
|
||||
},
|
||||
"contents_url": "https://api.github.com/repos/zbenjamin/zulip-test/contents/{+path}",
|
||||
"id": 6893087,
|
||||
"keys_url": "https://api.github.com/repos/zbenjamin/zulip-test/keys{/key_id}",
|
||||
"size": 66,
|
||||
"tags_url": "https://api.github.com/repos/zbenjamin/zulip-test/tags",
|
||||
"issue_events_url": "https://api.github.com/repos/zbenjamin/zulip-test/issues/events{/number}",
|
||||
"contributors_url": "https://api.github.com/repos/zbenjamin/zulip-test/contributors",
|
||||
"downloads_url": "https://api.github.com/repos/zbenjamin/zulip-test/downloads",
|
||||
"has_downloads": true,
|
||||
"assignees_url": "https://api.github.com/repos/zbenjamin/zulip-test/assignees{/user}",
|
||||
"statuses_url": "https://api.github.com/repos/zbenjamin/zulip-test/statuses/{sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/zbenjamin/zulip-test/git/refs{/sha}",
|
||||
"clone_url": "https://github.com/zbenjamin/zulip-test.git",
|
||||
"watchers_count": 0,
|
||||
"git_tags_url": "https://api.github.com/repos/zbenjamin/zulip-test/git/tags{/sha}",
|
||||
"milestones_url": "https://api.github.com/repos/zbenjamin/zulip-test/milestones{/number}",
|
||||
"languages_url": "https://api.github.com/repos/zbenjamin/zulip-test/languages",
|
||||
"homepage": null,
|
||||
"branches_url": "https://api.github.com/repos/zbenjamin/zulip-test/branches{/branch}",
|
||||
"fork": false,
|
||||
"commits_url": "https://api.github.com/repos/zbenjamin/zulip-test/commits{/sha}",
|
||||
"description": "Test repository",
|
||||
"archive_url": "https://api.github.com/repos/zbenjamin/zulip-test/{archive_format}{/ref}",
|
||||
"labels_url": "https://api.github.com/repos/zbenjamin/zulip-test/labels{/name}",
|
||||
"events_url": "https://api.github.com/repos/zbenjamin/zulip-test/events",
|
||||
"comments_url": "https://api.github.com/repos/zbenjamin/zulip-test/comments{/number}",
|
||||
"html_url": "https://github.com/zbenjamin/zulip-test",
|
||||
"compare_url": "https://api.github.com/repos/zbenjamin/zulip-test/compare/{base}...{head}",
|
||||
"trees_url": "https://api.github.com/repos/zbenjamin/zulip-test/git/trees{/sha}",
|
||||
"git_url": "git://github.com/zbenjamin/zulip-test.git",
|
||||
"svn_url": "https://github.com/zbenjamin/zulip-test",
|
||||
"notifications_url": "https://api.github.com/repos/zbenjamin/zulip-test/notifications{?since,all,participating}",
|
||||
"has_issues": true,
|
||||
"ssh_url": "git@github.com:zbenjamin/zulip-test.git",
|
||||
"blobs_url": "https://api.github.com/repos/zbenjamin/zulip-test/git/blobs{/sha}",
|
||||
"master_branch": "master",
|
||||
"forks": 0,
|
||||
"hooks_url": "https://api.github.com/repos/zbenjamin/zulip-test/hooks",
|
||||
"open_issues_count": 1,
|
||||
"watchers": 0,
|
||||
"name": "zulip-test",
|
||||
"language": null,
|
||||
"url": "https://api.github.com/repos/zbenjamin/zulip-test",
|
||||
"created_at": "2012-11-27T23:46:58Z",
|
||||
"pushed_at": "2013-08-27T21:49:41Z",
|
||||
"forks_count": 0,
|
||||
"default_branch": "master",
|
||||
"teams_url": "https://api.github.com/repos/zbenjamin/zulip-test/teams",
|
||||
"open_issues": 1,
|
||||
"git_commits_url": "https://api.github.com/repos/zbenjamin/zulip-test/git/commits{/sha}",
|
||||
"subscribers_url": "https://api.github.com/repos/zbenjamin/zulip-test/subscribers",
|
||||
"stargazers_url": "https://api.github.com/repos/zbenjamin/zulip-test/stargazers"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,195 +0,0 @@
|
||||
{
|
||||
"event": "issues",
|
||||
"payload": {
|
||||
"action": "closed",
|
||||
"issue": {
|
||||
"body": "I tried changing the widgets, but I got:\r\n\r\nPermission denied: widgets are immutable\r\n\r\nOh, and I didn't do anything wrong.",
|
||||
"events_url": "https://api.github.com/repos/zbenjamin/zulip-test/issues/5/events",
|
||||
"title": "The frobnicator doesn't work",
|
||||
"url": "https://api.github.com/repos/zbenjamin/zulip-test/issues/5",
|
||||
"labels_url": "https://api.github.com/repos/zbenjamin/zulip-test/issues/5/labels{/name}",
|
||||
"created_at": "2013-08-27T21:54:19Z",
|
||||
"labels": [],
|
||||
"comments_url": "https://api.github.com/repos/zbenjamin/zulip-test/issues/5/comments",
|
||||
"html_url": "https://github.com/zbenjamin/zulip-test/issues/5",
|
||||
"comments": 1,
|
||||
"number": 5,
|
||||
"updated_at": "2013-08-27T21:55:08Z",
|
||||
"assignee": {
|
||||
"following_url": "https://api.github.com/users/zbenjamin/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/zbenjamin/gists{/gist_id}",
|
||||
"organizations_url": "https://api.github.com/users/zbenjamin/orgs",
|
||||
"url": "https://api.github.com/users/zbenjamin",
|
||||
"events_url": "https://api.github.com/users/zbenjamin/events{/privacy}",
|
||||
"html_url": "https://github.com/zbenjamin",
|
||||
"subscriptions_url": "https://api.github.com/users/zbenjamin/subscriptions",
|
||||
"avatar_url": "https://1.gravatar.com/avatar/cdd20cf7f6f5948fad385c0c230c3b4f?d=https%3A%2F%2Fidenticons.github.com%2F0e8c5c04107d38331fdd921015823de6.png",
|
||||
"repos_url": "https://api.github.com/users/zbenjamin/repos",
|
||||
"received_events_url": "https://api.github.com/users/zbenjamin/received_events",
|
||||
"gravatar_id": "cdd20cf7f6f5948fad385c0c230c3b4f",
|
||||
"starred_url": "https://api.github.com/users/zbenjamin/starred{/owner}{/repo}",
|
||||
"login": "zbenjamin",
|
||||
"type": "User",
|
||||
"id": 58684,
|
||||
"followers_url": "https://api.github.com/users/zbenjamin/followers"
|
||||
},
|
||||
"state": "closed",
|
||||
"user": {
|
||||
"following_url": "https://api.github.com/users/zbenjamin/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/zbenjamin/gists{/gist_id}",
|
||||
"organizations_url": "https://api.github.com/users/zbenjamin/orgs",
|
||||
"url": "https://api.github.com/users/zbenjamin",
|
||||
"events_url": "https://api.github.com/users/zbenjamin/events{/privacy}",
|
||||
"html_url": "https://github.com/zbenjamin",
|
||||
"subscriptions_url": "https://api.github.com/users/zbenjamin/subscriptions",
|
||||
"avatar_url": "https://1.gravatar.com/avatar/cdd20cf7f6f5948fad385c0c230c3b4f?d=https%3A%2F%2Fidenticons.github.com%2F0e8c5c04107d38331fdd921015823de6.png",
|
||||
"repos_url": "https://api.github.com/users/zbenjamin/repos",
|
||||
"received_events_url": "https://api.github.com/users/zbenjamin/received_events",
|
||||
"gravatar_id": "cdd20cf7f6f5948fad385c0c230c3b4f",
|
||||
"starred_url": "https://api.github.com/users/zbenjamin/starred{/owner}{/repo}",
|
||||
"login": "zbenjamin",
|
||||
"type": "User",
|
||||
"id": 58684,
|
||||
"followers_url": "https://api.github.com/users/zbenjamin/followers"
|
||||
},
|
||||
"milestone": {
|
||||
"description": null,
|
||||
"creator": {
|
||||
"following_url": "https://api.github.com/users/zbenjamin/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/zbenjamin/gists{/gist_id}",
|
||||
"organizations_url": "https://api.github.com/users/zbenjamin/orgs",
|
||||
"url": "https://api.github.com/users/zbenjamin",
|
||||
"events_url": "https://api.github.com/users/zbenjamin/events{/privacy}",
|
||||
"html_url": "https://github.com/zbenjamin",
|
||||
"subscriptions_url": "https://api.github.com/users/zbenjamin/subscriptions",
|
||||
"avatar_url": "https://1.gravatar.com/avatar/cdd20cf7f6f5948fad385c0c230c3b4f?d=https%3A%2F%2Fidenticons.github.com%2F0e8c5c04107d38331fdd921015823de6.png",
|
||||
"repos_url": "https://api.github.com/users/zbenjamin/repos",
|
||||
"received_events_url": "https://api.github.com/users/zbenjamin/received_events",
|
||||
"gravatar_id": "cdd20cf7f6f5948fad385c0c230c3b4f",
|
||||
"starred_url": "https://api.github.com/users/zbenjamin/starred{/owner}{/repo}",
|
||||
"login": "zbenjamin",
|
||||
"type": "User",
|
||||
"id": 58684,
|
||||
"followers_url": "https://api.github.com/users/zbenjamin/followers"
|
||||
},
|
||||
"title": "asdf",
|
||||
"number": 1,
|
||||
"updated_at": "2013-08-27T21:55:08Z",
|
||||
"open_issues": 0,
|
||||
"state": "open",
|
||||
"closed_issues": 2,
|
||||
"due_on": null,
|
||||
"id": 406604
|
||||
},
|
||||
"closed_at": "2013-08-27T21:55:08Z",
|
||||
"pull_request": {
|
||||
"diff_url": null,
|
||||
"html_url": null,
|
||||
"patch_url": null
|
||||
},
|
||||
"id": 18636612
|
||||
},
|
||||
"sender": {
|
||||
"following_url": "https://api.github.com/users/zbenjamin/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/zbenjamin/gists{/gist_id}",
|
||||
"organizations_url": "https://api.github.com/users/zbenjamin/orgs",
|
||||
"url": "https://api.github.com/users/zbenjamin",
|
||||
"events_url": "https://api.github.com/users/zbenjamin/events{/privacy}",
|
||||
"html_url": "https://github.com/zbenjamin",
|
||||
"subscriptions_url": "https://api.github.com/users/zbenjamin/subscriptions",
|
||||
"avatar_url": "https://0.gravatar.com/avatar/cdd20cf7f6f5948fad385c0c230c3b4f?d=https%3A%2F%2Fidenticons.github.com%2F0e8c5c04107d38331fdd921015823de6.png",
|
||||
"repos_url": "https://api.github.com/users/zbenjamin/repos",
|
||||
"received_events_url": "https://api.github.com/users/zbenjamin/received_events",
|
||||
"gravatar_id": "cdd20cf7f6f5948fad385c0c230c3b4f",
|
||||
"starred_url": "https://api.github.com/users/zbenjamin/starred{/owner}{/repo}",
|
||||
"login": "zbenjamin",
|
||||
"type": "User",
|
||||
"id": 58684,
|
||||
"followers_url": "https://api.github.com/users/zbenjamin/followers"
|
||||
},
|
||||
"repository": {
|
||||
"issues_url": "https://api.github.com/repos/zbenjamin/zulip-test/issues{/number}",
|
||||
"has_wiki": true,
|
||||
"forks_url": "https://api.github.com/repos/zbenjamin/zulip-test/forks",
|
||||
"mirror_url": null,
|
||||
"subscription_url": "https://api.github.com/repos/zbenjamin/zulip-test/subscription",
|
||||
"merges_url": "https://api.github.com/repos/zbenjamin/zulip-test/merges",
|
||||
"collaborators_url": "https://api.github.com/repos/zbenjamin/zulip-test/collaborators{/collaborator}",
|
||||
"updated_at": "2013-08-27T21:49:43Z",
|
||||
"private": false,
|
||||
"pulls_url": "https://api.github.com/repos/zbenjamin/zulip-test/pulls{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/zbenjamin/zulip-test/issues/comments/{number}",
|
||||
"full_name": "zbenjamin/zulip-test",
|
||||
"owner": {
|
||||
"following_url": "https://api.github.com/users/zbenjamin/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/zbenjamin/gists{/gist_id}",
|
||||
"organizations_url": "https://api.github.com/users/zbenjamin/orgs",
|
||||
"url": "https://api.github.com/users/zbenjamin",
|
||||
"events_url": "https://api.github.com/users/zbenjamin/events{/privacy}",
|
||||
"html_url": "https://github.com/zbenjamin",
|
||||
"subscriptions_url": "https://api.github.com/users/zbenjamin/subscriptions",
|
||||
"avatar_url": "https://0.gravatar.com/avatar/cdd20cf7f6f5948fad385c0c230c3b4f?d=https%3A%2F%2Fidenticons.github.com%2F0e8c5c04107d38331fdd921015823de6.png",
|
||||
"repos_url": "https://api.github.com/users/zbenjamin/repos",
|
||||
"received_events_url": "https://api.github.com/users/zbenjamin/received_events",
|
||||
"gravatar_id": "cdd20cf7f6f5948fad385c0c230c3b4f",
|
||||
"starred_url": "https://api.github.com/users/zbenjamin/starred{/owner}{/repo}",
|
||||
"login": "zbenjamin",
|
||||
"type": "User",
|
||||
"id": 58684,
|
||||
"followers_url": "https://api.github.com/users/zbenjamin/followers"
|
||||
},
|
||||
"contents_url": "https://api.github.com/repos/zbenjamin/zulip-test/contents/{+path}",
|
||||
"id": 6893087,
|
||||
"keys_url": "https://api.github.com/repos/zbenjamin/zulip-test/keys{/key_id}",
|
||||
"size": 66,
|
||||
"tags_url": "https://api.github.com/repos/zbenjamin/zulip-test/tags",
|
||||
"issue_events_url": "https://api.github.com/repos/zbenjamin/zulip-test/issues/events{/number}",
|
||||
"contributors_url": "https://api.github.com/repos/zbenjamin/zulip-test/contributors",
|
||||
"downloads_url": "https://api.github.com/repos/zbenjamin/zulip-test/downloads",
|
||||
"has_downloads": true,
|
||||
"assignees_url": "https://api.github.com/repos/zbenjamin/zulip-test/assignees{/user}",
|
||||
"statuses_url": "https://api.github.com/repos/zbenjamin/zulip-test/statuses/{sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/zbenjamin/zulip-test/git/refs{/sha}",
|
||||
"clone_url": "https://github.com/zbenjamin/zulip-test.git",
|
||||
"watchers_count": 0,
|
||||
"git_tags_url": "https://api.github.com/repos/zbenjamin/zulip-test/git/tags{/sha}",
|
||||
"milestones_url": "https://api.github.com/repos/zbenjamin/zulip-test/milestones{/number}",
|
||||
"languages_url": "https://api.github.com/repos/zbenjamin/zulip-test/languages",
|
||||
"homepage": null,
|
||||
"branches_url": "https://api.github.com/repos/zbenjamin/zulip-test/branches{/branch}",
|
||||
"fork": false,
|
||||
"commits_url": "https://api.github.com/repos/zbenjamin/zulip-test/commits{/sha}",
|
||||
"description": "Test repository",
|
||||
"archive_url": "https://api.github.com/repos/zbenjamin/zulip-test/{archive_format}{/ref}",
|
||||
"labels_url": "https://api.github.com/repos/zbenjamin/zulip-test/labels{/name}",
|
||||
"events_url": "https://api.github.com/repos/zbenjamin/zulip-test/events",
|
||||
"comments_url": "https://api.github.com/repos/zbenjamin/zulip-test/comments{/number}",
|
||||
"html_url": "https://github.com/zbenjamin/zulip-test",
|
||||
"compare_url": "https://api.github.com/repos/zbenjamin/zulip-test/compare/{base}...{head}",
|
||||
"trees_url": "https://api.github.com/repos/zbenjamin/zulip-test/git/trees{/sha}",
|
||||
"git_url": "git://github.com/zbenjamin/zulip-test.git",
|
||||
"svn_url": "https://github.com/zbenjamin/zulip-test",
|
||||
"notifications_url": "https://api.github.com/repos/zbenjamin/zulip-test/notifications{?since,all,participating}",
|
||||
"has_issues": true,
|
||||
"ssh_url": "git@github.com:zbenjamin/zulip-test.git",
|
||||
"blobs_url": "https://api.github.com/repos/zbenjamin/zulip-test/git/blobs{/sha}",
|
||||
"master_branch": "master",
|
||||
"forks": 0,
|
||||
"hooks_url": "https://api.github.com/repos/zbenjamin/zulip-test/hooks",
|
||||
"open_issues_count": 0,
|
||||
"watchers": 0,
|
||||
"name": "zulip-test",
|
||||
"language": null,
|
||||
"url": "https://api.github.com/repos/zbenjamin/zulip-test",
|
||||
"created_at": "2012-11-27T23:46:58Z",
|
||||
"pushed_at": "2013-08-27T21:49:41Z",
|
||||
"forks_count": 0,
|
||||
"default_branch": "master",
|
||||
"teams_url": "https://api.github.com/repos/zbenjamin/zulip-test/teams",
|
||||
"open_issues": 0,
|
||||
"git_commits_url": "https://api.github.com/repos/zbenjamin/zulip-test/git/commits{/sha}",
|
||||
"subscribers_url": "https://api.github.com/repos/zbenjamin/zulip-test/subscribers",
|
||||
"stargazers_url": "https://api.github.com/repos/zbenjamin/zulip-test/stargazers"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,150 +0,0 @@
|
||||
{
|
||||
"event": "issues",
|
||||
"payload": {
|
||||
"action": "opened",
|
||||
"issue": {
|
||||
"body": "I tried changing the widgets, but I got:\r\n\r\nPermission denied: widgets are immutable",
|
||||
"events_url": "https://api.github.com/repos/zbenjamin/zulip-test/issues/5/events",
|
||||
"title": "The frobnicator doesn't work",
|
||||
"url": "https://api.github.com/repos/zbenjamin/zulip-test/issues/5",
|
||||
"labels_url": "https://api.github.com/repos/zbenjamin/zulip-test/issues/5/labels{/name}",
|
||||
"created_at": "2013-08-27T21:54:19Z",
|
||||
"labels": [],
|
||||
"comments_url": "https://api.github.com/repos/zbenjamin/zulip-test/issues/5/comments",
|
||||
"html_url": "https://github.com/zbenjamin/zulip-test/issues/5",
|
||||
"comments": 0,
|
||||
"number": 5,
|
||||
"updated_at": "2013-08-27T21:54:19Z",
|
||||
"assignee": null,
|
||||
"state": "open",
|
||||
"user": {
|
||||
"following_url": "https://api.github.com/users/zbenjamin/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/zbenjamin/gists{/gist_id}",
|
||||
"organizations_url": "https://api.github.com/users/zbenjamin/orgs",
|
||||
"url": "https://api.github.com/users/zbenjamin",
|
||||
"events_url": "https://api.github.com/users/zbenjamin/events{/privacy}",
|
||||
"html_url": "https://github.com/zbenjamin",
|
||||
"subscriptions_url": "https://api.github.com/users/zbenjamin/subscriptions",
|
||||
"avatar_url": "https://1.gravatar.com/avatar/cdd20cf7f6f5948fad385c0c230c3b4f?d=https%3A%2F%2Fidenticons.github.com%2F0e8c5c04107d38331fdd921015823de6.png",
|
||||
"repos_url": "https://api.github.com/users/zbenjamin/repos",
|
||||
"received_events_url": "https://api.github.com/users/zbenjamin/received_events",
|
||||
"gravatar_id": "cdd20cf7f6f5948fad385c0c230c3b4f",
|
||||
"starred_url": "https://api.github.com/users/zbenjamin/starred{/owner}{/repo}",
|
||||
"login": "zbenjamin",
|
||||
"type": "User",
|
||||
"id": 58684,
|
||||
"followers_url": "https://api.github.com/users/zbenjamin/followers"
|
||||
},
|
||||
"milestone": null,
|
||||
"closed_at": null,
|
||||
"pull_request": {
|
||||
"diff_url": null,
|
||||
"html_url": null,
|
||||
"patch_url": null
|
||||
},
|
||||
"id": 18636612
|
||||
},
|
||||
"sender": {
|
||||
"following_url": "https://api.github.com/users/zbenjamin/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/zbenjamin/gists{/gist_id}",
|
||||
"organizations_url": "https://api.github.com/users/zbenjamin/orgs",
|
||||
"url": "https://api.github.com/users/zbenjamin",
|
||||
"events_url": "https://api.github.com/users/zbenjamin/events{/privacy}",
|
||||
"html_url": "https://github.com/zbenjamin",
|
||||
"subscriptions_url": "https://api.github.com/users/zbenjamin/subscriptions",
|
||||
"avatar_url": "https://1.gravatar.com/avatar/cdd20cf7f6f5948fad385c0c230c3b4f?d=https%3A%2F%2Fidenticons.github.com%2F0e8c5c04107d38331fdd921015823de6.png",
|
||||
"repos_url": "https://api.github.com/users/zbenjamin/repos",
|
||||
"received_events_url": "https://api.github.com/users/zbenjamin/received_events",
|
||||
"gravatar_id": "cdd20cf7f6f5948fad385c0c230c3b4f",
|
||||
"starred_url": "https://api.github.com/users/zbenjamin/starred{/owner}{/repo}",
|
||||
"login": "zbenjamin",
|
||||
"type": "User",
|
||||
"id": 58684,
|
||||
"followers_url": "https://api.github.com/users/zbenjamin/followers"
|
||||
},
|
||||
"repository": {
|
||||
"issues_url": "https://api.github.com/repos/zbenjamin/zulip-test/issues{/number}",
|
||||
"has_wiki": true,
|
||||
"forks_url": "https://api.github.com/repos/zbenjamin/zulip-test/forks",
|
||||
"mirror_url": null,
|
||||
"subscription_url": "https://api.github.com/repos/zbenjamin/zulip-test/subscription",
|
||||
"merges_url": "https://api.github.com/repos/zbenjamin/zulip-test/merges",
|
||||
"collaborators_url": "https://api.github.com/repos/zbenjamin/zulip-test/collaborators{/collaborator}",
|
||||
"updated_at": "2013-08-27T21:49:43Z",
|
||||
"private": false,
|
||||
"pulls_url": "https://api.github.com/repos/zbenjamin/zulip-test/pulls{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/zbenjamin/zulip-test/issues/comments/{number}",
|
||||
"full_name": "zbenjamin/zulip-test",
|
||||
"owner": {
|
||||
"following_url": "https://api.github.com/users/zbenjamin/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/zbenjamin/gists{/gist_id}",
|
||||
"organizations_url": "https://api.github.com/users/zbenjamin/orgs",
|
||||
"url": "https://api.github.com/users/zbenjamin",
|
||||
"events_url": "https://api.github.com/users/zbenjamin/events{/privacy}",
|
||||
"html_url": "https://github.com/zbenjamin",
|
||||
"subscriptions_url": "https://api.github.com/users/zbenjamin/subscriptions",
|
||||
"avatar_url": "https://1.gravatar.com/avatar/cdd20cf7f6f5948fad385c0c230c3b4f?d=https%3A%2F%2Fidenticons.github.com%2F0e8c5c04107d38331fdd921015823de6.png",
|
||||
"repos_url": "https://api.github.com/users/zbenjamin/repos",
|
||||
"received_events_url": "https://api.github.com/users/zbenjamin/received_events",
|
||||
"gravatar_id": "cdd20cf7f6f5948fad385c0c230c3b4f",
|
||||
"starred_url": "https://api.github.com/users/zbenjamin/starred{/owner}{/repo}",
|
||||
"login": "zbenjamin",
|
||||
"type": "User",
|
||||
"id": 58684,
|
||||
"followers_url": "https://api.github.com/users/zbenjamin/followers"
|
||||
},
|
||||
"contents_url": "https://api.github.com/repos/zbenjamin/zulip-test/contents/{+path}",
|
||||
"id": 6893087,
|
||||
"keys_url": "https://api.github.com/repos/zbenjamin/zulip-test/keys{/key_id}",
|
||||
"size": 66,
|
||||
"tags_url": "https://api.github.com/repos/zbenjamin/zulip-test/tags",
|
||||
"issue_events_url": "https://api.github.com/repos/zbenjamin/zulip-test/issues/events{/number}",
|
||||
"contributors_url": "https://api.github.com/repos/zbenjamin/zulip-test/contributors",
|
||||
"downloads_url": "https://api.github.com/repos/zbenjamin/zulip-test/downloads",
|
||||
"has_downloads": true,
|
||||
"assignees_url": "https://api.github.com/repos/zbenjamin/zulip-test/assignees{/user}",
|
||||
"statuses_url": "https://api.github.com/repos/zbenjamin/zulip-test/statuses/{sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/zbenjamin/zulip-test/git/refs{/sha}",
|
||||
"clone_url": "https://github.com/zbenjamin/zulip-test.git",
|
||||
"watchers_count": 0,
|
||||
"git_tags_url": "https://api.github.com/repos/zbenjamin/zulip-test/git/tags{/sha}",
|
||||
"milestones_url": "https://api.github.com/repos/zbenjamin/zulip-test/milestones{/number}",
|
||||
"languages_url": "https://api.github.com/repos/zbenjamin/zulip-test/languages",
|
||||
"homepage": null,
|
||||
"branches_url": "https://api.github.com/repos/zbenjamin/zulip-test/branches{/branch}",
|
||||
"fork": false,
|
||||
"commits_url": "https://api.github.com/repos/zbenjamin/zulip-test/commits{/sha}",
|
||||
"description": "Test repository",
|
||||
"archive_url": "https://api.github.com/repos/zbenjamin/zulip-test/{archive_format}{/ref}",
|
||||
"labels_url": "https://api.github.com/repos/zbenjamin/zulip-test/labels{/name}",
|
||||
"events_url": "https://api.github.com/repos/zbenjamin/zulip-test/events",
|
||||
"comments_url": "https://api.github.com/repos/zbenjamin/zulip-test/comments{/number}",
|
||||
"html_url": "https://github.com/zbenjamin/zulip-test",
|
||||
"compare_url": "https://api.github.com/repos/zbenjamin/zulip-test/compare/{base}...{head}",
|
||||
"trees_url": "https://api.github.com/repos/zbenjamin/zulip-test/git/trees{/sha}",
|
||||
"git_url": "git://github.com/zbenjamin/zulip-test.git",
|
||||
"svn_url": "https://github.com/zbenjamin/zulip-test",
|
||||
"notifications_url": "https://api.github.com/repos/zbenjamin/zulip-test/notifications{?since,all,participating}",
|
||||
"has_issues": true,
|
||||
"ssh_url": "git@github.com:zbenjamin/zulip-test.git",
|
||||
"blobs_url": "https://api.github.com/repos/zbenjamin/zulip-test/git/blobs{/sha}",
|
||||
"master_branch": "master",
|
||||
"forks": 0,
|
||||
"hooks_url": "https://api.github.com/repos/zbenjamin/zulip-test/hooks",
|
||||
"open_issues_count": 1,
|
||||
"watchers": 0,
|
||||
"name": "zulip-test",
|
||||
"language": null,
|
||||
"url": "https://api.github.com/repos/zbenjamin/zulip-test",
|
||||
"created_at": "2012-11-27T23:46:58Z",
|
||||
"pushed_at": "2013-08-27T21:49:41Z",
|
||||
"forks_count": 0,
|
||||
"default_branch": "master",
|
||||
"teams_url": "https://api.github.com/repos/zbenjamin/zulip-test/teams",
|
||||
"open_issues": 1,
|
||||
"git_commits_url": "https://api.github.com/repos/zbenjamin/zulip-test/git/commits{/sha}",
|
||||
"subscribers_url": "https://api.github.com/repos/zbenjamin/zulip-test/subscribers",
|
||||
"stargazers_url": "https://api.github.com/repos/zbenjamin/zulip-test/stargazers"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,391 +0,0 @@
|
||||
{
|
||||
"event": "pull_request",
|
||||
"payload": {
|
||||
"action": "closed",
|
||||
"pull_request": {
|
||||
"body": "Omitted something I think?",
|
||||
"merge_commit_sha": "ebceffa660f1a8bda56990bcccb3e7c753adc26a",
|
||||
"number": 7,
|
||||
"assignee": null,
|
||||
"mergeable": true,
|
||||
"closed_at": "2013-08-27T21:59:39Z",
|
||||
"additions": 1,
|
||||
"id": 7903751,
|
||||
"title": "Counting is hard.",
|
||||
"comments": 1,
|
||||
"merged_at": null,
|
||||
"state": "closed",
|
||||
"_links": {
|
||||
"self": {
|
||||
"href": "https://api.github.com/repos/zbenjamin/zulip-test/pulls/7"
|
||||
},
|
||||
"html": {
|
||||
"href": "https://github.com/zbenjamin/zulip-test/pull/7"
|
||||
},
|
||||
"issue": {
|
||||
"href": "https://api.github.com/repos/zbenjamin/zulip-test/issues/7"
|
||||
},
|
||||
"comments": {
|
||||
"href": "https://api.github.com/repos/zbenjamin/zulip-test/issues/7/comments"
|
||||
},
|
||||
"review_comments": {
|
||||
"href": "https://api.github.com/repos/zbenjamin/zulip-test/pulls/7/comments"
|
||||
}
|
||||
},
|
||||
"commits": 1,
|
||||
"diff_url": "https://github.com/zbenjamin/zulip-test/pull/7.diff",
|
||||
"issue_url": "https://github.com/zbenjamin/zulip-test/issues/7",
|
||||
"patch_url": "https://github.com/zbenjamin/zulip-test/pull/7.patch",
|
||||
"deletions": 0,
|
||||
"head": {
|
||||
"repo": {
|
||||
"issues_url": "https://api.github.com/repos/lfaraone/zulip-test/issues{/number}",
|
||||
"has_wiki": true,
|
||||
"forks_url": "https://api.github.com/repos/lfaraone/zulip-test/forks",
|
||||
"mirror_url": null,
|
||||
"subscription_url": "https://api.github.com/repos/lfaraone/zulip-test/subscription",
|
||||
"merges_url": "https://api.github.com/repos/lfaraone/zulip-test/merges",
|
||||
"collaborators_url": "https://api.github.com/repos/lfaraone/zulip-test/collaborators{/collaborator}",
|
||||
"updated_at": "2013-08-27T21:59:39Z",
|
||||
"private": false,
|
||||
"pulls_url": "https://api.github.com/repos/lfaraone/zulip-test/pulls{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/lfaraone/zulip-test/issues/comments/{number}",
|
||||
"full_name": "lfaraone/zulip-test",
|
||||
"owner": {
|
||||
"following_url": "https://api.github.com/users/lfaraone/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/lfaraone/gists{/gist_id}",
|
||||
"organizations_url": "https://api.github.com/users/lfaraone/orgs",
|
||||
"url": "https://api.github.com/users/lfaraone",
|
||||
"events_url": "https://api.github.com/users/lfaraone/events{/privacy}",
|
||||
"html_url": "https://github.com/lfaraone",
|
||||
"subscriptions_url": "https://api.github.com/users/lfaraone/subscriptions",
|
||||
"avatar_url": "https://1.gravatar.com/avatar/43918f842a892d0deb9ef1d8dcc9fe49?d=https%3A%2F%2Fidenticons.github.com%2F38b70bc4e5dd6c315c3acbe51c86820c.png",
|
||||
"repos_url": "https://api.github.com/users/lfaraone/repos",
|
||||
"received_events_url": "https://api.github.com/users/lfaraone/received_events",
|
||||
"gravatar_id": "43918f842a892d0deb9ef1d8dcc9fe49",
|
||||
"starred_url": "https://api.github.com/users/lfaraone/starred{/owner}{/repo}",
|
||||
"login": "lfaraone",
|
||||
"type": "User",
|
||||
"id": 73410,
|
||||
"followers_url": "https://api.github.com/users/lfaraone/followers"
|
||||
},
|
||||
"contents_url": "https://api.github.com/repos/lfaraone/zulip-test/contents/{+path}",
|
||||
"id": 12418470,
|
||||
"keys_url": "https://api.github.com/repos/lfaraone/zulip-test/keys{/key_id}",
|
||||
"size": 45,
|
||||
"tags_url": "https://api.github.com/repos/lfaraone/zulip-test/tags",
|
||||
"issue_events_url": "https://api.github.com/repos/lfaraone/zulip-test/issues/events{/number}",
|
||||
"contributors_url": "https://api.github.com/repos/lfaraone/zulip-test/contributors",
|
||||
"downloads_url": "https://api.github.com/repos/lfaraone/zulip-test/downloads",
|
||||
"has_downloads": true,
|
||||
"assignees_url": "https://api.github.com/repos/lfaraone/zulip-test/assignees{/user}",
|
||||
"statuses_url": "https://api.github.com/repos/lfaraone/zulip-test/statuses/{sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/lfaraone/zulip-test/git/refs{/sha}",
|
||||
"clone_url": "https://github.com/lfaraone/zulip-test.git",
|
||||
"watchers_count": 0,
|
||||
"git_tags_url": "https://api.github.com/repos/lfaraone/zulip-test/git/tags{/sha}",
|
||||
"milestones_url": "https://api.github.com/repos/lfaraone/zulip-test/milestones{/number}",
|
||||
"languages_url": "https://api.github.com/repos/lfaraone/zulip-test/languages",
|
||||
"homepage": null,
|
||||
"branches_url": "https://api.github.com/repos/lfaraone/zulip-test/branches{/branch}",
|
||||
"fork": true,
|
||||
"commits_url": "https://api.github.com/repos/lfaraone/zulip-test/commits{/sha}",
|
||||
"description": "Test repository",
|
||||
"archive_url": "https://api.github.com/repos/lfaraone/zulip-test/{archive_format}{/ref}",
|
||||
"labels_url": "https://api.github.com/repos/lfaraone/zulip-test/labels{/name}",
|
||||
"events_url": "https://api.github.com/repos/lfaraone/zulip-test/events",
|
||||
"comments_url": "https://api.github.com/repos/lfaraone/zulip-test/comments{/number}",
|
||||
"html_url": "https://github.com/lfaraone/zulip-test",
|
||||
"compare_url": "https://api.github.com/repos/lfaraone/zulip-test/compare/{base}...{head}",
|
||||
"trees_url": "https://api.github.com/repos/lfaraone/zulip-test/git/trees{/sha}",
|
||||
"git_url": "git://github.com/lfaraone/zulip-test.git",
|
||||
"svn_url": "https://github.com/lfaraone/zulip-test",
|
||||
"notifications_url": "https://api.github.com/repos/lfaraone/zulip-test/notifications{?since,all,participating}",
|
||||
"has_issues": false,
|
||||
"ssh_url": "git@github.com:lfaraone/zulip-test.git",
|
||||
"blobs_url": "https://api.github.com/repos/lfaraone/zulip-test/git/blobs{/sha}",
|
||||
"master_branch": "master",
|
||||
"forks": 0,
|
||||
"hooks_url": "https://api.github.com/repos/lfaraone/zulip-test/hooks",
|
||||
"open_issues_count": 0,
|
||||
"watchers": 0,
|
||||
"name": "zulip-test",
|
||||
"language": null,
|
||||
"url": "https://api.github.com/repos/lfaraone/zulip-test",
|
||||
"created_at": "2013-08-27T21:56:05Z",
|
||||
"pushed_at": "2013-08-27T21:59:14Z",
|
||||
"forks_count": 0,
|
||||
"default_branch": "master",
|
||||
"teams_url": "https://api.github.com/repos/lfaraone/zulip-test/teams",
|
||||
"open_issues": 0,
|
||||
"git_commits_url": "https://api.github.com/repos/lfaraone/zulip-test/git/commits{/sha}",
|
||||
"subscribers_url": "https://api.github.com/repos/lfaraone/zulip-test/subscribers",
|
||||
"stargazers_url": "https://api.github.com/repos/lfaraone/zulip-test/stargazers"
|
||||
},
|
||||
"sha": "b19cca106422241836f8c7d7c07ec44773e03dc1",
|
||||
"ref": "patch-2",
|
||||
"user": {
|
||||
"following_url": "https://api.github.com/users/lfaraone/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/lfaraone/gists{/gist_id}",
|
||||
"organizations_url": "https://api.github.com/users/lfaraone/orgs",
|
||||
"url": "https://api.github.com/users/lfaraone",
|
||||
"events_url": "https://api.github.com/users/lfaraone/events{/privacy}",
|
||||
"html_url": "https://github.com/lfaraone",
|
||||
"subscriptions_url": "https://api.github.com/users/lfaraone/subscriptions",
|
||||
"avatar_url": "https://1.gravatar.com/avatar/43918f842a892d0deb9ef1d8dcc9fe49?d=https%3A%2F%2Fidenticons.github.com%2F38b70bc4e5dd6c315c3acbe51c86820c.png",
|
||||
"repos_url": "https://api.github.com/users/lfaraone/repos",
|
||||
"received_events_url": "https://api.github.com/users/lfaraone/received_events",
|
||||
"gravatar_id": "43918f842a892d0deb9ef1d8dcc9fe49",
|
||||
"starred_url": "https://api.github.com/users/lfaraone/starred{/owner}{/repo}",
|
||||
"login": "lfaraone",
|
||||
"type": "User",
|
||||
"id": 73410,
|
||||
"followers_url": "https://api.github.com/users/lfaraone/followers"
|
||||
},
|
||||
"label": "lfaraone:patch-2"
|
||||
},
|
||||
"commits_url": "https://github.com/zbenjamin/zulip-test/pull/7/commits",
|
||||
"changed_files": 1,
|
||||
"comments_url": "https://api.github.com/repos/zbenjamin/zulip-test/issues/7/comments",
|
||||
"html_url": "https://github.com/zbenjamin/zulip-test/pull/7",
|
||||
"updated_at": "2013-08-27T21:59:39Z",
|
||||
"base": {
|
||||
"repo": {
|
||||
"issues_url": "https://api.github.com/repos/zbenjamin/zulip-test/issues{/number}",
|
||||
"has_wiki": true,
|
||||
"forks_url": "https://api.github.com/repos/zbenjamin/zulip-test/forks",
|
||||
"mirror_url": null,
|
||||
"subscription_url": "https://api.github.com/repos/zbenjamin/zulip-test/subscription",
|
||||
"merges_url": "https://api.github.com/repos/zbenjamin/zulip-test/merges",
|
||||
"collaborators_url": "https://api.github.com/repos/zbenjamin/zulip-test/collaborators{/collaborator}",
|
||||
"updated_at": "2013-08-27T21:58:00Z",
|
||||
"private": false,
|
||||
"pulls_url": "https://api.github.com/repos/zbenjamin/zulip-test/pulls{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/zbenjamin/zulip-test/issues/comments/{number}",
|
||||
"full_name": "zbenjamin/zulip-test",
|
||||
"owner": {
|
||||
"following_url": "https://api.github.com/users/zbenjamin/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/zbenjamin/gists{/gist_id}",
|
||||
"organizations_url": "https://api.github.com/users/zbenjamin/orgs",
|
||||
"url": "https://api.github.com/users/zbenjamin",
|
||||
"events_url": "https://api.github.com/users/zbenjamin/events{/privacy}",
|
||||
"html_url": "https://github.com/zbenjamin",
|
||||
"subscriptions_url": "https://api.github.com/users/zbenjamin/subscriptions",
|
||||
"avatar_url": "https://1.gravatar.com/avatar/cdd20cf7f6f5948fad385c0c230c3b4f?d=https%3A%2F%2Fidenticons.github.com%2F0e8c5c04107d38331fdd921015823de6.png",
|
||||
"repos_url": "https://api.github.com/users/zbenjamin/repos",
|
||||
"received_events_url": "https://api.github.com/users/zbenjamin/received_events",
|
||||
"gravatar_id": "cdd20cf7f6f5948fad385c0c230c3b4f",
|
||||
"starred_url": "https://api.github.com/users/zbenjamin/starred{/owner}{/repo}",
|
||||
"login": "zbenjamin",
|
||||
"type": "User",
|
||||
"id": 58684,
|
||||
"followers_url": "https://api.github.com/users/zbenjamin/followers"
|
||||
},
|
||||
"contents_url": "https://api.github.com/repos/zbenjamin/zulip-test/contents/{+path}",
|
||||
"id": 6893087,
|
||||
"keys_url": "https://api.github.com/repos/zbenjamin/zulip-test/keys{/key_id}",
|
||||
"size": 66,
|
||||
"tags_url": "https://api.github.com/repos/zbenjamin/zulip-test/tags",
|
||||
"issue_events_url": "https://api.github.com/repos/zbenjamin/zulip-test/issues/events{/number}",
|
||||
"contributors_url": "https://api.github.com/repos/zbenjamin/zulip-test/contributors",
|
||||
"downloads_url": "https://api.github.com/repos/zbenjamin/zulip-test/downloads",
|
||||
"has_downloads": true,
|
||||
"assignees_url": "https://api.github.com/repos/zbenjamin/zulip-test/assignees{/user}",
|
||||
"statuses_url": "https://api.github.com/repos/zbenjamin/zulip-test/statuses/{sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/zbenjamin/zulip-test/git/refs{/sha}",
|
||||
"clone_url": "https://github.com/zbenjamin/zulip-test.git",
|
||||
"watchers_count": 0,
|
||||
"git_tags_url": "https://api.github.com/repos/zbenjamin/zulip-test/git/tags{/sha}",
|
||||
"milestones_url": "https://api.github.com/repos/zbenjamin/zulip-test/milestones{/number}",
|
||||
"languages_url": "https://api.github.com/repos/zbenjamin/zulip-test/languages",
|
||||
"homepage": null,
|
||||
"branches_url": "https://api.github.com/repos/zbenjamin/zulip-test/branches{/branch}",
|
||||
"fork": false,
|
||||
"commits_url": "https://api.github.com/repos/zbenjamin/zulip-test/commits{/sha}",
|
||||
"description": "Test repository",
|
||||
"archive_url": "https://api.github.com/repos/zbenjamin/zulip-test/{archive_format}{/ref}",
|
||||
"labels_url": "https://api.github.com/repos/zbenjamin/zulip-test/labels{/name}",
|
||||
"events_url": "https://api.github.com/repos/zbenjamin/zulip-test/events",
|
||||
"comments_url": "https://api.github.com/repos/zbenjamin/zulip-test/comments{/number}",
|
||||
"html_url": "https://github.com/zbenjamin/zulip-test",
|
||||
"compare_url": "https://api.github.com/repos/zbenjamin/zulip-test/compare/{base}...{head}",
|
||||
"trees_url": "https://api.github.com/repos/zbenjamin/zulip-test/git/trees{/sha}",
|
||||
"git_url": "git://github.com/zbenjamin/zulip-test.git",
|
||||
"svn_url": "https://github.com/zbenjamin/zulip-test",
|
||||
"notifications_url": "https://api.github.com/repos/zbenjamin/zulip-test/notifications{?since,all,participating}",
|
||||
"has_issues": true,
|
||||
"ssh_url": "git@github.com:zbenjamin/zulip-test.git",
|
||||
"blobs_url": "https://api.github.com/repos/zbenjamin/zulip-test/git/blobs{/sha}",
|
||||
"master_branch": "master",
|
||||
"forks": 1,
|
||||
"hooks_url": "https://api.github.com/repos/zbenjamin/zulip-test/hooks",
|
||||
"open_issues_count": 0,
|
||||
"watchers": 0,
|
||||
"name": "zulip-test",
|
||||
"language": null,
|
||||
"url": "https://api.github.com/repos/zbenjamin/zulip-test",
|
||||
"created_at": "2012-11-27T23:46:58Z",
|
||||
"pushed_at": "2013-08-27T21:57:59Z",
|
||||
"forks_count": 1,
|
||||
"default_branch": "master",
|
||||
"teams_url": "https://api.github.com/repos/zbenjamin/zulip-test/teams",
|
||||
"open_issues": 0,
|
||||
"git_commits_url": "https://api.github.com/repos/zbenjamin/zulip-test/git/commits{/sha}",
|
||||
"subscribers_url": "https://api.github.com/repos/zbenjamin/zulip-test/subscribers",
|
||||
"stargazers_url": "https://api.github.com/repos/zbenjamin/zulip-test/stargazers"
|
||||
},
|
||||
"sha": "12239a62c29db843225ec58ab68cf142bf608007",
|
||||
"ref": "master",
|
||||
"user": {
|
||||
"following_url": "https://api.github.com/users/zbenjamin/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/zbenjamin/gists{/gist_id}",
|
||||
"organizations_url": "https://api.github.com/users/zbenjamin/orgs",
|
||||
"url": "https://api.github.com/users/zbenjamin",
|
||||
"events_url": "https://api.github.com/users/zbenjamin/events{/privacy}",
|
||||
"html_url": "https://github.com/zbenjamin",
|
||||
"subscriptions_url": "https://api.github.com/users/zbenjamin/subscriptions",
|
||||
"avatar_url": "https://1.gravatar.com/avatar/cdd20cf7f6f5948fad385c0c230c3b4f?d=https%3A%2F%2Fidenticons.github.com%2F0e8c5c04107d38331fdd921015823de6.png",
|
||||
"repos_url": "https://api.github.com/users/zbenjamin/repos",
|
||||
"received_events_url": "https://api.github.com/users/zbenjamin/received_events",
|
||||
"gravatar_id": "cdd20cf7f6f5948fad385c0c230c3b4f",
|
||||
"starred_url": "https://api.github.com/users/zbenjamin/starred{/owner}{/repo}",
|
||||
"login": "zbenjamin",
|
||||
"type": "User",
|
||||
"id": 58684,
|
||||
"followers_url": "https://api.github.com/users/zbenjamin/followers"
|
||||
},
|
||||
"label": "zbenjamin:master"
|
||||
},
|
||||
"user": {
|
||||
"following_url": "https://api.github.com/users/lfaraone/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/lfaraone/gists{/gist_id}",
|
||||
"organizations_url": "https://api.github.com/users/lfaraone/orgs",
|
||||
"url": "https://api.github.com/users/lfaraone",
|
||||
"events_url": "https://api.github.com/users/lfaraone/events{/privacy}",
|
||||
"html_url": "https://github.com/lfaraone",
|
||||
"subscriptions_url": "https://api.github.com/users/lfaraone/subscriptions",
|
||||
"avatar_url": "https://1.gravatar.com/avatar/43918f842a892d0deb9ef1d8dcc9fe49?d=https%3A%2F%2Fidenticons.github.com%2F38b70bc4e5dd6c315c3acbe51c86820c.png",
|
||||
"repos_url": "https://api.github.com/users/lfaraone/repos",
|
||||
"received_events_url": "https://api.github.com/users/lfaraone/received_events",
|
||||
"gravatar_id": "43918f842a892d0deb9ef1d8dcc9fe49",
|
||||
"starred_url": "https://api.github.com/users/lfaraone/starred{/owner}{/repo}",
|
||||
"login": "lfaraone",
|
||||
"type": "User",
|
||||
"id": 73410,
|
||||
"followers_url": "https://api.github.com/users/lfaraone/followers"
|
||||
},
|
||||
"milestone": null,
|
||||
"merged_by": null,
|
||||
"url": "https://api.github.com/repos/zbenjamin/zulip-test/pulls/7",
|
||||
"mergeable_state": "clean",
|
||||
"created_at": "2013-08-27T21:59:16Z",
|
||||
"review_comments_url": "https://github.com/zbenjamin/zulip-test/pull/7/comments",
|
||||
"review_comments": 0,
|
||||
"review_comment_url": "/repos/zbenjamin/zulip-test/pulls/comments/{number}",
|
||||
"merged": false
|
||||
},
|
||||
"sender": {
|
||||
"following_url": "https://api.github.com/users/zbenjamin/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/zbenjamin/gists{/gist_id}",
|
||||
"organizations_url": "https://api.github.com/users/zbenjamin/orgs",
|
||||
"url": "https://api.github.com/users/zbenjamin",
|
||||
"events_url": "https://api.github.com/users/zbenjamin/events{/privacy}",
|
||||
"html_url": "https://github.com/zbenjamin",
|
||||
"subscriptions_url": "https://api.github.com/users/zbenjamin/subscriptions",
|
||||
"avatar_url": "https://0.gravatar.com/avatar/cdd20cf7f6f5948fad385c0c230c3b4f?d=https%3A%2F%2Fidenticons.github.com%2F0e8c5c04107d38331fdd921015823de6.png",
|
||||
"repos_url": "https://api.github.com/users/zbenjamin/repos",
|
||||
"received_events_url": "https://api.github.com/users/zbenjamin/received_events",
|
||||
"gravatar_id": "cdd20cf7f6f5948fad385c0c230c3b4f",
|
||||
"starred_url": "https://api.github.com/users/zbenjamin/starred{/owner}{/repo}",
|
||||
"login": "zbenjamin",
|
||||
"type": "User",
|
||||
"id": 58684,
|
||||
"followers_url": "https://api.github.com/users/zbenjamin/followers"
|
||||
},
|
||||
"repository": {
|
||||
"issues_url": "https://api.github.com/repos/zbenjamin/zulip-test/issues{/number}",
|
||||
"has_wiki": true,
|
||||
"forks_url": "https://api.github.com/repos/zbenjamin/zulip-test/forks",
|
||||
"mirror_url": null,
|
||||
"subscription_url": "https://api.github.com/repos/zbenjamin/zulip-test/subscription",
|
||||
"merges_url": "https://api.github.com/repos/zbenjamin/zulip-test/merges",
|
||||
"collaborators_url": "https://api.github.com/repos/zbenjamin/zulip-test/collaborators{/collaborator}",
|
||||
"updated_at": "2013-08-27T21:58:00Z",
|
||||
"private": false,
|
||||
"pulls_url": "https://api.github.com/repos/zbenjamin/zulip-test/pulls{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/zbenjamin/zulip-test/issues/comments/{number}",
|
||||
"full_name": "zbenjamin/zulip-test",
|
||||
"owner": {
|
||||
"following_url": "https://api.github.com/users/zbenjamin/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/zbenjamin/gists{/gist_id}",
|
||||
"organizations_url": "https://api.github.com/users/zbenjamin/orgs",
|
||||
"url": "https://api.github.com/users/zbenjamin",
|
||||
"events_url": "https://api.github.com/users/zbenjamin/events{/privacy}",
|
||||
"html_url": "https://github.com/zbenjamin",
|
||||
"subscriptions_url": "https://api.github.com/users/zbenjamin/subscriptions",
|
||||
"avatar_url": "https://0.gravatar.com/avatar/cdd20cf7f6f5948fad385c0c230c3b4f?d=https%3A%2F%2Fidenticons.github.com%2F0e8c5c04107d38331fdd921015823de6.png",
|
||||
"repos_url": "https://api.github.com/users/zbenjamin/repos",
|
||||
"received_events_url": "https://api.github.com/users/zbenjamin/received_events",
|
||||
"gravatar_id": "cdd20cf7f6f5948fad385c0c230c3b4f",
|
||||
"starred_url": "https://api.github.com/users/zbenjamin/starred{/owner}{/repo}",
|
||||
"login": "zbenjamin",
|
||||
"type": "User",
|
||||
"id": 58684,
|
||||
"followers_url": "https://api.github.com/users/zbenjamin/followers"
|
||||
},
|
||||
"contents_url": "https://api.github.com/repos/zbenjamin/zulip-test/contents/{+path}",
|
||||
"id": 6893087,
|
||||
"keys_url": "https://api.github.com/repos/zbenjamin/zulip-test/keys{/key_id}",
|
||||
"size": 66,
|
||||
"tags_url": "https://api.github.com/repos/zbenjamin/zulip-test/tags",
|
||||
"issue_events_url": "https://api.github.com/repos/zbenjamin/zulip-test/issues/events{/number}",
|
||||
"contributors_url": "https://api.github.com/repos/zbenjamin/zulip-test/contributors",
|
||||
"downloads_url": "https://api.github.com/repos/zbenjamin/zulip-test/downloads",
|
||||
"has_downloads": true,
|
||||
"assignees_url": "https://api.github.com/repos/zbenjamin/zulip-test/assignees{/user}",
|
||||
"statuses_url": "https://api.github.com/repos/zbenjamin/zulip-test/statuses/{sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/zbenjamin/zulip-test/git/refs{/sha}",
|
||||
"clone_url": "https://github.com/zbenjamin/zulip-test.git",
|
||||
"watchers_count": 0,
|
||||
"git_tags_url": "https://api.github.com/repos/zbenjamin/zulip-test/git/tags{/sha}",
|
||||
"milestones_url": "https://api.github.com/repos/zbenjamin/zulip-test/milestones{/number}",
|
||||
"languages_url": "https://api.github.com/repos/zbenjamin/zulip-test/languages",
|
||||
"homepage": null,
|
||||
"branches_url": "https://api.github.com/repos/zbenjamin/zulip-test/branches{/branch}",
|
||||
"fork": false,
|
||||
"commits_url": "https://api.github.com/repos/zbenjamin/zulip-test/commits{/sha}",
|
||||
"description": "Test repository",
|
||||
"archive_url": "https://api.github.com/repos/zbenjamin/zulip-test/{archive_format}{/ref}",
|
||||
"labels_url": "https://api.github.com/repos/zbenjamin/zulip-test/labels{/name}",
|
||||
"events_url": "https://api.github.com/repos/zbenjamin/zulip-test/events",
|
||||
"comments_url": "https://api.github.com/repos/zbenjamin/zulip-test/comments{/number}",
|
||||
"html_url": "https://github.com/zbenjamin/zulip-test",
|
||||
"compare_url": "https://api.github.com/repos/zbenjamin/zulip-test/compare/{base}...{head}",
|
||||
"trees_url": "https://api.github.com/repos/zbenjamin/zulip-test/git/trees{/sha}",
|
||||
"git_url": "git://github.com/zbenjamin/zulip-test.git",
|
||||
"svn_url": "https://github.com/zbenjamin/zulip-test",
|
||||
"notifications_url": "https://api.github.com/repos/zbenjamin/zulip-test/notifications{?since,all,participating}",
|
||||
"has_issues": true,
|
||||
"ssh_url": "git@github.com:zbenjamin/zulip-test.git",
|
||||
"blobs_url": "https://api.github.com/repos/zbenjamin/zulip-test/git/blobs{/sha}",
|
||||
"master_branch": "master",
|
||||
"forks": 1,
|
||||
"hooks_url": "https://api.github.com/repos/zbenjamin/zulip-test/hooks",
|
||||
"open_issues_count": 0,
|
||||
"watchers": 0,
|
||||
"name": "zulip-test",
|
||||
"language": null,
|
||||
"url": "https://api.github.com/repos/zbenjamin/zulip-test",
|
||||
"created_at": "2012-11-27T23:46:58Z",
|
||||
"pushed_at": "2013-08-27T21:57:59Z",
|
||||
"forks_count": 1,
|
||||
"default_branch": "master",
|
||||
"teams_url": "https://api.github.com/repos/zbenjamin/zulip-test/teams",
|
||||
"open_issues": 0,
|
||||
"git_commits_url": "https://api.github.com/repos/zbenjamin/zulip-test/git/commits{/sha}",
|
||||
"subscribers_url": "https://api.github.com/repos/zbenjamin/zulip-test/subscribers",
|
||||
"stargazers_url": "https://api.github.com/repos/zbenjamin/zulip-test/stargazers"
|
||||
},
|
||||
"number": 7
|
||||
}
|
||||
}
|
||||
@@ -1,177 +0,0 @@
|
||||
{
|
||||
"event": "issue_comment",
|
||||
"payload": {
|
||||
"action": "created",
|
||||
"comment": {
|
||||
"body": "Yeah, who really needs more cowbell than we already have?",
|
||||
"url": "https://api.github.com/repos/zbenjamin/zulip-test/issues/comments/24771110",
|
||||
"created_at": "2013-09-19T20:34:32Z",
|
||||
"html_url": "https://github.com/zbenjamin/zulip-test/pull/9#issuecomment-24771110",
|
||||
"updated_at": "2013-09-19T20:34:32Z",
|
||||
"user": {
|
||||
"following_url": "https://api.github.com/users/zbenjamin/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/zbenjamin/gists{/gist_id}",
|
||||
"organizations_url": "https://api.github.com/users/zbenjamin/orgs",
|
||||
"url": "https://api.github.com/users/zbenjamin",
|
||||
"events_url": "https://api.github.com/users/zbenjamin/events{/privacy}",
|
||||
"html_url": "https://github.com/zbenjamin",
|
||||
"subscriptions_url": "https://api.github.com/users/zbenjamin/subscriptions",
|
||||
"avatar_url": "https://1.gravatar.com/avatar/cdd20cf7f6f5948fad385c0c230c3b4f?d=https%3A%2F%2Fidenticons.github.com%2F0e8c5c04107d38331fdd921015823de6.png",
|
||||
"repos_url": "https://api.github.com/users/zbenjamin/repos",
|
||||
"received_events_url": "https://api.github.com/users/zbenjamin/received_events",
|
||||
"gravatar_id": "cdd20cf7f6f5948fad385c0c230c3b4f",
|
||||
"starred_url": "https://api.github.com/users/zbenjamin/starred{/owner}{/repo}",
|
||||
"login": "zbenjamin",
|
||||
"type": "User",
|
||||
"id": 58684,
|
||||
"followers_url": "https://api.github.com/users/zbenjamin/followers"
|
||||
},
|
||||
"id": 24771110,
|
||||
"issue_url": "https://api.github.com/repos/zbenjamin/zulip-test/issues/9"
|
||||
},
|
||||
"issue": {
|
||||
"body": "Seems about right.",
|
||||
"events_url": "https://api.github.com/repos/zbenjamin/zulip-test/issues/9/events",
|
||||
"title": "Less cowbell.",
|
||||
"url": "https://api.github.com/repos/zbenjamin/zulip-test/issues/9",
|
||||
"labels_url": "https://api.github.com/repos/zbenjamin/zulip-test/issues/9/labels{/name}",
|
||||
"created_at": "2013-09-19T20:31:55Z",
|
||||
"labels": [],
|
||||
"comments_url": "https://api.github.com/repos/zbenjamin/zulip-test/issues/9/comments",
|
||||
"html_url": "https://github.com/zbenjamin/zulip-test/pull/9",
|
||||
"comments": 1,
|
||||
"number": 9,
|
||||
"updated_at": "2013-09-19T20:34:32Z",
|
||||
"assignee": null,
|
||||
"state": "open",
|
||||
"user": {
|
||||
"following_url": "https://api.github.com/users/lfaraone/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/lfaraone/gists{/gist_id}",
|
||||
"organizations_url": "https://api.github.com/users/lfaraone/orgs",
|
||||
"url": "https://api.github.com/users/lfaraone",
|
||||
"events_url": "https://api.github.com/users/lfaraone/events{/privacy}",
|
||||
"html_url": "https://github.com/lfaraone",
|
||||
"subscriptions_url": "https://api.github.com/users/lfaraone/subscriptions",
|
||||
"avatar_url": "https://2.gravatar.com/avatar/43918f842a892d0deb9ef1d8dcc9fe49?d=https%3A%2F%2Fidenticons.github.com%2F38b70bc4e5dd6c315c3acbe51c86820c.png",
|
||||
"repos_url": "https://api.github.com/users/lfaraone/repos",
|
||||
"received_events_url": "https://api.github.com/users/lfaraone/received_events",
|
||||
"gravatar_id": "43918f842a892d0deb9ef1d8dcc9fe49",
|
||||
"starred_url": "https://api.github.com/users/lfaraone/starred{/owner}{/repo}",
|
||||
"login": "lfaraone",
|
||||
"type": "User",
|
||||
"id": 73410,
|
||||
"followers_url": "https://api.github.com/users/lfaraone/followers"
|
||||
},
|
||||
"milestone": null,
|
||||
"closed_at": null,
|
||||
"pull_request": {
|
||||
"diff_url": "https://github.com/zbenjamin/zulip-test/pull/9.diff",
|
||||
"html_url": "https://github.com/zbenjamin/zulip-test/pull/9",
|
||||
"patch_url": "https://github.com/zbenjamin/zulip-test/pull/9.patch"
|
||||
},
|
||||
"id": 19779523
|
||||
},
|
||||
"sender": {
|
||||
"following_url": "https://api.github.com/users/zbenjamin/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/zbenjamin/gists{/gist_id}",
|
||||
"organizations_url": "https://api.github.com/users/zbenjamin/orgs",
|
||||
"url": "https://api.github.com/users/zbenjamin",
|
||||
"events_url": "https://api.github.com/users/zbenjamin/events{/privacy}",
|
||||
"html_url": "https://github.com/zbenjamin",
|
||||
"subscriptions_url": "https://api.github.com/users/zbenjamin/subscriptions",
|
||||
"avatar_url": "https://1.gravatar.com/avatar/cdd20cf7f6f5948fad385c0c230c3b4f?d=https%3A%2F%2Fidenticons.github.com%2F0e8c5c04107d38331fdd921015823de6.png",
|
||||
"repos_url": "https://api.github.com/users/zbenjamin/repos",
|
||||
"received_events_url": "https://api.github.com/users/zbenjamin/received_events",
|
||||
"gravatar_id": "cdd20cf7f6f5948fad385c0c230c3b4f",
|
||||
"starred_url": "https://api.github.com/users/zbenjamin/starred{/owner}{/repo}",
|
||||
"login": "zbenjamin",
|
||||
"type": "User",
|
||||
"id": 58684,
|
||||
"followers_url": "https://api.github.com/users/zbenjamin/followers"
|
||||
},
|
||||
"repository": {
|
||||
"issues_url": "https://api.github.com/repos/zbenjamin/zulip-test/issues{/number}",
|
||||
"has_wiki": true,
|
||||
"forks_url": "https://api.github.com/repos/zbenjamin/zulip-test/forks",
|
||||
"mirror_url": null,
|
||||
"subscription_url": "https://api.github.com/repos/zbenjamin/zulip-test/subscription",
|
||||
"merges_url": "https://api.github.com/repos/zbenjamin/zulip-test/merges",
|
||||
"collaborators_url": "https://api.github.com/repos/zbenjamin/zulip-test/collaborators{/collaborator}",
|
||||
"updated_at": "2013-09-19T20:31:59Z",
|
||||
"private": false,
|
||||
"pulls_url": "https://api.github.com/repos/zbenjamin/zulip-test/pulls{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/zbenjamin/zulip-test/issues/comments/{number}",
|
||||
"full_name": "zbenjamin/zulip-test",
|
||||
"owner": {
|
||||
"following_url": "https://api.github.com/users/zbenjamin/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/zbenjamin/gists{/gist_id}",
|
||||
"organizations_url": "https://api.github.com/users/zbenjamin/orgs",
|
||||
"url": "https://api.github.com/users/zbenjamin",
|
||||
"events_url": "https://api.github.com/users/zbenjamin/events{/privacy}",
|
||||
"html_url": "https://github.com/zbenjamin",
|
||||
"subscriptions_url": "https://api.github.com/users/zbenjamin/subscriptions",
|
||||
"avatar_url": "https://1.gravatar.com/avatar/cdd20cf7f6f5948fad385c0c230c3b4f?d=https%3A%2F%2Fidenticons.github.com%2F0e8c5c04107d38331fdd921015823de6.png",
|
||||
"repos_url": "https://api.github.com/users/zbenjamin/repos",
|
||||
"received_events_url": "https://api.github.com/users/zbenjamin/received_events",
|
||||
"gravatar_id": "cdd20cf7f6f5948fad385c0c230c3b4f",
|
||||
"starred_url": "https://api.github.com/users/zbenjamin/starred{/owner}{/repo}",
|
||||
"login": "zbenjamin",
|
||||
"type": "User",
|
||||
"id": 58684,
|
||||
"followers_url": "https://api.github.com/users/zbenjamin/followers"
|
||||
},
|
||||
"contents_url": "https://api.github.com/repos/zbenjamin/zulip-test/contents/{+path}",
|
||||
"id": 6893087,
|
||||
"keys_url": "https://api.github.com/repos/zbenjamin/zulip-test/keys{/key_id}",
|
||||
"size": 177,
|
||||
"tags_url": "https://api.github.com/repos/zbenjamin/zulip-test/tags",
|
||||
"issue_events_url": "https://api.github.com/repos/zbenjamin/zulip-test/issues/events{/number}",
|
||||
"contributors_url": "https://api.github.com/repos/zbenjamin/zulip-test/contributors",
|
||||
"downloads_url": "https://api.github.com/repos/zbenjamin/zulip-test/downloads",
|
||||
"has_downloads": true,
|
||||
"assignees_url": "https://api.github.com/repos/zbenjamin/zulip-test/assignees{/user}",
|
||||
"statuses_url": "https://api.github.com/repos/zbenjamin/zulip-test/statuses/{sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/zbenjamin/zulip-test/git/refs{/sha}",
|
||||
"clone_url": "https://github.com/zbenjamin/zulip-test.git",
|
||||
"watchers_count": 0,
|
||||
"git_tags_url": "https://api.github.com/repos/zbenjamin/zulip-test/git/tags{/sha}",
|
||||
"milestones_url": "https://api.github.com/repos/zbenjamin/zulip-test/milestones{/number}",
|
||||
"languages_url": "https://api.github.com/repos/zbenjamin/zulip-test/languages",
|
||||
"homepage": null,
|
||||
"branches_url": "https://api.github.com/repos/zbenjamin/zulip-test/branches{/branch}",
|
||||
"fork": false,
|
||||
"commits_url": "https://api.github.com/repos/zbenjamin/zulip-test/commits{/sha}",
|
||||
"description": "Test repository",
|
||||
"archive_url": "https://api.github.com/repos/zbenjamin/zulip-test/{archive_format}{/ref}",
|
||||
"labels_url": "https://api.github.com/repos/zbenjamin/zulip-test/labels{/name}",
|
||||
"events_url": "https://api.github.com/repos/zbenjamin/zulip-test/events",
|
||||
"comments_url": "https://api.github.com/repos/zbenjamin/zulip-test/comments{/number}",
|
||||
"html_url": "https://github.com/zbenjamin/zulip-test",
|
||||
"compare_url": "https://api.github.com/repos/zbenjamin/zulip-test/compare/{base}...{head}",
|
||||
"trees_url": "https://api.github.com/repos/zbenjamin/zulip-test/git/trees{/sha}",
|
||||
"git_url": "git://github.com/zbenjamin/zulip-test.git",
|
||||
"svn_url": "https://github.com/zbenjamin/zulip-test",
|
||||
"notifications_url": "https://api.github.com/repos/zbenjamin/zulip-test/notifications{?since,all,participating}",
|
||||
"has_issues": true,
|
||||
"ssh_url": "git@github.com:zbenjamin/zulip-test.git",
|
||||
"blobs_url": "https://api.github.com/repos/zbenjamin/zulip-test/git/blobs{/sha}",
|
||||
"master_branch": "master",
|
||||
"forks": 1,
|
||||
"hooks_url": "https://api.github.com/repos/zbenjamin/zulip-test/hooks",
|
||||
"open_issues_count": 1,
|
||||
"watchers": 0,
|
||||
"name": "zulip-test",
|
||||
"language": null,
|
||||
"url": "https://api.github.com/repos/zbenjamin/zulip-test",
|
||||
"created_at": "2012-11-27T23:46:58Z",
|
||||
"pushed_at": "2013-09-05T20:01:42Z",
|
||||
"forks_count": 1,
|
||||
"default_branch": "master",
|
||||
"teams_url": "https://api.github.com/repos/zbenjamin/zulip-test/teams",
|
||||
"open_issues": 1,
|
||||
"git_commits_url": "https://api.github.com/repos/zbenjamin/zulip-test/git/commits{/sha}",
|
||||
"subscribers_url": "https://api.github.com/repos/zbenjamin/zulip-test/subscribers",
|
||||
"stargazers_url": "https://api.github.com/repos/zbenjamin/zulip-test/stargazers"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,408 +0,0 @@
|
||||
{
|
||||
"event": "pull_request",
|
||||
"payload": {
|
||||
"action": "opened",
|
||||
"pull_request": {
|
||||
"body": "Omitted something I think?",
|
||||
"merge_commit_sha": null,
|
||||
"number": 7,
|
||||
"assignee": {
|
||||
"following_url": "https://api.github.com/users/lfaraone/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/lfaraone/gists{/gist_id}",
|
||||
"organizations_url": "https://api.github.com/users/lfaraone/orgs",
|
||||
"url": "https://api.github.com/users/lfaraone",
|
||||
"events_url": "https://api.github.com/users/lfaraone/events{/privacy}",
|
||||
"html_url": "https://github.com/lfaraone",
|
||||
"subscriptions_url": "https://api.github.com/users/lfaraone/subscriptions",
|
||||
"avatar_url": "https://0.gravatar.com/avatar/43918f842a892d0deb9ef1d8dcc9fe49?d=https%3A%2F%2Fidenticons.github.com%2F38b70bc4e5dd6c315c3acbe51c86820c.png",
|
||||
"repos_url": "https://api.github.com/users/lfaraone/repos",
|
||||
"received_events_url": "https://api.github.com/users/lfaraone/received_events",
|
||||
"gravatar_id": "43918f842a892d0deb9ef1d8dcc9fe49",
|
||||
"starred_url": "https://api.github.com/users/lfaraone/starred{/owner}{/repo}",
|
||||
"login": "lfaraone",
|
||||
"type": "User",
|
||||
"id": 73410,
|
||||
"followers_url": "https://api.github.com/users/lfaraone/followers"
|
||||
},
|
||||
"mergeable": null,
|
||||
"closed_at": null,
|
||||
"additions": 1,
|
||||
"id": 7903751,
|
||||
"title": "Counting is hard.",
|
||||
"comments": 0,
|
||||
"merged_at": null,
|
||||
"state": "open",
|
||||
"_links": {
|
||||
"self": {
|
||||
"href": "https://api.github.com/repos/zbenjamin/zulip-test/pulls/7"
|
||||
},
|
||||
"html": {
|
||||
"href": "https://github.com/zbenjamin/zulip-test/pull/7"
|
||||
},
|
||||
"issue": {
|
||||
"href": "https://api.github.com/repos/zbenjamin/zulip-test/issues/7"
|
||||
},
|
||||
"comments": {
|
||||
"href": "https://api.github.com/repos/zbenjamin/zulip-test/issues/7/comments"
|
||||
},
|
||||
"review_comments": {
|
||||
"href": "https://api.github.com/repos/zbenjamin/zulip-test/pulls/7/comments"
|
||||
}
|
||||
},
|
||||
"commits": 1,
|
||||
"diff_url": "https://github.com/zbenjamin/zulip-test/pull/7.diff",
|
||||
"issue_url": "https://github.com/zbenjamin/zulip-test/issues/7",
|
||||
"patch_url": "https://github.com/zbenjamin/zulip-test/pull/7.patch",
|
||||
"deletions": 0,
|
||||
"head": {
|
||||
"repo": {
|
||||
"issues_url": "https://api.github.com/repos/lfaraone/zulip-test/issues{/number}",
|
||||
"has_wiki": true,
|
||||
"forks_url": "https://api.github.com/repos/lfaraone/zulip-test/forks",
|
||||
"mirror_url": null,
|
||||
"subscription_url": "https://api.github.com/repos/lfaraone/zulip-test/subscription",
|
||||
"merges_url": "https://api.github.com/repos/lfaraone/zulip-test/merges",
|
||||
"collaborators_url": "https://api.github.com/repos/lfaraone/zulip-test/collaborators{/collaborator}",
|
||||
"updated_at": "2013-08-27T21:59:16Z",
|
||||
"private": false,
|
||||
"pulls_url": "https://api.github.com/repos/lfaraone/zulip-test/pulls{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/lfaraone/zulip-test/issues/comments/{number}",
|
||||
"full_name": "lfaraone/zulip-test",
|
||||
"owner": {
|
||||
"following_url": "https://api.github.com/users/lfaraone/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/lfaraone/gists{/gist_id}",
|
||||
"organizations_url": "https://api.github.com/users/lfaraone/orgs",
|
||||
"url": "https://api.github.com/users/lfaraone",
|
||||
"events_url": "https://api.github.com/users/lfaraone/events{/privacy}",
|
||||
"html_url": "https://github.com/lfaraone",
|
||||
"subscriptions_url": "https://api.github.com/users/lfaraone/subscriptions",
|
||||
"avatar_url": "https://0.gravatar.com/avatar/43918f842a892d0deb9ef1d8dcc9fe49?d=https%3A%2F%2Fidenticons.github.com%2F38b70bc4e5dd6c315c3acbe51c86820c.png",
|
||||
"repos_url": "https://api.github.com/users/lfaraone/repos",
|
||||
"received_events_url": "https://api.github.com/users/lfaraone/received_events",
|
||||
"gravatar_id": "43918f842a892d0deb9ef1d8dcc9fe49",
|
||||
"starred_url": "https://api.github.com/users/lfaraone/starred{/owner}{/repo}",
|
||||
"login": "lfaraone",
|
||||
"type": "User",
|
||||
"id": 73410,
|
||||
"followers_url": "https://api.github.com/users/lfaraone/followers"
|
||||
},
|
||||
"contents_url": "https://api.github.com/repos/lfaraone/zulip-test/contents/{+path}",
|
||||
"id": 12418470,
|
||||
"keys_url": "https://api.github.com/repos/lfaraone/zulip-test/keys{/key_id}",
|
||||
"size": 45,
|
||||
"tags_url": "https://api.github.com/repos/lfaraone/zulip-test/tags",
|
||||
"issue_events_url": "https://api.github.com/repos/lfaraone/zulip-test/issues/events{/number}",
|
||||
"contributors_url": "https://api.github.com/repos/lfaraone/zulip-test/contributors",
|
||||
"downloads_url": "https://api.github.com/repos/lfaraone/zulip-test/downloads",
|
||||
"has_downloads": true,
|
||||
"assignees_url": "https://api.github.com/repos/lfaraone/zulip-test/assignees{/user}",
|
||||
"statuses_url": "https://api.github.com/repos/lfaraone/zulip-test/statuses/{sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/lfaraone/zulip-test/git/refs{/sha}",
|
||||
"clone_url": "https://github.com/lfaraone/zulip-test.git",
|
||||
"watchers_count": 0,
|
||||
"git_tags_url": "https://api.github.com/repos/lfaraone/zulip-test/git/tags{/sha}",
|
||||
"milestones_url": "https://api.github.com/repos/lfaraone/zulip-test/milestones{/number}",
|
||||
"languages_url": "https://api.github.com/repos/lfaraone/zulip-test/languages",
|
||||
"homepage": null,
|
||||
"branches_url": "https://api.github.com/repos/lfaraone/zulip-test/branches{/branch}",
|
||||
"fork": true,
|
||||
"commits_url": "https://api.github.com/repos/lfaraone/zulip-test/commits{/sha}",
|
||||
"description": "Test repository",
|
||||
"archive_url": "https://api.github.com/repos/lfaraone/zulip-test/{archive_format}{/ref}",
|
||||
"labels_url": "https://api.github.com/repos/lfaraone/zulip-test/labels{/name}",
|
||||
"events_url": "https://api.github.com/repos/lfaraone/zulip-test/events",
|
||||
"comments_url": "https://api.github.com/repos/lfaraone/zulip-test/comments{/number}",
|
||||
"html_url": "https://github.com/lfaraone/zulip-test",
|
||||
"compare_url": "https://api.github.com/repos/lfaraone/zulip-test/compare/{base}...{head}",
|
||||
"trees_url": "https://api.github.com/repos/lfaraone/zulip-test/git/trees{/sha}",
|
||||
"git_url": "git://github.com/lfaraone/zulip-test.git",
|
||||
"svn_url": "https://github.com/lfaraone/zulip-test",
|
||||
"notifications_url": "https://api.github.com/repos/lfaraone/zulip-test/notifications{?since,all,participating}",
|
||||
"has_issues": false,
|
||||
"ssh_url": "git@github.com:lfaraone/zulip-test.git",
|
||||
"blobs_url": "https://api.github.com/repos/lfaraone/zulip-test/git/blobs{/sha}",
|
||||
"master_branch": "master",
|
||||
"forks": 0,
|
||||
"hooks_url": "https://api.github.com/repos/lfaraone/zulip-test/hooks",
|
||||
"open_issues_count": 0,
|
||||
"watchers": 0,
|
||||
"name": "zulip-test",
|
||||
"language": null,
|
||||
"url": "https://api.github.com/repos/lfaraone/zulip-test",
|
||||
"created_at": "2013-08-27T21:56:05Z",
|
||||
"pushed_at": "2013-08-27T21:59:14Z",
|
||||
"forks_count": 0,
|
||||
"default_branch": "master",
|
||||
"teams_url": "https://api.github.com/repos/lfaraone/zulip-test/teams",
|
||||
"open_issues": 0,
|
||||
"git_commits_url": "https://api.github.com/repos/lfaraone/zulip-test/git/commits{/sha}",
|
||||
"subscribers_url": "https://api.github.com/repos/lfaraone/zulip-test/subscribers",
|
||||
"stargazers_url": "https://api.github.com/repos/lfaraone/zulip-test/stargazers"
|
||||
},
|
||||
"sha": "b19cca106422241836f8c7d7c07ec44773e03dc1",
|
||||
"ref": "patch-2",
|
||||
"user": {
|
||||
"following_url": "https://api.github.com/users/lfaraone/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/lfaraone/gists{/gist_id}",
|
||||
"organizations_url": "https://api.github.com/users/lfaraone/orgs",
|
||||
"url": "https://api.github.com/users/lfaraone",
|
||||
"events_url": "https://api.github.com/users/lfaraone/events{/privacy}",
|
||||
"html_url": "https://github.com/lfaraone",
|
||||
"subscriptions_url": "https://api.github.com/users/lfaraone/subscriptions",
|
||||
"avatar_url": "https://0.gravatar.com/avatar/43918f842a892d0deb9ef1d8dcc9fe49?d=https%3A%2F%2Fidenticons.github.com%2F38b70bc4e5dd6c315c3acbe51c86820c.png",
|
||||
"repos_url": "https://api.github.com/users/lfaraone/repos",
|
||||
"received_events_url": "https://api.github.com/users/lfaraone/received_events",
|
||||
"gravatar_id": "43918f842a892d0deb9ef1d8dcc9fe49",
|
||||
"starred_url": "https://api.github.com/users/lfaraone/starred{/owner}{/repo}",
|
||||
"login": "lfaraone",
|
||||
"type": "User",
|
||||
"id": 73410,
|
||||
"followers_url": "https://api.github.com/users/lfaraone/followers"
|
||||
},
|
||||
"label": "lfaraone:patch-2"
|
||||
},
|
||||
"commits_url": "https://github.com/zbenjamin/zulip-test/pull/7/commits",
|
||||
"changed_files": 1,
|
||||
"comments_url": "https://api.github.com/repos/zbenjamin/zulip-test/issues/7/comments",
|
||||
"html_url": "https://github.com/zbenjamin/zulip-test/pull/7",
|
||||
"updated_at": "2013-08-27T21:59:16Z",
|
||||
"base": {
|
||||
"repo": {
|
||||
"issues_url": "https://api.github.com/repos/zbenjamin/zulip-test/issues{/number}",
|
||||
"has_wiki": true,
|
||||
"forks_url": "https://api.github.com/repos/zbenjamin/zulip-test/forks",
|
||||
"mirror_url": null,
|
||||
"subscription_url": "https://api.github.com/repos/zbenjamin/zulip-test/subscription",
|
||||
"merges_url": "https://api.github.com/repos/zbenjamin/zulip-test/merges",
|
||||
"collaborators_url": "https://api.github.com/repos/zbenjamin/zulip-test/collaborators{/collaborator}",
|
||||
"updated_at": "2013-08-27T21:58:00Z",
|
||||
"private": false,
|
||||
"pulls_url": "https://api.github.com/repos/zbenjamin/zulip-test/pulls{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/zbenjamin/zulip-test/issues/comments/{number}",
|
||||
"full_name": "zbenjamin/zulip-test",
|
||||
"owner": {
|
||||
"following_url": "https://api.github.com/users/zbenjamin/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/zbenjamin/gists{/gist_id}",
|
||||
"organizations_url": "https://api.github.com/users/zbenjamin/orgs",
|
||||
"url": "https://api.github.com/users/zbenjamin",
|
||||
"events_url": "https://api.github.com/users/zbenjamin/events{/privacy}",
|
||||
"html_url": "https://github.com/zbenjamin",
|
||||
"subscriptions_url": "https://api.github.com/users/zbenjamin/subscriptions",
|
||||
"avatar_url": "https://2.gravatar.com/avatar/cdd20cf7f6f5948fad385c0c230c3b4f?d=https%3A%2F%2Fidenticons.github.com%2F0e8c5c04107d38331fdd921015823de6.png",
|
||||
"repos_url": "https://api.github.com/users/zbenjamin/repos",
|
||||
"received_events_url": "https://api.github.com/users/zbenjamin/received_events",
|
||||
"gravatar_id": "cdd20cf7f6f5948fad385c0c230c3b4f",
|
||||
"starred_url": "https://api.github.com/users/zbenjamin/starred{/owner}{/repo}",
|
||||
"login": "zbenjamin",
|
||||
"type": "User",
|
||||
"id": 58684,
|
||||
"followers_url": "https://api.github.com/users/zbenjamin/followers"
|
||||
},
|
||||
"contents_url": "https://api.github.com/repos/zbenjamin/zulip-test/contents/{+path}",
|
||||
"id": 6893087,
|
||||
"keys_url": "https://api.github.com/repos/zbenjamin/zulip-test/keys{/key_id}",
|
||||
"size": 66,
|
||||
"tags_url": "https://api.github.com/repos/zbenjamin/zulip-test/tags",
|
||||
"issue_events_url": "https://api.github.com/repos/zbenjamin/zulip-test/issues/events{/number}",
|
||||
"contributors_url": "https://api.github.com/repos/zbenjamin/zulip-test/contributors",
|
||||
"downloads_url": "https://api.github.com/repos/zbenjamin/zulip-test/downloads",
|
||||
"has_downloads": true,
|
||||
"assignees_url": "https://api.github.com/repos/zbenjamin/zulip-test/assignees{/user}",
|
||||
"statuses_url": "https://api.github.com/repos/zbenjamin/zulip-test/statuses/{sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/zbenjamin/zulip-test/git/refs{/sha}",
|
||||
"clone_url": "https://github.com/zbenjamin/zulip-test.git",
|
||||
"watchers_count": 0,
|
||||
"git_tags_url": "https://api.github.com/repos/zbenjamin/zulip-test/git/tags{/sha}",
|
||||
"milestones_url": "https://api.github.com/repos/zbenjamin/zulip-test/milestones{/number}",
|
||||
"languages_url": "https://api.github.com/repos/zbenjamin/zulip-test/languages",
|
||||
"homepage": null,
|
||||
"branches_url": "https://api.github.com/repos/zbenjamin/zulip-test/branches{/branch}",
|
||||
"fork": false,
|
||||
"commits_url": "https://api.github.com/repos/zbenjamin/zulip-test/commits{/sha}",
|
||||
"description": "Test repository",
|
||||
"archive_url": "https://api.github.com/repos/zbenjamin/zulip-test/{archive_format}{/ref}",
|
||||
"labels_url": "https://api.github.com/repos/zbenjamin/zulip-test/labels{/name}",
|
||||
"events_url": "https://api.github.com/repos/zbenjamin/zulip-test/events",
|
||||
"comments_url": "https://api.github.com/repos/zbenjamin/zulip-test/comments{/number}",
|
||||
"html_url": "https://github.com/zbenjamin/zulip-test",
|
||||
"compare_url": "https://api.github.com/repos/zbenjamin/zulip-test/compare/{base}...{head}",
|
||||
"trees_url": "https://api.github.com/repos/zbenjamin/zulip-test/git/trees{/sha}",
|
||||
"git_url": "git://github.com/zbenjamin/zulip-test.git",
|
||||
"svn_url": "https://github.com/zbenjamin/zulip-test",
|
||||
"notifications_url": "https://api.github.com/repos/zbenjamin/zulip-test/notifications{?since,all,participating}",
|
||||
"has_issues": true,
|
||||
"ssh_url": "git@github.com:zbenjamin/zulip-test.git",
|
||||
"blobs_url": "https://api.github.com/repos/zbenjamin/zulip-test/git/blobs{/sha}",
|
||||
"master_branch": "master",
|
||||
"forks": 1,
|
||||
"hooks_url": "https://api.github.com/repos/zbenjamin/zulip-test/hooks",
|
||||
"open_issues_count": 1,
|
||||
"watchers": 0,
|
||||
"name": "zulip-test",
|
||||
"language": null,
|
||||
"url": "https://api.github.com/repos/zbenjamin/zulip-test",
|
||||
"created_at": "2012-11-27T23:46:58Z",
|
||||
"pushed_at": "2013-08-27T21:57:59Z",
|
||||
"forks_count": 1,
|
||||
"default_branch": "master",
|
||||
"teams_url": "https://api.github.com/repos/zbenjamin/zulip-test/teams",
|
||||
"open_issues": 1,
|
||||
"git_commits_url": "https://api.github.com/repos/zbenjamin/zulip-test/git/commits{/sha}",
|
||||
"subscribers_url": "https://api.github.com/repos/zbenjamin/zulip-test/subscribers",
|
||||
"stargazers_url": "https://api.github.com/repos/zbenjamin/zulip-test/stargazers"
|
||||
},
|
||||
"sha": "12239a62c29db843225ec58ab68cf142bf608007",
|
||||
"ref": "master",
|
||||
"user": {
|
||||
"following_url": "https://api.github.com/users/zbenjamin/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/zbenjamin/gists{/gist_id}",
|
||||
"organizations_url": "https://api.github.com/users/zbenjamin/orgs",
|
||||
"url": "https://api.github.com/users/zbenjamin",
|
||||
"events_url": "https://api.github.com/users/zbenjamin/events{/privacy}",
|
||||
"html_url": "https://github.com/zbenjamin",
|
||||
"subscriptions_url": "https://api.github.com/users/zbenjamin/subscriptions",
|
||||
"avatar_url": "https://2.gravatar.com/avatar/cdd20cf7f6f5948fad385c0c230c3b4f?d=https%3A%2F%2Fidenticons.github.com%2F0e8c5c04107d38331fdd921015823de6.png",
|
||||
"repos_url": "https://api.github.com/users/zbenjamin/repos",
|
||||
"received_events_url": "https://api.github.com/users/zbenjamin/received_events",
|
||||
"gravatar_id": "cdd20cf7f6f5948fad385c0c230c3b4f",
|
||||
"starred_url": "https://api.github.com/users/zbenjamin/starred{/owner}{/repo}",
|
||||
"login": "zbenjamin",
|
||||
"type": "User",
|
||||
"id": 58684,
|
||||
"followers_url": "https://api.github.com/users/zbenjamin/followers"
|
||||
},
|
||||
"label": "zbenjamin:master"
|
||||
},
|
||||
"user": {
|
||||
"following_url": "https://api.github.com/users/lfaraone/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/lfaraone/gists{/gist_id}",
|
||||
"organizations_url": "https://api.github.com/users/lfaraone/orgs",
|
||||
"url": "https://api.github.com/users/lfaraone",
|
||||
"events_url": "https://api.github.com/users/lfaraone/events{/privacy}",
|
||||
"html_url": "https://github.com/lfaraone",
|
||||
"subscriptions_url": "https://api.github.com/users/lfaraone/subscriptions",
|
||||
"avatar_url": "https://0.gravatar.com/avatar/43918f842a892d0deb9ef1d8dcc9fe49?d=https%3A%2F%2Fidenticons.github.com%2F38b70bc4e5dd6c315c3acbe51c86820c.png",
|
||||
"repos_url": "https://api.github.com/users/lfaraone/repos",
|
||||
"received_events_url": "https://api.github.com/users/lfaraone/received_events",
|
||||
"gravatar_id": "43918f842a892d0deb9ef1d8dcc9fe49",
|
||||
"starred_url": "https://api.github.com/users/lfaraone/starred{/owner}{/repo}",
|
||||
"login": "lfaraone",
|
||||
"type": "User",
|
||||
"id": 73410,
|
||||
"followers_url": "https://api.github.com/users/lfaraone/followers"
|
||||
},
|
||||
"milestone": null,
|
||||
"merged_by": null,
|
||||
"url": "https://api.github.com/repos/zbenjamin/zulip-test/pulls/7",
|
||||
"mergeable_state": "unknown",
|
||||
"created_at": "2013-08-27T21:59:16Z",
|
||||
"review_comments_url": "https://github.com/zbenjamin/zulip-test/pull/7/comments",
|
||||
"review_comments": 0,
|
||||
"review_comment_url": "/repos/zbenjamin/zulip-test/pulls/comments/{number}",
|
||||
"merged": false
|
||||
},
|
||||
"sender": {
|
||||
"following_url": "https://api.github.com/users/lfaraone/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/lfaraone/gists{/gist_id}",
|
||||
"organizations_url": "https://api.github.com/users/lfaraone/orgs",
|
||||
"url": "https://api.github.com/users/lfaraone",
|
||||
"events_url": "https://api.github.com/users/lfaraone/events{/privacy}",
|
||||
"html_url": "https://github.com/lfaraone",
|
||||
"subscriptions_url": "https://api.github.com/users/lfaraone/subscriptions",
|
||||
"avatar_url": "https://0.gravatar.com/avatar/43918f842a892d0deb9ef1d8dcc9fe49?d=https%3A%2F%2Fidenticons.github.com%2F38b70bc4e5dd6c315c3acbe51c86820c.png",
|
||||
"repos_url": "https://api.github.com/users/lfaraone/repos",
|
||||
"received_events_url": "https://api.github.com/users/lfaraone/received_events",
|
||||
"gravatar_id": "43918f842a892d0deb9ef1d8dcc9fe49",
|
||||
"starred_url": "https://api.github.com/users/lfaraone/starred{/owner}{/repo}",
|
||||
"login": "lfaraone",
|
||||
"type": "User",
|
||||
"id": 73410,
|
||||
"followers_url": "https://api.github.com/users/lfaraone/followers"
|
||||
},
|
||||
"repository": {
|
||||
"issues_url": "https://api.github.com/repos/zbenjamin/zulip-test/issues{/number}",
|
||||
"has_wiki": true,
|
||||
"forks_url": "https://api.github.com/repos/zbenjamin/zulip-test/forks",
|
||||
"mirror_url": null,
|
||||
"subscription_url": "https://api.github.com/repos/zbenjamin/zulip-test/subscription",
|
||||
"merges_url": "https://api.github.com/repos/zbenjamin/zulip-test/merges",
|
||||
"collaborators_url": "https://api.github.com/repos/zbenjamin/zulip-test/collaborators{/collaborator}",
|
||||
"updated_at": "2013-08-27T21:58:00Z",
|
||||
"private": false,
|
||||
"pulls_url": "https://api.github.com/repos/zbenjamin/zulip-test/pulls{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/zbenjamin/zulip-test/issues/comments/{number}",
|
||||
"full_name": "zbenjamin/zulip-test",
|
||||
"owner": {
|
||||
"following_url": "https://api.github.com/users/zbenjamin/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/zbenjamin/gists{/gist_id}",
|
||||
"organizations_url": "https://api.github.com/users/zbenjamin/orgs",
|
||||
"url": "https://api.github.com/users/zbenjamin",
|
||||
"events_url": "https://api.github.com/users/zbenjamin/events{/privacy}",
|
||||
"html_url": "https://github.com/zbenjamin",
|
||||
"subscriptions_url": "https://api.github.com/users/zbenjamin/subscriptions",
|
||||
"avatar_url": "https://0.gravatar.com/avatar/cdd20cf7f6f5948fad385c0c230c3b4f?d=https%3A%2F%2Fidenticons.github.com%2F0e8c5c04107d38331fdd921015823de6.png",
|
||||
"repos_url": "https://api.github.com/users/zbenjamin/repos",
|
||||
"received_events_url": "https://api.github.com/users/zbenjamin/received_events",
|
||||
"gravatar_id": "cdd20cf7f6f5948fad385c0c230c3b4f",
|
||||
"starred_url": "https://api.github.com/users/zbenjamin/starred{/owner}{/repo}",
|
||||
"login": "zbenjamin",
|
||||
"type": "User",
|
||||
"id": 58684,
|
||||
"followers_url": "https://api.github.com/users/zbenjamin/followers"
|
||||
},
|
||||
"contents_url": "https://api.github.com/repos/zbenjamin/zulip-test/contents/{+path}",
|
||||
"id": 6893087,
|
||||
"keys_url": "https://api.github.com/repos/zbenjamin/zulip-test/keys{/key_id}",
|
||||
"size": 66,
|
||||
"tags_url": "https://api.github.com/repos/zbenjamin/zulip-test/tags",
|
||||
"issue_events_url": "https://api.github.com/repos/zbenjamin/zulip-test/issues/events{/number}",
|
||||
"contributors_url": "https://api.github.com/repos/zbenjamin/zulip-test/contributors",
|
||||
"downloads_url": "https://api.github.com/repos/zbenjamin/zulip-test/downloads",
|
||||
"has_downloads": true,
|
||||
"assignees_url": "https://api.github.com/repos/zbenjamin/zulip-test/assignees{/user}",
|
||||
"statuses_url": "https://api.github.com/repos/zbenjamin/zulip-test/statuses/{sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/zbenjamin/zulip-test/git/refs{/sha}",
|
||||
"clone_url": "https://github.com/zbenjamin/zulip-test.git",
|
||||
"watchers_count": 0,
|
||||
"git_tags_url": "https://api.github.com/repos/zbenjamin/zulip-test/git/tags{/sha}",
|
||||
"milestones_url": "https://api.github.com/repos/zbenjamin/zulip-test/milestones{/number}",
|
||||
"languages_url": "https://api.github.com/repos/zbenjamin/zulip-test/languages",
|
||||
"homepage": null,
|
||||
"branches_url": "https://api.github.com/repos/zbenjamin/zulip-test/branches{/branch}",
|
||||
"fork": false,
|
||||
"commits_url": "https://api.github.com/repos/zbenjamin/zulip-test/commits{/sha}",
|
||||
"description": "Test repository",
|
||||
"archive_url": "https://api.github.com/repos/zbenjamin/zulip-test/{archive_format}{/ref}",
|
||||
"labels_url": "https://api.github.com/repos/zbenjamin/zulip-test/labels{/name}",
|
||||
"events_url": "https://api.github.com/repos/zbenjamin/zulip-test/events",
|
||||
"comments_url": "https://api.github.com/repos/zbenjamin/zulip-test/comments{/number}",
|
||||
"html_url": "https://github.com/zbenjamin/zulip-test",
|
||||
"compare_url": "https://api.github.com/repos/zbenjamin/zulip-test/compare/{base}...{head}",
|
||||
"trees_url": "https://api.github.com/repos/zbenjamin/zulip-test/git/trees{/sha}",
|
||||
"git_url": "git://github.com/zbenjamin/zulip-test.git",
|
||||
"svn_url": "https://github.com/zbenjamin/zulip-test",
|
||||
"notifications_url": "https://api.github.com/repos/zbenjamin/zulip-test/notifications{?since,all,participating}",
|
||||
"has_issues": true,
|
||||
"ssh_url": "git@github.com:zbenjamin/zulip-test.git",
|
||||
"blobs_url": "https://api.github.com/repos/zbenjamin/zulip-test/git/blobs{/sha}",
|
||||
"master_branch": "master",
|
||||
"forks": 1,
|
||||
"hooks_url": "https://api.github.com/repos/zbenjamin/zulip-test/hooks",
|
||||
"open_issues_count": 1,
|
||||
"watchers": 0,
|
||||
"name": "zulip-test",
|
||||
"language": null,
|
||||
"url": "https://api.github.com/repos/zbenjamin/zulip-test",
|
||||
"created_at": "2012-11-27T23:46:58Z",
|
||||
"pushed_at": "2013-08-27T21:57:59Z",
|
||||
"forks_count": 1,
|
||||
"default_branch": "master",
|
||||
"teams_url": "https://api.github.com/repos/zbenjamin/zulip-test/teams",
|
||||
"open_issues": 1,
|
||||
"git_commits_url": "https://api.github.com/repos/zbenjamin/zulip-test/git/commits{/sha}",
|
||||
"subscribers_url": "https://api.github.com/repos/zbenjamin/zulip-test/subscribers",
|
||||
"stargazers_url": "https://api.github.com/repos/zbenjamin/zulip-test/stargazers"
|
||||
},
|
||||
"number": 7
|
||||
}
|
||||
}
|
||||
@@ -1,408 +0,0 @@
|
||||
{
|
||||
"event": "pull_request",
|
||||
"payload": {
|
||||
"action": "synchronize",
|
||||
"pull_request": {
|
||||
"body": "I am trying to simulate a \"synchronize\" action, whatever that means.",
|
||||
"merge_commit_sha": "61de840093f300e61dba82dc402cf4c50809a53d",
|
||||
"number": 13,
|
||||
"assignee": null,
|
||||
"mergeable": null,
|
||||
"closed_at": null,
|
||||
"additions": 5,
|
||||
"statuses_url": "https://api.github.com/repos/zbenjamin/zulip-test/statuses/01d61f95629af5d2ae8d018c1b3f5fd05b18b72c",
|
||||
"id": 11719733,
|
||||
"title": "Even more cowbell.",
|
||||
"comments": 0,
|
||||
"merged_at": null,
|
||||
"state": "open",
|
||||
"_links": {
|
||||
"self": {
|
||||
"href": "https://api.github.com/repos/zbenjamin/zulip-test/pulls/13"
|
||||
},
|
||||
"comments": {
|
||||
"href": "https://api.github.com/repos/zbenjamin/zulip-test/issues/13/comments"
|
||||
},
|
||||
"html": {
|
||||
"href": "https://github.com/zbenjamin/zulip-test/pull/13"
|
||||
},
|
||||
"review_comments": {
|
||||
"href": "https://api.github.com/repos/zbenjamin/zulip-test/pulls/13/comments"
|
||||
},
|
||||
"issue": {
|
||||
"href": "https://api.github.com/repos/zbenjamin/zulip-test/issues/13"
|
||||
},
|
||||
"statuses": {
|
||||
"href": "https://api.github.com/repos/zbenjamin/zulip-test/statuses/01d61f95629af5d2ae8d018c1b3f5fd05b18b72c"
|
||||
}
|
||||
},
|
||||
"commits": 2,
|
||||
"diff_url": "https://github.com/zbenjamin/zulip-test/pull/13.diff",
|
||||
"issue_url": "https://github.com/zbenjamin/zulip-test/pull/13",
|
||||
"patch_url": "https://github.com/zbenjamin/zulip-test/pull/13.patch",
|
||||
"deletions": 0,
|
||||
"head": {
|
||||
"repo": {
|
||||
"issues_url": "https://api.github.com/repos/zbenjamin/zulip-test/issues{/number}",
|
||||
"has_wiki": true,
|
||||
"forks_url": "https://api.github.com/repos/zbenjamin/zulip-test/forks",
|
||||
"mirror_url": null,
|
||||
"subscription_url": "https://api.github.com/repos/zbenjamin/zulip-test/subscription",
|
||||
"merges_url": "https://api.github.com/repos/zbenjamin/zulip-test/merges",
|
||||
"collaborators_url": "https://api.github.com/repos/zbenjamin/zulip-test/collaborators{/collaborator}",
|
||||
"updated_at": "2014-01-21T16:31:59Z",
|
||||
"private": false,
|
||||
"pulls_url": "https://api.github.com/repos/zbenjamin/zulip-test/pulls{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/zbenjamin/zulip-test/issues/comments/{number}",
|
||||
"full_name": "zbenjamin/zulip-test",
|
||||
"owner": {
|
||||
"following_url": "https://api.github.com/users/zbenjamin/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/zbenjamin/gists{/gist_id}",
|
||||
"organizations_url": "https://api.github.com/users/zbenjamin/orgs",
|
||||
"url": "https://api.github.com/users/zbenjamin",
|
||||
"events_url": "https://api.github.com/users/zbenjamin/events{/privacy}",
|
||||
"html_url": "https://github.com/zbenjamin",
|
||||
"subscriptions_url": "https://api.github.com/users/zbenjamin/subscriptions",
|
||||
"avatar_url": "https://gravatar.com/avatar/cdd20cf7f6f5948fad385c0c230c3b4f?d=https%3A%2F%2Fidenticons.github.com%2F0e8c5c04107d38331fdd921015823de6.png&r=x",
|
||||
"repos_url": "https://api.github.com/users/zbenjamin/repos",
|
||||
"received_events_url": "https://api.github.com/users/zbenjamin/received_events",
|
||||
"gravatar_id": "cdd20cf7f6f5948fad385c0c230c3b4f",
|
||||
"starred_url": "https://api.github.com/users/zbenjamin/starred{/owner}{/repo}",
|
||||
"site_admin": false,
|
||||
"login": "zbenjamin",
|
||||
"type": "User",
|
||||
"id": 58684,
|
||||
"followers_url": "https://api.github.com/users/zbenjamin/followers"
|
||||
},
|
||||
"statuses_url": "https://api.github.com/repos/zbenjamin/zulip-test/statuses/{sha}",
|
||||
"id": 6893087,
|
||||
"keys_url": "https://api.github.com/repos/zbenjamin/zulip-test/keys{/key_id}",
|
||||
"size": 198,
|
||||
"tags_url": "https://api.github.com/repos/zbenjamin/zulip-test/tags",
|
||||
"issue_events_url": "https://api.github.com/repos/zbenjamin/zulip-test/issues/events{/number}",
|
||||
"contributors_url": "https://api.github.com/repos/zbenjamin/zulip-test/contributors",
|
||||
"downloads_url": "https://api.github.com/repos/zbenjamin/zulip-test/downloads",
|
||||
"has_downloads": true,
|
||||
"assignees_url": "https://api.github.com/repos/zbenjamin/zulip-test/assignees{/user}",
|
||||
"contents_url": "https://api.github.com/repos/zbenjamin/zulip-test/contents/{+path}",
|
||||
"git_refs_url": "https://api.github.com/repos/zbenjamin/zulip-test/git/refs{/sha}",
|
||||
"clone_url": "https://github.com/zbenjamin/zulip-test.git",
|
||||
"watchers_count": 0,
|
||||
"git_tags_url": "https://api.github.com/repos/zbenjamin/zulip-test/git/tags{/sha}",
|
||||
"milestones_url": "https://api.github.com/repos/zbenjamin/zulip-test/milestones{/number}",
|
||||
"stargazers_count": 0,
|
||||
"homepage": null,
|
||||
"branches_url": "https://api.github.com/repos/zbenjamin/zulip-test/branches{/branch}",
|
||||
"fork": false,
|
||||
"commits_url": "https://api.github.com/repos/zbenjamin/zulip-test/commits{/sha}",
|
||||
"releases_url": "https://api.github.com/repos/zbenjamin/zulip-test/releases{/id}",
|
||||
"description": "Test repository",
|
||||
"archive_url": "https://api.github.com/repos/zbenjamin/zulip-test/{archive_format}{/ref}",
|
||||
"labels_url": "https://api.github.com/repos/zbenjamin/zulip-test/labels{/name}",
|
||||
"events_url": "https://api.github.com/repos/zbenjamin/zulip-test/events",
|
||||
"comments_url": "https://api.github.com/repos/zbenjamin/zulip-test/comments{/number}",
|
||||
"html_url": "https://github.com/zbenjamin/zulip-test",
|
||||
"forks": 1,
|
||||
"compare_url": "https://api.github.com/repos/zbenjamin/zulip-test/compare/{base}...{head}",
|
||||
"trees_url": "https://api.github.com/repos/zbenjamin/zulip-test/git/trees{/sha}",
|
||||
"git_url": "git://github.com/zbenjamin/zulip-test.git",
|
||||
"svn_url": "https://github.com/zbenjamin/zulip-test",
|
||||
"notifications_url": "https://api.github.com/repos/zbenjamin/zulip-test/notifications{?since,all,participating}",
|
||||
"has_issues": true,
|
||||
"ssh_url": "git@github.com:zbenjamin/zulip-test.git",
|
||||
"blobs_url": "https://api.github.com/repos/zbenjamin/zulip-test/git/blobs{/sha}",
|
||||
"master_branch": "master",
|
||||
"languages_url": "https://api.github.com/repos/zbenjamin/zulip-test/languages",
|
||||
"hooks_url": "https://api.github.com/repos/zbenjamin/zulip-test/hooks",
|
||||
"open_issues_count": 3,
|
||||
"watchers": 0,
|
||||
"name": "zulip-test",
|
||||
"language": "Python",
|
||||
"url": "https://api.github.com/repos/zbenjamin/zulip-test",
|
||||
"created_at": "2012-11-27T23:46:58Z",
|
||||
"pushed_at": "2014-01-21T16:42:21Z",
|
||||
"forks_count": 1,
|
||||
"default_branch": "master",
|
||||
"teams_url": "https://api.github.com/repos/zbenjamin/zulip-test/teams",
|
||||
"open_issues": 3,
|
||||
"git_commits_url": "https://api.github.com/repos/zbenjamin/zulip-test/git/commits{/sha}",
|
||||
"subscribers_url": "https://api.github.com/repos/zbenjamin/zulip-test/subscribers",
|
||||
"stargazers_url": "https://api.github.com/repos/zbenjamin/zulip-test/stargazers"
|
||||
},
|
||||
"sha": "01d61f95629af5d2ae8d018c1b3f5fd05b18b72c",
|
||||
"ref": "steve-synchronize",
|
||||
"user": {
|
||||
"following_url": "https://api.github.com/users/zbenjamin/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/zbenjamin/gists{/gist_id}",
|
||||
"organizations_url": "https://api.github.com/users/zbenjamin/orgs",
|
||||
"url": "https://api.github.com/users/zbenjamin",
|
||||
"events_url": "https://api.github.com/users/zbenjamin/events{/privacy}",
|
||||
"html_url": "https://github.com/zbenjamin",
|
||||
"subscriptions_url": "https://api.github.com/users/zbenjamin/subscriptions",
|
||||
"avatar_url": "https://gravatar.com/avatar/cdd20cf7f6f5948fad385c0c230c3b4f?d=https%3A%2F%2Fidenticons.github.com%2F0e8c5c04107d38331fdd921015823de6.png&r=x",
|
||||
"repos_url": "https://api.github.com/users/zbenjamin/repos",
|
||||
"received_events_url": "https://api.github.com/users/zbenjamin/received_events",
|
||||
"gravatar_id": "cdd20cf7f6f5948fad385c0c230c3b4f",
|
||||
"starred_url": "https://api.github.com/users/zbenjamin/starred{/owner}{/repo}",
|
||||
"site_admin": false,
|
||||
"login": "zbenjamin",
|
||||
"type": "User",
|
||||
"id": 58684,
|
||||
"followers_url": "https://api.github.com/users/zbenjamin/followers"
|
||||
},
|
||||
"label": "zbenjamin:steve-synchronize"
|
||||
},
|
||||
"commits_url": "https://github.com/zbenjamin/zulip-test/pull/13/commits",
|
||||
"changed_files": 1,
|
||||
"comments_url": "https://api.github.com/repos/zbenjamin/zulip-test/issues/13/comments",
|
||||
"html_url": "https://github.com/zbenjamin/zulip-test/pull/13",
|
||||
"updated_at": "2014-01-21T16:42:21Z",
|
||||
"base": {
|
||||
"repo": {
|
||||
"issues_url": "https://api.github.com/repos/zbenjamin/zulip-test/issues{/number}",
|
||||
"has_wiki": true,
|
||||
"forks_url": "https://api.github.com/repos/zbenjamin/zulip-test/forks",
|
||||
"mirror_url": null,
|
||||
"subscription_url": "https://api.github.com/repos/zbenjamin/zulip-test/subscription",
|
||||
"merges_url": "https://api.github.com/repos/zbenjamin/zulip-test/merges",
|
||||
"collaborators_url": "https://api.github.com/repos/zbenjamin/zulip-test/collaborators{/collaborator}",
|
||||
"updated_at": "2014-01-21T16:31:59Z",
|
||||
"private": false,
|
||||
"pulls_url": "https://api.github.com/repos/zbenjamin/zulip-test/pulls{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/zbenjamin/zulip-test/issues/comments/{number}",
|
||||
"full_name": "zbenjamin/zulip-test",
|
||||
"owner": {
|
||||
"following_url": "https://api.github.com/users/zbenjamin/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/zbenjamin/gists{/gist_id}",
|
||||
"organizations_url": "https://api.github.com/users/zbenjamin/orgs",
|
||||
"url": "https://api.github.com/users/zbenjamin",
|
||||
"events_url": "https://api.github.com/users/zbenjamin/events{/privacy}",
|
||||
"html_url": "https://github.com/zbenjamin",
|
||||
"subscriptions_url": "https://api.github.com/users/zbenjamin/subscriptions",
|
||||
"avatar_url": "https://gravatar.com/avatar/cdd20cf7f6f5948fad385c0c230c3b4f?d=https%3A%2F%2Fidenticons.github.com%2F0e8c5c04107d38331fdd921015823de6.png&r=x",
|
||||
"repos_url": "https://api.github.com/users/zbenjamin/repos",
|
||||
"received_events_url": "https://api.github.com/users/zbenjamin/received_events",
|
||||
"gravatar_id": "cdd20cf7f6f5948fad385c0c230c3b4f",
|
||||
"starred_url": "https://api.github.com/users/zbenjamin/starred{/owner}{/repo}",
|
||||
"site_admin": false,
|
||||
"login": "zbenjamin",
|
||||
"type": "User",
|
||||
"id": 58684,
|
||||
"followers_url": "https://api.github.com/users/zbenjamin/followers"
|
||||
},
|
||||
"statuses_url": "https://api.github.com/repos/zbenjamin/zulip-test/statuses/{sha}",
|
||||
"id": 6893087,
|
||||
"keys_url": "https://api.github.com/repos/zbenjamin/zulip-test/keys{/key_id}",
|
||||
"size": 198,
|
||||
"tags_url": "https://api.github.com/repos/zbenjamin/zulip-test/tags",
|
||||
"issue_events_url": "https://api.github.com/repos/zbenjamin/zulip-test/issues/events{/number}",
|
||||
"contributors_url": "https://api.github.com/repos/zbenjamin/zulip-test/contributors",
|
||||
"downloads_url": "https://api.github.com/repos/zbenjamin/zulip-test/downloads",
|
||||
"has_downloads": true,
|
||||
"assignees_url": "https://api.github.com/repos/zbenjamin/zulip-test/assignees{/user}",
|
||||
"contents_url": "https://api.github.com/repos/zbenjamin/zulip-test/contents/{+path}",
|
||||
"git_refs_url": "https://api.github.com/repos/zbenjamin/zulip-test/git/refs{/sha}",
|
||||
"clone_url": "https://github.com/zbenjamin/zulip-test.git",
|
||||
"watchers_count": 0,
|
||||
"git_tags_url": "https://api.github.com/repos/zbenjamin/zulip-test/git/tags{/sha}",
|
||||
"milestones_url": "https://api.github.com/repos/zbenjamin/zulip-test/milestones{/number}",
|
||||
"stargazers_count": 0,
|
||||
"homepage": null,
|
||||
"branches_url": "https://api.github.com/repos/zbenjamin/zulip-test/branches{/branch}",
|
||||
"fork": false,
|
||||
"commits_url": "https://api.github.com/repos/zbenjamin/zulip-test/commits{/sha}",
|
||||
"releases_url": "https://api.github.com/repos/zbenjamin/zulip-test/releases{/id}",
|
||||
"description": "Test repository",
|
||||
"archive_url": "https://api.github.com/repos/zbenjamin/zulip-test/{archive_format}{/ref}",
|
||||
"labels_url": "https://api.github.com/repos/zbenjamin/zulip-test/labels{/name}",
|
||||
"events_url": "https://api.github.com/repos/zbenjamin/zulip-test/events",
|
||||
"comments_url": "https://api.github.com/repos/zbenjamin/zulip-test/comments{/number}",
|
||||
"html_url": "https://github.com/zbenjamin/zulip-test",
|
||||
"forks": 1,
|
||||
"compare_url": "https://api.github.com/repos/zbenjamin/zulip-test/compare/{base}...{head}",
|
||||
"trees_url": "https://api.github.com/repos/zbenjamin/zulip-test/git/trees{/sha}",
|
||||
"git_url": "git://github.com/zbenjamin/zulip-test.git",
|
||||
"svn_url": "https://github.com/zbenjamin/zulip-test",
|
||||
"notifications_url": "https://api.github.com/repos/zbenjamin/zulip-test/notifications{?since,all,participating}",
|
||||
"has_issues": true,
|
||||
"ssh_url": "git@github.com:zbenjamin/zulip-test.git",
|
||||
"blobs_url": "https://api.github.com/repos/zbenjamin/zulip-test/git/blobs{/sha}",
|
||||
"master_branch": "master",
|
||||
"languages_url": "https://api.github.com/repos/zbenjamin/zulip-test/languages",
|
||||
"hooks_url": "https://api.github.com/repos/zbenjamin/zulip-test/hooks",
|
||||
"open_issues_count": 3,
|
||||
"watchers": 0,
|
||||
"name": "zulip-test",
|
||||
"language": "Python",
|
||||
"url": "https://api.github.com/repos/zbenjamin/zulip-test",
|
||||
"created_at": "2012-11-27T23:46:58Z",
|
||||
"pushed_at": "2014-01-21T16:42:21Z",
|
||||
"forks_count": 1,
|
||||
"default_branch": "master",
|
||||
"teams_url": "https://api.github.com/repos/zbenjamin/zulip-test/teams",
|
||||
"open_issues": 3,
|
||||
"git_commits_url": "https://api.github.com/repos/zbenjamin/zulip-test/git/commits{/sha}",
|
||||
"subscribers_url": "https://api.github.com/repos/zbenjamin/zulip-test/subscribers",
|
||||
"stargazers_url": "https://api.github.com/repos/zbenjamin/zulip-test/stargazers"
|
||||
},
|
||||
"sha": "f07443f0dac8606a6ca0e925a761256381c0f3e8",
|
||||
"ref": "master",
|
||||
"user": {
|
||||
"following_url": "https://api.github.com/users/zbenjamin/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/zbenjamin/gists{/gist_id}",
|
||||
"organizations_url": "https://api.github.com/users/zbenjamin/orgs",
|
||||
"url": "https://api.github.com/users/zbenjamin",
|
||||
"events_url": "https://api.github.com/users/zbenjamin/events{/privacy}",
|
||||
"html_url": "https://github.com/zbenjamin",
|
||||
"subscriptions_url": "https://api.github.com/users/zbenjamin/subscriptions",
|
||||
"avatar_url": "https://gravatar.com/avatar/cdd20cf7f6f5948fad385c0c230c3b4f?d=https%3A%2F%2Fidenticons.github.com%2F0e8c5c04107d38331fdd921015823de6.png&r=x",
|
||||
"repos_url": "https://api.github.com/users/zbenjamin/repos",
|
||||
"received_events_url": "https://api.github.com/users/zbenjamin/received_events",
|
||||
"gravatar_id": "cdd20cf7f6f5948fad385c0c230c3b4f",
|
||||
"starred_url": "https://api.github.com/users/zbenjamin/starred{/owner}{/repo}",
|
||||
"site_admin": false,
|
||||
"login": "zbenjamin",
|
||||
"type": "User",
|
||||
"id": 58684,
|
||||
"followers_url": "https://api.github.com/users/zbenjamin/followers"
|
||||
},
|
||||
"label": "zbenjamin:master"
|
||||
},
|
||||
"user": {
|
||||
"following_url": "https://api.github.com/users/showell/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/showell/gists{/gist_id}",
|
||||
"organizations_url": "https://api.github.com/users/showell/orgs",
|
||||
"url": "https://api.github.com/users/showell",
|
||||
"events_url": "https://api.github.com/users/showell/events{/privacy}",
|
||||
"html_url": "https://github.com/showell",
|
||||
"subscriptions_url": "https://api.github.com/users/showell/subscriptions",
|
||||
"avatar_url": "https://gravatar.com/avatar/b60683e6dacd4556ae15430a7c9b6f13?d=https%3A%2F%2Fidenticons.github.com%2Fc640df6a6796236f6ee04c58d86031a9.png&r=x",
|
||||
"repos_url": "https://api.github.com/users/showell/repos",
|
||||
"received_events_url": "https://api.github.com/users/showell/received_events",
|
||||
"gravatar_id": "b60683e6dacd4556ae15430a7c9b6f13",
|
||||
"starred_url": "https://api.github.com/users/showell/starred{/owner}{/repo}",
|
||||
"site_admin": false,
|
||||
"login": "showell",
|
||||
"type": "User",
|
||||
"id": 142908,
|
||||
"followers_url": "https://api.github.com/users/showell/followers"
|
||||
},
|
||||
"milestone": null,
|
||||
"merged_by": null,
|
||||
"url": "https://api.github.com/repos/zbenjamin/zulip-test/pulls/13",
|
||||
"mergeable_state": "unknown",
|
||||
"created_at": "2014-01-21T16:31:59Z",
|
||||
"review_comments_url": "https://github.com/zbenjamin/zulip-test/pull/13/comments",
|
||||
"review_comments": 0,
|
||||
"review_comment_url": "/repos/zbenjamin/zulip-test/pulls/comments/{number}",
|
||||
"merged": false
|
||||
},
|
||||
"sender": {
|
||||
"following_url": "https://api.github.com/users/zbenjamin/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/zbenjamin/gists{/gist_id}",
|
||||
"organizations_url": "https://api.github.com/users/zbenjamin/orgs",
|
||||
"url": "https://api.github.com/users/zbenjamin",
|
||||
"events_url": "https://api.github.com/users/zbenjamin/events{/privacy}",
|
||||
"html_url": "https://github.com/zbenjamin",
|
||||
"subscriptions_url": "https://api.github.com/users/zbenjamin/subscriptions",
|
||||
"avatar_url": "https://gravatar.com/avatar/cdd20cf7f6f5948fad385c0c230c3b4f?d=https%3A%2F%2Fidenticons.github.com%2F0e8c5c04107d38331fdd921015823de6.png&r=x",
|
||||
"repos_url": "https://api.github.com/users/zbenjamin/repos",
|
||||
"received_events_url": "https://api.github.com/users/zbenjamin/received_events",
|
||||
"gravatar_id": "cdd20cf7f6f5948fad385c0c230c3b4f",
|
||||
"starred_url": "https://api.github.com/users/zbenjamin/starred{/owner}{/repo}",
|
||||
"site_admin": false,
|
||||
"login": "zbenjamin",
|
||||
"type": "User",
|
||||
"id": 58684,
|
||||
"followers_url": "https://api.github.com/users/zbenjamin/followers"
|
||||
},
|
||||
"repository": {
|
||||
"issues_url": "https://api.github.com/repos/zbenjamin/zulip-test/issues{/number}",
|
||||
"has_wiki": true,
|
||||
"forks_url": "https://api.github.com/repos/zbenjamin/zulip-test/forks",
|
||||
"mirror_url": null,
|
||||
"subscription_url": "https://api.github.com/repos/zbenjamin/zulip-test/subscription",
|
||||
"merges_url": "https://api.github.com/repos/zbenjamin/zulip-test/merges",
|
||||
"collaborators_url": "https://api.github.com/repos/zbenjamin/zulip-test/collaborators{/collaborator}",
|
||||
"updated_at": "2014-01-21T16:31:59Z",
|
||||
"private": false,
|
||||
"pulls_url": "https://api.github.com/repos/zbenjamin/zulip-test/pulls{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/zbenjamin/zulip-test/issues/comments/{number}",
|
||||
"full_name": "zbenjamin/zulip-test",
|
||||
"owner": {
|
||||
"following_url": "https://api.github.com/users/zbenjamin/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/zbenjamin/gists{/gist_id}",
|
||||
"organizations_url": "https://api.github.com/users/zbenjamin/orgs",
|
||||
"url": "https://api.github.com/users/zbenjamin",
|
||||
"events_url": "https://api.github.com/users/zbenjamin/events{/privacy}",
|
||||
"html_url": "https://github.com/zbenjamin",
|
||||
"subscriptions_url": "https://api.github.com/users/zbenjamin/subscriptions",
|
||||
"avatar_url": "https://gravatar.com/avatar/cdd20cf7f6f5948fad385c0c230c3b4f?d=https%3A%2F%2Fidenticons.github.com%2F0e8c5c04107d38331fdd921015823de6.png&r=x",
|
||||
"repos_url": "https://api.github.com/users/zbenjamin/repos",
|
||||
"received_events_url": "https://api.github.com/users/zbenjamin/received_events",
|
||||
"gravatar_id": "cdd20cf7f6f5948fad385c0c230c3b4f",
|
||||
"starred_url": "https://api.github.com/users/zbenjamin/starred{/owner}{/repo}",
|
||||
"site_admin": false,
|
||||
"login": "zbenjamin",
|
||||
"type": "User",
|
||||
"id": 58684,
|
||||
"followers_url": "https://api.github.com/users/zbenjamin/followers"
|
||||
},
|
||||
"statuses_url": "https://api.github.com/repos/zbenjamin/zulip-test/statuses/{sha}",
|
||||
"id": 6893087,
|
||||
"keys_url": "https://api.github.com/repos/zbenjamin/zulip-test/keys{/key_id}",
|
||||
"size": 198,
|
||||
"tags_url": "https://api.github.com/repos/zbenjamin/zulip-test/tags",
|
||||
"issue_events_url": "https://api.github.com/repos/zbenjamin/zulip-test/issues/events{/number}",
|
||||
"contributors_url": "https://api.github.com/repos/zbenjamin/zulip-test/contributors",
|
||||
"downloads_url": "https://api.github.com/repos/zbenjamin/zulip-test/downloads",
|
||||
"has_downloads": true,
|
||||
"assignees_url": "https://api.github.com/repos/zbenjamin/zulip-test/assignees{/user}",
|
||||
"contents_url": "https://api.github.com/repos/zbenjamin/zulip-test/contents/{+path}",
|
||||
"git_refs_url": "https://api.github.com/repos/zbenjamin/zulip-test/git/refs{/sha}",
|
||||
"clone_url": "https://github.com/zbenjamin/zulip-test.git",
|
||||
"watchers_count": 0,
|
||||
"git_tags_url": "https://api.github.com/repos/zbenjamin/zulip-test/git/tags{/sha}",
|
||||
"milestones_url": "https://api.github.com/repos/zbenjamin/zulip-test/milestones{/number}",
|
||||
"stargazers_count": 0,
|
||||
"homepage": null,
|
||||
"branches_url": "https://api.github.com/repos/zbenjamin/zulip-test/branches{/branch}",
|
||||
"fork": false,
|
||||
"commits_url": "https://api.github.com/repos/zbenjamin/zulip-test/commits{/sha}",
|
||||
"releases_url": "https://api.github.com/repos/zbenjamin/zulip-test/releases{/id}",
|
||||
"description": "Test repository",
|
||||
"archive_url": "https://api.github.com/repos/zbenjamin/zulip-test/{archive_format}{/ref}",
|
||||
"labels_url": "https://api.github.com/repos/zbenjamin/zulip-test/labels{/name}",
|
||||
"events_url": "https://api.github.com/repos/zbenjamin/zulip-test/events",
|
||||
"comments_url": "https://api.github.com/repos/zbenjamin/zulip-test/comments{/number}",
|
||||
"html_url": "https://github.com/zbenjamin/zulip-test",
|
||||
"forks": 1,
|
||||
"compare_url": "https://api.github.com/repos/zbenjamin/zulip-test/compare/{base}...{head}",
|
||||
"trees_url": "https://api.github.com/repos/zbenjamin/zulip-test/git/trees{/sha}",
|
||||
"git_url": "git://github.com/zbenjamin/zulip-test.git",
|
||||
"svn_url": "https://github.com/zbenjamin/zulip-test",
|
||||
"notifications_url": "https://api.github.com/repos/zbenjamin/zulip-test/notifications{?since,all,participating}",
|
||||
"has_issues": true,
|
||||
"ssh_url": "git@github.com:zbenjamin/zulip-test.git",
|
||||
"blobs_url": "https://api.github.com/repos/zbenjamin/zulip-test/git/blobs{/sha}",
|
||||
"master_branch": "master",
|
||||
"languages_url": "https://api.github.com/repos/zbenjamin/zulip-test/languages",
|
||||
"hooks_url": "https://api.github.com/repos/zbenjamin/zulip-test/hooks",
|
||||
"open_issues_count": 3,
|
||||
"watchers": 0,
|
||||
"name": "zulip-test",
|
||||
"language": "Python",
|
||||
"url": "https://api.github.com/repos/zbenjamin/zulip-test",
|
||||
"created_at": "2012-11-27T23:46:58Z",
|
||||
"pushed_at": "2014-01-21T16:42:21Z",
|
||||
"forks_count": 1,
|
||||
"default_branch": "master",
|
||||
"teams_url": "https://api.github.com/repos/zbenjamin/zulip-test/teams",
|
||||
"open_issues": 3,
|
||||
"git_commits_url": "https://api.github.com/repos/zbenjamin/zulip-test/git/commits{/sha}",
|
||||
"subscribers_url": "https://api.github.com/repos/zbenjamin/zulip-test/subscribers",
|
||||
"stargazers_url": "https://api.github.com/repos/zbenjamin/zulip-test/stargazers"
|
||||
},
|
||||
"number": 13
|
||||
}
|
||||
}
|
||||
@@ -1,129 +0,0 @@
|
||||
{
|
||||
"event": "push",
|
||||
"payload": {
|
||||
"forced": false,
|
||||
"compare": "https://github.com/zbenjamin/zulip-test/compare/4f9adc4777d5...b95449196980",
|
||||
"after": "b95449196980507f08209bdfdc4f1d611689b7a8",
|
||||
"repository": {
|
||||
"fork": false,
|
||||
"watchers": 0,
|
||||
"description": "Test repository",
|
||||
"has_downloads": true,
|
||||
"url": "https://github.com/zbenjamin/zulip-test",
|
||||
"stargazers": 0,
|
||||
"created_at": 1354060018,
|
||||
"private": false,
|
||||
"name": "zulip-test",
|
||||
"pushed_at": 1377639818,
|
||||
"owner": {
|
||||
"name": "zbenjamin",
|
||||
"email": "zev-github@strangersgate.com"
|
||||
},
|
||||
"has_wiki": true,
|
||||
"open_issues": 0,
|
||||
"has_issues": true,
|
||||
"forks": 0,
|
||||
"master_branch": "master",
|
||||
"id": 6893087,
|
||||
"size": 66
|
||||
},
|
||||
"created": false,
|
||||
"deleted": false,
|
||||
"commits": [
|
||||
{
|
||||
"committer": {
|
||||
"username": "zbenjamin",
|
||||
"name": "Zev Benjamin",
|
||||
"email": "zev@mit.edu"
|
||||
},
|
||||
"added": [
|
||||
"baz"
|
||||
],
|
||||
"author": {
|
||||
"username": "zbenjamin",
|
||||
"name": "Zev Benjamin",
|
||||
"email": "zev@mit.edu"
|
||||
},
|
||||
"distinct": true,
|
||||
"timestamp": "2013-08-27T14:42:23-07:00",
|
||||
"modified": [],
|
||||
"url": "https://github.com/zbenjamin/zulip-test/commit/48c329a0b68a9a379ff195ee3f1c1f4ab0b2a89e",
|
||||
"message": "Add baz\n\nWe need it for testing",
|
||||
"removed": [],
|
||||
"id": "48c329a0b68a9a379ff195ee3f1c1f4ab0b2a89e"
|
||||
},
|
||||
{
|
||||
"committer": {
|
||||
"username": "zbenjamin",
|
||||
"name": "Zev Benjamin",
|
||||
"email": "zev@mit.edu"
|
||||
},
|
||||
"added": [],
|
||||
"author": {
|
||||
"username": "zbenjamin",
|
||||
"name": "Zev Benjamin",
|
||||
"email": "zev@mit.edu"
|
||||
},
|
||||
"distinct": true,
|
||||
"timestamp": "2013-08-27T14:42:43-07:00",
|
||||
"modified": [
|
||||
"baz"
|
||||
],
|
||||
"url": "https://github.com/zbenjamin/zulip-test/commit/06ebe5f472a32f6f31fd2a665f0c7442b69cce72",
|
||||
"message": "Baz needs to be longer\n\nBecause, uh, reasons",
|
||||
"removed": [],
|
||||
"id": "06ebe5f472a32f6f31fd2a665f0c7442b69cce72"
|
||||
},
|
||||
{
|
||||
"committer": {
|
||||
"username": "zbenjamin",
|
||||
"name": "Zev Benjamin",
|
||||
"email": "zev@mit.edu"
|
||||
},
|
||||
"added": [],
|
||||
"author": {
|
||||
"username": "zbenjamin",
|
||||
"name": "Zev Benjamin",
|
||||
"email": "zev@mit.edu"
|
||||
},
|
||||
"distinct": true,
|
||||
"timestamp": "2013-08-27T14:43:09-07:00",
|
||||
"modified": [
|
||||
"baz"
|
||||
],
|
||||
"url": "https://github.com/zbenjamin/zulip-test/commit/b95449196980507f08209bdfdc4f1d611689b7a8",
|
||||
"message": "Final edit to baz, I swear\n\nI mean, really, could you leave it at \"1, 2\"?",
|
||||
"removed": [],
|
||||
"id": "b95449196980507f08209bdfdc4f1d611689b7a8"
|
||||
}
|
||||
],
|
||||
"pusher": {
|
||||
"name": "zbenjamin",
|
||||
"email": "zev-github@strangersgate.com"
|
||||
},
|
||||
"head_commit": {
|
||||
"committer": {
|
||||
"username": "zbenjamin",
|
||||
"name": "Zev Benjamin",
|
||||
"email": "zev@mit.edu"
|
||||
},
|
||||
"added": [],
|
||||
"author": {
|
||||
"username": "zbenjamin",
|
||||
"name": "Zev Benjamin",
|
||||
"email": "zev@mit.edu"
|
||||
},
|
||||
"distinct": true,
|
||||
"timestamp": "2013-08-27T14:43:09-07:00",
|
||||
"modified": [
|
||||
"baz"
|
||||
],
|
||||
"url": "https://github.com/zbenjamin/zulip-test/commit/b95449196980507f08209bdfdc4f1d611689b7a8",
|
||||
"message": "Final edit to baz, I swear\n\nI mean, really, could you leave it at \"1, 2\"?",
|
||||
"removed": [],
|
||||
"id": "b95449196980507f08209bdfdc4f1d611689b7a8"
|
||||
},
|
||||
"ref": "refs/heads/master",
|
||||
"before": "4f9adc4777d54ccb7ac105c98fe393c078a33f53"
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,137 +0,0 @@
|
||||
{
|
||||
"event": "commit_comment",
|
||||
"payload": {
|
||||
"comment": {
|
||||
"commit_id": "7c994678d2f98797d299abed852d3ff9d0834533",
|
||||
"body": "Are we sure this is enough cowbell?",
|
||||
"url": "https://api.github.com/repos/zbenjamin/zulip-test/comments/4252302",
|
||||
"created_at": "2013-10-04T14:56:50Z",
|
||||
"updated_at": "2013-10-04T14:56:50Z",
|
||||
"html_url": "https://github.com/zbenjamin/zulip-test/commit/7c994678d2f98797d299abed852d3ff9d0834533#commitcomment-4252302",
|
||||
"user": {
|
||||
"following_url": "https://api.github.com/users/zbenjamin/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/zbenjamin/gists{/gist_id}",
|
||||
"organizations_url": "https://api.github.com/users/zbenjamin/orgs",
|
||||
"url": "https://api.github.com/users/zbenjamin",
|
||||
"events_url": "https://api.github.com/users/zbenjamin/events{/privacy}",
|
||||
"html_url": "https://github.com/zbenjamin",
|
||||
"subscriptions_url": "https://api.github.com/users/zbenjamin/subscriptions",
|
||||
"avatar_url": "https://2.gravatar.com/avatar/cdd20cf7f6f5948fad385c0c230c3b4f?d=https%3A%2F%2Fidenticons.github.com%2F0e8c5c04107d38331fdd921015823de6.png",
|
||||
"repos_url": "https://api.github.com/users/zbenjamin/repos",
|
||||
"received_events_url": "https://api.github.com/users/zbenjamin/received_events",
|
||||
"gravatar_id": "cdd20cf7f6f5948fad385c0c230c3b4f",
|
||||
"starred_url": "https://api.github.com/users/zbenjamin/starred{/owner}{/repo}",
|
||||
"login": "zbenjamin",
|
||||
"type": "User",
|
||||
"id": 58684,
|
||||
"followers_url": "https://api.github.com/users/zbenjamin/followers"
|
||||
},
|
||||
"position": null,
|
||||
"path": null,
|
||||
"line": null,
|
||||
"id": 4252302
|
||||
},
|
||||
"sender": {
|
||||
"following_url": "https://api.github.com/users/zbenjamin/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/zbenjamin/gists{/gist_id}",
|
||||
"organizations_url": "https://api.github.com/users/zbenjamin/orgs",
|
||||
"url": "https://api.github.com/users/zbenjamin",
|
||||
"events_url": "https://api.github.com/users/zbenjamin/events{/privacy}",
|
||||
"html_url": "https://github.com/zbenjamin",
|
||||
"subscriptions_url": "https://api.github.com/users/zbenjamin/subscriptions",
|
||||
"avatar_url": "https://1.gravatar.com/avatar/cdd20cf7f6f5948fad385c0c230c3b4f?d=https%3A%2F%2Fidenticons.github.com%2F0e8c5c04107d38331fdd921015823de6.png",
|
||||
"repos_url": "https://api.github.com/users/zbenjamin/repos",
|
||||
"received_events_url": "https://api.github.com/users/zbenjamin/received_events",
|
||||
"gravatar_id": "cdd20cf7f6f5948fad385c0c230c3b4f",
|
||||
"starred_url": "https://api.github.com/users/zbenjamin/starred{/owner}{/repo}",
|
||||
"login": "zbenjamin",
|
||||
"type": "User",
|
||||
"id": 58684,
|
||||
"followers_url": "https://api.github.com/users/zbenjamin/followers"
|
||||
},
|
||||
"repository": {
|
||||
"issues_url": "https://api.github.com/repos/zbenjamin/zulip-test/issues{/number}",
|
||||
"has_wiki": true,
|
||||
"forks_url": "https://api.github.com/repos/zbenjamin/zulip-test/forks",
|
||||
"mirror_url": null,
|
||||
"subscription_url": "https://api.github.com/repos/zbenjamin/zulip-test/subscription",
|
||||
"merges_url": "https://api.github.com/repos/zbenjamin/zulip-test/merges",
|
||||
"collaborators_url": "https://api.github.com/repos/zbenjamin/zulip-test/collaborators{/collaborator}",
|
||||
"updated_at": "2013-09-19T20:31:59Z",
|
||||
"private": false,
|
||||
"pulls_url": "https://api.github.com/repos/zbenjamin/zulip-test/pulls{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/zbenjamin/zulip-test/issues/comments/{number}",
|
||||
"full_name": "zbenjamin/zulip-test",
|
||||
"owner": {
|
||||
"following_url": "https://api.github.com/users/zbenjamin/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/zbenjamin/gists{/gist_id}",
|
||||
"organizations_url": "https://api.github.com/users/zbenjamin/orgs",
|
||||
"url": "https://api.github.com/users/zbenjamin",
|
||||
"events_url": "https://api.github.com/users/zbenjamin/events{/privacy}",
|
||||
"html_url": "https://github.com/zbenjamin",
|
||||
"subscriptions_url": "https://api.github.com/users/zbenjamin/subscriptions",
|
||||
"avatar_url": "https://1.gravatar.com/avatar/cdd20cf7f6f5948fad385c0c230c3b4f?d=https%3A%2F%2Fidenticons.github.com%2F0e8c5c04107d38331fdd921015823de6.png",
|
||||
"repos_url": "https://api.github.com/users/zbenjamin/repos",
|
||||
"received_events_url": "https://api.github.com/users/zbenjamin/received_events",
|
||||
"gravatar_id": "cdd20cf7f6f5948fad385c0c230c3b4f",
|
||||
"starred_url": "https://api.github.com/users/zbenjamin/starred{/owner}{/repo}",
|
||||
"login": "zbenjamin",
|
||||
"type": "User",
|
||||
"id": 58684,
|
||||
"followers_url": "https://api.github.com/users/zbenjamin/followers"
|
||||
},
|
||||
"contents_url": "https://api.github.com/repos/zbenjamin/zulip-test/contents/{+path}",
|
||||
"id": 6893087,
|
||||
"keys_url": "https://api.github.com/repos/zbenjamin/zulip-test/keys{/key_id}",
|
||||
"size": 177,
|
||||
"tags_url": "https://api.github.com/repos/zbenjamin/zulip-test/tags",
|
||||
"issue_events_url": "https://api.github.com/repos/zbenjamin/zulip-test/issues/events{/number}",
|
||||
"contributors_url": "https://api.github.com/repos/zbenjamin/zulip-test/contributors",
|
||||
"downloads_url": "https://api.github.com/repos/zbenjamin/zulip-test/downloads",
|
||||
"has_downloads": true,
|
||||
"assignees_url": "https://api.github.com/repos/zbenjamin/zulip-test/assignees{/user}",
|
||||
"statuses_url": "https://api.github.com/repos/zbenjamin/zulip-test/statuses/{sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/zbenjamin/zulip-test/git/refs{/sha}",
|
||||
"clone_url": "https://github.com/zbenjamin/zulip-test.git",
|
||||
"watchers_count": 0,
|
||||
"git_tags_url": "https://api.github.com/repos/zbenjamin/zulip-test/git/tags{/sha}",
|
||||
"milestones_url": "https://api.github.com/repos/zbenjamin/zulip-test/milestones{/number}",
|
||||
"languages_url": "https://api.github.com/repos/zbenjamin/zulip-test/languages",
|
||||
"homepage": null,
|
||||
"branches_url": "https://api.github.com/repos/zbenjamin/zulip-test/branches{/branch}",
|
||||
"fork": false,
|
||||
"commits_url": "https://api.github.com/repos/zbenjamin/zulip-test/commits{/sha}",
|
||||
"description": "Test repository",
|
||||
"archive_url": "https://api.github.com/repos/zbenjamin/zulip-test/{archive_format}{/ref}",
|
||||
"labels_url": "https://api.github.com/repos/zbenjamin/zulip-test/labels{/name}",
|
||||
"events_url": "https://api.github.com/repos/zbenjamin/zulip-test/events",
|
||||
"comments_url": "https://api.github.com/repos/zbenjamin/zulip-test/comments{/number}",
|
||||
"html_url": "https://github.com/zbenjamin/zulip-test",
|
||||
"compare_url": "https://api.github.com/repos/zbenjamin/zulip-test/compare/{base}...{head}",
|
||||
"trees_url": "https://api.github.com/repos/zbenjamin/zulip-test/git/trees{/sha}",
|
||||
"git_url": "git://github.com/zbenjamin/zulip-test.git",
|
||||
"svn_url": "https://github.com/zbenjamin/zulip-test",
|
||||
"notifications_url": "https://api.github.com/repos/zbenjamin/zulip-test/notifications{?since,all,participating}",
|
||||
"has_issues": true,
|
||||
"ssh_url": "git@github.com:zbenjamin/zulip-test.git",
|
||||
"blobs_url": "https://api.github.com/repos/zbenjamin/zulip-test/git/blobs{/sha}",
|
||||
"master_branch": "master",
|
||||
"forks": 1,
|
||||
"hooks_url": "https://api.github.com/repos/zbenjamin/zulip-test/hooks",
|
||||
"open_issues_count": 2,
|
||||
"watchers": 0,
|
||||
"name": "zulip-test",
|
||||
"language": null,
|
||||
"url": "https://api.github.com/repos/zbenjamin/zulip-test",
|
||||
"created_at": "2012-11-27T23:46:58Z",
|
||||
"pushed_at": "2013-09-05T20:01:42Z",
|
||||
"forks_count": 1,
|
||||
"default_branch": "master",
|
||||
"teams_url": "https://api.github.com/repos/zbenjamin/zulip-test/teams",
|
||||
"open_issues": 2,
|
||||
"git_commits_url": "https://api.github.com/repos/zbenjamin/zulip-test/git/commits{/sha}",
|
||||
"subscribers_url": "https://api.github.com/repos/zbenjamin/zulip-test/subscribers",
|
||||
"stargazers_url": "https://api.github.com/repos/zbenjamin/zulip-test/stargazers"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,137 +0,0 @@
|
||||
{
|
||||
"event": "commit_comment",
|
||||
"payload": {
|
||||
"comment": {
|
||||
"commit_id": "7c994678d2f98797d299abed852d3ff9d0834533",
|
||||
"body": "This line adds /unlucky/ cowbell (because of its line number). We should remove it.",
|
||||
"url": "https://api.github.com/repos/zbenjamin/zulip-test/comments/4252307",
|
||||
"created_at": "2013-10-04T14:57:34Z",
|
||||
"updated_at": "2013-10-04T14:57:34Z",
|
||||
"html_url": "https://github.com/zbenjamin/zulip-test/commit/7c994678d2f98797d299abed852d3ff9d0834533#commitcomment-4252307",
|
||||
"user": {
|
||||
"following_url": "https://api.github.com/users/zbenjamin/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/zbenjamin/gists{/gist_id}",
|
||||
"organizations_url": "https://api.github.com/users/zbenjamin/orgs",
|
||||
"url": "https://api.github.com/users/zbenjamin",
|
||||
"events_url": "https://api.github.com/users/zbenjamin/events{/privacy}",
|
||||
"html_url": "https://github.com/zbenjamin",
|
||||
"subscriptions_url": "https://api.github.com/users/zbenjamin/subscriptions",
|
||||
"avatar_url": "https://1.gravatar.com/avatar/cdd20cf7f6f5948fad385c0c230c3b4f?d=https%3A%2F%2Fidenticons.github.com%2F0e8c5c04107d38331fdd921015823de6.png",
|
||||
"repos_url": "https://api.github.com/users/zbenjamin/repos",
|
||||
"received_events_url": "https://api.github.com/users/zbenjamin/received_events",
|
||||
"gravatar_id": "cdd20cf7f6f5948fad385c0c230c3b4f",
|
||||
"starred_url": "https://api.github.com/users/zbenjamin/starred{/owner}{/repo}",
|
||||
"login": "zbenjamin",
|
||||
"type": "User",
|
||||
"id": 58684,
|
||||
"followers_url": "https://api.github.com/users/zbenjamin/followers"
|
||||
},
|
||||
"position": 13,
|
||||
"path": "cowbell",
|
||||
"line": 13,
|
||||
"id": 4252307
|
||||
},
|
||||
"sender": {
|
||||
"following_url": "https://api.github.com/users/zbenjamin/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/zbenjamin/gists{/gist_id}",
|
||||
"organizations_url": "https://api.github.com/users/zbenjamin/orgs",
|
||||
"url": "https://api.github.com/users/zbenjamin",
|
||||
"events_url": "https://api.github.com/users/zbenjamin/events{/privacy}",
|
||||
"html_url": "https://github.com/zbenjamin",
|
||||
"subscriptions_url": "https://api.github.com/users/zbenjamin/subscriptions",
|
||||
"avatar_url": "https://0.gravatar.com/avatar/cdd20cf7f6f5948fad385c0c230c3b4f?d=https%3A%2F%2Fidenticons.github.com%2F0e8c5c04107d38331fdd921015823de6.png",
|
||||
"repos_url": "https://api.github.com/users/zbenjamin/repos",
|
||||
"received_events_url": "https://api.github.com/users/zbenjamin/received_events",
|
||||
"gravatar_id": "cdd20cf7f6f5948fad385c0c230c3b4f",
|
||||
"starred_url": "https://api.github.com/users/zbenjamin/starred{/owner}{/repo}",
|
||||
"login": "zbenjamin",
|
||||
"type": "User",
|
||||
"id": 58684,
|
||||
"followers_url": "https://api.github.com/users/zbenjamin/followers"
|
||||
},
|
||||
"repository": {
|
||||
"issues_url": "https://api.github.com/repos/zbenjamin/zulip-test/issues{/number}",
|
||||
"has_wiki": true,
|
||||
"forks_url": "https://api.github.com/repos/zbenjamin/zulip-test/forks",
|
||||
"mirror_url": null,
|
||||
"subscription_url": "https://api.github.com/repos/zbenjamin/zulip-test/subscription",
|
||||
"merges_url": "https://api.github.com/repos/zbenjamin/zulip-test/merges",
|
||||
"collaborators_url": "https://api.github.com/repos/zbenjamin/zulip-test/collaborators{/collaborator}",
|
||||
"updated_at": "2013-09-19T20:31:59Z",
|
||||
"private": false,
|
||||
"pulls_url": "https://api.github.com/repos/zbenjamin/zulip-test/pulls{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/zbenjamin/zulip-test/issues/comments/{number}",
|
||||
"full_name": "zbenjamin/zulip-test",
|
||||
"owner": {
|
||||
"following_url": "https://api.github.com/users/zbenjamin/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/zbenjamin/gists{/gist_id}",
|
||||
"organizations_url": "https://api.github.com/users/zbenjamin/orgs",
|
||||
"url": "https://api.github.com/users/zbenjamin",
|
||||
"events_url": "https://api.github.com/users/zbenjamin/events{/privacy}",
|
||||
"html_url": "https://github.com/zbenjamin",
|
||||
"subscriptions_url": "https://api.github.com/users/zbenjamin/subscriptions",
|
||||
"avatar_url": "https://0.gravatar.com/avatar/cdd20cf7f6f5948fad385c0c230c3b4f?d=https%3A%2F%2Fidenticons.github.com%2F0e8c5c04107d38331fdd921015823de6.png",
|
||||
"repos_url": "https://api.github.com/users/zbenjamin/repos",
|
||||
"received_events_url": "https://api.github.com/users/zbenjamin/received_events",
|
||||
"gravatar_id": "cdd20cf7f6f5948fad385c0c230c3b4f",
|
||||
"starred_url": "https://api.github.com/users/zbenjamin/starred{/owner}{/repo}",
|
||||
"login": "zbenjamin",
|
||||
"type": "User",
|
||||
"id": 58684,
|
||||
"followers_url": "https://api.github.com/users/zbenjamin/followers"
|
||||
},
|
||||
"contents_url": "https://api.github.com/repos/zbenjamin/zulip-test/contents/{+path}",
|
||||
"id": 6893087,
|
||||
"keys_url": "https://api.github.com/repos/zbenjamin/zulip-test/keys{/key_id}",
|
||||
"size": 177,
|
||||
"tags_url": "https://api.github.com/repos/zbenjamin/zulip-test/tags",
|
||||
"issue_events_url": "https://api.github.com/repos/zbenjamin/zulip-test/issues/events{/number}",
|
||||
"contributors_url": "https://api.github.com/repos/zbenjamin/zulip-test/contributors",
|
||||
"downloads_url": "https://api.github.com/repos/zbenjamin/zulip-test/downloads",
|
||||
"has_downloads": true,
|
||||
"assignees_url": "https://api.github.com/repos/zbenjamin/zulip-test/assignees{/user}",
|
||||
"statuses_url": "https://api.github.com/repos/zbenjamin/zulip-test/statuses/{sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/zbenjamin/zulip-test/git/refs{/sha}",
|
||||
"clone_url": "https://github.com/zbenjamin/zulip-test.git",
|
||||
"watchers_count": 0,
|
||||
"git_tags_url": "https://api.github.com/repos/zbenjamin/zulip-test/git/tags{/sha}",
|
||||
"milestones_url": "https://api.github.com/repos/zbenjamin/zulip-test/milestones{/number}",
|
||||
"languages_url": "https://api.github.com/repos/zbenjamin/zulip-test/languages",
|
||||
"homepage": null,
|
||||
"branches_url": "https://api.github.com/repos/zbenjamin/zulip-test/branches{/branch}",
|
||||
"fork": false,
|
||||
"commits_url": "https://api.github.com/repos/zbenjamin/zulip-test/commits{/sha}",
|
||||
"description": "Test repository",
|
||||
"archive_url": "https://api.github.com/repos/zbenjamin/zulip-test/{archive_format}{/ref}",
|
||||
"labels_url": "https://api.github.com/repos/zbenjamin/zulip-test/labels{/name}",
|
||||
"events_url": "https://api.github.com/repos/zbenjamin/zulip-test/events",
|
||||
"comments_url": "https://api.github.com/repos/zbenjamin/zulip-test/comments{/number}",
|
||||
"html_url": "https://github.com/zbenjamin/zulip-test",
|
||||
"compare_url": "https://api.github.com/repos/zbenjamin/zulip-test/compare/{base}...{head}",
|
||||
"trees_url": "https://api.github.com/repos/zbenjamin/zulip-test/git/trees{/sha}",
|
||||
"git_url": "git://github.com/zbenjamin/zulip-test.git",
|
||||
"svn_url": "https://github.com/zbenjamin/zulip-test",
|
||||
"notifications_url": "https://api.github.com/repos/zbenjamin/zulip-test/notifications{?since,all,participating}",
|
||||
"has_issues": true,
|
||||
"ssh_url": "git@github.com:zbenjamin/zulip-test.git",
|
||||
"blobs_url": "https://api.github.com/repos/zbenjamin/zulip-test/git/blobs{/sha}",
|
||||
"master_branch": "master",
|
||||
"forks": 1,
|
||||
"hooks_url": "https://api.github.com/repos/zbenjamin/zulip-test/hooks",
|
||||
"open_issues_count": 2,
|
||||
"watchers": 0,
|
||||
"name": "zulip-test",
|
||||
"language": null,
|
||||
"url": "https://api.github.com/repos/zbenjamin/zulip-test",
|
||||
"created_at": "2012-11-27T23:46:58Z",
|
||||
"pushed_at": "2013-09-05T20:01:42Z",
|
||||
"forks_count": 1,
|
||||
"default_branch": "master",
|
||||
"teams_url": "https://api.github.com/repos/zbenjamin/zulip-test/teams",
|
||||
"open_issues": 2,
|
||||
"git_commits_url": "https://api.github.com/repos/zbenjamin/zulip-test/git/commits{/sha}",
|
||||
"subscribers_url": "https://api.github.com/repos/zbenjamin/zulip-test/subscribers",
|
||||
"stargazers_url": "https://api.github.com/repos/zbenjamin/zulip-test/stargazers"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,225 +0,0 @@
|
||||
{
|
||||
"event": "issue_comment",
|
||||
"payload": {
|
||||
"action": "created",
|
||||
"comment": {
|
||||
"body": "Whoops, I did something wrong.\r\n\r\nI'm sorry.",
|
||||
"url": "https://api.github.com/repos/zbenjamin/zulip-test/issues/comments/23374280",
|
||||
"created_at": "2013-08-27T21:55:06Z",
|
||||
"html_url": "https://github.com/zbenjamin/zulip-test/issues/5#issuecomment-23374280",
|
||||
"updated_at": "2013-08-27T21:55:06Z",
|
||||
"user": {
|
||||
"following_url": "https://api.github.com/users/zbenjamin/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/zbenjamin/gists{/gist_id}",
|
||||
"organizations_url": "https://api.github.com/users/zbenjamin/orgs",
|
||||
"url": "https://api.github.com/users/zbenjamin",
|
||||
"events_url": "https://api.github.com/users/zbenjamin/events{/privacy}",
|
||||
"html_url": "https://github.com/zbenjamin",
|
||||
"subscriptions_url": "https://api.github.com/users/zbenjamin/subscriptions",
|
||||
"avatar_url": "https://1.gravatar.com/avatar/cdd20cf7f6f5948fad385c0c230c3b4f?d=https%3A%2F%2Fidenticons.github.com%2F0e8c5c04107d38331fdd921015823de6.png",
|
||||
"repos_url": "https://api.github.com/users/zbenjamin/repos",
|
||||
"received_events_url": "https://api.github.com/users/zbenjamin/received_events",
|
||||
"gravatar_id": "cdd20cf7f6f5948fad385c0c230c3b4f",
|
||||
"starred_url": "https://api.github.com/users/zbenjamin/starred{/owner}{/repo}",
|
||||
"login": "zbenjamin",
|
||||
"type": "User",
|
||||
"id": 58684,
|
||||
"followers_url": "https://api.github.com/users/zbenjamin/followers"
|
||||
},
|
||||
"id": 23374280,
|
||||
"issue_url": "https://api.github.com/repos/zbenjamin/zulip-test/issues/5"
|
||||
},
|
||||
"issue": {
|
||||
"body": "I tried changing the widgets, but I got:\r\n\r\nPermission denied: widgets are immutable\r\n\r\nOh, and I didn't do anything wrong.",
|
||||
"events_url": "https://api.github.com/repos/zbenjamin/zulip-test/issues/5/events",
|
||||
"title": "The frobnicator doesn't work",
|
||||
"url": "https://api.github.com/repos/zbenjamin/zulip-test/issues/5",
|
||||
"labels_url": "https://api.github.com/repos/zbenjamin/zulip-test/issues/5/labels{/name}",
|
||||
"created_at": "2013-08-27T21:54:19Z",
|
||||
"labels": [],
|
||||
"comments_url": "https://api.github.com/repos/zbenjamin/zulip-test/issues/5/comments",
|
||||
"html_url": "https://github.com/zbenjamin/zulip-test/issues/5",
|
||||
"comments": 1,
|
||||
"number": 5,
|
||||
"updated_at": "2013-08-27T21:55:06Z",
|
||||
"assignee": {
|
||||
"following_url": "https://api.github.com/users/zbenjamin/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/zbenjamin/gists{/gist_id}",
|
||||
"organizations_url": "https://api.github.com/users/zbenjamin/orgs",
|
||||
"url": "https://api.github.com/users/zbenjamin",
|
||||
"events_url": "https://api.github.com/users/zbenjamin/events{/privacy}",
|
||||
"html_url": "https://github.com/zbenjamin",
|
||||
"subscriptions_url": "https://api.github.com/users/zbenjamin/subscriptions",
|
||||
"avatar_url": "https://1.gravatar.com/avatar/cdd20cf7f6f5948fad385c0c230c3b4f?d=https%3A%2F%2Fidenticons.github.com%2F0e8c5c04107d38331fdd921015823de6.png",
|
||||
"repos_url": "https://api.github.com/users/zbenjamin/repos",
|
||||
"received_events_url": "https://api.github.com/users/zbenjamin/received_events",
|
||||
"gravatar_id": "cdd20cf7f6f5948fad385c0c230c3b4f",
|
||||
"starred_url": "https://api.github.com/users/zbenjamin/starred{/owner}{/repo}",
|
||||
"login": "zbenjamin",
|
||||
"type": "User",
|
||||
"id": 58684,
|
||||
"followers_url": "https://api.github.com/users/zbenjamin/followers"
|
||||
},
|
||||
"state": "open",
|
||||
"user": {
|
||||
"following_url": "https://api.github.com/users/zbenjamin/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/zbenjamin/gists{/gist_id}",
|
||||
"organizations_url": "https://api.github.com/users/zbenjamin/orgs",
|
||||
"url": "https://api.github.com/users/zbenjamin",
|
||||
"events_url": "https://api.github.com/users/zbenjamin/events{/privacy}",
|
||||
"html_url": "https://github.com/zbenjamin",
|
||||
"subscriptions_url": "https://api.github.com/users/zbenjamin/subscriptions",
|
||||
"avatar_url": "https://1.gravatar.com/avatar/cdd20cf7f6f5948fad385c0c230c3b4f?d=https%3A%2F%2Fidenticons.github.com%2F0e8c5c04107d38331fdd921015823de6.png",
|
||||
"repos_url": "https://api.github.com/users/zbenjamin/repos",
|
||||
"received_events_url": "https://api.github.com/users/zbenjamin/received_events",
|
||||
"gravatar_id": "cdd20cf7f6f5948fad385c0c230c3b4f",
|
||||
"starred_url": "https://api.github.com/users/zbenjamin/starred{/owner}{/repo}",
|
||||
"login": "zbenjamin",
|
||||
"type": "User",
|
||||
"id": 58684,
|
||||
"followers_url": "https://api.github.com/users/zbenjamin/followers"
|
||||
},
|
||||
"milestone": {
|
||||
"description": null,
|
||||
"creator": {
|
||||
"following_url": "https://api.github.com/users/zbenjamin/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/zbenjamin/gists{/gist_id}",
|
||||
"organizations_url": "https://api.github.com/users/zbenjamin/orgs",
|
||||
"url": "https://api.github.com/users/zbenjamin",
|
||||
"events_url": "https://api.github.com/users/zbenjamin/events{/privacy}",
|
||||
"html_url": "https://github.com/zbenjamin",
|
||||
"subscriptions_url": "https://api.github.com/users/zbenjamin/subscriptions",
|
||||
"avatar_url": "https://1.gravatar.com/avatar/cdd20cf7f6f5948fad385c0c230c3b4f?d=https%3A%2F%2Fidenticons.github.com%2F0e8c5c04107d38331fdd921015823de6.png",
|
||||
"repos_url": "https://api.github.com/users/zbenjamin/repos",
|
||||
"received_events_url": "https://api.github.com/users/zbenjamin/received_events",
|
||||
"gravatar_id": "cdd20cf7f6f5948fad385c0c230c3b4f",
|
||||
"starred_url": "https://api.github.com/users/zbenjamin/starred{/owner}{/repo}",
|
||||
"login": "zbenjamin",
|
||||
"type": "User",
|
||||
"id": 58684,
|
||||
"followers_url": "https://api.github.com/users/zbenjamin/followers"
|
||||
},
|
||||
"url": "https://api.github.com/repos/zbenjamin/zulip-test/milestones/1",
|
||||
"labels_url": "https://api.github.com/repos/zbenjamin/zulip-test/milestones/1/labels",
|
||||
"created_at": "2013-08-20T21:26:50Z",
|
||||
"title": "asdf",
|
||||
"number": 1,
|
||||
"updated_at": "2013-08-27T21:54:38Z",
|
||||
"open_issues": 1,
|
||||
"state": "open",
|
||||
"closed_issues": 1,
|
||||
"due_on": null,
|
||||
"id": 406604
|
||||
},
|
||||
"closed_at": null,
|
||||
"pull_request": {
|
||||
"diff_url": null,
|
||||
"html_url": null,
|
||||
"patch_url": null
|
||||
},
|
||||
"id": 18636612
|
||||
},
|
||||
"sender": {
|
||||
"following_url": "https://api.github.com/users/zbenjamin/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/zbenjamin/gists{/gist_id}",
|
||||
"organizations_url": "https://api.github.com/users/zbenjamin/orgs",
|
||||
"url": "https://api.github.com/users/zbenjamin",
|
||||
"events_url": "https://api.github.com/users/zbenjamin/events{/privacy}",
|
||||
"html_url": "https://github.com/zbenjamin",
|
||||
"subscriptions_url": "https://api.github.com/users/zbenjamin/subscriptions",
|
||||
"avatar_url": "https://2.gravatar.com/avatar/cdd20cf7f6f5948fad385c0c230c3b4f?d=https%3A%2F%2Fidenticons.github.com%2F0e8c5c04107d38331fdd921015823de6.png",
|
||||
"repos_url": "https://api.github.com/users/zbenjamin/repos",
|
||||
"received_events_url": "https://api.github.com/users/zbenjamin/received_events",
|
||||
"gravatar_id": "cdd20cf7f6f5948fad385c0c230c3b4f",
|
||||
"starred_url": "https://api.github.com/users/zbenjamin/starred{/owner}{/repo}",
|
||||
"login": "zbenjamin",
|
||||
"type": "User",
|
||||
"id": 58684,
|
||||
"followers_url": "https://api.github.com/users/zbenjamin/followers"
|
||||
},
|
||||
"repository": {
|
||||
"issues_url": "https://api.github.com/repos/zbenjamin/zulip-test/issues{/number}",
|
||||
"has_wiki": true,
|
||||
"forks_url": "https://api.github.com/repos/zbenjamin/zulip-test/forks",
|
||||
"mirror_url": null,
|
||||
"subscription_url": "https://api.github.com/repos/zbenjamin/zulip-test/subscription",
|
||||
"merges_url": "https://api.github.com/repos/zbenjamin/zulip-test/merges",
|
||||
"collaborators_url": "https://api.github.com/repos/zbenjamin/zulip-test/collaborators{/collaborator}",
|
||||
"updated_at": "2013-08-27T21:49:43Z",
|
||||
"private": false,
|
||||
"pulls_url": "https://api.github.com/repos/zbenjamin/zulip-test/pulls{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/zbenjamin/zulip-test/issues/comments/{number}",
|
||||
"full_name": "zbenjamin/zulip-test",
|
||||
"owner": {
|
||||
"following_url": "https://api.github.com/users/zbenjamin/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/zbenjamin/gists{/gist_id}",
|
||||
"organizations_url": "https://api.github.com/users/zbenjamin/orgs",
|
||||
"url": "https://api.github.com/users/zbenjamin",
|
||||
"events_url": "https://api.github.com/users/zbenjamin/events{/privacy}",
|
||||
"html_url": "https://github.com/zbenjamin",
|
||||
"subscriptions_url": "https://api.github.com/users/zbenjamin/subscriptions",
|
||||
"avatar_url": "https://2.gravatar.com/avatar/cdd20cf7f6f5948fad385c0c230c3b4f?d=https%3A%2F%2Fidenticons.github.com%2F0e8c5c04107d38331fdd921015823de6.png",
|
||||
"repos_url": "https://api.github.com/users/zbenjamin/repos",
|
||||
"received_events_url": "https://api.github.com/users/zbenjamin/received_events",
|
||||
"gravatar_id": "cdd20cf7f6f5948fad385c0c230c3b4f",
|
||||
"starred_url": "https://api.github.com/users/zbenjamin/starred{/owner}{/repo}",
|
||||
"login": "zbenjamin",
|
||||
"type": "User",
|
||||
"id": 58684,
|
||||
"followers_url": "https://api.github.com/users/zbenjamin/followers"
|
||||
},
|
||||
"contents_url": "https://api.github.com/repos/zbenjamin/zulip-test/contents/{+path}",
|
||||
"id": 6893087,
|
||||
"keys_url": "https://api.github.com/repos/zbenjamin/zulip-test/keys{/key_id}",
|
||||
"size": 66,
|
||||
"tags_url": "https://api.github.com/repos/zbenjamin/zulip-test/tags",
|
||||
"issue_events_url": "https://api.github.com/repos/zbenjamin/zulip-test/issues/events{/number}",
|
||||
"contributors_url": "https://api.github.com/repos/zbenjamin/zulip-test/contributors",
|
||||
"downloads_url": "https://api.github.com/repos/zbenjamin/zulip-test/downloads",
|
||||
"has_downloads": true,
|
||||
"assignees_url": "https://api.github.com/repos/zbenjamin/zulip-test/assignees{/user}",
|
||||
"statuses_url": "https://api.github.com/repos/zbenjamin/zulip-test/statuses/{sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/zbenjamin/zulip-test/git/refs{/sha}",
|
||||
"clone_url": "https://github.com/zbenjamin/zulip-test.git",
|
||||
"watchers_count": 0,
|
||||
"git_tags_url": "https://api.github.com/repos/zbenjamin/zulip-test/git/tags{/sha}",
|
||||
"milestones_url": "https://api.github.com/repos/zbenjamin/zulip-test/milestones{/number}",
|
||||
"languages_url": "https://api.github.com/repos/zbenjamin/zulip-test/languages",
|
||||
"homepage": null,
|
||||
"branches_url": "https://api.github.com/repos/zbenjamin/zulip-test/branches{/branch}",
|
||||
"fork": false,
|
||||
"commits_url": "https://api.github.com/repos/zbenjamin/zulip-test/commits{/sha}",
|
||||
"description": "Test repository",
|
||||
"archive_url": "https://api.github.com/repos/zbenjamin/zulip-test/{archive_format}{/ref}",
|
||||
"labels_url": "https://api.github.com/repos/zbenjamin/zulip-test/labels{/name}",
|
||||
"events_url": "https://api.github.com/repos/zbenjamin/zulip-test/events",
|
||||
"comments_url": "https://api.github.com/repos/zbenjamin/zulip-test/comments{/number}",
|
||||
"html_url": "https://github.com/zbenjamin/zulip-test",
|
||||
"compare_url": "https://api.github.com/repos/zbenjamin/zulip-test/compare/{base}...{head}",
|
||||
"trees_url": "https://api.github.com/repos/zbenjamin/zulip-test/git/trees{/sha}",
|
||||
"git_url": "git://github.com/zbenjamin/zulip-test.git",
|
||||
"svn_url": "https://github.com/zbenjamin/zulip-test",
|
||||
"notifications_url": "https://api.github.com/repos/zbenjamin/zulip-test/notifications{?since,all,participating}",
|
||||
"has_issues": true,
|
||||
"ssh_url": "git@github.com:zbenjamin/zulip-test.git",
|
||||
"blobs_url": "https://api.github.com/repos/zbenjamin/zulip-test/git/blobs{/sha}",
|
||||
"master_branch": "master",
|
||||
"forks": 0,
|
||||
"hooks_url": "https://api.github.com/repos/zbenjamin/zulip-test/hooks",
|
||||
"open_issues_count": 1,
|
||||
"watchers": 0,
|
||||
"name": "zulip-test",
|
||||
"language": null,
|
||||
"url": "https://api.github.com/repos/zbenjamin/zulip-test",
|
||||
"created_at": "2012-11-27T23:46:58Z",
|
||||
"pushed_at": "2013-08-27T21:49:41Z",
|
||||
"forks_count": 0,
|
||||
"default_branch": "master",
|
||||
"teams_url": "https://api.github.com/repos/zbenjamin/zulip-test/teams",
|
||||
"open_issues": 1,
|
||||
"git_commits_url": "https://api.github.com/repos/zbenjamin/zulip-test/git/commits{/sha}",
|
||||
"subscribers_url": "https://api.github.com/repos/zbenjamin/zulip-test/subscribers",
|
||||
"stargazers_url": "https://api.github.com/repos/zbenjamin/zulip-test/stargazers"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,195 +0,0 @@
|
||||
{
|
||||
"event": "issues",
|
||||
"payload": {
|
||||
"action": "closed",
|
||||
"issue": {
|
||||
"body": "I tried changing the widgets, but I got:\r\n\r\nPermission denied: widgets are immutable\r\n\r\nOh, and I didn't do anything wrong.",
|
||||
"events_url": "https://api.github.com/repos/zbenjamin/zulip-test/issues/5/events",
|
||||
"title": "The frobnicator doesn't work",
|
||||
"url": "https://api.github.com/repos/zbenjamin/zulip-test/issues/5",
|
||||
"labels_url": "https://api.github.com/repos/zbenjamin/zulip-test/issues/5/labels{/name}",
|
||||
"created_at": "2013-08-27T21:54:19Z",
|
||||
"labels": [],
|
||||
"comments_url": "https://api.github.com/repos/zbenjamin/zulip-test/issues/5/comments",
|
||||
"html_url": "https://github.com/zbenjamin/zulip-test/issues/5",
|
||||
"comments": 1,
|
||||
"number": 5,
|
||||
"updated_at": "2013-08-27T21:55:08Z",
|
||||
"assignee": {
|
||||
"following_url": "https://api.github.com/users/zbenjamin/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/zbenjamin/gists{/gist_id}",
|
||||
"organizations_url": "https://api.github.com/users/zbenjamin/orgs",
|
||||
"url": "https://api.github.com/users/zbenjamin",
|
||||
"events_url": "https://api.github.com/users/zbenjamin/events{/privacy}",
|
||||
"html_url": "https://github.com/zbenjamin",
|
||||
"subscriptions_url": "https://api.github.com/users/zbenjamin/subscriptions",
|
||||
"avatar_url": "https://1.gravatar.com/avatar/cdd20cf7f6f5948fad385c0c230c3b4f?d=https%3A%2F%2Fidenticons.github.com%2F0e8c5c04107d38331fdd921015823de6.png",
|
||||
"repos_url": "https://api.github.com/users/zbenjamin/repos",
|
||||
"received_events_url": "https://api.github.com/users/zbenjamin/received_events",
|
||||
"gravatar_id": "cdd20cf7f6f5948fad385c0c230c3b4f",
|
||||
"starred_url": "https://api.github.com/users/zbenjamin/starred{/owner}{/repo}",
|
||||
"login": "zbenjamin",
|
||||
"type": "User",
|
||||
"id": 58684,
|
||||
"followers_url": "https://api.github.com/users/zbenjamin/followers"
|
||||
},
|
||||
"state": "closed",
|
||||
"user": {
|
||||
"following_url": "https://api.github.com/users/zbenjamin/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/zbenjamin/gists{/gist_id}",
|
||||
"organizations_url": "https://api.github.com/users/zbenjamin/orgs",
|
||||
"url": "https://api.github.com/users/zbenjamin",
|
||||
"events_url": "https://api.github.com/users/zbenjamin/events{/privacy}",
|
||||
"html_url": "https://github.com/zbenjamin",
|
||||
"subscriptions_url": "https://api.github.com/users/zbenjamin/subscriptions",
|
||||
"avatar_url": "https://1.gravatar.com/avatar/cdd20cf7f6f5948fad385c0c230c3b4f?d=https%3A%2F%2Fidenticons.github.com%2F0e8c5c04107d38331fdd921015823de6.png",
|
||||
"repos_url": "https://api.github.com/users/zbenjamin/repos",
|
||||
"received_events_url": "https://api.github.com/users/zbenjamin/received_events",
|
||||
"gravatar_id": "cdd20cf7f6f5948fad385c0c230c3b4f",
|
||||
"starred_url": "https://api.github.com/users/zbenjamin/starred{/owner}{/repo}",
|
||||
"login": "zbenjamin",
|
||||
"type": "User",
|
||||
"id": 58684,
|
||||
"followers_url": "https://api.github.com/users/zbenjamin/followers"
|
||||
},
|
||||
"milestone": {
|
||||
"description": null,
|
||||
"creator": {
|
||||
"following_url": "https://api.github.com/users/zbenjamin/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/zbenjamin/gists{/gist_id}",
|
||||
"organizations_url": "https://api.github.com/users/zbenjamin/orgs",
|
||||
"url": "https://api.github.com/users/zbenjamin",
|
||||
"events_url": "https://api.github.com/users/zbenjamin/events{/privacy}",
|
||||
"html_url": "https://github.com/zbenjamin",
|
||||
"subscriptions_url": "https://api.github.com/users/zbenjamin/subscriptions",
|
||||
"avatar_url": "https://1.gravatar.com/avatar/cdd20cf7f6f5948fad385c0c230c3b4f?d=https%3A%2F%2Fidenticons.github.com%2F0e8c5c04107d38331fdd921015823de6.png",
|
||||
"repos_url": "https://api.github.com/users/zbenjamin/repos",
|
||||
"received_events_url": "https://api.github.com/users/zbenjamin/received_events",
|
||||
"gravatar_id": "cdd20cf7f6f5948fad385c0c230c3b4f",
|
||||
"starred_url": "https://api.github.com/users/zbenjamin/starred{/owner}{/repo}",
|
||||
"login": "zbenjamin",
|
||||
"type": "User",
|
||||
"id": 58684,
|
||||
"followers_url": "https://api.github.com/users/zbenjamin/followers"
|
||||
},
|
||||
"title": "asdf",
|
||||
"number": 1,
|
||||
"updated_at": "2013-08-27T21:55:08Z",
|
||||
"open_issues": 0,
|
||||
"state": "open",
|
||||
"closed_issues": 2,
|
||||
"due_on": null,
|
||||
"id": 406604
|
||||
},
|
||||
"closed_at": "2013-08-27T21:55:08Z",
|
||||
"pull_request": {
|
||||
"diff_url": null,
|
||||
"html_url": null,
|
||||
"patch_url": null
|
||||
},
|
||||
"id": 18636612
|
||||
},
|
||||
"sender": {
|
||||
"following_url": "https://api.github.com/users/zbenjamin/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/zbenjamin/gists{/gist_id}",
|
||||
"organizations_url": "https://api.github.com/users/zbenjamin/orgs",
|
||||
"url": "https://api.github.com/users/zbenjamin",
|
||||
"events_url": "https://api.github.com/users/zbenjamin/events{/privacy}",
|
||||
"html_url": "https://github.com/zbenjamin",
|
||||
"subscriptions_url": "https://api.github.com/users/zbenjamin/subscriptions",
|
||||
"avatar_url": "https://0.gravatar.com/avatar/cdd20cf7f6f5948fad385c0c230c3b4f?d=https%3A%2F%2Fidenticons.github.com%2F0e8c5c04107d38331fdd921015823de6.png",
|
||||
"repos_url": "https://api.github.com/users/zbenjamin/repos",
|
||||
"received_events_url": "https://api.github.com/users/zbenjamin/received_events",
|
||||
"gravatar_id": "cdd20cf7f6f5948fad385c0c230c3b4f",
|
||||
"starred_url": "https://api.github.com/users/zbenjamin/starred{/owner}{/repo}",
|
||||
"login": "zbenjamin",
|
||||
"type": "User",
|
||||
"id": 58684,
|
||||
"followers_url": "https://api.github.com/users/zbenjamin/followers"
|
||||
},
|
||||
"repository": {
|
||||
"issues_url": "https://api.github.com/repos/zbenjamin/zulip-test/issues{/number}",
|
||||
"has_wiki": true,
|
||||
"forks_url": "https://api.github.com/repos/zbenjamin/zulip-test/forks",
|
||||
"mirror_url": null,
|
||||
"subscription_url": "https://api.github.com/repos/zbenjamin/zulip-test/subscription",
|
||||
"merges_url": "https://api.github.com/repos/zbenjamin/zulip-test/merges",
|
||||
"collaborators_url": "https://api.github.com/repos/zbenjamin/zulip-test/collaborators{/collaborator}",
|
||||
"updated_at": "2013-08-27T21:49:43Z",
|
||||
"private": false,
|
||||
"pulls_url": "https://api.github.com/repos/zbenjamin/zulip-test/pulls{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/zbenjamin/zulip-test/issues/comments/{number}",
|
||||
"full_name": "zbenjamin/zulip-test",
|
||||
"owner": {
|
||||
"following_url": "https://api.github.com/users/zbenjamin/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/zbenjamin/gists{/gist_id}",
|
||||
"organizations_url": "https://api.github.com/users/zbenjamin/orgs",
|
||||
"url": "https://api.github.com/users/zbenjamin",
|
||||
"events_url": "https://api.github.com/users/zbenjamin/events{/privacy}",
|
||||
"html_url": "https://github.com/zbenjamin",
|
||||
"subscriptions_url": "https://api.github.com/users/zbenjamin/subscriptions",
|
||||
"avatar_url": "https://0.gravatar.com/avatar/cdd20cf7f6f5948fad385c0c230c3b4f?d=https%3A%2F%2Fidenticons.github.com%2F0e8c5c04107d38331fdd921015823de6.png",
|
||||
"repos_url": "https://api.github.com/users/zbenjamin/repos",
|
||||
"received_events_url": "https://api.github.com/users/zbenjamin/received_events",
|
||||
"gravatar_id": "cdd20cf7f6f5948fad385c0c230c3b4f",
|
||||
"starred_url": "https://api.github.com/users/zbenjamin/starred{/owner}{/repo}",
|
||||
"login": "zbenjamin",
|
||||
"type": "User",
|
||||
"id": 58684,
|
||||
"followers_url": "https://api.github.com/users/zbenjamin/followers"
|
||||
},
|
||||
"contents_url": "https://api.github.com/repos/zbenjamin/zulip-test/contents/{+path}",
|
||||
"id": 6893087,
|
||||
"keys_url": "https://api.github.com/repos/zbenjamin/zulip-test/keys{/key_id}",
|
||||
"size": 66,
|
||||
"tags_url": "https://api.github.com/repos/zbenjamin/zulip-test/tags",
|
||||
"issue_events_url": "https://api.github.com/repos/zbenjamin/zulip-test/issues/events{/number}",
|
||||
"contributors_url": "https://api.github.com/repos/zbenjamin/zulip-test/contributors",
|
||||
"downloads_url": "https://api.github.com/repos/zbenjamin/zulip-test/downloads",
|
||||
"has_downloads": true,
|
||||
"assignees_url": "https://api.github.com/repos/zbenjamin/zulip-test/assignees{/user}",
|
||||
"statuses_url": "https://api.github.com/repos/zbenjamin/zulip-test/statuses/{sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/zbenjamin/zulip-test/git/refs{/sha}",
|
||||
"clone_url": "https://github.com/zbenjamin/zulip-test.git",
|
||||
"watchers_count": 0,
|
||||
"git_tags_url": "https://api.github.com/repos/zbenjamin/zulip-test/git/tags{/sha}",
|
||||
"milestones_url": "https://api.github.com/repos/zbenjamin/zulip-test/milestones{/number}",
|
||||
"languages_url": "https://api.github.com/repos/zbenjamin/zulip-test/languages",
|
||||
"homepage": null,
|
||||
"branches_url": "https://api.github.com/repos/zbenjamin/zulip-test/branches{/branch}",
|
||||
"fork": false,
|
||||
"commits_url": "https://api.github.com/repos/zbenjamin/zulip-test/commits{/sha}",
|
||||
"description": "Test repository",
|
||||
"archive_url": "https://api.github.com/repos/zbenjamin/zulip-test/{archive_format}{/ref}",
|
||||
"labels_url": "https://api.github.com/repos/zbenjamin/zulip-test/labels{/name}",
|
||||
"events_url": "https://api.github.com/repos/zbenjamin/zulip-test/events",
|
||||
"comments_url": "https://api.github.com/repos/zbenjamin/zulip-test/comments{/number}",
|
||||
"html_url": "https://github.com/zbenjamin/zulip-test",
|
||||
"compare_url": "https://api.github.com/repos/zbenjamin/zulip-test/compare/{base}...{head}",
|
||||
"trees_url": "https://api.github.com/repos/zbenjamin/zulip-test/git/trees{/sha}",
|
||||
"git_url": "git://github.com/zbenjamin/zulip-test.git",
|
||||
"svn_url": "https://github.com/zbenjamin/zulip-test",
|
||||
"notifications_url": "https://api.github.com/repos/zbenjamin/zulip-test/notifications{?since,all,participating}",
|
||||
"has_issues": true,
|
||||
"ssh_url": "git@github.com:zbenjamin/zulip-test.git",
|
||||
"blobs_url": "https://api.github.com/repos/zbenjamin/zulip-test/git/blobs{/sha}",
|
||||
"master_branch": "master",
|
||||
"forks": 0,
|
||||
"hooks_url": "https://api.github.com/repos/zbenjamin/zulip-test/hooks",
|
||||
"open_issues_count": 0,
|
||||
"watchers": 0,
|
||||
"name": "zulip-test",
|
||||
"language": null,
|
||||
"url": "https://api.github.com/repos/zbenjamin/zulip-test",
|
||||
"created_at": "2012-11-27T23:46:58Z",
|
||||
"pushed_at": "2013-08-27T21:49:41Z",
|
||||
"forks_count": 0,
|
||||
"default_branch": "master",
|
||||
"teams_url": "https://api.github.com/repos/zbenjamin/zulip-test/teams",
|
||||
"open_issues": 0,
|
||||
"git_commits_url": "https://api.github.com/repos/zbenjamin/zulip-test/git/commits{/sha}",
|
||||
"subscribers_url": "https://api.github.com/repos/zbenjamin/zulip-test/subscribers",
|
||||
"stargazers_url": "https://api.github.com/repos/zbenjamin/zulip-test/stargazers"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,150 +0,0 @@
|
||||
{
|
||||
"event": "issues",
|
||||
"payload": {
|
||||
"action": "opened",
|
||||
"issue": {
|
||||
"body": "I tried changing the widgets, but I got:\r\n\r\nPermission denied: widgets are immutable",
|
||||
"events_url": "https://api.github.com/repos/zbenjamin/zulip-test/issues/5/events",
|
||||
"title": "The frobnicator doesn't work",
|
||||
"url": "https://api.github.com/repos/zbenjamin/zulip-test/issues/5",
|
||||
"labels_url": "https://api.github.com/repos/zbenjamin/zulip-test/issues/5/labels{/name}",
|
||||
"created_at": "2013-08-27T21:54:19Z",
|
||||
"labels": [],
|
||||
"comments_url": "https://api.github.com/repos/zbenjamin/zulip-test/issues/5/comments",
|
||||
"html_url": "https://github.com/zbenjamin/zulip-test/issues/5",
|
||||
"comments": 0,
|
||||
"number": 5,
|
||||
"updated_at": "2013-08-27T21:54:19Z",
|
||||
"assignee": null,
|
||||
"state": "open",
|
||||
"user": {
|
||||
"following_url": "https://api.github.com/users/zbenjamin/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/zbenjamin/gists{/gist_id}",
|
||||
"organizations_url": "https://api.github.com/users/zbenjamin/orgs",
|
||||
"url": "https://api.github.com/users/zbenjamin",
|
||||
"events_url": "https://api.github.com/users/zbenjamin/events{/privacy}",
|
||||
"html_url": "https://github.com/zbenjamin",
|
||||
"subscriptions_url": "https://api.github.com/users/zbenjamin/subscriptions",
|
||||
"avatar_url": "https://1.gravatar.com/avatar/cdd20cf7f6f5948fad385c0c230c3b4f?d=https%3A%2F%2Fidenticons.github.com%2F0e8c5c04107d38331fdd921015823de6.png",
|
||||
"repos_url": "https://api.github.com/users/zbenjamin/repos",
|
||||
"received_events_url": "https://api.github.com/users/zbenjamin/received_events",
|
||||
"gravatar_id": "cdd20cf7f6f5948fad385c0c230c3b4f",
|
||||
"starred_url": "https://api.github.com/users/zbenjamin/starred{/owner}{/repo}",
|
||||
"login": "zbenjamin",
|
||||
"type": "User",
|
||||
"id": 58684,
|
||||
"followers_url": "https://api.github.com/users/zbenjamin/followers"
|
||||
},
|
||||
"milestone": null,
|
||||
"closed_at": null,
|
||||
"pull_request": {
|
||||
"diff_url": null,
|
||||
"html_url": null,
|
||||
"patch_url": null
|
||||
},
|
||||
"id": 18636612
|
||||
},
|
||||
"sender": {
|
||||
"following_url": "https://api.github.com/users/zbenjamin/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/zbenjamin/gists{/gist_id}",
|
||||
"organizations_url": "https://api.github.com/users/zbenjamin/orgs",
|
||||
"url": "https://api.github.com/users/zbenjamin",
|
||||
"events_url": "https://api.github.com/users/zbenjamin/events{/privacy}",
|
||||
"html_url": "https://github.com/zbenjamin",
|
||||
"subscriptions_url": "https://api.github.com/users/zbenjamin/subscriptions",
|
||||
"avatar_url": "https://1.gravatar.com/avatar/cdd20cf7f6f5948fad385c0c230c3b4f?d=https%3A%2F%2Fidenticons.github.com%2F0e8c5c04107d38331fdd921015823de6.png",
|
||||
"repos_url": "https://api.github.com/users/zbenjamin/repos",
|
||||
"received_events_url": "https://api.github.com/users/zbenjamin/received_events",
|
||||
"gravatar_id": "cdd20cf7f6f5948fad385c0c230c3b4f",
|
||||
"starred_url": "https://api.github.com/users/zbenjamin/starred{/owner}{/repo}",
|
||||
"login": "zbenjamin",
|
||||
"type": "User",
|
||||
"id": 58684,
|
||||
"followers_url": "https://api.github.com/users/zbenjamin/followers"
|
||||
},
|
||||
"repository": {
|
||||
"issues_url": "https://api.github.com/repos/zbenjamin/zulip-test/issues{/number}",
|
||||
"has_wiki": true,
|
||||
"forks_url": "https://api.github.com/repos/zbenjamin/zulip-test/forks",
|
||||
"mirror_url": null,
|
||||
"subscription_url": "https://api.github.com/repos/zbenjamin/zulip-test/subscription",
|
||||
"merges_url": "https://api.github.com/repos/zbenjamin/zulip-test/merges",
|
||||
"collaborators_url": "https://api.github.com/repos/zbenjamin/zulip-test/collaborators{/collaborator}",
|
||||
"updated_at": "2013-08-27T21:49:43Z",
|
||||
"private": false,
|
||||
"pulls_url": "https://api.github.com/repos/zbenjamin/zulip-test/pulls{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/zbenjamin/zulip-test/issues/comments/{number}",
|
||||
"full_name": "zbenjamin/zulip-test",
|
||||
"owner": {
|
||||
"following_url": "https://api.github.com/users/zbenjamin/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/zbenjamin/gists{/gist_id}",
|
||||
"organizations_url": "https://api.github.com/users/zbenjamin/orgs",
|
||||
"url": "https://api.github.com/users/zbenjamin",
|
||||
"events_url": "https://api.github.com/users/zbenjamin/events{/privacy}",
|
||||
"html_url": "https://github.com/zbenjamin",
|
||||
"subscriptions_url": "https://api.github.com/users/zbenjamin/subscriptions",
|
||||
"avatar_url": "https://1.gravatar.com/avatar/cdd20cf7f6f5948fad385c0c230c3b4f?d=https%3A%2F%2Fidenticons.github.com%2F0e8c5c04107d38331fdd921015823de6.png",
|
||||
"repos_url": "https://api.github.com/users/zbenjamin/repos",
|
||||
"received_events_url": "https://api.github.com/users/zbenjamin/received_events",
|
||||
"gravatar_id": "cdd20cf7f6f5948fad385c0c230c3b4f",
|
||||
"starred_url": "https://api.github.com/users/zbenjamin/starred{/owner}{/repo}",
|
||||
"login": "zbenjamin",
|
||||
"type": "User",
|
||||
"id": 58684,
|
||||
"followers_url": "https://api.github.com/users/zbenjamin/followers"
|
||||
},
|
||||
"contents_url": "https://api.github.com/repos/zbenjamin/zulip-test/contents/{+path}",
|
||||
"id": 6893087,
|
||||
"keys_url": "https://api.github.com/repos/zbenjamin/zulip-test/keys{/key_id}",
|
||||
"size": 66,
|
||||
"tags_url": "https://api.github.com/repos/zbenjamin/zulip-test/tags",
|
||||
"issue_events_url": "https://api.github.com/repos/zbenjamin/zulip-test/issues/events{/number}",
|
||||
"contributors_url": "https://api.github.com/repos/zbenjamin/zulip-test/contributors",
|
||||
"downloads_url": "https://api.github.com/repos/zbenjamin/zulip-test/downloads",
|
||||
"has_downloads": true,
|
||||
"assignees_url": "https://api.github.com/repos/zbenjamin/zulip-test/assignees{/user}",
|
||||
"statuses_url": "https://api.github.com/repos/zbenjamin/zulip-test/statuses/{sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/zbenjamin/zulip-test/git/refs{/sha}",
|
||||
"clone_url": "https://github.com/zbenjamin/zulip-test.git",
|
||||
"watchers_count": 0,
|
||||
"git_tags_url": "https://api.github.com/repos/zbenjamin/zulip-test/git/tags{/sha}",
|
||||
"milestones_url": "https://api.github.com/repos/zbenjamin/zulip-test/milestones{/number}",
|
||||
"languages_url": "https://api.github.com/repos/zbenjamin/zulip-test/languages",
|
||||
"homepage": null,
|
||||
"branches_url": "https://api.github.com/repos/zbenjamin/zulip-test/branches{/branch}",
|
||||
"fork": false,
|
||||
"commits_url": "https://api.github.com/repos/zbenjamin/zulip-test/commits{/sha}",
|
||||
"description": "Test repository",
|
||||
"archive_url": "https://api.github.com/repos/zbenjamin/zulip-test/{archive_format}{/ref}",
|
||||
"labels_url": "https://api.github.com/repos/zbenjamin/zulip-test/labels{/name}",
|
||||
"events_url": "https://api.github.com/repos/zbenjamin/zulip-test/events",
|
||||
"comments_url": "https://api.github.com/repos/zbenjamin/zulip-test/comments{/number}",
|
||||
"html_url": "https://github.com/zbenjamin/zulip-test",
|
||||
"compare_url": "https://api.github.com/repos/zbenjamin/zulip-test/compare/{base}...{head}",
|
||||
"trees_url": "https://api.github.com/repos/zbenjamin/zulip-test/git/trees{/sha}",
|
||||
"git_url": "git://github.com/zbenjamin/zulip-test.git",
|
||||
"svn_url": "https://github.com/zbenjamin/zulip-test",
|
||||
"notifications_url": "https://api.github.com/repos/zbenjamin/zulip-test/notifications{?since,all,participating}",
|
||||
"has_issues": true,
|
||||
"ssh_url": "git@github.com:zbenjamin/zulip-test.git",
|
||||
"blobs_url": "https://api.github.com/repos/zbenjamin/zulip-test/git/blobs{/sha}",
|
||||
"master_branch": "master",
|
||||
"forks": 0,
|
||||
"hooks_url": "https://api.github.com/repos/zbenjamin/zulip-test/hooks",
|
||||
"open_issues_count": 1,
|
||||
"watchers": 0,
|
||||
"name": "zulip-test",
|
||||
"language": null,
|
||||
"url": "https://api.github.com/repos/zbenjamin/zulip-test",
|
||||
"created_at": "2012-11-27T23:46:58Z",
|
||||
"pushed_at": "2013-08-27T21:49:41Z",
|
||||
"forks_count": 0,
|
||||
"default_branch": "master",
|
||||
"teams_url": "https://api.github.com/repos/zbenjamin/zulip-test/teams",
|
||||
"open_issues": 1,
|
||||
"git_commits_url": "https://api.github.com/repos/zbenjamin/zulip-test/git/commits{/sha}",
|
||||
"subscribers_url": "https://api.github.com/repos/zbenjamin/zulip-test/subscribers",
|
||||
"stargazers_url": "https://api.github.com/repos/zbenjamin/zulip-test/stargazers"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,391 +0,0 @@
|
||||
{
|
||||
"event": "pull_request",
|
||||
"payload": {
|
||||
"action": "closed",
|
||||
"pull_request": {
|
||||
"body": "Omitted something I think?",
|
||||
"merge_commit_sha": "ebceffa660f1a8bda56990bcccb3e7c753adc26a",
|
||||
"number": 7,
|
||||
"assignee": null,
|
||||
"mergeable": true,
|
||||
"closed_at": "2013-08-27T21:59:39Z",
|
||||
"additions": 1,
|
||||
"id": 7903751,
|
||||
"title": "Counting is hard.",
|
||||
"comments": 1,
|
||||
"merged_at": null,
|
||||
"state": "closed",
|
||||
"_links": {
|
||||
"self": {
|
||||
"href": "https://api.github.com/repos/zbenjamin/zulip-test/pulls/7"
|
||||
},
|
||||
"html": {
|
||||
"href": "https://github.com/zbenjamin/zulip-test/pull/7"
|
||||
},
|
||||
"issue": {
|
||||
"href": "https://api.github.com/repos/zbenjamin/zulip-test/issues/7"
|
||||
},
|
||||
"comments": {
|
||||
"href": "https://api.github.com/repos/zbenjamin/zulip-test/issues/7/comments"
|
||||
},
|
||||
"review_comments": {
|
||||
"href": "https://api.github.com/repos/zbenjamin/zulip-test/pulls/7/comments"
|
||||
}
|
||||
},
|
||||
"commits": 1,
|
||||
"diff_url": "https://github.com/zbenjamin/zulip-test/pull/7.diff",
|
||||
"issue_url": "https://github.com/zbenjamin/zulip-test/issues/7",
|
||||
"patch_url": "https://github.com/zbenjamin/zulip-test/pull/7.patch",
|
||||
"deletions": 0,
|
||||
"head": {
|
||||
"repo": {
|
||||
"issues_url": "https://api.github.com/repos/lfaraone/zulip-test/issues{/number}",
|
||||
"has_wiki": true,
|
||||
"forks_url": "https://api.github.com/repos/lfaraone/zulip-test/forks",
|
||||
"mirror_url": null,
|
||||
"subscription_url": "https://api.github.com/repos/lfaraone/zulip-test/subscription",
|
||||
"merges_url": "https://api.github.com/repos/lfaraone/zulip-test/merges",
|
||||
"collaborators_url": "https://api.github.com/repos/lfaraone/zulip-test/collaborators{/collaborator}",
|
||||
"updated_at": "2013-08-27T21:59:39Z",
|
||||
"private": false,
|
||||
"pulls_url": "https://api.github.com/repos/lfaraone/zulip-test/pulls{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/lfaraone/zulip-test/issues/comments/{number}",
|
||||
"full_name": "lfaraone/zulip-test",
|
||||
"owner": {
|
||||
"following_url": "https://api.github.com/users/lfaraone/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/lfaraone/gists{/gist_id}",
|
||||
"organizations_url": "https://api.github.com/users/lfaraone/orgs",
|
||||
"url": "https://api.github.com/users/lfaraone",
|
||||
"events_url": "https://api.github.com/users/lfaraone/events{/privacy}",
|
||||
"html_url": "https://github.com/lfaraone",
|
||||
"subscriptions_url": "https://api.github.com/users/lfaraone/subscriptions",
|
||||
"avatar_url": "https://1.gravatar.com/avatar/43918f842a892d0deb9ef1d8dcc9fe49?d=https%3A%2F%2Fidenticons.github.com%2F38b70bc4e5dd6c315c3acbe51c86820c.png",
|
||||
"repos_url": "https://api.github.com/users/lfaraone/repos",
|
||||
"received_events_url": "https://api.github.com/users/lfaraone/received_events",
|
||||
"gravatar_id": "43918f842a892d0deb9ef1d8dcc9fe49",
|
||||
"starred_url": "https://api.github.com/users/lfaraone/starred{/owner}{/repo}",
|
||||
"login": "lfaraone",
|
||||
"type": "User",
|
||||
"id": 73410,
|
||||
"followers_url": "https://api.github.com/users/lfaraone/followers"
|
||||
},
|
||||
"contents_url": "https://api.github.com/repos/lfaraone/zulip-test/contents/{+path}",
|
||||
"id": 12418470,
|
||||
"keys_url": "https://api.github.com/repos/lfaraone/zulip-test/keys{/key_id}",
|
||||
"size": 45,
|
||||
"tags_url": "https://api.github.com/repos/lfaraone/zulip-test/tags",
|
||||
"issue_events_url": "https://api.github.com/repos/lfaraone/zulip-test/issues/events{/number}",
|
||||
"contributors_url": "https://api.github.com/repos/lfaraone/zulip-test/contributors",
|
||||
"downloads_url": "https://api.github.com/repos/lfaraone/zulip-test/downloads",
|
||||
"has_downloads": true,
|
||||
"assignees_url": "https://api.github.com/repos/lfaraone/zulip-test/assignees{/user}",
|
||||
"statuses_url": "https://api.github.com/repos/lfaraone/zulip-test/statuses/{sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/lfaraone/zulip-test/git/refs{/sha}",
|
||||
"clone_url": "https://github.com/lfaraone/zulip-test.git",
|
||||
"watchers_count": 0,
|
||||
"git_tags_url": "https://api.github.com/repos/lfaraone/zulip-test/git/tags{/sha}",
|
||||
"milestones_url": "https://api.github.com/repos/lfaraone/zulip-test/milestones{/number}",
|
||||
"languages_url": "https://api.github.com/repos/lfaraone/zulip-test/languages",
|
||||
"homepage": null,
|
||||
"branches_url": "https://api.github.com/repos/lfaraone/zulip-test/branches{/branch}",
|
||||
"fork": true,
|
||||
"commits_url": "https://api.github.com/repos/lfaraone/zulip-test/commits{/sha}",
|
||||
"description": "Test repository",
|
||||
"archive_url": "https://api.github.com/repos/lfaraone/zulip-test/{archive_format}{/ref}",
|
||||
"labels_url": "https://api.github.com/repos/lfaraone/zulip-test/labels{/name}",
|
||||
"events_url": "https://api.github.com/repos/lfaraone/zulip-test/events",
|
||||
"comments_url": "https://api.github.com/repos/lfaraone/zulip-test/comments{/number}",
|
||||
"html_url": "https://github.com/lfaraone/zulip-test",
|
||||
"compare_url": "https://api.github.com/repos/lfaraone/zulip-test/compare/{base}...{head}",
|
||||
"trees_url": "https://api.github.com/repos/lfaraone/zulip-test/git/trees{/sha}",
|
||||
"git_url": "git://github.com/lfaraone/zulip-test.git",
|
||||
"svn_url": "https://github.com/lfaraone/zulip-test",
|
||||
"notifications_url": "https://api.github.com/repos/lfaraone/zulip-test/notifications{?since,all,participating}",
|
||||
"has_issues": false,
|
||||
"ssh_url": "git@github.com:lfaraone/zulip-test.git",
|
||||
"blobs_url": "https://api.github.com/repos/lfaraone/zulip-test/git/blobs{/sha}",
|
||||
"master_branch": "master",
|
||||
"forks": 0,
|
||||
"hooks_url": "https://api.github.com/repos/lfaraone/zulip-test/hooks",
|
||||
"open_issues_count": 0,
|
||||
"watchers": 0,
|
||||
"name": "zulip-test",
|
||||
"language": null,
|
||||
"url": "https://api.github.com/repos/lfaraone/zulip-test",
|
||||
"created_at": "2013-08-27T21:56:05Z",
|
||||
"pushed_at": "2013-08-27T21:59:14Z",
|
||||
"forks_count": 0,
|
||||
"default_branch": "master",
|
||||
"teams_url": "https://api.github.com/repos/lfaraone/zulip-test/teams",
|
||||
"open_issues": 0,
|
||||
"git_commits_url": "https://api.github.com/repos/lfaraone/zulip-test/git/commits{/sha}",
|
||||
"subscribers_url": "https://api.github.com/repos/lfaraone/zulip-test/subscribers",
|
||||
"stargazers_url": "https://api.github.com/repos/lfaraone/zulip-test/stargazers"
|
||||
},
|
||||
"sha": "b19cca106422241836f8c7d7c07ec44773e03dc1",
|
||||
"ref": "patch-2",
|
||||
"user": {
|
||||
"following_url": "https://api.github.com/users/lfaraone/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/lfaraone/gists{/gist_id}",
|
||||
"organizations_url": "https://api.github.com/users/lfaraone/orgs",
|
||||
"url": "https://api.github.com/users/lfaraone",
|
||||
"events_url": "https://api.github.com/users/lfaraone/events{/privacy}",
|
||||
"html_url": "https://github.com/lfaraone",
|
||||
"subscriptions_url": "https://api.github.com/users/lfaraone/subscriptions",
|
||||
"avatar_url": "https://1.gravatar.com/avatar/43918f842a892d0deb9ef1d8dcc9fe49?d=https%3A%2F%2Fidenticons.github.com%2F38b70bc4e5dd6c315c3acbe51c86820c.png",
|
||||
"repos_url": "https://api.github.com/users/lfaraone/repos",
|
||||
"received_events_url": "https://api.github.com/users/lfaraone/received_events",
|
||||
"gravatar_id": "43918f842a892d0deb9ef1d8dcc9fe49",
|
||||
"starred_url": "https://api.github.com/users/lfaraone/starred{/owner}{/repo}",
|
||||
"login": "lfaraone",
|
||||
"type": "User",
|
||||
"id": 73410,
|
||||
"followers_url": "https://api.github.com/users/lfaraone/followers"
|
||||
},
|
||||
"label": "lfaraone:patch-2"
|
||||
},
|
||||
"commits_url": "https://github.com/zbenjamin/zulip-test/pull/7/commits",
|
||||
"changed_files": 1,
|
||||
"comments_url": "https://api.github.com/repos/zbenjamin/zulip-test/issues/7/comments",
|
||||
"html_url": "https://github.com/zbenjamin/zulip-test/pull/7",
|
||||
"updated_at": "2013-08-27T21:59:39Z",
|
||||
"base": {
|
||||
"repo": {
|
||||
"issues_url": "https://api.github.com/repos/zbenjamin/zulip-test/issues{/number}",
|
||||
"has_wiki": true,
|
||||
"forks_url": "https://api.github.com/repos/zbenjamin/zulip-test/forks",
|
||||
"mirror_url": null,
|
||||
"subscription_url": "https://api.github.com/repos/zbenjamin/zulip-test/subscription",
|
||||
"merges_url": "https://api.github.com/repos/zbenjamin/zulip-test/merges",
|
||||
"collaborators_url": "https://api.github.com/repos/zbenjamin/zulip-test/collaborators{/collaborator}",
|
||||
"updated_at": "2013-08-27T21:58:00Z",
|
||||
"private": false,
|
||||
"pulls_url": "https://api.github.com/repos/zbenjamin/zulip-test/pulls{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/zbenjamin/zulip-test/issues/comments/{number}",
|
||||
"full_name": "zbenjamin/zulip-test",
|
||||
"owner": {
|
||||
"following_url": "https://api.github.com/users/zbenjamin/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/zbenjamin/gists{/gist_id}",
|
||||
"organizations_url": "https://api.github.com/users/zbenjamin/orgs",
|
||||
"url": "https://api.github.com/users/zbenjamin",
|
||||
"events_url": "https://api.github.com/users/zbenjamin/events{/privacy}",
|
||||
"html_url": "https://github.com/zbenjamin",
|
||||
"subscriptions_url": "https://api.github.com/users/zbenjamin/subscriptions",
|
||||
"avatar_url": "https://1.gravatar.com/avatar/cdd20cf7f6f5948fad385c0c230c3b4f?d=https%3A%2F%2Fidenticons.github.com%2F0e8c5c04107d38331fdd921015823de6.png",
|
||||
"repos_url": "https://api.github.com/users/zbenjamin/repos",
|
||||
"received_events_url": "https://api.github.com/users/zbenjamin/received_events",
|
||||
"gravatar_id": "cdd20cf7f6f5948fad385c0c230c3b4f",
|
||||
"starred_url": "https://api.github.com/users/zbenjamin/starred{/owner}{/repo}",
|
||||
"login": "zbenjamin",
|
||||
"type": "User",
|
||||
"id": 58684,
|
||||
"followers_url": "https://api.github.com/users/zbenjamin/followers"
|
||||
},
|
||||
"contents_url": "https://api.github.com/repos/zbenjamin/zulip-test/contents/{+path}",
|
||||
"id": 6893087,
|
||||
"keys_url": "https://api.github.com/repos/zbenjamin/zulip-test/keys{/key_id}",
|
||||
"size": 66,
|
||||
"tags_url": "https://api.github.com/repos/zbenjamin/zulip-test/tags",
|
||||
"issue_events_url": "https://api.github.com/repos/zbenjamin/zulip-test/issues/events{/number}",
|
||||
"contributors_url": "https://api.github.com/repos/zbenjamin/zulip-test/contributors",
|
||||
"downloads_url": "https://api.github.com/repos/zbenjamin/zulip-test/downloads",
|
||||
"has_downloads": true,
|
||||
"assignees_url": "https://api.github.com/repos/zbenjamin/zulip-test/assignees{/user}",
|
||||
"statuses_url": "https://api.github.com/repos/zbenjamin/zulip-test/statuses/{sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/zbenjamin/zulip-test/git/refs{/sha}",
|
||||
"clone_url": "https://github.com/zbenjamin/zulip-test.git",
|
||||
"watchers_count": 0,
|
||||
"git_tags_url": "https://api.github.com/repos/zbenjamin/zulip-test/git/tags{/sha}",
|
||||
"milestones_url": "https://api.github.com/repos/zbenjamin/zulip-test/milestones{/number}",
|
||||
"languages_url": "https://api.github.com/repos/zbenjamin/zulip-test/languages",
|
||||
"homepage": null,
|
||||
"branches_url": "https://api.github.com/repos/zbenjamin/zulip-test/branches{/branch}",
|
||||
"fork": false,
|
||||
"commits_url": "https://api.github.com/repos/zbenjamin/zulip-test/commits{/sha}",
|
||||
"description": "Test repository",
|
||||
"archive_url": "https://api.github.com/repos/zbenjamin/zulip-test/{archive_format}{/ref}",
|
||||
"labels_url": "https://api.github.com/repos/zbenjamin/zulip-test/labels{/name}",
|
||||
"events_url": "https://api.github.com/repos/zbenjamin/zulip-test/events",
|
||||
"comments_url": "https://api.github.com/repos/zbenjamin/zulip-test/comments{/number}",
|
||||
"html_url": "https://github.com/zbenjamin/zulip-test",
|
||||
"compare_url": "https://api.github.com/repos/zbenjamin/zulip-test/compare/{base}...{head}",
|
||||
"trees_url": "https://api.github.com/repos/zbenjamin/zulip-test/git/trees{/sha}",
|
||||
"git_url": "git://github.com/zbenjamin/zulip-test.git",
|
||||
"svn_url": "https://github.com/zbenjamin/zulip-test",
|
||||
"notifications_url": "https://api.github.com/repos/zbenjamin/zulip-test/notifications{?since,all,participating}",
|
||||
"has_issues": true,
|
||||
"ssh_url": "git@github.com:zbenjamin/zulip-test.git",
|
||||
"blobs_url": "https://api.github.com/repos/zbenjamin/zulip-test/git/blobs{/sha}",
|
||||
"master_branch": "master",
|
||||
"forks": 1,
|
||||
"hooks_url": "https://api.github.com/repos/zbenjamin/zulip-test/hooks",
|
||||
"open_issues_count": 0,
|
||||
"watchers": 0,
|
||||
"name": "zulip-test",
|
||||
"language": null,
|
||||
"url": "https://api.github.com/repos/zbenjamin/zulip-test",
|
||||
"created_at": "2012-11-27T23:46:58Z",
|
||||
"pushed_at": "2013-08-27T21:57:59Z",
|
||||
"forks_count": 1,
|
||||
"default_branch": "master",
|
||||
"teams_url": "https://api.github.com/repos/zbenjamin/zulip-test/teams",
|
||||
"open_issues": 0,
|
||||
"git_commits_url": "https://api.github.com/repos/zbenjamin/zulip-test/git/commits{/sha}",
|
||||
"subscribers_url": "https://api.github.com/repos/zbenjamin/zulip-test/subscribers",
|
||||
"stargazers_url": "https://api.github.com/repos/zbenjamin/zulip-test/stargazers"
|
||||
},
|
||||
"sha": "12239a62c29db843225ec58ab68cf142bf608007",
|
||||
"ref": "master",
|
||||
"user": {
|
||||
"following_url": "https://api.github.com/users/zbenjamin/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/zbenjamin/gists{/gist_id}",
|
||||
"organizations_url": "https://api.github.com/users/zbenjamin/orgs",
|
||||
"url": "https://api.github.com/users/zbenjamin",
|
||||
"events_url": "https://api.github.com/users/zbenjamin/events{/privacy}",
|
||||
"html_url": "https://github.com/zbenjamin",
|
||||
"subscriptions_url": "https://api.github.com/users/zbenjamin/subscriptions",
|
||||
"avatar_url": "https://1.gravatar.com/avatar/cdd20cf7f6f5948fad385c0c230c3b4f?d=https%3A%2F%2Fidenticons.github.com%2F0e8c5c04107d38331fdd921015823de6.png",
|
||||
"repos_url": "https://api.github.com/users/zbenjamin/repos",
|
||||
"received_events_url": "https://api.github.com/users/zbenjamin/received_events",
|
||||
"gravatar_id": "cdd20cf7f6f5948fad385c0c230c3b4f",
|
||||
"starred_url": "https://api.github.com/users/zbenjamin/starred{/owner}{/repo}",
|
||||
"login": "zbenjamin",
|
||||
"type": "User",
|
||||
"id": 58684,
|
||||
"followers_url": "https://api.github.com/users/zbenjamin/followers"
|
||||
},
|
||||
"label": "zbenjamin:master"
|
||||
},
|
||||
"user": {
|
||||
"following_url": "https://api.github.com/users/lfaraone/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/lfaraone/gists{/gist_id}",
|
||||
"organizations_url": "https://api.github.com/users/lfaraone/orgs",
|
||||
"url": "https://api.github.com/users/lfaraone",
|
||||
"events_url": "https://api.github.com/users/lfaraone/events{/privacy}",
|
||||
"html_url": "https://github.com/lfaraone",
|
||||
"subscriptions_url": "https://api.github.com/users/lfaraone/subscriptions",
|
||||
"avatar_url": "https://1.gravatar.com/avatar/43918f842a892d0deb9ef1d8dcc9fe49?d=https%3A%2F%2Fidenticons.github.com%2F38b70bc4e5dd6c315c3acbe51c86820c.png",
|
||||
"repos_url": "https://api.github.com/users/lfaraone/repos",
|
||||
"received_events_url": "https://api.github.com/users/lfaraone/received_events",
|
||||
"gravatar_id": "43918f842a892d0deb9ef1d8dcc9fe49",
|
||||
"starred_url": "https://api.github.com/users/lfaraone/starred{/owner}{/repo}",
|
||||
"login": "lfaraone",
|
||||
"type": "User",
|
||||
"id": 73410,
|
||||
"followers_url": "https://api.github.com/users/lfaraone/followers"
|
||||
},
|
||||
"milestone": null,
|
||||
"merged_by": null,
|
||||
"url": "https://api.github.com/repos/zbenjamin/zulip-test/pulls/7",
|
||||
"mergeable_state": "clean",
|
||||
"created_at": "2013-08-27T21:59:16Z",
|
||||
"review_comments_url": "https://github.com/zbenjamin/zulip-test/pull/7/comments",
|
||||
"review_comments": 0,
|
||||
"review_comment_url": "/repos/zbenjamin/zulip-test/pulls/comments/{number}",
|
||||
"merged": false
|
||||
},
|
||||
"sender": {
|
||||
"following_url": "https://api.github.com/users/zbenjamin/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/zbenjamin/gists{/gist_id}",
|
||||
"organizations_url": "https://api.github.com/users/zbenjamin/orgs",
|
||||
"url": "https://api.github.com/users/zbenjamin",
|
||||
"events_url": "https://api.github.com/users/zbenjamin/events{/privacy}",
|
||||
"html_url": "https://github.com/zbenjamin",
|
||||
"subscriptions_url": "https://api.github.com/users/zbenjamin/subscriptions",
|
||||
"avatar_url": "https://0.gravatar.com/avatar/cdd20cf7f6f5948fad385c0c230c3b4f?d=https%3A%2F%2Fidenticons.github.com%2F0e8c5c04107d38331fdd921015823de6.png",
|
||||
"repos_url": "https://api.github.com/users/zbenjamin/repos",
|
||||
"received_events_url": "https://api.github.com/users/zbenjamin/received_events",
|
||||
"gravatar_id": "cdd20cf7f6f5948fad385c0c230c3b4f",
|
||||
"starred_url": "https://api.github.com/users/zbenjamin/starred{/owner}{/repo}",
|
||||
"login": "zbenjamin",
|
||||
"type": "User",
|
||||
"id": 58684,
|
||||
"followers_url": "https://api.github.com/users/zbenjamin/followers"
|
||||
},
|
||||
"repository": {
|
||||
"issues_url": "https://api.github.com/repos/zbenjamin/zulip-test/issues{/number}",
|
||||
"has_wiki": true,
|
||||
"forks_url": "https://api.github.com/repos/zbenjamin/zulip-test/forks",
|
||||
"mirror_url": null,
|
||||
"subscription_url": "https://api.github.com/repos/zbenjamin/zulip-test/subscription",
|
||||
"merges_url": "https://api.github.com/repos/zbenjamin/zulip-test/merges",
|
||||
"collaborators_url": "https://api.github.com/repos/zbenjamin/zulip-test/collaborators{/collaborator}",
|
||||
"updated_at": "2013-08-27T21:58:00Z",
|
||||
"private": false,
|
||||
"pulls_url": "https://api.github.com/repos/zbenjamin/zulip-test/pulls{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/zbenjamin/zulip-test/issues/comments/{number}",
|
||||
"full_name": "zbenjamin/zulip-test",
|
||||
"owner": {
|
||||
"following_url": "https://api.github.com/users/zbenjamin/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/zbenjamin/gists{/gist_id}",
|
||||
"organizations_url": "https://api.github.com/users/zbenjamin/orgs",
|
||||
"url": "https://api.github.com/users/zbenjamin",
|
||||
"events_url": "https://api.github.com/users/zbenjamin/events{/privacy}",
|
||||
"html_url": "https://github.com/zbenjamin",
|
||||
"subscriptions_url": "https://api.github.com/users/zbenjamin/subscriptions",
|
||||
"avatar_url": "https://0.gravatar.com/avatar/cdd20cf7f6f5948fad385c0c230c3b4f?d=https%3A%2F%2Fidenticons.github.com%2F0e8c5c04107d38331fdd921015823de6.png",
|
||||
"repos_url": "https://api.github.com/users/zbenjamin/repos",
|
||||
"received_events_url": "https://api.github.com/users/zbenjamin/received_events",
|
||||
"gravatar_id": "cdd20cf7f6f5948fad385c0c230c3b4f",
|
||||
"starred_url": "https://api.github.com/users/zbenjamin/starred{/owner}{/repo}",
|
||||
"login": "zbenjamin",
|
||||
"type": "User",
|
||||
"id": 58684,
|
||||
"followers_url": "https://api.github.com/users/zbenjamin/followers"
|
||||
},
|
||||
"contents_url": "https://api.github.com/repos/zbenjamin/zulip-test/contents/{+path}",
|
||||
"id": 6893087,
|
||||
"keys_url": "https://api.github.com/repos/zbenjamin/zulip-test/keys{/key_id}",
|
||||
"size": 66,
|
||||
"tags_url": "https://api.github.com/repos/zbenjamin/zulip-test/tags",
|
||||
"issue_events_url": "https://api.github.com/repos/zbenjamin/zulip-test/issues/events{/number}",
|
||||
"contributors_url": "https://api.github.com/repos/zbenjamin/zulip-test/contributors",
|
||||
"downloads_url": "https://api.github.com/repos/zbenjamin/zulip-test/downloads",
|
||||
"has_downloads": true,
|
||||
"assignees_url": "https://api.github.com/repos/zbenjamin/zulip-test/assignees{/user}",
|
||||
"statuses_url": "https://api.github.com/repos/zbenjamin/zulip-test/statuses/{sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/zbenjamin/zulip-test/git/refs{/sha}",
|
||||
"clone_url": "https://github.com/zbenjamin/zulip-test.git",
|
||||
"watchers_count": 0,
|
||||
"git_tags_url": "https://api.github.com/repos/zbenjamin/zulip-test/git/tags{/sha}",
|
||||
"milestones_url": "https://api.github.com/repos/zbenjamin/zulip-test/milestones{/number}",
|
||||
"languages_url": "https://api.github.com/repos/zbenjamin/zulip-test/languages",
|
||||
"homepage": null,
|
||||
"branches_url": "https://api.github.com/repos/zbenjamin/zulip-test/branches{/branch}",
|
||||
"fork": false,
|
||||
"commits_url": "https://api.github.com/repos/zbenjamin/zulip-test/commits{/sha}",
|
||||
"description": "Test repository",
|
||||
"archive_url": "https://api.github.com/repos/zbenjamin/zulip-test/{archive_format}{/ref}",
|
||||
"labels_url": "https://api.github.com/repos/zbenjamin/zulip-test/labels{/name}",
|
||||
"events_url": "https://api.github.com/repos/zbenjamin/zulip-test/events",
|
||||
"comments_url": "https://api.github.com/repos/zbenjamin/zulip-test/comments{/number}",
|
||||
"html_url": "https://github.com/zbenjamin/zulip-test",
|
||||
"compare_url": "https://api.github.com/repos/zbenjamin/zulip-test/compare/{base}...{head}",
|
||||
"trees_url": "https://api.github.com/repos/zbenjamin/zulip-test/git/trees{/sha}",
|
||||
"git_url": "git://github.com/zbenjamin/zulip-test.git",
|
||||
"svn_url": "https://github.com/zbenjamin/zulip-test",
|
||||
"notifications_url": "https://api.github.com/repos/zbenjamin/zulip-test/notifications{?since,all,participating}",
|
||||
"has_issues": true,
|
||||
"ssh_url": "git@github.com:zbenjamin/zulip-test.git",
|
||||
"blobs_url": "https://api.github.com/repos/zbenjamin/zulip-test/git/blobs{/sha}",
|
||||
"master_branch": "master",
|
||||
"forks": 1,
|
||||
"hooks_url": "https://api.github.com/repos/zbenjamin/zulip-test/hooks",
|
||||
"open_issues_count": 0,
|
||||
"watchers": 0,
|
||||
"name": "zulip-test",
|
||||
"language": null,
|
||||
"url": "https://api.github.com/repos/zbenjamin/zulip-test",
|
||||
"created_at": "2012-11-27T23:46:58Z",
|
||||
"pushed_at": "2013-08-27T21:57:59Z",
|
||||
"forks_count": 1,
|
||||
"default_branch": "master",
|
||||
"teams_url": "https://api.github.com/repos/zbenjamin/zulip-test/teams",
|
||||
"open_issues": 0,
|
||||
"git_commits_url": "https://api.github.com/repos/zbenjamin/zulip-test/git/commits{/sha}",
|
||||
"subscribers_url": "https://api.github.com/repos/zbenjamin/zulip-test/subscribers",
|
||||
"stargazers_url": "https://api.github.com/repos/zbenjamin/zulip-test/stargazers"
|
||||
},
|
||||
"number": 7
|
||||
}
|
||||
}
|
||||
@@ -1,177 +0,0 @@
|
||||
{
|
||||
"event": "issue_comment",
|
||||
"payload": {
|
||||
"action": "created",
|
||||
"comment": {
|
||||
"body": "Yeah, who really needs more cowbell than we already have?",
|
||||
"url": "https://api.github.com/repos/zbenjamin/zulip-test/issues/comments/24771110",
|
||||
"created_at": "2013-09-19T20:34:32Z",
|
||||
"html_url": "https://github.com/zbenjamin/zulip-test/pull/9#issuecomment-24771110",
|
||||
"updated_at": "2013-09-19T20:34:32Z",
|
||||
"user": {
|
||||
"following_url": "https://api.github.com/users/zbenjamin/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/zbenjamin/gists{/gist_id}",
|
||||
"organizations_url": "https://api.github.com/users/zbenjamin/orgs",
|
||||
"url": "https://api.github.com/users/zbenjamin",
|
||||
"events_url": "https://api.github.com/users/zbenjamin/events{/privacy}",
|
||||
"html_url": "https://github.com/zbenjamin",
|
||||
"subscriptions_url": "https://api.github.com/users/zbenjamin/subscriptions",
|
||||
"avatar_url": "https://1.gravatar.com/avatar/cdd20cf7f6f5948fad385c0c230c3b4f?d=https%3A%2F%2Fidenticons.github.com%2F0e8c5c04107d38331fdd921015823de6.png",
|
||||
"repos_url": "https://api.github.com/users/zbenjamin/repos",
|
||||
"received_events_url": "https://api.github.com/users/zbenjamin/received_events",
|
||||
"gravatar_id": "cdd20cf7f6f5948fad385c0c230c3b4f",
|
||||
"starred_url": "https://api.github.com/users/zbenjamin/starred{/owner}{/repo}",
|
||||
"login": "zbenjamin",
|
||||
"type": "User",
|
||||
"id": 58684,
|
||||
"followers_url": "https://api.github.com/users/zbenjamin/followers"
|
||||
},
|
||||
"id": 24771110,
|
||||
"issue_url": "https://api.github.com/repos/zbenjamin/zulip-test/issues/9"
|
||||
},
|
||||
"issue": {
|
||||
"body": "Seems about right.",
|
||||
"events_url": "https://api.github.com/repos/zbenjamin/zulip-test/issues/9/events",
|
||||
"title": "Less cowbell.",
|
||||
"url": "https://api.github.com/repos/zbenjamin/zulip-test/issues/9",
|
||||
"labels_url": "https://api.github.com/repos/zbenjamin/zulip-test/issues/9/labels{/name}",
|
||||
"created_at": "2013-09-19T20:31:55Z",
|
||||
"labels": [],
|
||||
"comments_url": "https://api.github.com/repos/zbenjamin/zulip-test/issues/9/comments",
|
||||
"html_url": "https://github.com/zbenjamin/zulip-test/pull/9",
|
||||
"comments": 1,
|
||||
"number": 9,
|
||||
"updated_at": "2013-09-19T20:34:32Z",
|
||||
"assignee": null,
|
||||
"state": "open",
|
||||
"user": {
|
||||
"following_url": "https://api.github.com/users/lfaraone/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/lfaraone/gists{/gist_id}",
|
||||
"organizations_url": "https://api.github.com/users/lfaraone/orgs",
|
||||
"url": "https://api.github.com/users/lfaraone",
|
||||
"events_url": "https://api.github.com/users/lfaraone/events{/privacy}",
|
||||
"html_url": "https://github.com/lfaraone",
|
||||
"subscriptions_url": "https://api.github.com/users/lfaraone/subscriptions",
|
||||
"avatar_url": "https://2.gravatar.com/avatar/43918f842a892d0deb9ef1d8dcc9fe49?d=https%3A%2F%2Fidenticons.github.com%2F38b70bc4e5dd6c315c3acbe51c86820c.png",
|
||||
"repos_url": "https://api.github.com/users/lfaraone/repos",
|
||||
"received_events_url": "https://api.github.com/users/lfaraone/received_events",
|
||||
"gravatar_id": "43918f842a892d0deb9ef1d8dcc9fe49",
|
||||
"starred_url": "https://api.github.com/users/lfaraone/starred{/owner}{/repo}",
|
||||
"login": "lfaraone",
|
||||
"type": "User",
|
||||
"id": 73410,
|
||||
"followers_url": "https://api.github.com/users/lfaraone/followers"
|
||||
},
|
||||
"milestone": null,
|
||||
"closed_at": null,
|
||||
"pull_request": {
|
||||
"diff_url": "https://github.com/zbenjamin/zulip-test/pull/9.diff",
|
||||
"html_url": "https://github.com/zbenjamin/zulip-test/pull/9",
|
||||
"patch_url": "https://github.com/zbenjamin/zulip-test/pull/9.patch"
|
||||
},
|
||||
"id": 19779523
|
||||
},
|
||||
"sender": {
|
||||
"following_url": "https://api.github.com/users/zbenjamin/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/zbenjamin/gists{/gist_id}",
|
||||
"organizations_url": "https://api.github.com/users/zbenjamin/orgs",
|
||||
"url": "https://api.github.com/users/zbenjamin",
|
||||
"events_url": "https://api.github.com/users/zbenjamin/events{/privacy}",
|
||||
"html_url": "https://github.com/zbenjamin",
|
||||
"subscriptions_url": "https://api.github.com/users/zbenjamin/subscriptions",
|
||||
"avatar_url": "https://1.gravatar.com/avatar/cdd20cf7f6f5948fad385c0c230c3b4f?d=https%3A%2F%2Fidenticons.github.com%2F0e8c5c04107d38331fdd921015823de6.png",
|
||||
"repos_url": "https://api.github.com/users/zbenjamin/repos",
|
||||
"received_events_url": "https://api.github.com/users/zbenjamin/received_events",
|
||||
"gravatar_id": "cdd20cf7f6f5948fad385c0c230c3b4f",
|
||||
"starred_url": "https://api.github.com/users/zbenjamin/starred{/owner}{/repo}",
|
||||
"login": "zbenjamin",
|
||||
"type": "User",
|
||||
"id": 58684,
|
||||
"followers_url": "https://api.github.com/users/zbenjamin/followers"
|
||||
},
|
||||
"repository": {
|
||||
"issues_url": "https://api.github.com/repos/zbenjamin/zulip-test/issues{/number}",
|
||||
"has_wiki": true,
|
||||
"forks_url": "https://api.github.com/repos/zbenjamin/zulip-test/forks",
|
||||
"mirror_url": null,
|
||||
"subscription_url": "https://api.github.com/repos/zbenjamin/zulip-test/subscription",
|
||||
"merges_url": "https://api.github.com/repos/zbenjamin/zulip-test/merges",
|
||||
"collaborators_url": "https://api.github.com/repos/zbenjamin/zulip-test/collaborators{/collaborator}",
|
||||
"updated_at": "2013-09-19T20:31:59Z",
|
||||
"private": false,
|
||||
"pulls_url": "https://api.github.com/repos/zbenjamin/zulip-test/pulls{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/zbenjamin/zulip-test/issues/comments/{number}",
|
||||
"full_name": "zbenjamin/zulip-test",
|
||||
"owner": {
|
||||
"following_url": "https://api.github.com/users/zbenjamin/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/zbenjamin/gists{/gist_id}",
|
||||
"organizations_url": "https://api.github.com/users/zbenjamin/orgs",
|
||||
"url": "https://api.github.com/users/zbenjamin",
|
||||
"events_url": "https://api.github.com/users/zbenjamin/events{/privacy}",
|
||||
"html_url": "https://github.com/zbenjamin",
|
||||
"subscriptions_url": "https://api.github.com/users/zbenjamin/subscriptions",
|
||||
"avatar_url": "https://1.gravatar.com/avatar/cdd20cf7f6f5948fad385c0c230c3b4f?d=https%3A%2F%2Fidenticons.github.com%2F0e8c5c04107d38331fdd921015823de6.png",
|
||||
"repos_url": "https://api.github.com/users/zbenjamin/repos",
|
||||
"received_events_url": "https://api.github.com/users/zbenjamin/received_events",
|
||||
"gravatar_id": "cdd20cf7f6f5948fad385c0c230c3b4f",
|
||||
"starred_url": "https://api.github.com/users/zbenjamin/starred{/owner}{/repo}",
|
||||
"login": "zbenjamin",
|
||||
"type": "User",
|
||||
"id": 58684,
|
||||
"followers_url": "https://api.github.com/users/zbenjamin/followers"
|
||||
},
|
||||
"contents_url": "https://api.github.com/repos/zbenjamin/zulip-test/contents/{+path}",
|
||||
"id": 6893087,
|
||||
"keys_url": "https://api.github.com/repos/zbenjamin/zulip-test/keys{/key_id}",
|
||||
"size": 177,
|
||||
"tags_url": "https://api.github.com/repos/zbenjamin/zulip-test/tags",
|
||||
"issue_events_url": "https://api.github.com/repos/zbenjamin/zulip-test/issues/events{/number}",
|
||||
"contributors_url": "https://api.github.com/repos/zbenjamin/zulip-test/contributors",
|
||||
"downloads_url": "https://api.github.com/repos/zbenjamin/zulip-test/downloads",
|
||||
"has_downloads": true,
|
||||
"assignees_url": "https://api.github.com/repos/zbenjamin/zulip-test/assignees{/user}",
|
||||
"statuses_url": "https://api.github.com/repos/zbenjamin/zulip-test/statuses/{sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/zbenjamin/zulip-test/git/refs{/sha}",
|
||||
"clone_url": "https://github.com/zbenjamin/zulip-test.git",
|
||||
"watchers_count": 0,
|
||||
"git_tags_url": "https://api.github.com/repos/zbenjamin/zulip-test/git/tags{/sha}",
|
||||
"milestones_url": "https://api.github.com/repos/zbenjamin/zulip-test/milestones{/number}",
|
||||
"languages_url": "https://api.github.com/repos/zbenjamin/zulip-test/languages",
|
||||
"homepage": null,
|
||||
"branches_url": "https://api.github.com/repos/zbenjamin/zulip-test/branches{/branch}",
|
||||
"fork": false,
|
||||
"commits_url": "https://api.github.com/repos/zbenjamin/zulip-test/commits{/sha}",
|
||||
"description": "Test repository",
|
||||
"archive_url": "https://api.github.com/repos/zbenjamin/zulip-test/{archive_format}{/ref}",
|
||||
"labels_url": "https://api.github.com/repos/zbenjamin/zulip-test/labels{/name}",
|
||||
"events_url": "https://api.github.com/repos/zbenjamin/zulip-test/events",
|
||||
"comments_url": "https://api.github.com/repos/zbenjamin/zulip-test/comments{/number}",
|
||||
"html_url": "https://github.com/zbenjamin/zulip-test",
|
||||
"compare_url": "https://api.github.com/repos/zbenjamin/zulip-test/compare/{base}...{head}",
|
||||
"trees_url": "https://api.github.com/repos/zbenjamin/zulip-test/git/trees{/sha}",
|
||||
"git_url": "git://github.com/zbenjamin/zulip-test.git",
|
||||
"svn_url": "https://github.com/zbenjamin/zulip-test",
|
||||
"notifications_url": "https://api.github.com/repos/zbenjamin/zulip-test/notifications{?since,all,participating}",
|
||||
"has_issues": true,
|
||||
"ssh_url": "git@github.com:zbenjamin/zulip-test.git",
|
||||
"blobs_url": "https://api.github.com/repos/zbenjamin/zulip-test/git/blobs{/sha}",
|
||||
"master_branch": "master",
|
||||
"forks": 1,
|
||||
"hooks_url": "https://api.github.com/repos/zbenjamin/zulip-test/hooks",
|
||||
"open_issues_count": 1,
|
||||
"watchers": 0,
|
||||
"name": "zulip-test",
|
||||
"language": null,
|
||||
"url": "https://api.github.com/repos/zbenjamin/zulip-test",
|
||||
"created_at": "2012-11-27T23:46:58Z",
|
||||
"pushed_at": "2013-09-05T20:01:42Z",
|
||||
"forks_count": 1,
|
||||
"default_branch": "master",
|
||||
"teams_url": "https://api.github.com/repos/zbenjamin/zulip-test/teams",
|
||||
"open_issues": 1,
|
||||
"git_commits_url": "https://api.github.com/repos/zbenjamin/zulip-test/git/commits{/sha}",
|
||||
"subscribers_url": "https://api.github.com/repos/zbenjamin/zulip-test/subscribers",
|
||||
"stargazers_url": "https://api.github.com/repos/zbenjamin/zulip-test/stargazers"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,408 +0,0 @@
|
||||
{
|
||||
"event": "pull_request",
|
||||
"payload": {
|
||||
"action": "opened",
|
||||
"pull_request": {
|
||||
"body": "Omitted something I think?",
|
||||
"merge_commit_sha": null,
|
||||
"number": 7,
|
||||
"assignee": {
|
||||
"following_url": "https://api.github.com/users/lfaraone/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/lfaraone/gists{/gist_id}",
|
||||
"organizations_url": "https://api.github.com/users/lfaraone/orgs",
|
||||
"url": "https://api.github.com/users/lfaraone",
|
||||
"events_url": "https://api.github.com/users/lfaraone/events{/privacy}",
|
||||
"html_url": "https://github.com/lfaraone",
|
||||
"subscriptions_url": "https://api.github.com/users/lfaraone/subscriptions",
|
||||
"avatar_url": "https://0.gravatar.com/avatar/43918f842a892d0deb9ef1d8dcc9fe49?d=https%3A%2F%2Fidenticons.github.com%2F38b70bc4e5dd6c315c3acbe51c86820c.png",
|
||||
"repos_url": "https://api.github.com/users/lfaraone/repos",
|
||||
"received_events_url": "https://api.github.com/users/lfaraone/received_events",
|
||||
"gravatar_id": "43918f842a892d0deb9ef1d8dcc9fe49",
|
||||
"starred_url": "https://api.github.com/users/lfaraone/starred{/owner}{/repo}",
|
||||
"login": "lfaraone",
|
||||
"type": "User",
|
||||
"id": 73410,
|
||||
"followers_url": "https://api.github.com/users/lfaraone/followers"
|
||||
},
|
||||
"mergeable": null,
|
||||
"closed_at": null,
|
||||
"additions": 1,
|
||||
"id": 7903751,
|
||||
"title": "Counting is hard.",
|
||||
"comments": 0,
|
||||
"merged_at": null,
|
||||
"state": "open",
|
||||
"_links": {
|
||||
"self": {
|
||||
"href": "https://api.github.com/repos/zbenjamin/zulip-test/pulls/7"
|
||||
},
|
||||
"html": {
|
||||
"href": "https://github.com/zbenjamin/zulip-test/pull/7"
|
||||
},
|
||||
"issue": {
|
||||
"href": "https://api.github.com/repos/zbenjamin/zulip-test/issues/7"
|
||||
},
|
||||
"comments": {
|
||||
"href": "https://api.github.com/repos/zbenjamin/zulip-test/issues/7/comments"
|
||||
},
|
||||
"review_comments": {
|
||||
"href": "https://api.github.com/repos/zbenjamin/zulip-test/pulls/7/comments"
|
||||
}
|
||||
},
|
||||
"commits": 1,
|
||||
"diff_url": "https://github.com/zbenjamin/zulip-test/pull/7.diff",
|
||||
"issue_url": "https://github.com/zbenjamin/zulip-test/issues/7",
|
||||
"patch_url": "https://github.com/zbenjamin/zulip-test/pull/7.patch",
|
||||
"deletions": 0,
|
||||
"head": {
|
||||
"repo": {
|
||||
"issues_url": "https://api.github.com/repos/lfaraone/zulip-test/issues{/number}",
|
||||
"has_wiki": true,
|
||||
"forks_url": "https://api.github.com/repos/lfaraone/zulip-test/forks",
|
||||
"mirror_url": null,
|
||||
"subscription_url": "https://api.github.com/repos/lfaraone/zulip-test/subscription",
|
||||
"merges_url": "https://api.github.com/repos/lfaraone/zulip-test/merges",
|
||||
"collaborators_url": "https://api.github.com/repos/lfaraone/zulip-test/collaborators{/collaborator}",
|
||||
"updated_at": "2013-08-27T21:59:16Z",
|
||||
"private": false,
|
||||
"pulls_url": "https://api.github.com/repos/lfaraone/zulip-test/pulls{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/lfaraone/zulip-test/issues/comments/{number}",
|
||||
"full_name": "lfaraone/zulip-test",
|
||||
"owner": {
|
||||
"following_url": "https://api.github.com/users/lfaraone/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/lfaraone/gists{/gist_id}",
|
||||
"organizations_url": "https://api.github.com/users/lfaraone/orgs",
|
||||
"url": "https://api.github.com/users/lfaraone",
|
||||
"events_url": "https://api.github.com/users/lfaraone/events{/privacy}",
|
||||
"html_url": "https://github.com/lfaraone",
|
||||
"subscriptions_url": "https://api.github.com/users/lfaraone/subscriptions",
|
||||
"avatar_url": "https://0.gravatar.com/avatar/43918f842a892d0deb9ef1d8dcc9fe49?d=https%3A%2F%2Fidenticons.github.com%2F38b70bc4e5dd6c315c3acbe51c86820c.png",
|
||||
"repos_url": "https://api.github.com/users/lfaraone/repos",
|
||||
"received_events_url": "https://api.github.com/users/lfaraone/received_events",
|
||||
"gravatar_id": "43918f842a892d0deb9ef1d8dcc9fe49",
|
||||
"starred_url": "https://api.github.com/users/lfaraone/starred{/owner}{/repo}",
|
||||
"login": "lfaraone",
|
||||
"type": "User",
|
||||
"id": 73410,
|
||||
"followers_url": "https://api.github.com/users/lfaraone/followers"
|
||||
},
|
||||
"contents_url": "https://api.github.com/repos/lfaraone/zulip-test/contents/{+path}",
|
||||
"id": 12418470,
|
||||
"keys_url": "https://api.github.com/repos/lfaraone/zulip-test/keys{/key_id}",
|
||||
"size": 45,
|
||||
"tags_url": "https://api.github.com/repos/lfaraone/zulip-test/tags",
|
||||
"issue_events_url": "https://api.github.com/repos/lfaraone/zulip-test/issues/events{/number}",
|
||||
"contributors_url": "https://api.github.com/repos/lfaraone/zulip-test/contributors",
|
||||
"downloads_url": "https://api.github.com/repos/lfaraone/zulip-test/downloads",
|
||||
"has_downloads": true,
|
||||
"assignees_url": "https://api.github.com/repos/lfaraone/zulip-test/assignees{/user}",
|
||||
"statuses_url": "https://api.github.com/repos/lfaraone/zulip-test/statuses/{sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/lfaraone/zulip-test/git/refs{/sha}",
|
||||
"clone_url": "https://github.com/lfaraone/zulip-test.git",
|
||||
"watchers_count": 0,
|
||||
"git_tags_url": "https://api.github.com/repos/lfaraone/zulip-test/git/tags{/sha}",
|
||||
"milestones_url": "https://api.github.com/repos/lfaraone/zulip-test/milestones{/number}",
|
||||
"languages_url": "https://api.github.com/repos/lfaraone/zulip-test/languages",
|
||||
"homepage": null,
|
||||
"branches_url": "https://api.github.com/repos/lfaraone/zulip-test/branches{/branch}",
|
||||
"fork": true,
|
||||
"commits_url": "https://api.github.com/repos/lfaraone/zulip-test/commits{/sha}",
|
||||
"description": "Test repository",
|
||||
"archive_url": "https://api.github.com/repos/lfaraone/zulip-test/{archive_format}{/ref}",
|
||||
"labels_url": "https://api.github.com/repos/lfaraone/zulip-test/labels{/name}",
|
||||
"events_url": "https://api.github.com/repos/lfaraone/zulip-test/events",
|
||||
"comments_url": "https://api.github.com/repos/lfaraone/zulip-test/comments{/number}",
|
||||
"html_url": "https://github.com/lfaraone/zulip-test",
|
||||
"compare_url": "https://api.github.com/repos/lfaraone/zulip-test/compare/{base}...{head}",
|
||||
"trees_url": "https://api.github.com/repos/lfaraone/zulip-test/git/trees{/sha}",
|
||||
"git_url": "git://github.com/lfaraone/zulip-test.git",
|
||||
"svn_url": "https://github.com/lfaraone/zulip-test",
|
||||
"notifications_url": "https://api.github.com/repos/lfaraone/zulip-test/notifications{?since,all,participating}",
|
||||
"has_issues": false,
|
||||
"ssh_url": "git@github.com:lfaraone/zulip-test.git",
|
||||
"blobs_url": "https://api.github.com/repos/lfaraone/zulip-test/git/blobs{/sha}",
|
||||
"master_branch": "master",
|
||||
"forks": 0,
|
||||
"hooks_url": "https://api.github.com/repos/lfaraone/zulip-test/hooks",
|
||||
"open_issues_count": 0,
|
||||
"watchers": 0,
|
||||
"name": "zulip-test",
|
||||
"language": null,
|
||||
"url": "https://api.github.com/repos/lfaraone/zulip-test",
|
||||
"created_at": "2013-08-27T21:56:05Z",
|
||||
"pushed_at": "2013-08-27T21:59:14Z",
|
||||
"forks_count": 0,
|
||||
"default_branch": "master",
|
||||
"teams_url": "https://api.github.com/repos/lfaraone/zulip-test/teams",
|
||||
"open_issues": 0,
|
||||
"git_commits_url": "https://api.github.com/repos/lfaraone/zulip-test/git/commits{/sha}",
|
||||
"subscribers_url": "https://api.github.com/repos/lfaraone/zulip-test/subscribers",
|
||||
"stargazers_url": "https://api.github.com/repos/lfaraone/zulip-test/stargazers"
|
||||
},
|
||||
"sha": "b19cca106422241836f8c7d7c07ec44773e03dc1",
|
||||
"ref": "patch-2",
|
||||
"user": {
|
||||
"following_url": "https://api.github.com/users/lfaraone/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/lfaraone/gists{/gist_id}",
|
||||
"organizations_url": "https://api.github.com/users/lfaraone/orgs",
|
||||
"url": "https://api.github.com/users/lfaraone",
|
||||
"events_url": "https://api.github.com/users/lfaraone/events{/privacy}",
|
||||
"html_url": "https://github.com/lfaraone",
|
||||
"subscriptions_url": "https://api.github.com/users/lfaraone/subscriptions",
|
||||
"avatar_url": "https://0.gravatar.com/avatar/43918f842a892d0deb9ef1d8dcc9fe49?d=https%3A%2F%2Fidenticons.github.com%2F38b70bc4e5dd6c315c3acbe51c86820c.png",
|
||||
"repos_url": "https://api.github.com/users/lfaraone/repos",
|
||||
"received_events_url": "https://api.github.com/users/lfaraone/received_events",
|
||||
"gravatar_id": "43918f842a892d0deb9ef1d8dcc9fe49",
|
||||
"starred_url": "https://api.github.com/users/lfaraone/starred{/owner}{/repo}",
|
||||
"login": "lfaraone",
|
||||
"type": "User",
|
||||
"id": 73410,
|
||||
"followers_url": "https://api.github.com/users/lfaraone/followers"
|
||||
},
|
||||
"label": "lfaraone:patch-2"
|
||||
},
|
||||
"commits_url": "https://github.com/zbenjamin/zulip-test/pull/7/commits",
|
||||
"changed_files": 1,
|
||||
"comments_url": "https://api.github.com/repos/zbenjamin/zulip-test/issues/7/comments",
|
||||
"html_url": "https://github.com/zbenjamin/zulip-test/pull/7",
|
||||
"updated_at": "2013-08-27T21:59:16Z",
|
||||
"base": {
|
||||
"repo": {
|
||||
"issues_url": "https://api.github.com/repos/zbenjamin/zulip-test/issues{/number}",
|
||||
"has_wiki": true,
|
||||
"forks_url": "https://api.github.com/repos/zbenjamin/zulip-test/forks",
|
||||
"mirror_url": null,
|
||||
"subscription_url": "https://api.github.com/repos/zbenjamin/zulip-test/subscription",
|
||||
"merges_url": "https://api.github.com/repos/zbenjamin/zulip-test/merges",
|
||||
"collaborators_url": "https://api.github.com/repos/zbenjamin/zulip-test/collaborators{/collaborator}",
|
||||
"updated_at": "2013-08-27T21:58:00Z",
|
||||
"private": false,
|
||||
"pulls_url": "https://api.github.com/repos/zbenjamin/zulip-test/pulls{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/zbenjamin/zulip-test/issues/comments/{number}",
|
||||
"full_name": "zbenjamin/zulip-test",
|
||||
"owner": {
|
||||
"following_url": "https://api.github.com/users/zbenjamin/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/zbenjamin/gists{/gist_id}",
|
||||
"organizations_url": "https://api.github.com/users/zbenjamin/orgs",
|
||||
"url": "https://api.github.com/users/zbenjamin",
|
||||
"events_url": "https://api.github.com/users/zbenjamin/events{/privacy}",
|
||||
"html_url": "https://github.com/zbenjamin",
|
||||
"subscriptions_url": "https://api.github.com/users/zbenjamin/subscriptions",
|
||||
"avatar_url": "https://2.gravatar.com/avatar/cdd20cf7f6f5948fad385c0c230c3b4f?d=https%3A%2F%2Fidenticons.github.com%2F0e8c5c04107d38331fdd921015823de6.png",
|
||||
"repos_url": "https://api.github.com/users/zbenjamin/repos",
|
||||
"received_events_url": "https://api.github.com/users/zbenjamin/received_events",
|
||||
"gravatar_id": "cdd20cf7f6f5948fad385c0c230c3b4f",
|
||||
"starred_url": "https://api.github.com/users/zbenjamin/starred{/owner}{/repo}",
|
||||
"login": "zbenjamin",
|
||||
"type": "User",
|
||||
"id": 58684,
|
||||
"followers_url": "https://api.github.com/users/zbenjamin/followers"
|
||||
},
|
||||
"contents_url": "https://api.github.com/repos/zbenjamin/zulip-test/contents/{+path}",
|
||||
"id": 6893087,
|
||||
"keys_url": "https://api.github.com/repos/zbenjamin/zulip-test/keys{/key_id}",
|
||||
"size": 66,
|
||||
"tags_url": "https://api.github.com/repos/zbenjamin/zulip-test/tags",
|
||||
"issue_events_url": "https://api.github.com/repos/zbenjamin/zulip-test/issues/events{/number}",
|
||||
"contributors_url": "https://api.github.com/repos/zbenjamin/zulip-test/contributors",
|
||||
"downloads_url": "https://api.github.com/repos/zbenjamin/zulip-test/downloads",
|
||||
"has_downloads": true,
|
||||
"assignees_url": "https://api.github.com/repos/zbenjamin/zulip-test/assignees{/user}",
|
||||
"statuses_url": "https://api.github.com/repos/zbenjamin/zulip-test/statuses/{sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/zbenjamin/zulip-test/git/refs{/sha}",
|
||||
"clone_url": "https://github.com/zbenjamin/zulip-test.git",
|
||||
"watchers_count": 0,
|
||||
"git_tags_url": "https://api.github.com/repos/zbenjamin/zulip-test/git/tags{/sha}",
|
||||
"milestones_url": "https://api.github.com/repos/zbenjamin/zulip-test/milestones{/number}",
|
||||
"languages_url": "https://api.github.com/repos/zbenjamin/zulip-test/languages",
|
||||
"homepage": null,
|
||||
"branches_url": "https://api.github.com/repos/zbenjamin/zulip-test/branches{/branch}",
|
||||
"fork": false,
|
||||
"commits_url": "https://api.github.com/repos/zbenjamin/zulip-test/commits{/sha}",
|
||||
"description": "Test repository",
|
||||
"archive_url": "https://api.github.com/repos/zbenjamin/zulip-test/{archive_format}{/ref}",
|
||||
"labels_url": "https://api.github.com/repos/zbenjamin/zulip-test/labels{/name}",
|
||||
"events_url": "https://api.github.com/repos/zbenjamin/zulip-test/events",
|
||||
"comments_url": "https://api.github.com/repos/zbenjamin/zulip-test/comments{/number}",
|
||||
"html_url": "https://github.com/zbenjamin/zulip-test",
|
||||
"compare_url": "https://api.github.com/repos/zbenjamin/zulip-test/compare/{base}...{head}",
|
||||
"trees_url": "https://api.github.com/repos/zbenjamin/zulip-test/git/trees{/sha}",
|
||||
"git_url": "git://github.com/zbenjamin/zulip-test.git",
|
||||
"svn_url": "https://github.com/zbenjamin/zulip-test",
|
||||
"notifications_url": "https://api.github.com/repos/zbenjamin/zulip-test/notifications{?since,all,participating}",
|
||||
"has_issues": true,
|
||||
"ssh_url": "git@github.com:zbenjamin/zulip-test.git",
|
||||
"blobs_url": "https://api.github.com/repos/zbenjamin/zulip-test/git/blobs{/sha}",
|
||||
"master_branch": "master",
|
||||
"forks": 1,
|
||||
"hooks_url": "https://api.github.com/repos/zbenjamin/zulip-test/hooks",
|
||||
"open_issues_count": 1,
|
||||
"watchers": 0,
|
||||
"name": "zulip-test",
|
||||
"language": null,
|
||||
"url": "https://api.github.com/repos/zbenjamin/zulip-test",
|
||||
"created_at": "2012-11-27T23:46:58Z",
|
||||
"pushed_at": "2013-08-27T21:57:59Z",
|
||||
"forks_count": 1,
|
||||
"default_branch": "master",
|
||||
"teams_url": "https://api.github.com/repos/zbenjamin/zulip-test/teams",
|
||||
"open_issues": 1,
|
||||
"git_commits_url": "https://api.github.com/repos/zbenjamin/zulip-test/git/commits{/sha}",
|
||||
"subscribers_url": "https://api.github.com/repos/zbenjamin/zulip-test/subscribers",
|
||||
"stargazers_url": "https://api.github.com/repos/zbenjamin/zulip-test/stargazers"
|
||||
},
|
||||
"sha": "12239a62c29db843225ec58ab68cf142bf608007",
|
||||
"ref": "master",
|
||||
"user": {
|
||||
"following_url": "https://api.github.com/users/zbenjamin/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/zbenjamin/gists{/gist_id}",
|
||||
"organizations_url": "https://api.github.com/users/zbenjamin/orgs",
|
||||
"url": "https://api.github.com/users/zbenjamin",
|
||||
"events_url": "https://api.github.com/users/zbenjamin/events{/privacy}",
|
||||
"html_url": "https://github.com/zbenjamin",
|
||||
"subscriptions_url": "https://api.github.com/users/zbenjamin/subscriptions",
|
||||
"avatar_url": "https://2.gravatar.com/avatar/cdd20cf7f6f5948fad385c0c230c3b4f?d=https%3A%2F%2Fidenticons.github.com%2F0e8c5c04107d38331fdd921015823de6.png",
|
||||
"repos_url": "https://api.github.com/users/zbenjamin/repos",
|
||||
"received_events_url": "https://api.github.com/users/zbenjamin/received_events",
|
||||
"gravatar_id": "cdd20cf7f6f5948fad385c0c230c3b4f",
|
||||
"starred_url": "https://api.github.com/users/zbenjamin/starred{/owner}{/repo}",
|
||||
"login": "zbenjamin",
|
||||
"type": "User",
|
||||
"id": 58684,
|
||||
"followers_url": "https://api.github.com/users/zbenjamin/followers"
|
||||
},
|
||||
"label": "zbenjamin:master"
|
||||
},
|
||||
"user": {
|
||||
"following_url": "https://api.github.com/users/lfaraone/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/lfaraone/gists{/gist_id}",
|
||||
"organizations_url": "https://api.github.com/users/lfaraone/orgs",
|
||||
"url": "https://api.github.com/users/lfaraone",
|
||||
"events_url": "https://api.github.com/users/lfaraone/events{/privacy}",
|
||||
"html_url": "https://github.com/lfaraone",
|
||||
"subscriptions_url": "https://api.github.com/users/lfaraone/subscriptions",
|
||||
"avatar_url": "https://0.gravatar.com/avatar/43918f842a892d0deb9ef1d8dcc9fe49?d=https%3A%2F%2Fidenticons.github.com%2F38b70bc4e5dd6c315c3acbe51c86820c.png",
|
||||
"repos_url": "https://api.github.com/users/lfaraone/repos",
|
||||
"received_events_url": "https://api.github.com/users/lfaraone/received_events",
|
||||
"gravatar_id": "43918f842a892d0deb9ef1d8dcc9fe49",
|
||||
"starred_url": "https://api.github.com/users/lfaraone/starred{/owner}{/repo}",
|
||||
"login": "lfaraone",
|
||||
"type": "User",
|
||||
"id": 73410,
|
||||
"followers_url": "https://api.github.com/users/lfaraone/followers"
|
||||
},
|
||||
"milestone": null,
|
||||
"merged_by": null,
|
||||
"url": "https://api.github.com/repos/zbenjamin/zulip-test/pulls/7",
|
||||
"mergeable_state": "unknown",
|
||||
"created_at": "2013-08-27T21:59:16Z",
|
||||
"review_comments_url": "https://github.com/zbenjamin/zulip-test/pull/7/comments",
|
||||
"review_comments": 0,
|
||||
"review_comment_url": "/repos/zbenjamin/zulip-test/pulls/comments/{number}",
|
||||
"merged": false
|
||||
},
|
||||
"sender": {
|
||||
"following_url": "https://api.github.com/users/lfaraone/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/lfaraone/gists{/gist_id}",
|
||||
"organizations_url": "https://api.github.com/users/lfaraone/orgs",
|
||||
"url": "https://api.github.com/users/lfaraone",
|
||||
"events_url": "https://api.github.com/users/lfaraone/events{/privacy}",
|
||||
"html_url": "https://github.com/lfaraone",
|
||||
"subscriptions_url": "https://api.github.com/users/lfaraone/subscriptions",
|
||||
"avatar_url": "https://0.gravatar.com/avatar/43918f842a892d0deb9ef1d8dcc9fe49?d=https%3A%2F%2Fidenticons.github.com%2F38b70bc4e5dd6c315c3acbe51c86820c.png",
|
||||
"repos_url": "https://api.github.com/users/lfaraone/repos",
|
||||
"received_events_url": "https://api.github.com/users/lfaraone/received_events",
|
||||
"gravatar_id": "43918f842a892d0deb9ef1d8dcc9fe49",
|
||||
"starred_url": "https://api.github.com/users/lfaraone/starred{/owner}{/repo}",
|
||||
"login": "lfaraone",
|
||||
"type": "User",
|
||||
"id": 73410,
|
||||
"followers_url": "https://api.github.com/users/lfaraone/followers"
|
||||
},
|
||||
"repository": {
|
||||
"issues_url": "https://api.github.com/repos/zbenjamin/zulip-test/issues{/number}",
|
||||
"has_wiki": true,
|
||||
"forks_url": "https://api.github.com/repos/zbenjamin/zulip-test/forks",
|
||||
"mirror_url": null,
|
||||
"subscription_url": "https://api.github.com/repos/zbenjamin/zulip-test/subscription",
|
||||
"merges_url": "https://api.github.com/repos/zbenjamin/zulip-test/merges",
|
||||
"collaborators_url": "https://api.github.com/repos/zbenjamin/zulip-test/collaborators{/collaborator}",
|
||||
"updated_at": "2013-08-27T21:58:00Z",
|
||||
"private": false,
|
||||
"pulls_url": "https://api.github.com/repos/zbenjamin/zulip-test/pulls{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/zbenjamin/zulip-test/issues/comments/{number}",
|
||||
"full_name": "zbenjamin/zulip-test",
|
||||
"owner": {
|
||||
"following_url": "https://api.github.com/users/zbenjamin/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/zbenjamin/gists{/gist_id}",
|
||||
"organizations_url": "https://api.github.com/users/zbenjamin/orgs",
|
||||
"url": "https://api.github.com/users/zbenjamin",
|
||||
"events_url": "https://api.github.com/users/zbenjamin/events{/privacy}",
|
||||
"html_url": "https://github.com/zbenjamin",
|
||||
"subscriptions_url": "https://api.github.com/users/zbenjamin/subscriptions",
|
||||
"avatar_url": "https://0.gravatar.com/avatar/cdd20cf7f6f5948fad385c0c230c3b4f?d=https%3A%2F%2Fidenticons.github.com%2F0e8c5c04107d38331fdd921015823de6.png",
|
||||
"repos_url": "https://api.github.com/users/zbenjamin/repos",
|
||||
"received_events_url": "https://api.github.com/users/zbenjamin/received_events",
|
||||
"gravatar_id": "cdd20cf7f6f5948fad385c0c230c3b4f",
|
||||
"starred_url": "https://api.github.com/users/zbenjamin/starred{/owner}{/repo}",
|
||||
"login": "zbenjamin",
|
||||
"type": "User",
|
||||
"id": 58684,
|
||||
"followers_url": "https://api.github.com/users/zbenjamin/followers"
|
||||
},
|
||||
"contents_url": "https://api.github.com/repos/zbenjamin/zulip-test/contents/{+path}",
|
||||
"id": 6893087,
|
||||
"keys_url": "https://api.github.com/repos/zbenjamin/zulip-test/keys{/key_id}",
|
||||
"size": 66,
|
||||
"tags_url": "https://api.github.com/repos/zbenjamin/zulip-test/tags",
|
||||
"issue_events_url": "https://api.github.com/repos/zbenjamin/zulip-test/issues/events{/number}",
|
||||
"contributors_url": "https://api.github.com/repos/zbenjamin/zulip-test/contributors",
|
||||
"downloads_url": "https://api.github.com/repos/zbenjamin/zulip-test/downloads",
|
||||
"has_downloads": true,
|
||||
"assignees_url": "https://api.github.com/repos/zbenjamin/zulip-test/assignees{/user}",
|
||||
"statuses_url": "https://api.github.com/repos/zbenjamin/zulip-test/statuses/{sha}",
|
||||
"git_refs_url": "https://api.github.com/repos/zbenjamin/zulip-test/git/refs{/sha}",
|
||||
"clone_url": "https://github.com/zbenjamin/zulip-test.git",
|
||||
"watchers_count": 0,
|
||||
"git_tags_url": "https://api.github.com/repos/zbenjamin/zulip-test/git/tags{/sha}",
|
||||
"milestones_url": "https://api.github.com/repos/zbenjamin/zulip-test/milestones{/number}",
|
||||
"languages_url": "https://api.github.com/repos/zbenjamin/zulip-test/languages",
|
||||
"homepage": null,
|
||||
"branches_url": "https://api.github.com/repos/zbenjamin/zulip-test/branches{/branch}",
|
||||
"fork": false,
|
||||
"commits_url": "https://api.github.com/repos/zbenjamin/zulip-test/commits{/sha}",
|
||||
"description": "Test repository",
|
||||
"archive_url": "https://api.github.com/repos/zbenjamin/zulip-test/{archive_format}{/ref}",
|
||||
"labels_url": "https://api.github.com/repos/zbenjamin/zulip-test/labels{/name}",
|
||||
"events_url": "https://api.github.com/repos/zbenjamin/zulip-test/events",
|
||||
"comments_url": "https://api.github.com/repos/zbenjamin/zulip-test/comments{/number}",
|
||||
"html_url": "https://github.com/zbenjamin/zulip-test",
|
||||
"compare_url": "https://api.github.com/repos/zbenjamin/zulip-test/compare/{base}...{head}",
|
||||
"trees_url": "https://api.github.com/repos/zbenjamin/zulip-test/git/trees{/sha}",
|
||||
"git_url": "git://github.com/zbenjamin/zulip-test.git",
|
||||
"svn_url": "https://github.com/zbenjamin/zulip-test",
|
||||
"notifications_url": "https://api.github.com/repos/zbenjamin/zulip-test/notifications{?since,all,participating}",
|
||||
"has_issues": true,
|
||||
"ssh_url": "git@github.com:zbenjamin/zulip-test.git",
|
||||
"blobs_url": "https://api.github.com/repos/zbenjamin/zulip-test/git/blobs{/sha}",
|
||||
"master_branch": "master",
|
||||
"forks": 1,
|
||||
"hooks_url": "https://api.github.com/repos/zbenjamin/zulip-test/hooks",
|
||||
"open_issues_count": 1,
|
||||
"watchers": 0,
|
||||
"name": "zulip-test",
|
||||
"language": null,
|
||||
"url": "https://api.github.com/repos/zbenjamin/zulip-test",
|
||||
"created_at": "2012-11-27T23:46:58Z",
|
||||
"pushed_at": "2013-08-27T21:57:59Z",
|
||||
"forks_count": 1,
|
||||
"default_branch": "master",
|
||||
"teams_url": "https://api.github.com/repos/zbenjamin/zulip-test/teams",
|
||||
"open_issues": 1,
|
||||
"git_commits_url": "https://api.github.com/repos/zbenjamin/zulip-test/git/commits{/sha}",
|
||||
"subscribers_url": "https://api.github.com/repos/zbenjamin/zulip-test/subscribers",
|
||||
"stargazers_url": "https://api.github.com/repos/zbenjamin/zulip-test/stargazers"
|
||||
},
|
||||
"number": 7
|
||||
}
|
||||
}
|
||||
@@ -1,408 +0,0 @@
|
||||
{
|
||||
"event": "pull_request",
|
||||
"payload": {
|
||||
"action": "synchronize",
|
||||
"pull_request": {
|
||||
"body": "I am trying to simulate a \"synchronize\" action, whatever that means.",
|
||||
"merge_commit_sha": "61de840093f300e61dba82dc402cf4c50809a53d",
|
||||
"number": 13,
|
||||
"assignee": null,
|
||||
"mergeable": null,
|
||||
"closed_at": null,
|
||||
"additions": 5,
|
||||
"statuses_url": "https://api.github.com/repos/zbenjamin/zulip-test/statuses/01d61f95629af5d2ae8d018c1b3f5fd05b18b72c",
|
||||
"id": 11719733,
|
||||
"title": "Even more cowbell.",
|
||||
"comments": 0,
|
||||
"merged_at": null,
|
||||
"state": "open",
|
||||
"_links": {
|
||||
"self": {
|
||||
"href": "https://api.github.com/repos/zbenjamin/zulip-test/pulls/13"
|
||||
},
|
||||
"comments": {
|
||||
"href": "https://api.github.com/repos/zbenjamin/zulip-test/issues/13/comments"
|
||||
},
|
||||
"html": {
|
||||
"href": "https://github.com/zbenjamin/zulip-test/pull/13"
|
||||
},
|
||||
"review_comments": {
|
||||
"href": "https://api.github.com/repos/zbenjamin/zulip-test/pulls/13/comments"
|
||||
},
|
||||
"issue": {
|
||||
"href": "https://api.github.com/repos/zbenjamin/zulip-test/issues/13"
|
||||
},
|
||||
"statuses": {
|
||||
"href": "https://api.github.com/repos/zbenjamin/zulip-test/statuses/01d61f95629af5d2ae8d018c1b3f5fd05b18b72c"
|
||||
}
|
||||
},
|
||||
"commits": 2,
|
||||
"diff_url": "https://github.com/zbenjamin/zulip-test/pull/13.diff",
|
||||
"issue_url": "https://github.com/zbenjamin/zulip-test/pull/13",
|
||||
"patch_url": "https://github.com/zbenjamin/zulip-test/pull/13.patch",
|
||||
"deletions": 0,
|
||||
"head": {
|
||||
"repo": {
|
||||
"issues_url": "https://api.github.com/repos/zbenjamin/zulip-test/issues{/number}",
|
||||
"has_wiki": true,
|
||||
"forks_url": "https://api.github.com/repos/zbenjamin/zulip-test/forks",
|
||||
"mirror_url": null,
|
||||
"subscription_url": "https://api.github.com/repos/zbenjamin/zulip-test/subscription",
|
||||
"merges_url": "https://api.github.com/repos/zbenjamin/zulip-test/merges",
|
||||
"collaborators_url": "https://api.github.com/repos/zbenjamin/zulip-test/collaborators{/collaborator}",
|
||||
"updated_at": "2014-01-21T16:31:59Z",
|
||||
"private": false,
|
||||
"pulls_url": "https://api.github.com/repos/zbenjamin/zulip-test/pulls{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/zbenjamin/zulip-test/issues/comments/{number}",
|
||||
"full_name": "zbenjamin/zulip-test",
|
||||
"owner": {
|
||||
"following_url": "https://api.github.com/users/zbenjamin/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/zbenjamin/gists{/gist_id}",
|
||||
"organizations_url": "https://api.github.com/users/zbenjamin/orgs",
|
||||
"url": "https://api.github.com/users/zbenjamin",
|
||||
"events_url": "https://api.github.com/users/zbenjamin/events{/privacy}",
|
||||
"html_url": "https://github.com/zbenjamin",
|
||||
"subscriptions_url": "https://api.github.com/users/zbenjamin/subscriptions",
|
||||
"avatar_url": "https://gravatar.com/avatar/cdd20cf7f6f5948fad385c0c230c3b4f?d=https%3A%2F%2Fidenticons.github.com%2F0e8c5c04107d38331fdd921015823de6.png&r=x",
|
||||
"repos_url": "https://api.github.com/users/zbenjamin/repos",
|
||||
"received_events_url": "https://api.github.com/users/zbenjamin/received_events",
|
||||
"gravatar_id": "cdd20cf7f6f5948fad385c0c230c3b4f",
|
||||
"starred_url": "https://api.github.com/users/zbenjamin/starred{/owner}{/repo}",
|
||||
"site_admin": false,
|
||||
"login": "zbenjamin",
|
||||
"type": "User",
|
||||
"id": 58684,
|
||||
"followers_url": "https://api.github.com/users/zbenjamin/followers"
|
||||
},
|
||||
"statuses_url": "https://api.github.com/repos/zbenjamin/zulip-test/statuses/{sha}",
|
||||
"id": 6893087,
|
||||
"keys_url": "https://api.github.com/repos/zbenjamin/zulip-test/keys{/key_id}",
|
||||
"size": 198,
|
||||
"tags_url": "https://api.github.com/repos/zbenjamin/zulip-test/tags",
|
||||
"issue_events_url": "https://api.github.com/repos/zbenjamin/zulip-test/issues/events{/number}",
|
||||
"contributors_url": "https://api.github.com/repos/zbenjamin/zulip-test/contributors",
|
||||
"downloads_url": "https://api.github.com/repos/zbenjamin/zulip-test/downloads",
|
||||
"has_downloads": true,
|
||||
"assignees_url": "https://api.github.com/repos/zbenjamin/zulip-test/assignees{/user}",
|
||||
"contents_url": "https://api.github.com/repos/zbenjamin/zulip-test/contents/{+path}",
|
||||
"git_refs_url": "https://api.github.com/repos/zbenjamin/zulip-test/git/refs{/sha}",
|
||||
"clone_url": "https://github.com/zbenjamin/zulip-test.git",
|
||||
"watchers_count": 0,
|
||||
"git_tags_url": "https://api.github.com/repos/zbenjamin/zulip-test/git/tags{/sha}",
|
||||
"milestones_url": "https://api.github.com/repos/zbenjamin/zulip-test/milestones{/number}",
|
||||
"stargazers_count": 0,
|
||||
"homepage": null,
|
||||
"branches_url": "https://api.github.com/repos/zbenjamin/zulip-test/branches{/branch}",
|
||||
"fork": false,
|
||||
"commits_url": "https://api.github.com/repos/zbenjamin/zulip-test/commits{/sha}",
|
||||
"releases_url": "https://api.github.com/repos/zbenjamin/zulip-test/releases{/id}",
|
||||
"description": "Test repository",
|
||||
"archive_url": "https://api.github.com/repos/zbenjamin/zulip-test/{archive_format}{/ref}",
|
||||
"labels_url": "https://api.github.com/repos/zbenjamin/zulip-test/labels{/name}",
|
||||
"events_url": "https://api.github.com/repos/zbenjamin/zulip-test/events",
|
||||
"comments_url": "https://api.github.com/repos/zbenjamin/zulip-test/comments{/number}",
|
||||
"html_url": "https://github.com/zbenjamin/zulip-test",
|
||||
"forks": 1,
|
||||
"compare_url": "https://api.github.com/repos/zbenjamin/zulip-test/compare/{base}...{head}",
|
||||
"trees_url": "https://api.github.com/repos/zbenjamin/zulip-test/git/trees{/sha}",
|
||||
"git_url": "git://github.com/zbenjamin/zulip-test.git",
|
||||
"svn_url": "https://github.com/zbenjamin/zulip-test",
|
||||
"notifications_url": "https://api.github.com/repos/zbenjamin/zulip-test/notifications{?since,all,participating}",
|
||||
"has_issues": true,
|
||||
"ssh_url": "git@github.com:zbenjamin/zulip-test.git",
|
||||
"blobs_url": "https://api.github.com/repos/zbenjamin/zulip-test/git/blobs{/sha}",
|
||||
"master_branch": "master",
|
||||
"languages_url": "https://api.github.com/repos/zbenjamin/zulip-test/languages",
|
||||
"hooks_url": "https://api.github.com/repos/zbenjamin/zulip-test/hooks",
|
||||
"open_issues_count": 3,
|
||||
"watchers": 0,
|
||||
"name": "zulip-test",
|
||||
"language": "Python",
|
||||
"url": "https://api.github.com/repos/zbenjamin/zulip-test",
|
||||
"created_at": "2012-11-27T23:46:58Z",
|
||||
"pushed_at": "2014-01-21T16:42:21Z",
|
||||
"forks_count": 1,
|
||||
"default_branch": "master",
|
||||
"teams_url": "https://api.github.com/repos/zbenjamin/zulip-test/teams",
|
||||
"open_issues": 3,
|
||||
"git_commits_url": "https://api.github.com/repos/zbenjamin/zulip-test/git/commits{/sha}",
|
||||
"subscribers_url": "https://api.github.com/repos/zbenjamin/zulip-test/subscribers",
|
||||
"stargazers_url": "https://api.github.com/repos/zbenjamin/zulip-test/stargazers"
|
||||
},
|
||||
"sha": "01d61f95629af5d2ae8d018c1b3f5fd05b18b72c",
|
||||
"ref": "steve-synchronize",
|
||||
"user": {
|
||||
"following_url": "https://api.github.com/users/zbenjamin/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/zbenjamin/gists{/gist_id}",
|
||||
"organizations_url": "https://api.github.com/users/zbenjamin/orgs",
|
||||
"url": "https://api.github.com/users/zbenjamin",
|
||||
"events_url": "https://api.github.com/users/zbenjamin/events{/privacy}",
|
||||
"html_url": "https://github.com/zbenjamin",
|
||||
"subscriptions_url": "https://api.github.com/users/zbenjamin/subscriptions",
|
||||
"avatar_url": "https://gravatar.com/avatar/cdd20cf7f6f5948fad385c0c230c3b4f?d=https%3A%2F%2Fidenticons.github.com%2F0e8c5c04107d38331fdd921015823de6.png&r=x",
|
||||
"repos_url": "https://api.github.com/users/zbenjamin/repos",
|
||||
"received_events_url": "https://api.github.com/users/zbenjamin/received_events",
|
||||
"gravatar_id": "cdd20cf7f6f5948fad385c0c230c3b4f",
|
||||
"starred_url": "https://api.github.com/users/zbenjamin/starred{/owner}{/repo}",
|
||||
"site_admin": false,
|
||||
"login": "zbenjamin",
|
||||
"type": "User",
|
||||
"id": 58684,
|
||||
"followers_url": "https://api.github.com/users/zbenjamin/followers"
|
||||
},
|
||||
"label": "zbenjamin:steve-synchronize"
|
||||
},
|
||||
"commits_url": "https://github.com/zbenjamin/zulip-test/pull/13/commits",
|
||||
"changed_files": 1,
|
||||
"comments_url": "https://api.github.com/repos/zbenjamin/zulip-test/issues/13/comments",
|
||||
"html_url": "https://github.com/zbenjamin/zulip-test/pull/13",
|
||||
"updated_at": "2014-01-21T16:42:21Z",
|
||||
"base": {
|
||||
"repo": {
|
||||
"issues_url": "https://api.github.com/repos/zbenjamin/zulip-test/issues{/number}",
|
||||
"has_wiki": true,
|
||||
"forks_url": "https://api.github.com/repos/zbenjamin/zulip-test/forks",
|
||||
"mirror_url": null,
|
||||
"subscription_url": "https://api.github.com/repos/zbenjamin/zulip-test/subscription",
|
||||
"merges_url": "https://api.github.com/repos/zbenjamin/zulip-test/merges",
|
||||
"collaborators_url": "https://api.github.com/repos/zbenjamin/zulip-test/collaborators{/collaborator}",
|
||||
"updated_at": "2014-01-21T16:31:59Z",
|
||||
"private": false,
|
||||
"pulls_url": "https://api.github.com/repos/zbenjamin/zulip-test/pulls{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/zbenjamin/zulip-test/issues/comments/{number}",
|
||||
"full_name": "zbenjamin/zulip-test",
|
||||
"owner": {
|
||||
"following_url": "https://api.github.com/users/zbenjamin/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/zbenjamin/gists{/gist_id}",
|
||||
"organizations_url": "https://api.github.com/users/zbenjamin/orgs",
|
||||
"url": "https://api.github.com/users/zbenjamin",
|
||||
"events_url": "https://api.github.com/users/zbenjamin/events{/privacy}",
|
||||
"html_url": "https://github.com/zbenjamin",
|
||||
"subscriptions_url": "https://api.github.com/users/zbenjamin/subscriptions",
|
||||
"avatar_url": "https://gravatar.com/avatar/cdd20cf7f6f5948fad385c0c230c3b4f?d=https%3A%2F%2Fidenticons.github.com%2F0e8c5c04107d38331fdd921015823de6.png&r=x",
|
||||
"repos_url": "https://api.github.com/users/zbenjamin/repos",
|
||||
"received_events_url": "https://api.github.com/users/zbenjamin/received_events",
|
||||
"gravatar_id": "cdd20cf7f6f5948fad385c0c230c3b4f",
|
||||
"starred_url": "https://api.github.com/users/zbenjamin/starred{/owner}{/repo}",
|
||||
"site_admin": false,
|
||||
"login": "zbenjamin",
|
||||
"type": "User",
|
||||
"id": 58684,
|
||||
"followers_url": "https://api.github.com/users/zbenjamin/followers"
|
||||
},
|
||||
"statuses_url": "https://api.github.com/repos/zbenjamin/zulip-test/statuses/{sha}",
|
||||
"id": 6893087,
|
||||
"keys_url": "https://api.github.com/repos/zbenjamin/zulip-test/keys{/key_id}",
|
||||
"size": 198,
|
||||
"tags_url": "https://api.github.com/repos/zbenjamin/zulip-test/tags",
|
||||
"issue_events_url": "https://api.github.com/repos/zbenjamin/zulip-test/issues/events{/number}",
|
||||
"contributors_url": "https://api.github.com/repos/zbenjamin/zulip-test/contributors",
|
||||
"downloads_url": "https://api.github.com/repos/zbenjamin/zulip-test/downloads",
|
||||
"has_downloads": true,
|
||||
"assignees_url": "https://api.github.com/repos/zbenjamin/zulip-test/assignees{/user}",
|
||||
"contents_url": "https://api.github.com/repos/zbenjamin/zulip-test/contents/{+path}",
|
||||
"git_refs_url": "https://api.github.com/repos/zbenjamin/zulip-test/git/refs{/sha}",
|
||||
"clone_url": "https://github.com/zbenjamin/zulip-test.git",
|
||||
"watchers_count": 0,
|
||||
"git_tags_url": "https://api.github.com/repos/zbenjamin/zulip-test/git/tags{/sha}",
|
||||
"milestones_url": "https://api.github.com/repos/zbenjamin/zulip-test/milestones{/number}",
|
||||
"stargazers_count": 0,
|
||||
"homepage": null,
|
||||
"branches_url": "https://api.github.com/repos/zbenjamin/zulip-test/branches{/branch}",
|
||||
"fork": false,
|
||||
"commits_url": "https://api.github.com/repos/zbenjamin/zulip-test/commits{/sha}",
|
||||
"releases_url": "https://api.github.com/repos/zbenjamin/zulip-test/releases{/id}",
|
||||
"description": "Test repository",
|
||||
"archive_url": "https://api.github.com/repos/zbenjamin/zulip-test/{archive_format}{/ref}",
|
||||
"labels_url": "https://api.github.com/repos/zbenjamin/zulip-test/labels{/name}",
|
||||
"events_url": "https://api.github.com/repos/zbenjamin/zulip-test/events",
|
||||
"comments_url": "https://api.github.com/repos/zbenjamin/zulip-test/comments{/number}",
|
||||
"html_url": "https://github.com/zbenjamin/zulip-test",
|
||||
"forks": 1,
|
||||
"compare_url": "https://api.github.com/repos/zbenjamin/zulip-test/compare/{base}...{head}",
|
||||
"trees_url": "https://api.github.com/repos/zbenjamin/zulip-test/git/trees{/sha}",
|
||||
"git_url": "git://github.com/zbenjamin/zulip-test.git",
|
||||
"svn_url": "https://github.com/zbenjamin/zulip-test",
|
||||
"notifications_url": "https://api.github.com/repos/zbenjamin/zulip-test/notifications{?since,all,participating}",
|
||||
"has_issues": true,
|
||||
"ssh_url": "git@github.com:zbenjamin/zulip-test.git",
|
||||
"blobs_url": "https://api.github.com/repos/zbenjamin/zulip-test/git/blobs{/sha}",
|
||||
"master_branch": "master",
|
||||
"languages_url": "https://api.github.com/repos/zbenjamin/zulip-test/languages",
|
||||
"hooks_url": "https://api.github.com/repos/zbenjamin/zulip-test/hooks",
|
||||
"open_issues_count": 3,
|
||||
"watchers": 0,
|
||||
"name": "zulip-test",
|
||||
"language": "Python",
|
||||
"url": "https://api.github.com/repos/zbenjamin/zulip-test",
|
||||
"created_at": "2012-11-27T23:46:58Z",
|
||||
"pushed_at": "2014-01-21T16:42:21Z",
|
||||
"forks_count": 1,
|
||||
"default_branch": "master",
|
||||
"teams_url": "https://api.github.com/repos/zbenjamin/zulip-test/teams",
|
||||
"open_issues": 3,
|
||||
"git_commits_url": "https://api.github.com/repos/zbenjamin/zulip-test/git/commits{/sha}",
|
||||
"subscribers_url": "https://api.github.com/repos/zbenjamin/zulip-test/subscribers",
|
||||
"stargazers_url": "https://api.github.com/repos/zbenjamin/zulip-test/stargazers"
|
||||
},
|
||||
"sha": "f07443f0dac8606a6ca0e925a761256381c0f3e8",
|
||||
"ref": "master",
|
||||
"user": {
|
||||
"following_url": "https://api.github.com/users/zbenjamin/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/zbenjamin/gists{/gist_id}",
|
||||
"organizations_url": "https://api.github.com/users/zbenjamin/orgs",
|
||||
"url": "https://api.github.com/users/zbenjamin",
|
||||
"events_url": "https://api.github.com/users/zbenjamin/events{/privacy}",
|
||||
"html_url": "https://github.com/zbenjamin",
|
||||
"subscriptions_url": "https://api.github.com/users/zbenjamin/subscriptions",
|
||||
"avatar_url": "https://gravatar.com/avatar/cdd20cf7f6f5948fad385c0c230c3b4f?d=https%3A%2F%2Fidenticons.github.com%2F0e8c5c04107d38331fdd921015823de6.png&r=x",
|
||||
"repos_url": "https://api.github.com/users/zbenjamin/repos",
|
||||
"received_events_url": "https://api.github.com/users/zbenjamin/received_events",
|
||||
"gravatar_id": "cdd20cf7f6f5948fad385c0c230c3b4f",
|
||||
"starred_url": "https://api.github.com/users/zbenjamin/starred{/owner}{/repo}",
|
||||
"site_admin": false,
|
||||
"login": "zbenjamin",
|
||||
"type": "User",
|
||||
"id": 58684,
|
||||
"followers_url": "https://api.github.com/users/zbenjamin/followers"
|
||||
},
|
||||
"label": "zbenjamin:master"
|
||||
},
|
||||
"user": {
|
||||
"following_url": "https://api.github.com/users/showell/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/showell/gists{/gist_id}",
|
||||
"organizations_url": "https://api.github.com/users/showell/orgs",
|
||||
"url": "https://api.github.com/users/showell",
|
||||
"events_url": "https://api.github.com/users/showell/events{/privacy}",
|
||||
"html_url": "https://github.com/showell",
|
||||
"subscriptions_url": "https://api.github.com/users/showell/subscriptions",
|
||||
"avatar_url": "https://gravatar.com/avatar/b60683e6dacd4556ae15430a7c9b6f13?d=https%3A%2F%2Fidenticons.github.com%2Fc640df6a6796236f6ee04c58d86031a9.png&r=x",
|
||||
"repos_url": "https://api.github.com/users/showell/repos",
|
||||
"received_events_url": "https://api.github.com/users/showell/received_events",
|
||||
"gravatar_id": "b60683e6dacd4556ae15430a7c9b6f13",
|
||||
"starred_url": "https://api.github.com/users/showell/starred{/owner}{/repo}",
|
||||
"site_admin": false,
|
||||
"login": "showell",
|
||||
"type": "User",
|
||||
"id": 142908,
|
||||
"followers_url": "https://api.github.com/users/showell/followers"
|
||||
},
|
||||
"milestone": null,
|
||||
"merged_by": null,
|
||||
"url": "https://api.github.com/repos/zbenjamin/zulip-test/pulls/13",
|
||||
"mergeable_state": "unknown",
|
||||
"created_at": "2014-01-21T16:31:59Z",
|
||||
"review_comments_url": "https://github.com/zbenjamin/zulip-test/pull/13/comments",
|
||||
"review_comments": 0,
|
||||
"review_comment_url": "/repos/zbenjamin/zulip-test/pulls/comments/{number}",
|
||||
"merged": false
|
||||
},
|
||||
"sender": {
|
||||
"following_url": "https://api.github.com/users/zbenjamin/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/zbenjamin/gists{/gist_id}",
|
||||
"organizations_url": "https://api.github.com/users/zbenjamin/orgs",
|
||||
"url": "https://api.github.com/users/zbenjamin",
|
||||
"events_url": "https://api.github.com/users/zbenjamin/events{/privacy}",
|
||||
"html_url": "https://github.com/zbenjamin",
|
||||
"subscriptions_url": "https://api.github.com/users/zbenjamin/subscriptions",
|
||||
"avatar_url": "https://gravatar.com/avatar/cdd20cf7f6f5948fad385c0c230c3b4f?d=https%3A%2F%2Fidenticons.github.com%2F0e8c5c04107d38331fdd921015823de6.png&r=x",
|
||||
"repos_url": "https://api.github.com/users/zbenjamin/repos",
|
||||
"received_events_url": "https://api.github.com/users/zbenjamin/received_events",
|
||||
"gravatar_id": "cdd20cf7f6f5948fad385c0c230c3b4f",
|
||||
"starred_url": "https://api.github.com/users/zbenjamin/starred{/owner}{/repo}",
|
||||
"site_admin": false,
|
||||
"login": "zbenjamin",
|
||||
"type": "User",
|
||||
"id": 58684,
|
||||
"followers_url": "https://api.github.com/users/zbenjamin/followers"
|
||||
},
|
||||
"repository": {
|
||||
"issues_url": "https://api.github.com/repos/zbenjamin/zulip-test/issues{/number}",
|
||||
"has_wiki": true,
|
||||
"forks_url": "https://api.github.com/repos/zbenjamin/zulip-test/forks",
|
||||
"mirror_url": null,
|
||||
"subscription_url": "https://api.github.com/repos/zbenjamin/zulip-test/subscription",
|
||||
"merges_url": "https://api.github.com/repos/zbenjamin/zulip-test/merges",
|
||||
"collaborators_url": "https://api.github.com/repos/zbenjamin/zulip-test/collaborators{/collaborator}",
|
||||
"updated_at": "2014-01-21T16:31:59Z",
|
||||
"private": false,
|
||||
"pulls_url": "https://api.github.com/repos/zbenjamin/zulip-test/pulls{/number}",
|
||||
"issue_comment_url": "https://api.github.com/repos/zbenjamin/zulip-test/issues/comments/{number}",
|
||||
"full_name": "zbenjamin/zulip-test",
|
||||
"owner": {
|
||||
"following_url": "https://api.github.com/users/zbenjamin/following{/other_user}",
|
||||
"gists_url": "https://api.github.com/users/zbenjamin/gists{/gist_id}",
|
||||
"organizations_url": "https://api.github.com/users/zbenjamin/orgs",
|
||||
"url": "https://api.github.com/users/zbenjamin",
|
||||
"events_url": "https://api.github.com/users/zbenjamin/events{/privacy}",
|
||||
"html_url": "https://github.com/zbenjamin",
|
||||
"subscriptions_url": "https://api.github.com/users/zbenjamin/subscriptions",
|
||||
"avatar_url": "https://gravatar.com/avatar/cdd20cf7f6f5948fad385c0c230c3b4f?d=https%3A%2F%2Fidenticons.github.com%2F0e8c5c04107d38331fdd921015823de6.png&r=x",
|
||||
"repos_url": "https://api.github.com/users/zbenjamin/repos",
|
||||
"received_events_url": "https://api.github.com/users/zbenjamin/received_events",
|
||||
"gravatar_id": "cdd20cf7f6f5948fad385c0c230c3b4f",
|
||||
"starred_url": "https://api.github.com/users/zbenjamin/starred{/owner}{/repo}",
|
||||
"site_admin": false,
|
||||
"login": "zbenjamin",
|
||||
"type": "User",
|
||||
"id": 58684,
|
||||
"followers_url": "https://api.github.com/users/zbenjamin/followers"
|
||||
},
|
||||
"statuses_url": "https://api.github.com/repos/zbenjamin/zulip-test/statuses/{sha}",
|
||||
"id": 6893087,
|
||||
"keys_url": "https://api.github.com/repos/zbenjamin/zulip-test/keys{/key_id}",
|
||||
"size": 198,
|
||||
"tags_url": "https://api.github.com/repos/zbenjamin/zulip-test/tags",
|
||||
"issue_events_url": "https://api.github.com/repos/zbenjamin/zulip-test/issues/events{/number}",
|
||||
"contributors_url": "https://api.github.com/repos/zbenjamin/zulip-test/contributors",
|
||||
"downloads_url": "https://api.github.com/repos/zbenjamin/zulip-test/downloads",
|
||||
"has_downloads": true,
|
||||
"assignees_url": "https://api.github.com/repos/zbenjamin/zulip-test/assignees{/user}",
|
||||
"contents_url": "https://api.github.com/repos/zbenjamin/zulip-test/contents/{+path}",
|
||||
"git_refs_url": "https://api.github.com/repos/zbenjamin/zulip-test/git/refs{/sha}",
|
||||
"clone_url": "https://github.com/zbenjamin/zulip-test.git",
|
||||
"watchers_count": 0,
|
||||
"git_tags_url": "https://api.github.com/repos/zbenjamin/zulip-test/git/tags{/sha}",
|
||||
"milestones_url": "https://api.github.com/repos/zbenjamin/zulip-test/milestones{/number}",
|
||||
"stargazers_count": 0,
|
||||
"homepage": null,
|
||||
"branches_url": "https://api.github.com/repos/zbenjamin/zulip-test/branches{/branch}",
|
||||
"fork": false,
|
||||
"commits_url": "https://api.github.com/repos/zbenjamin/zulip-test/commits{/sha}",
|
||||
"releases_url": "https://api.github.com/repos/zbenjamin/zulip-test/releases{/id}",
|
||||
"description": "Test repository",
|
||||
"archive_url": "https://api.github.com/repos/zbenjamin/zulip-test/{archive_format}{/ref}",
|
||||
"labels_url": "https://api.github.com/repos/zbenjamin/zulip-test/labels{/name}",
|
||||
"events_url": "https://api.github.com/repos/zbenjamin/zulip-test/events",
|
||||
"comments_url": "https://api.github.com/repos/zbenjamin/zulip-test/comments{/number}",
|
||||
"html_url": "https://github.com/zbenjamin/zulip-test",
|
||||
"forks": 1,
|
||||
"compare_url": "https://api.github.com/repos/zbenjamin/zulip-test/compare/{base}...{head}",
|
||||
"trees_url": "https://api.github.com/repos/zbenjamin/zulip-test/git/trees{/sha}",
|
||||
"git_url": "git://github.com/zbenjamin/zulip-test.git",
|
||||
"svn_url": "https://github.com/zbenjamin/zulip-test",
|
||||
"notifications_url": "https://api.github.com/repos/zbenjamin/zulip-test/notifications{?since,all,participating}",
|
||||
"has_issues": true,
|
||||
"ssh_url": "git@github.com:zbenjamin/zulip-test.git",
|
||||
"blobs_url": "https://api.github.com/repos/zbenjamin/zulip-test/git/blobs{/sha}",
|
||||
"master_branch": "master",
|
||||
"languages_url": "https://api.github.com/repos/zbenjamin/zulip-test/languages",
|
||||
"hooks_url": "https://api.github.com/repos/zbenjamin/zulip-test/hooks",
|
||||
"open_issues_count": 3,
|
||||
"watchers": 0,
|
||||
"name": "zulip-test",
|
||||
"language": "Python",
|
||||
"url": "https://api.github.com/repos/zbenjamin/zulip-test",
|
||||
"created_at": "2012-11-27T23:46:58Z",
|
||||
"pushed_at": "2014-01-21T16:42:21Z",
|
||||
"forks_count": 1,
|
||||
"default_branch": "master",
|
||||
"teams_url": "https://api.github.com/repos/zbenjamin/zulip-test/teams",
|
||||
"open_issues": 3,
|
||||
"git_commits_url": "https://api.github.com/repos/zbenjamin/zulip-test/git/commits{/sha}",
|
||||
"subscribers_url": "https://api.github.com/repos/zbenjamin/zulip-test/subscribers",
|
||||
"stargazers_url": "https://api.github.com/repos/zbenjamin/zulip-test/stargazers"
|
||||
},
|
||||
"number": 13
|
||||
}
|
||||
}
|
||||
@@ -1,129 +0,0 @@
|
||||
{
|
||||
"event": "push",
|
||||
"payload": {
|
||||
"forced": false,
|
||||
"compare": "https://github.com/zbenjamin/zulip-test/compare/4f9adc4777d5...b95449196980",
|
||||
"after": "b95449196980507f08209bdfdc4f1d611689b7a8",
|
||||
"repository": {
|
||||
"fork": false,
|
||||
"watchers": 0,
|
||||
"description": "Test repository",
|
||||
"has_downloads": true,
|
||||
"url": "https://github.com/zbenjamin/zulip-test",
|
||||
"stargazers": 0,
|
||||
"created_at": 1354060018,
|
||||
"private": false,
|
||||
"name": "zulip-test",
|
||||
"pushed_at": 1377639818,
|
||||
"owner": {
|
||||
"name": "zbenjamin",
|
||||
"email": "zev-github@strangersgate.com"
|
||||
},
|
||||
"has_wiki": true,
|
||||
"open_issues": 0,
|
||||
"has_issues": true,
|
||||
"forks": 0,
|
||||
"master_branch": "master",
|
||||
"id": 6893087,
|
||||
"size": 66
|
||||
},
|
||||
"created": false,
|
||||
"deleted": false,
|
||||
"commits": [
|
||||
{
|
||||
"committer": {
|
||||
"username": "zbenjamin",
|
||||
"name": "Zev Benjamin",
|
||||
"email": "zev@mit.edu"
|
||||
},
|
||||
"added": [
|
||||
"baz"
|
||||
],
|
||||
"author": {
|
||||
"username": "zbenjamin",
|
||||
"name": "Zev Benjamin",
|
||||
"email": "zev@mit.edu"
|
||||
},
|
||||
"distinct": true,
|
||||
"timestamp": "2013-08-27T14:42:23-07:00",
|
||||
"modified": [],
|
||||
"url": "https://github.com/zbenjamin/zulip-test/commit/48c329a0b68a9a379ff195ee3f1c1f4ab0b2a89e",
|
||||
"message": "Add baz\n\nWe need it for testing",
|
||||
"removed": [],
|
||||
"id": "48c329a0b68a9a379ff195ee3f1c1f4ab0b2a89e"
|
||||
},
|
||||
{
|
||||
"committer": {
|
||||
"username": "zbenjamin",
|
||||
"name": "Zev Benjamin",
|
||||
"email": "zev@mit.edu"
|
||||
},
|
||||
"added": [],
|
||||
"author": {
|
||||
"username": "zbenjamin",
|
||||
"name": "Zev Benjamin",
|
||||
"email": "zev@mit.edu"
|
||||
},
|
||||
"distinct": true,
|
||||
"timestamp": "2013-08-27T14:42:43-07:00",
|
||||
"modified": [
|
||||
"baz"
|
||||
],
|
||||
"url": "https://github.com/zbenjamin/zulip-test/commit/06ebe5f472a32f6f31fd2a665f0c7442b69cce72",
|
||||
"message": "Baz needs to be longer\n\nBecause, uh, reasons",
|
||||
"removed": [],
|
||||
"id": "06ebe5f472a32f6f31fd2a665f0c7442b69cce72"
|
||||
},
|
||||
{
|
||||
"committer": {
|
||||
"username": "zbenjamin",
|
||||
"name": "Zev Benjamin",
|
||||
"email": "zev@mit.edu"
|
||||
},
|
||||
"added": [],
|
||||
"author": {
|
||||
"username": "zbenjamin",
|
||||
"name": "Zev Benjamin",
|
||||
"email": "zev@mit.edu"
|
||||
},
|
||||
"distinct": true,
|
||||
"timestamp": "2013-08-27T14:43:09-07:00",
|
||||
"modified": [
|
||||
"baz"
|
||||
],
|
||||
"url": "https://github.com/zbenjamin/zulip-test/commit/b95449196980507f08209bdfdc4f1d611689b7a8",
|
||||
"message": "Final edit to baz, I swear\n\nI mean, really, could you leave it at \"1, 2\"?",
|
||||
"removed": [],
|
||||
"id": "b95449196980507f08209bdfdc4f1d611689b7a8"
|
||||
}
|
||||
],
|
||||
"pusher": {
|
||||
"name": "zbenjamin",
|
||||
"email": "zev-github@strangersgate.com"
|
||||
},
|
||||
"head_commit": {
|
||||
"committer": {
|
||||
"username": "zbenjamin",
|
||||
"name": "Zev Benjamin",
|
||||
"email": "zev@mit.edu"
|
||||
},
|
||||
"added": [],
|
||||
"author": {
|
||||
"username": "zbenjamin",
|
||||
"name": "Zev Benjamin",
|
||||
"email": "zev@mit.edu"
|
||||
},
|
||||
"distinct": true,
|
||||
"timestamp": "2013-08-27T14:43:09-07:00",
|
||||
"modified": [
|
||||
"baz"
|
||||
],
|
||||
"url": "https://github.com/zbenjamin/zulip-test/commit/b95449196980507f08209bdfdc4f1d611689b7a8",
|
||||
"message": "Final edit to baz, I swear\n\nI mean, really, could you leave it at \"1, 2\"?",
|
||||
"removed": [],
|
||||
"id": "b95449196980507f08209bdfdc4f1d611689b7a8"
|
||||
},
|
||||
"ref": "refs/heads/master",
|
||||
"before": "4f9adc4777d54ccb7ac105c98fe393c078a33f53"
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,185 +0,0 @@
|
||||
{
|
||||
"event": "push",
|
||||
"payload": {
|
||||
"forced": false,
|
||||
"compare": "https://github.com/zbenjamin/zulip-test/compare/4f9adc4777d5...b95449196980",
|
||||
"after": "b95449196980507f08209bdfdc4f1d611689b7a8",
|
||||
"repository": {
|
||||
"fork": false,
|
||||
"watchers": 0,
|
||||
"description": "Test repository",
|
||||
"has_downloads": true,
|
||||
"url": "https://github.com/zbenjamin/zulip-test",
|
||||
"stargazers": 0,
|
||||
"created_at": 1354060018,
|
||||
"private": false,
|
||||
"name": "zulip-test",
|
||||
"pushed_at": 1377639818,
|
||||
"owner": {
|
||||
"name": "zbenjamin",
|
||||
"email": "zev-github@strangersgate.com"
|
||||
},
|
||||
"has_wiki": true,
|
||||
"open_issues": 0,
|
||||
"has_issues": true,
|
||||
"forks": 0,
|
||||
"master_branch": "master",
|
||||
"id": 6893087,
|
||||
"size": 66
|
||||
},
|
||||
"created": false,
|
||||
"deleted": false,
|
||||
"commits": [
|
||||
{
|
||||
"committer": {
|
||||
"username": "zbenjamin",
|
||||
"name": "Zev Benjamin",
|
||||
"email": "zev@mit.edu"
|
||||
},
|
||||
"added": [
|
||||
"baz"
|
||||
],
|
||||
"author": {
|
||||
"username": "zbenjamin",
|
||||
"name": "Zev Benjamin",
|
||||
"email": "zev@mit.edu"
|
||||
},
|
||||
"distinct": true,
|
||||
"timestamp": "2013-08-27T14:42:23-07:00",
|
||||
"modified": [],
|
||||
"url": "https://github.com/zbenjamin/zulip-test/commit/48c329a0b68a9a379ff195ee3f1c1f4ab0b2a89e",
|
||||
"message": "Add baz\n\nWe need it for testing",
|
||||
"removed": [],
|
||||
"id": "48c329a0b68a9a379ff195ee3f1c1f4ab0b2a89e"
|
||||
},
|
||||
{
|
||||
"committer": {
|
||||
"username": "tomasz",
|
||||
"name": "Tomasz Kolek",
|
||||
"email": "zev@mit.edu"
|
||||
},
|
||||
"added": [],
|
||||
"author": {
|
||||
"username": "tomasz",
|
||||
"name": "Tomasz Kolek",
|
||||
"email": "zev@mit.edu"
|
||||
},
|
||||
"distinct": true,
|
||||
"timestamp": "2013-08-27T14:42:23-07:00",
|
||||
"modified": [],
|
||||
"url": "https://github.com/zbenjamin/zulip-test/commit/48c329a0b68a9a379ff195ee3f1c1f4ab0b2a89e",
|
||||
"message": "Add baz\n\nWe need it for testing",
|
||||
"removed": [],
|
||||
"id": "48c329a0b68a9a379ff195ee3f1c1f4ab0b2a89e"
|
||||
},
|
||||
{
|
||||
"committer": {
|
||||
"username": "tomasz",
|
||||
"name": "Tomasz Kolek",
|
||||
"email": "zev@mit.edu"
|
||||
},
|
||||
"added": [],
|
||||
"author": {
|
||||
"username": "tomasz",
|
||||
"name": "Tomasz Kolek",
|
||||
"email": "zev@mit.edu"
|
||||
},
|
||||
"distinct": true,
|
||||
"timestamp": "2013-08-27T14:42:23-07:00",
|
||||
"modified": [],
|
||||
"url": "https://github.com/zbenjamin/zulip-test/commit/48c329a0b68a9a379ff195ee3f1c1f4ab0b2a89e",
|
||||
"message": "Add baz\n\nWe need it for testing",
|
||||
"removed": [],
|
||||
"id": "48c329a0b68a9a379ff195ee3f1c1f4ab0b2a89e"
|
||||
},
|
||||
{
|
||||
"committer": {
|
||||
"username": "tomasz",
|
||||
"name": "Tomasz Kolek",
|
||||
"email": "zev@mit.edu"
|
||||
},
|
||||
"added": [],
|
||||
"author": {
|
||||
"username": "tomasz",
|
||||
"name": "Tomasz Kolek",
|
||||
"email": "zev@mit.edu"
|
||||
},
|
||||
"distinct": true,
|
||||
"timestamp": "2013-08-27T14:42:23-07:00",
|
||||
"modified": [],
|
||||
"url": "https://github.com/zbenjamin/zulip-test/commit/48c329a0b68a9a379ff195ee3f1c1f4ab0b2a89e",
|
||||
"message": "Add baz\n\nWe need it for testing",
|
||||
"removed": [],
|
||||
"id": "48c329a0b68a9a379ff195ee3f1c1f4ab0b2a89e"
|
||||
},
|
||||
{
|
||||
"committer": {
|
||||
"username": "baxthehacker",
|
||||
"name": "Ben Simon",
|
||||
"email": "zev@mit.edu"
|
||||
},
|
||||
"added": [],
|
||||
"author": {
|
||||
"username": "baxthehacker",
|
||||
"name": "Ben Simon",
|
||||
"email": "zev@mit.edu"
|
||||
},
|
||||
"distinct": true,
|
||||
"timestamp": "2013-08-27T14:42:23-07:00",
|
||||
"modified": [],
|
||||
"url": "https://github.com/zbenjamin/zulip-test/commit/48c329a0b68a9a379ff195ee3f1c1f4ab0b2a89e",
|
||||
"message": "Add baz\n\nWe need it for testing",
|
||||
"removed": [],
|
||||
"id": "48c329a0b68a9a379ff195ee3f1c1f4ab0b2a89e"
|
||||
},
|
||||
{
|
||||
"committer": {
|
||||
"username": "baxthehacker",
|
||||
"name": "Ben Simon",
|
||||
"email": "zev@mit.edu"
|
||||
},
|
||||
"added": [],
|
||||
"author": {
|
||||
"username": "baxthehacker",
|
||||
"name": "Ben Simon",
|
||||
"email": "zev@mit.edu"
|
||||
},
|
||||
"distinct": true,
|
||||
"timestamp": "2013-08-27T14:42:23-07:00",
|
||||
"modified": [],
|
||||
"url": "https://github.com/zbenjamin/zulip-test/commit/48c329a0b68a9a379ff195ee3f1c1f4ab0b2a89e",
|
||||
"message": "Add baz\n\nWe need it for testing",
|
||||
"removed": [],
|
||||
"id": "48c329a0b68a9a379ff195ee3f1c1f4ab0b2a89e"
|
||||
}
|
||||
],
|
||||
"pusher": {
|
||||
"name": "zbenjamin",
|
||||
"email": "zev-github@strangersgate.com"
|
||||
},
|
||||
"head_commit": {
|
||||
"committer": {
|
||||
"username": "zbenjamin",
|
||||
"name": "Zev Benjamin",
|
||||
"email": "zev@mit.edu"
|
||||
},
|
||||
"added": [],
|
||||
"author": {
|
||||
"username": "zbenjamin",
|
||||
"name": "Zev Benjamin",
|
||||
"email": "zev@mit.edu"
|
||||
},
|
||||
"distinct": true,
|
||||
"timestamp": "2013-08-27T14:43:09-07:00",
|
||||
"modified": [
|
||||
"baz"
|
||||
],
|
||||
"url": "https://github.com/zbenjamin/zulip-test/commit/b95449196980507f08209bdfdc4f1d611689b7a8",
|
||||
"message": "Final edit to baz, I swear\n\nI mean, really, could you leave it at \"1, 2\"?",
|
||||
"removed": [],
|
||||
"id": "b95449196980507f08209bdfdc4f1d611689b7a8"
|
||||
},
|
||||
"ref": "refs/heads/master",
|
||||
"before": "4f9adc4777d54ccb7ac105c98fe393c078a33f53"
|
||||
}
|
||||
}
|
||||
@@ -1,283 +0,0 @@
|
||||
{
|
||||
"event": "push",
|
||||
"payload": {
|
||||
"forced": false,
|
||||
"compare": "https://github.com/zbenjamin/zulip-test/compare/4f9adc4777d5...b95449196980",
|
||||
"after": "b95449196980507f08209bdfdc4f1d611689b7a8",
|
||||
"repository": {
|
||||
"fork": false,
|
||||
"watchers": 0,
|
||||
"description": "Test repository",
|
||||
"has_downloads": true,
|
||||
"url": "https://github.com/zbenjamin/zulip-test",
|
||||
"stargazers": 0,
|
||||
"created_at": 1354060018,
|
||||
"private": false,
|
||||
"name": "zulip-test",
|
||||
"pushed_at": 1377639818,
|
||||
"owner": {
|
||||
"name": "zbenjamin",
|
||||
"email": "zev-github@strangersgate.com"
|
||||
},
|
||||
"has_wiki": true,
|
||||
"open_issues": 0,
|
||||
"has_issues": true,
|
||||
"forks": 0,
|
||||
"master_branch": "master",
|
||||
"id": 6893087,
|
||||
"size": 66
|
||||
},
|
||||
"created": false,
|
||||
"deleted": false,
|
||||
"commits": [
|
||||
{
|
||||
"committer": {
|
||||
"username": "zbenjamin",
|
||||
"name": "Benjamin Simon",
|
||||
"email": "zev@mit.edu"
|
||||
},
|
||||
"added": [],
|
||||
"author": {
|
||||
"username": "zbenjamin",
|
||||
"name": "Ben Simon",
|
||||
"email": "zev@mit.edu"
|
||||
},
|
||||
"distinct": true,
|
||||
"timestamp": "2013-08-27T14:43:09-07:00",
|
||||
"modified": [
|
||||
"baz"
|
||||
],
|
||||
"url": "https://github.com/zbenjamin/zulip-test/commit/b95449196980507f08209bdfdc4f1d611689b7a8",
|
||||
"message": "Final edit to baz, I swear\n\nI mean, really, could you leave it at \"1, 2\"?",
|
||||
"removed": [],
|
||||
"id": "b95449196980507f08209bdfdc4f1d611689b7a8"
|
||||
},
|
||||
{
|
||||
"committer": {
|
||||
"username": "James",
|
||||
"name": "James Simon",
|
||||
"email": "zev@mit.edu"
|
||||
},
|
||||
"added": [],
|
||||
"author": {
|
||||
"username": "James",
|
||||
"name": "James Simon",
|
||||
"email": "zev@mit.edu"
|
||||
},
|
||||
"distinct": true,
|
||||
"timestamp": "2013-08-27T14:43:09-07:00",
|
||||
"modified": [
|
||||
"baz"
|
||||
],
|
||||
"url": "https://github.com/zbenjamin/zulip-test/commit/b95449196980507f08209bdfdc4f1d611689b7a8",
|
||||
"message": "Final edit to baz, I swear\n\nI mean, really, could you leave it at \"1, 2\"?",
|
||||
"removed": [],
|
||||
"id": "b95449196980507f08209bdfdc4f1d611689b7a8"
|
||||
},
|
||||
{
|
||||
"committer": {
|
||||
"username": "James",
|
||||
"name": "James Simon",
|
||||
"email": "zev@mit.edu"
|
||||
},
|
||||
"added": [],
|
||||
"author": {
|
||||
"username": "James",
|
||||
"name": "James Simon",
|
||||
"email": "zev@mit.edu"
|
||||
},
|
||||
"distinct": true,
|
||||
"timestamp": "2013-08-27T14:43:09-07:00",
|
||||
"modified": [
|
||||
"baz"
|
||||
],
|
||||
"url": "https://github.com/zbenjamin/zulip-test/commit/b95449196980507f08209bdfdc4f1d611689b7a8",
|
||||
"message": "Final edit to baz, I swear\n\nI mean, really, could you leave it at \"1, 2\"?",
|
||||
"removed": [],
|
||||
"id": "b95449196980507f08209bdfdc4f1d611689b7a8"
|
||||
},
|
||||
{
|
||||
"committer": {
|
||||
"username": "James",
|
||||
"name": "James Simon",
|
||||
"email": "zev@mit.edu"
|
||||
},
|
||||
"added": [],
|
||||
"author": {
|
||||
"username": "James",
|
||||
"name": "James Simon",
|
||||
"email": "zev@mit.edu"
|
||||
},
|
||||
"distinct": true,
|
||||
"timestamp": "2013-08-27T14:43:09-07:00",
|
||||
"modified": [
|
||||
"baz"
|
||||
],
|
||||
"url": "https://github.com/zbenjamin/zulip-test/commit/b95449196980507f08209bdfdc4f1d611689b7a8",
|
||||
"message": "Final edit to baz, I swear\n\nI mean, really, could you leave it at \"1, 2\"?",
|
||||
"removed": [],
|
||||
"id": "b95449196980507f08209bdfdc4f1d611689b7a8"
|
||||
},
|
||||
{
|
||||
"committer": {
|
||||
"username": "baxthehacker",
|
||||
"name": "Ben Simon",
|
||||
"email": "zev@mit.edu"
|
||||
},
|
||||
"added": [],
|
||||
"author": {
|
||||
"username": "baxthehacker",
|
||||
"name": "Ben Simon",
|
||||
"email": "zev@mit.edu"
|
||||
},
|
||||
"distinct": true,
|
||||
"timestamp": "2013-08-27T14:43:09-07:00",
|
||||
"modified": [
|
||||
"baz"
|
||||
],
|
||||
"url": "https://github.com/zbenjamin/zulip-test/commit/b95449196980507f08209bdfdc4f1d611689b7a8",
|
||||
"message": "Final edit to baz, I swear\n\nI mean, really, could you leave it at \"1, 2\"?",
|
||||
"removed": [],
|
||||
"id": "b95449196980507f08209bdfdc4f1d611689b7a8"
|
||||
},
|
||||
{
|
||||
"committer": {
|
||||
"username": "baxthehacker",
|
||||
"name": "Ben Simon",
|
||||
"email": "zev@mit.edu"
|
||||
},
|
||||
"added": [],
|
||||
"author": {
|
||||
"username": "baxthehacker",
|
||||
"name": "Ben Simon",
|
||||
"email": "zev@mit.edu"
|
||||
},
|
||||
"distinct": true,
|
||||
"timestamp": "2013-08-27T14:43:09-07:00",
|
||||
"modified": [
|
||||
"baz"
|
||||
],
|
||||
"url": "https://github.com/zbenjamin/zulip-test/commit/b95449196980507f08209bdfdc4f1d611689b7a8",
|
||||
"message": "Final edit to baz, I swear\n\nI mean, really, could you leave it at \"1, 2\"?",
|
||||
"removed": [],
|
||||
"id": "b95449196980507f08209bdfdc4f1d611689b7a8"
|
||||
},
|
||||
{
|
||||
"committer": {
|
||||
"username": "baxthehacker",
|
||||
"name": "Ben Simon",
|
||||
"email": "zev@mit.edu"
|
||||
},
|
||||
"added": [],
|
||||
"author": {
|
||||
"username": "baxthehacker",
|
||||
"name": "Ben Simon",
|
||||
"email": "zev@mit.edu"
|
||||
},
|
||||
"distinct": true,
|
||||
"timestamp": "2013-08-27T14:43:09-07:00",
|
||||
"modified": [
|
||||
"baz"
|
||||
],
|
||||
"url": "https://github.com/zbenjamin/zulip-test/commit/b95449196980507f08209bdfdc4f1d611689b7a8",
|
||||
"message": "Final edit to baz, I swear\n\nI mean, really, could you leave it at \"1, 2\"?",
|
||||
"removed": [],
|
||||
"id": "b95449196980507f08209bdfdc4f1d611689b7a8"
|
||||
},
|
||||
{
|
||||
"committer": {
|
||||
"username": "Tomasz",
|
||||
"name": "Tomasz Kolek",
|
||||
"email": "zev@mit.edu"
|
||||
},
|
||||
"added": [],
|
||||
"author": {
|
||||
"username": "Tomasz",
|
||||
"name": "Tomasz Kolek",
|
||||
"email": "zev@mit.edu"
|
||||
},
|
||||
"distinct": true,
|
||||
"timestamp": "2013-08-27T14:43:09-07:00",
|
||||
"modified": [
|
||||
"baz"
|
||||
],
|
||||
"url": "https://github.com/zbenjamin/zulip-test/commit/b95449196980507f08209bdfdc4f1d611689b7a8",
|
||||
"message": "Final edit to baz, I swear\n\nI mean, really, could you leave it at \"1, 2\"?",
|
||||
"removed": [],
|
||||
"id": "b95449196980507f08209bdfdc4f1d611689b7a8"
|
||||
},
|
||||
{
|
||||
"committer": {
|
||||
"username": "Tomasz",
|
||||
"name": "Tomasz Kolek",
|
||||
"email": "zev@mit.edu"
|
||||
},
|
||||
"added": [],
|
||||
"author": {
|
||||
"username": "Tomasz",
|
||||
"name": "Tomasz Kolek",
|
||||
"email": "zev@mit.edu"
|
||||
},
|
||||
"distinct": true,
|
||||
"timestamp": "2013-08-27T14:43:09-07:00",
|
||||
"modified": [
|
||||
"baz"
|
||||
],
|
||||
"url": "https://github.com/zbenjamin/zulip-test/commit/b95449196980507f08209bdfdc4f1d611689b7a8",
|
||||
"message": "Final edit to baz, I swear\n\nI mean, really, could you leave it at \"1, 2\"?",
|
||||
"removed": [],
|
||||
"id": "b95449196980507f08209bdfdc4f1d611689b7a8"
|
||||
},
|
||||
{
|
||||
"committer": {
|
||||
"username": "baxthehacker",
|
||||
"name": "Ben Simon",
|
||||
"email": "zev@mit.edu"
|
||||
},
|
||||
"added": [],
|
||||
"author": {
|
||||
"username": "baxthehacker",
|
||||
"name": "Ben Simon",
|
||||
"email": "zev@mit.edu"
|
||||
},
|
||||
"distinct": true,
|
||||
"timestamp": "2013-08-27T14:43:09-07:00",
|
||||
"modified": [
|
||||
"baz"
|
||||
],
|
||||
"url": "https://github.com/zbenjamin/zulip-test/commit/b95449196980507f08209bdfdc4f1d611689b7a8",
|
||||
"message": "Final edit to baz, I swear\n\nI mean, really, could you leave it at \"1, 2\"?",
|
||||
"removed": [],
|
||||
"id": "b95449196980507f08209bdfdc4f1d611689b7a8"
|
||||
}
|
||||
],
|
||||
"pusher": {
|
||||
"name": "zbenjamin",
|
||||
"email": "zev-github@strangersgate.com"
|
||||
},
|
||||
"head_commit": {
|
||||
"committer": {
|
||||
"username": "zbenjamin",
|
||||
"name": "Zev Benjamin",
|
||||
"email": "zev@mit.edu"
|
||||
},
|
||||
"added": [],
|
||||
"author": {
|
||||
"username": "zbenjamin",
|
||||
"name": "Zev Benjamin",
|
||||
"email": "zev@mit.edu"
|
||||
},
|
||||
"distinct": true,
|
||||
"timestamp": "2013-08-27T14:43:09-07:00",
|
||||
"modified": [
|
||||
"baz"
|
||||
],
|
||||
"url": "https://github.com/zbenjamin/zulip-test/commit/b95449196980507f08209bdfdc4f1d611689b7a8",
|
||||
"message": "Final edit to baz, I swear\n\nI mean, really, could you leave it at \"1, 2\"?",
|
||||
"removed": [],
|
||||
"id": "b95449196980507f08209bdfdc4f1d611689b7a8"
|
||||
},
|
||||
"ref": "refs/heads/master",
|
||||
"before": "4f9adc4777d54ccb7ac105c98fe393c078a33f53"
|
||||
}
|
||||
}
|
||||
@@ -1,269 +0,0 @@
|
||||
from typing import Dict, Optional
|
||||
|
||||
import ujson
|
||||
|
||||
from zerver.lib.test_classes import WebhookTestCase
|
||||
from zerver.lib.users import get_api_key
|
||||
from zerver.lib.webhooks.git import COMMITS_LIMIT
|
||||
from zerver.models import Message
|
||||
|
||||
class GithubV1HookTests(WebhookTestCase):
|
||||
STREAM_NAME = None # type: Optional[str]
|
||||
URL_TEMPLATE = u"/api/v1/external/github"
|
||||
FIXTURE_DIR_NAME = 'github_legacy'
|
||||
SEND_STREAM = False
|
||||
BRANCHES = None # type: Optional[str]
|
||||
|
||||
push_content = u"""zbenjamin [pushed](https://github.com/zbenjamin/zulip-test/compare/4f9adc4777d5...b95449196980) 3 commits to branch master.
|
||||
|
||||
* Add baz ([48c329a](https://github.com/zbenjamin/zulip-test/commit/48c329a0b68a9a379ff195ee3f1c1f4ab0b2a89e))
|
||||
* Baz needs to be longer ([06ebe5f](https://github.com/zbenjamin/zulip-test/commit/06ebe5f472a32f6f31fd2a665f0c7442b69cce72))
|
||||
* Final edit to baz, I swear ([b954491](https://github.com/zbenjamin/zulip-test/commit/b95449196980507f08209bdfdc4f1d611689b7a8))"""
|
||||
|
||||
def test_spam_branch_is_ignored(self) -> None:
|
||||
self.SEND_STREAM = True
|
||||
self.STREAM_NAME = 'commits'
|
||||
self.BRANCHES = 'dev,staging'
|
||||
data = self.get_body('push')
|
||||
|
||||
# We subscribe to the stream in this test, even though
|
||||
# it won't get written, to avoid failing for the wrong
|
||||
# reason.
|
||||
self.subscribe(self.test_user, self.STREAM_NAME)
|
||||
|
||||
prior_count = Message.objects.count()
|
||||
|
||||
result = self.client_post(self.URL_TEMPLATE, data)
|
||||
self.assert_json_success(result)
|
||||
|
||||
after_count = Message.objects.count()
|
||||
self.assertEqual(prior_count, after_count)
|
||||
|
||||
def get_body(self, fixture_name: str) -> Dict[str, str]:
|
||||
api_key = get_api_key(self.test_user)
|
||||
data = ujson.loads(self.webhook_fixture_data(self.FIXTURE_DIR_NAME, 'v1_' + fixture_name))
|
||||
data.update({'email': self.TEST_USER_EMAIL,
|
||||
'api-key': api_key,
|
||||
'payload': ujson.dumps(data['payload'])})
|
||||
if self.SEND_STREAM:
|
||||
data['stream'] = self.STREAM_NAME
|
||||
|
||||
if self.BRANCHES is not None:
|
||||
data['branches'] = self.BRANCHES
|
||||
return data
|
||||
|
||||
def basic_test(self, fixture_name: str, stream_name: str,
|
||||
expected_topic: str, expected_content: str,
|
||||
send_stream: bool=False, branches: Optional[str]=None) -> None:
|
||||
self.STREAM_NAME = stream_name
|
||||
self.SEND_STREAM = send_stream
|
||||
self.BRANCHES = branches
|
||||
self.send_and_test_stream_message(fixture_name, expected_topic, expected_content, content_type=None)
|
||||
|
||||
def test_user_specified_branches(self) -> None:
|
||||
self.basic_test('push', 'my_commits', 'zulip-test / master', self.push_content,
|
||||
send_stream=True, branches="master,staging")
|
||||
|
||||
def test_user_specified_stream(self) -> None:
|
||||
"""Around May 2013 the github webhook started to specify the stream.
|
||||
Before then, the stream was hard coded to "commits"."""
|
||||
self.basic_test('push', 'my_commits', 'zulip-test / master', self.push_content,
|
||||
send_stream=True)
|
||||
|
||||
def test_legacy_hook(self) -> None:
|
||||
self.basic_test('push', 'commits', 'zulip-test / master', self.push_content)
|
||||
|
||||
def test_push_multiple_commits(self) -> None:
|
||||
commit_info = "* Add baz ([48c329a](https://github.com/zbenjamin/zulip-test/commit/48c329a0b68a9a379ff195ee3f1c1f4ab0b2a89e))\n"
|
||||
expected_topic = "zbenjamin [pushed](https://github.com/zbenjamin/zulip-test/compare/4f9adc4777d5...b95449196980) 50 commits to branch master.\n\n{}[and {} more commit(s)]".format(
|
||||
commit_info * COMMITS_LIMIT,
|
||||
50 - COMMITS_LIMIT,
|
||||
)
|
||||
self.basic_test('push_commits_more_than_limit', 'commits', 'zulip-test / master', expected_topic)
|
||||
|
||||
def test_issues_opened(self) -> None:
|
||||
self.basic_test('issues_opened', 'issues',
|
||||
"zulip-test / Issue #5 The frobnicator doesn't work",
|
||||
"zbenjamin opened [Issue #5](https://github.com/zbenjamin/zulip-test/issues/5)\n\n~~~ quote\nI tried changing the widgets, but I got:\r\n\r\nPermission denied: widgets are immutable\n~~~")
|
||||
|
||||
def test_issue_comment(self) -> None:
|
||||
self.basic_test('issue_comment', 'issues',
|
||||
"zulip-test / Issue #5 The frobnicator doesn't work",
|
||||
"zbenjamin [commented](https://github.com/zbenjamin/zulip-test/issues/5#issuecomment-23374280) on [Issue #5](https://github.com/zbenjamin/zulip-test/issues/5)\n\n~~~ quote\nWhoops, I did something wrong.\r\n\r\nI'm sorry.\n~~~")
|
||||
|
||||
def test_issues_closed(self) -> None:
|
||||
self.basic_test('issues_closed', 'issues',
|
||||
"zulip-test / Issue #5 The frobnicator doesn't work",
|
||||
"zbenjamin closed [Issue #5](https://github.com/zbenjamin/zulip-test/issues/5)")
|
||||
|
||||
def test_pull_request_opened(self) -> None:
|
||||
self.basic_test('pull_request_opened', 'commits',
|
||||
"zulip-test / PR #7 Counting is hard.",
|
||||
"lfaraone opened [PR #7](https://github.com/zbenjamin/zulip-test/pull/7)(assigned to lfaraone)\nfrom `patch-2` to `master`\n\n~~~ quote\nOmitted something I think?\n~~~")
|
||||
|
||||
def test_pull_request_closed(self) -> None:
|
||||
self.basic_test('pull_request_closed', 'commits',
|
||||
"zulip-test / PR #7 Counting is hard.",
|
||||
"zbenjamin closed [PR #7](https://github.com/zbenjamin/zulip-test/pull/7)")
|
||||
|
||||
def test_pull_request_synchronize(self) -> None:
|
||||
self.basic_test('pull_request_synchronize', 'commits',
|
||||
"zulip-test / PR #13 Even more cowbell.",
|
||||
"zbenjamin synchronized [PR #13](https://github.com/zbenjamin/zulip-test/pull/13)")
|
||||
|
||||
def test_pull_request_comment(self) -> None:
|
||||
self.basic_test('pull_request_comment', 'commits',
|
||||
"zulip-test / PR #9 Less cowbell.",
|
||||
"zbenjamin [commented](https://github.com/zbenjamin/zulip-test/pull/9#issuecomment-24771110) on [PR #9](https://github.com/zbenjamin/zulip-test/pull/9)\n\n~~~ quote\nYeah, who really needs more cowbell than we already have?\n~~~")
|
||||
|
||||
def test_pull_request_comment_user_specified_stream(self) -> None:
|
||||
self.basic_test('pull_request_comment', 'my_commits',
|
||||
"zulip-test / PR #9 Less cowbell.",
|
||||
"zbenjamin [commented](https://github.com/zbenjamin/zulip-test/pull/9#issuecomment-24771110) on [PR #9](https://github.com/zbenjamin/zulip-test/pull/9)\n\n~~~ quote\nYeah, who really needs more cowbell than we already have?\n~~~",
|
||||
send_stream=True)
|
||||
|
||||
def test_commit_comment(self) -> None:
|
||||
self.basic_test('commit_comment', 'commits',
|
||||
"zulip-test",
|
||||
"zbenjamin [commented](https://github.com/zbenjamin/zulip-test/commit/7c994678d2f98797d299abed852d3ff9d0834533#commitcomment-4252302) on [7c99467](https://github.com/zbenjamin/zulip-test/commit/7c994678d2f98797d299abed852d3ff9d0834533)\n~~~ quote\nAre we sure this is enough cowbell?\n~~~")
|
||||
|
||||
def test_commit_comment_line(self) -> None:
|
||||
self.basic_test('commit_comment_line', 'commits',
|
||||
"zulip-test",
|
||||
"zbenjamin [commented](https://github.com/zbenjamin/zulip-test/commit/7c994678d2f98797d299abed852d3ff9d0834533#commitcomment-4252307) on [7c99467](https://github.com/zbenjamin/zulip-test/commit/7c994678d2f98797d299abed852d3ff9d0834533)\n~~~ quote\nThis line adds /unlucky/ cowbell (because of its line number). We should remove it.\n~~~")
|
||||
|
||||
class GithubV2HookTests(WebhookTestCase):
|
||||
STREAM_NAME = None # type: Optional[str]
|
||||
URL_TEMPLATE = u"/api/v1/external/github"
|
||||
FIXTURE_DIR_NAME = 'github_legacy'
|
||||
SEND_STREAM = False
|
||||
BRANCHES = None # type: Optional[str]
|
||||
|
||||
push_content = """zbenjamin [pushed](https://github.com/zbenjamin/zulip-test/compare/4f9adc4777d5...b95449196980) 3 commits to branch master.
|
||||
|
||||
* Add baz ([48c329a](https://github.com/zbenjamin/zulip-test/commit/48c329a0b68a9a379ff195ee3f1c1f4ab0b2a89e))
|
||||
* Baz needs to be longer ([06ebe5f](https://github.com/zbenjamin/zulip-test/commit/06ebe5f472a32f6f31fd2a665f0c7442b69cce72))
|
||||
* Final edit to baz, I swear ([b954491](https://github.com/zbenjamin/zulip-test/commit/b95449196980507f08209bdfdc4f1d611689b7a8))"""
|
||||
|
||||
def test_spam_branch_is_ignored(self) -> None:
|
||||
self.SEND_STREAM = True
|
||||
self.STREAM_NAME = 'commits'
|
||||
self.BRANCHES = 'dev,staging'
|
||||
data = self.get_body('push')
|
||||
|
||||
# We subscribe to the stream in this test, even though
|
||||
# it won't get written, to avoid failing for the wrong
|
||||
# reason.
|
||||
self.subscribe(self.test_user, self.STREAM_NAME)
|
||||
|
||||
prior_count = Message.objects.count()
|
||||
|
||||
result = self.client_post(self.URL_TEMPLATE, data)
|
||||
self.assert_json_success(result)
|
||||
|
||||
after_count = Message.objects.count()
|
||||
self.assertEqual(prior_count, after_count)
|
||||
|
||||
def get_body(self, fixture_name: str) -> Dict[str, str]:
|
||||
api_key = get_api_key(self.test_user)
|
||||
data = ujson.loads(self.webhook_fixture_data(self.FIXTURE_DIR_NAME, 'v2_' + fixture_name))
|
||||
data.update({'email': self.TEST_USER_EMAIL,
|
||||
'api-key': api_key,
|
||||
'payload': ujson.dumps(data['payload'])})
|
||||
if self.SEND_STREAM:
|
||||
data['stream'] = self.STREAM_NAME
|
||||
|
||||
if self.BRANCHES is not None:
|
||||
data['branches'] = self.BRANCHES
|
||||
return data
|
||||
|
||||
def basic_test(self, fixture_name: str, stream_name: str,
|
||||
expected_topic: str, expected_content: str,
|
||||
send_stream: bool=False, branches: Optional[str]=None) -> None:
|
||||
self.STREAM_NAME = stream_name
|
||||
self.SEND_STREAM = send_stream
|
||||
self.BRANCHES = branches
|
||||
self.send_and_test_stream_message(fixture_name, expected_topic, expected_content, content_type=None)
|
||||
|
||||
def test_user_specified_branches(self) -> None:
|
||||
self.basic_test('push', 'my_commits', 'zulip-test / master', self.push_content,
|
||||
send_stream=True, branches="master,staging")
|
||||
|
||||
def test_user_specified_stream(self) -> None:
|
||||
"""Around May 2013 the github webhook started to specify the stream.
|
||||
Before then, the stream was hard coded to "commits"."""
|
||||
self.basic_test('push', 'my_commits', 'zulip-test / master', self.push_content,
|
||||
send_stream=True)
|
||||
|
||||
def test_push_multiple_commits(self) -> None:
|
||||
commit_info = "* Add baz ([48c329a](https://github.com/zbenjamin/zulip-test/commit/48c329a0b68a9a379ff195ee3f1c1f4ab0b2a89e))\n"
|
||||
expected_topic = "zbenjamin [pushed](https://github.com/zbenjamin/zulip-test/compare/4f9adc4777d5...b95449196980) 50 commits to branch master.\n\n{}[and {} more commit(s)]".format(
|
||||
commit_info * COMMITS_LIMIT,
|
||||
50 - COMMITS_LIMIT,
|
||||
)
|
||||
self.basic_test('push_commits_more_than_limit', 'commits', 'zulip-test / master', expected_topic)
|
||||
|
||||
def test_push_multiple_committers(self) -> None:
|
||||
commit_info = "* Add baz ([48c329a](https://github.com/zbenjamin/zulip-test/commit/48c329a0b68a9a379ff195ee3f1c1f4ab0b2a89e))\n"
|
||||
expected_topic = "zbenjamin [pushed](https://github.com/zbenjamin/zulip-test/compare/4f9adc4777d5...b95449196980) 6 commits to branch master. Commits by tomasz (3), baxthehacker (2) and zbenjamin (1).\n\n{}* Add baz ([48c329a](https://github.com/zbenjamin/zulip-test/commit/48c329a0b68a9a379ff195ee3f1c1f4ab0b2a89e))".format(commit_info * 5)
|
||||
self.basic_test('push_multiple_committers', 'commits', 'zulip-test / master', expected_topic)
|
||||
|
||||
def test_push_multiple_committers_with_others(self) -> None:
|
||||
commit_info = "* Final edit to baz, I swear ([b954491](https://github.com/zbenjamin/zulip-test/commit/b95449196980507f08209bdfdc4f1d611689b7a8))\n"
|
||||
expected_topic = "zbenjamin [pushed](https://github.com/zbenjamin/zulip-test/compare/4f9adc4777d5...b95449196980) 10 commits to branch master. Commits by baxthehacker (4), James (3), Tomasz (2) and others (1).\n\n{}* Final edit to baz, I swear ([b954491](https://github.com/zbenjamin/zulip-test/commit/b95449196980507f08209bdfdc4f1d611689b7a8))".format(commit_info * 9)
|
||||
self.basic_test('push_multiple_committers_with_others', 'commits', 'zulip-test / master', expected_topic)
|
||||
|
||||
def test_legacy_hook(self) -> None:
|
||||
self.basic_test('push', 'commits', 'zulip-test / master', self.push_content)
|
||||
|
||||
def test_issues_opened(self) -> None:
|
||||
self.basic_test('issues_opened', 'issues',
|
||||
"zulip-test / Issue #5 The frobnicator doesn't work",
|
||||
"zbenjamin opened [Issue #5](https://github.com/zbenjamin/zulip-test/issues/5)\n\n~~~ quote\nI tried changing the widgets, but I got:\r\n\r\nPermission denied: widgets are immutable\n~~~")
|
||||
|
||||
def test_issue_comment(self) -> None:
|
||||
self.basic_test('issue_comment', 'issues',
|
||||
"zulip-test / Issue #5 The frobnicator doesn't work",
|
||||
"zbenjamin [commented](https://github.com/zbenjamin/zulip-test/issues/5#issuecomment-23374280) on [Issue #5](https://github.com/zbenjamin/zulip-test/issues/5)\n\n~~~ quote\nWhoops, I did something wrong.\r\n\r\nI'm sorry.\n~~~")
|
||||
|
||||
def test_issues_closed(self) -> None:
|
||||
self.basic_test('issues_closed', 'issues',
|
||||
"zulip-test / Issue #5 The frobnicator doesn't work",
|
||||
"zbenjamin closed [Issue #5](https://github.com/zbenjamin/zulip-test/issues/5)")
|
||||
|
||||
def test_pull_request_opened(self) -> None:
|
||||
self.basic_test('pull_request_opened', 'commits',
|
||||
"zulip-test / PR #7 Counting is hard.",
|
||||
"lfaraone opened [PR #7](https://github.com/zbenjamin/zulip-test/pull/7)(assigned to lfaraone)\nfrom `patch-2` to `master`\n\n~~~ quote\nOmitted something I think?\n~~~")
|
||||
|
||||
def test_pull_request_closed(self) -> None:
|
||||
self.basic_test('pull_request_closed', 'commits',
|
||||
"zulip-test / PR #7 Counting is hard.",
|
||||
"zbenjamin closed [PR #7](https://github.com/zbenjamin/zulip-test/pull/7)")
|
||||
|
||||
def test_pull_request_synchronize(self) -> None:
|
||||
self.basic_test('pull_request_synchronize', 'commits',
|
||||
"zulip-test / PR #13 Even more cowbell.",
|
||||
|
||||
"zbenjamin synchronized [PR #13](https://github.com/zbenjamin/zulip-test/pull/13)")
|
||||
|
||||
def test_pull_request_comment(self) -> None:
|
||||
self.basic_test('pull_request_comment', 'commits',
|
||||
"zulip-test / PR #9 Less cowbell.",
|
||||
"zbenjamin [commented](https://github.com/zbenjamin/zulip-test/pull/9#issuecomment-24771110) on [PR #9](https://github.com/zbenjamin/zulip-test/pull/9)\n\n~~~ quote\nYeah, who really needs more cowbell than we already have?\n~~~")
|
||||
|
||||
def test_pull_request_comment_user_specified_stream(self) -> None:
|
||||
self.basic_test('pull_request_comment', 'my_commits',
|
||||
"zulip-test / PR #9 Less cowbell.",
|
||||
"zbenjamin [commented](https://github.com/zbenjamin/zulip-test/pull/9#issuecomment-24771110) on [PR #9](https://github.com/zbenjamin/zulip-test/pull/9)\n\n~~~ quote\nYeah, who really needs more cowbell than we already have?\n~~~",
|
||||
send_stream=True)
|
||||
|
||||
def test_commit_comment(self) -> None:
|
||||
self.basic_test('commit_comment', 'commits',
|
||||
"zulip-test",
|
||||
"zbenjamin [commented](https://github.com/zbenjamin/zulip-test/commit/7c994678d2f98797d299abed852d3ff9d0834533#commitcomment-4252302) on [7c99467](https://github.com/zbenjamin/zulip-test/commit/7c994678d2f98797d299abed852d3ff9d0834533)\n~~~ quote\nAre we sure this is enough cowbell?\n~~~")
|
||||
|
||||
def test_commit_comment_line(self) -> None:
|
||||
self.basic_test('commit_comment_line', 'commits',
|
||||
"zulip-test",
|
||||
"zbenjamin [commented](https://github.com/zbenjamin/zulip-test/commit/7c994678d2f98797d299abed852d3ff9d0834533#commitcomment-4252307) on [7c99467](https://github.com/zbenjamin/zulip-test/commit/7c994678d2f98797d299abed852d3ff9d0834533)\n~~~ quote\nThis line adds /unlucky/ cowbell (because of its line number). We should remove it.\n~~~")
|
||||
@@ -1,323 +0,0 @@
|
||||
import logging
|
||||
import re
|
||||
from typing import Any, Dict, List, Mapping, Optional, Tuple
|
||||
|
||||
import ujson
|
||||
from django.conf import settings
|
||||
from django.http import HttpRequest, HttpResponse
|
||||
|
||||
from zerver.decorator import authenticated_api_view, \
|
||||
to_non_negative_int
|
||||
from zerver.lib.request import REQ, has_request_variables, JsonableError
|
||||
from zerver.lib.response import json_success
|
||||
from zerver.lib.validator import check_dict
|
||||
from zerver.lib.webhooks.git import TOPIC_WITH_BRANCH_TEMPLATE, \
|
||||
TOPIC_WITH_PR_OR_ISSUE_INFO_TEMPLATE, \
|
||||
get_commits_comment_action_message, get_force_push_commits_event_message, \
|
||||
get_issue_event_message, get_pull_request_event_message, \
|
||||
get_push_commits_event_message, get_remove_branch_event_message
|
||||
from zerver.models import UserProfile, get_client
|
||||
from zerver.views.messages import send_message_backend
|
||||
|
||||
ZULIP_TEST_REPO_NAME = 'zulip-test'
|
||||
ZULIP_TEST_REPO_ID = 6893087
|
||||
|
||||
def flexible_boolean(boolean: str) -> bool:
|
||||
"""Returns True for any of "1", "true", or "True". Returns False otherwise."""
|
||||
if boolean in ("1", "true", "True"):
|
||||
return True
|
||||
else:
|
||||
return False
|
||||
|
||||
def is_test_repository(repository: Mapping[str, Any]) -> bool:
|
||||
return repository['name'] == ZULIP_TEST_REPO_NAME and repository['id'] == ZULIP_TEST_REPO_ID
|
||||
|
||||
class UnknownEventType(Exception):
|
||||
pass
|
||||
|
||||
def github_pull_request_content(payload: Mapping[str, Any]) -> str:
|
||||
pull_request = payload['pull_request']
|
||||
action = get_pull_request_or_issue_action(payload)
|
||||
|
||||
if action in ('opened', 'edited'):
|
||||
return get_pull_request_event_message(
|
||||
payload['sender']['login'],
|
||||
action,
|
||||
pull_request['html_url'],
|
||||
pull_request['number'],
|
||||
pull_request['head']['ref'],
|
||||
pull_request['base']['ref'],
|
||||
pull_request['body'],
|
||||
get_pull_request_or_issue_assignee(pull_request)
|
||||
)
|
||||
return get_pull_request_event_message(
|
||||
payload['sender']['login'],
|
||||
action,
|
||||
pull_request['html_url'],
|
||||
pull_request['number']
|
||||
)
|
||||
|
||||
def github_issues_content(payload: Mapping[str, Any]) -> str:
|
||||
issue = payload['issue']
|
||||
action = get_pull_request_or_issue_action(payload)
|
||||
|
||||
if action in ('opened', 'edited'):
|
||||
return get_issue_event_message(
|
||||
payload['sender']['login'],
|
||||
action,
|
||||
issue['html_url'],
|
||||
issue['number'],
|
||||
issue['body'],
|
||||
get_pull_request_or_issue_assignee(issue)
|
||||
)
|
||||
return get_issue_event_message(
|
||||
payload['sender']['login'],
|
||||
action,
|
||||
issue['html_url'],
|
||||
issue['number'],
|
||||
)
|
||||
|
||||
def github_object_commented_content(payload: Mapping[str, Any], type: str) -> str:
|
||||
comment = payload['comment']
|
||||
issue = payload['issue']
|
||||
action = u'[commented]({}) on'.format(comment['html_url'])
|
||||
|
||||
return get_pull_request_event_message(
|
||||
comment['user']['login'],
|
||||
action,
|
||||
issue['html_url'],
|
||||
issue['number'],
|
||||
message=comment['body'],
|
||||
type=type
|
||||
)
|
||||
|
||||
def get_pull_request_or_issue_action(payload: Mapping[str, Any]) -> str:
|
||||
return 'synchronized' if payload['action'] == 'synchronize' else payload['action']
|
||||
|
||||
def get_pull_request_or_issue_assignee(object_payload: Mapping[str, Any]) -> Optional[str]:
|
||||
assignee_dict = object_payload.get('assignee')
|
||||
if assignee_dict:
|
||||
return assignee_dict.get('login')
|
||||
return None
|
||||
|
||||
def get_pull_request_or_issue_subject(repository: Mapping[str, Any],
|
||||
payload_object: Mapping[str, Any],
|
||||
type: str) -> str:
|
||||
return TOPIC_WITH_PR_OR_ISSUE_INFO_TEMPLATE.format(
|
||||
repo=repository['name'],
|
||||
type=type,
|
||||
id=payload_object['number'],
|
||||
title=payload_object['title']
|
||||
)
|
||||
|
||||
def github_generic_subject(noun: str, topic_focus: str, blob: Mapping[str, Any]) -> str:
|
||||
# issue and pull_request objects have the same fields we're interested in
|
||||
return u'%s: %s %d: %s' % (topic_focus, noun, blob['number'], blob['title'])
|
||||
|
||||
def api_github_v1(user_profile: UserProfile,
|
||||
event: str,
|
||||
payload: Mapping[str, Any],
|
||||
branches: str,
|
||||
stream: str,
|
||||
**kwargs: Any) -> Tuple[str, str, str]:
|
||||
"""
|
||||
processes github payload with version 1 field specification
|
||||
`payload` comes in unmodified from github
|
||||
`stream` is set to 'commits' if otherwise unset
|
||||
"""
|
||||
commit_stream = stream
|
||||
issue_stream = 'issues'
|
||||
return api_github_v2(user_profile, event, payload, branches,
|
||||
stream, commit_stream, issue_stream, **kwargs)
|
||||
|
||||
|
||||
def api_github_v2(user_profile: UserProfile, event: str, payload: Mapping[str, Any],
|
||||
branches: str, default_stream: str, commit_stream: str,
|
||||
issue_stream: str, topic_focus: Optional[str]=None) -> Tuple[str, str, str]:
|
||||
"""
|
||||
processes github payload with version 2 field specification
|
||||
`payload` comes in unmodified from github
|
||||
`default_stream` is set to what `stream` is in v1 above
|
||||
`commit_stream` and `issue_stream` fall back to `default_stream` if they are empty
|
||||
This and allowing alternative endpoints is what distinguishes v1 from v2 of the github configuration
|
||||
"""
|
||||
target_stream = commit_stream if commit_stream else default_stream
|
||||
issue_stream = issue_stream if issue_stream else default_stream
|
||||
repository = payload['repository']
|
||||
updated_topic_focus = topic_focus if topic_focus else repository['name']
|
||||
|
||||
# Event Handlers
|
||||
if event == 'pull_request':
|
||||
subject = get_pull_request_or_issue_subject(repository, payload['pull_request'], 'PR')
|
||||
content = github_pull_request_content(payload)
|
||||
elif event == 'issues':
|
||||
# in v1, we assume that this stream exists since it is
|
||||
# deprecated and the few realms that use it already have the
|
||||
# stream
|
||||
target_stream = issue_stream
|
||||
subject = get_pull_request_or_issue_subject(repository, payload['issue'], 'Issue')
|
||||
content = github_issues_content(payload)
|
||||
elif event == 'issue_comment':
|
||||
# Comments on both issues and pull requests come in as issue_comment events
|
||||
issue = payload['issue']
|
||||
if 'pull_request' not in issue or issue['pull_request']['diff_url'] is None:
|
||||
# It's an issues comment
|
||||
target_stream = issue_stream
|
||||
type = 'Issue'
|
||||
subject = get_pull_request_or_issue_subject(repository, payload['issue'], type)
|
||||
else:
|
||||
# It's a pull request comment
|
||||
type = 'PR'
|
||||
subject = get_pull_request_or_issue_subject(repository, payload['issue'], type)
|
||||
|
||||
content = github_object_commented_content(payload, type)
|
||||
|
||||
elif event == 'push':
|
||||
subject, content = build_message_from_gitlog(user_profile, updated_topic_focus,
|
||||
payload['ref'], payload['commits'],
|
||||
payload['before'], payload['after'],
|
||||
payload['compare'],
|
||||
payload['pusher']['name'],
|
||||
forced=payload['forced'],
|
||||
created=payload['created'],
|
||||
deleted=payload['deleted'])
|
||||
elif event == 'commit_comment':
|
||||
subject = updated_topic_focus
|
||||
|
||||
comment = payload['comment']
|
||||
action = u'[commented]({})'.format(comment['html_url'])
|
||||
content = get_commits_comment_action_message(
|
||||
comment['user']['login'],
|
||||
action,
|
||||
comment['html_url'].split('#', 1)[0],
|
||||
comment['commit_id'],
|
||||
comment['body'],
|
||||
)
|
||||
|
||||
else:
|
||||
raise UnknownEventType(u'Event %s is unknown and cannot be handled' % (event,))
|
||||
|
||||
return target_stream, subject, content
|
||||
|
||||
@authenticated_api_view(is_webhook=True)
|
||||
@has_request_variables
|
||||
def api_github_landing(request: HttpRequest, user_profile: UserProfile, event: str=REQ(),
|
||||
payload: Mapping[str, Any]=REQ(validator=check_dict([])),
|
||||
branches: str=REQ(default=''),
|
||||
stream: str=REQ(default=''),
|
||||
version: int=REQ(converter=to_non_negative_int, default=1),
|
||||
commit_stream: str=REQ(default=''),
|
||||
issue_stream: str=REQ(default=''),
|
||||
exclude_pull_requests: bool=REQ(converter=flexible_boolean, default=False),
|
||||
exclude_issues: bool=REQ(converter=flexible_boolean, default=False),
|
||||
exclude_commits: bool=REQ(converter=flexible_boolean, default=False),
|
||||
emphasize_branch_in_topic: bool=REQ(converter=flexible_boolean, default=False),
|
||||
) -> HttpResponse:
|
||||
|
||||
repository = payload['repository']
|
||||
|
||||
# Special hook for capturing event data. If we see our special test repo, log the payload from github.
|
||||
try:
|
||||
if is_test_repository(repository) and settings.PRODUCTION:
|
||||
with open('/var/log/zulip/github-payloads', 'a') as f:
|
||||
f.write(ujson.dumps({'event': event,
|
||||
'payload': payload,
|
||||
'branches': branches,
|
||||
'stream': stream,
|
||||
'version': version,
|
||||
'commit_stream': commit_stream,
|
||||
'issue_stream': issue_stream,
|
||||
'exclude_pull_requests': exclude_pull_requests,
|
||||
'exclude_issues': exclude_issues,
|
||||
'exclude_commits': exclude_commits,
|
||||
'emphasize_branch_in_topic': emphasize_branch_in_topic,
|
||||
}))
|
||||
f.write('\n')
|
||||
except Exception:
|
||||
logging.exception('Error while capturing Github event')
|
||||
|
||||
if not stream:
|
||||
stream = 'commits'
|
||||
|
||||
short_ref = re.sub(r'^refs/heads/', '', payload.get('ref', ''))
|
||||
kwargs = dict()
|
||||
|
||||
if emphasize_branch_in_topic and short_ref:
|
||||
kwargs['topic_focus'] = short_ref
|
||||
|
||||
allowed_events = set()
|
||||
if not exclude_pull_requests:
|
||||
allowed_events.add('pull_request')
|
||||
|
||||
if not exclude_issues:
|
||||
allowed_events.add('issues')
|
||||
allowed_events.add('issue_comment')
|
||||
|
||||
if not exclude_commits:
|
||||
allowed_events.add('push')
|
||||
allowed_events.add('commit_comment')
|
||||
|
||||
if event not in allowed_events:
|
||||
return json_success()
|
||||
|
||||
# We filter issue_comment events for issue creation events
|
||||
if event == 'issue_comment' and payload['action'] != 'created':
|
||||
return json_success()
|
||||
|
||||
if event == 'push':
|
||||
# If we are given a whitelist of branches, then we silently ignore
|
||||
# any push notification on a branch that is not in our whitelist.
|
||||
if branches and short_ref not in re.split(r'[\s,;|]+', branches):
|
||||
return json_success()
|
||||
|
||||
# Map payload to the handler with the right version
|
||||
if version == 2:
|
||||
target_stream, subject, content = api_github_v2(user_profile, event, payload, branches,
|
||||
stream, commit_stream, issue_stream,
|
||||
**kwargs)
|
||||
else:
|
||||
target_stream, subject, content = api_github_v1(user_profile, event, payload, branches,
|
||||
stream, **kwargs)
|
||||
|
||||
request.client = get_client('ZulipGitHubLegacyWebhook')
|
||||
return send_message_backend(request, user_profile,
|
||||
message_type_name='stream',
|
||||
message_to=[target_stream],
|
||||
forged=False, topic_name=subject,
|
||||
message_content=content)
|
||||
|
||||
def build_message_from_gitlog(user_profile: UserProfile, name: str, ref: str,
|
||||
commits: List[Dict[str, str]], before: str, after: str,
|
||||
url: str, pusher: str, forced: Optional[str]=None,
|
||||
created: Optional[str]=None, deleted: Optional[bool]=False
|
||||
) -> Tuple[str, str]:
|
||||
short_ref = re.sub(r'^refs/heads/', '', ref)
|
||||
subject = TOPIC_WITH_BRANCH_TEMPLATE.format(repo=name, branch=short_ref)
|
||||
|
||||
if re.match(r'^0+$', after):
|
||||
content = get_remove_branch_event_message(pusher, short_ref)
|
||||
# 'created' and 'forced' are github flags; the second check is for beanstalk
|
||||
elif (forced and not created) or (forced is None and len(commits) == 0):
|
||||
content = get_force_push_commits_event_message(pusher, url, short_ref, after[:7])
|
||||
else:
|
||||
commits = _transform_commits_list_to_common_format(commits)
|
||||
try:
|
||||
content = get_push_commits_event_message(pusher, url, short_ref, commits, deleted=deleted)
|
||||
except TypeError: # nocoverage This error condition seems to
|
||||
# be caused by a change in GitHub's APIs. Since we've
|
||||
# deprecated this webhook, just suppress them with a 40x error.
|
||||
raise JsonableError(
|
||||
"Malformed commit data")
|
||||
|
||||
return subject, content
|
||||
|
||||
def _transform_commits_list_to_common_format(commits: List[Dict[str, Any]]) -> List[Dict[str, str]]:
|
||||
new_commits_list = []
|
||||
for commit in commits:
|
||||
new_commits_list.append({
|
||||
'name': commit['author'].get('username'),
|
||||
'sha': commit.get('id'),
|
||||
'url': commit.get('url'),
|
||||
'message': commit.get('message'),
|
||||
})
|
||||
return new_commits_list
|
||||
@@ -10,7 +10,6 @@ from zproject import dev_urls
|
||||
from zproject.legacy_urls import legacy_urls
|
||||
from zerver.views.documentation import IntegrationView, MarkdownDirectoryView
|
||||
from zerver.lib.integrations import WEBHOOK_INTEGRATIONS
|
||||
from zerver.webhooks import github_dispatcher
|
||||
|
||||
|
||||
from django.contrib.auth.views import (login, password_reset_done,
|
||||
@@ -624,8 +623,6 @@ for incoming_webhook in WEBHOOK_INTEGRATIONS:
|
||||
if incoming_webhook.url_object:
|
||||
urls.append(incoming_webhook.url_object)
|
||||
|
||||
urls.append(url(r'^api/v1/external/github', github_dispatcher.api_github_webhook_dispatch))
|
||||
|
||||
# Desktop-specific authentication URLs
|
||||
urls += [
|
||||
url(r'^json/fetch_api_key$', rest_dispatch,
|
||||
|
||||
Reference in New Issue
Block a user