lita-github_pr_list 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/lib/lita/github_pr_list/comment_hook.rb +9 -9
- data/lib/lita/github_pr_list/pull_request.rb +1 -1
- data/lib/lita/github_pr_list/status.rb +15 -6
- data/lib/lita/github_pr_list/version.rb +1 -1
- data/spec/fixtures/design/issue_comment_event_failed.json +180 -0
- data/spec/fixtures/design/issue_comment_event_in_review.json +180 -0
- data/spec/fixtures/design/issue_comment_event_passed.json +180 -0
- data/spec/fixtures/dev/issue_comment_event_failed.json +180 -0
- data/spec/fixtures/dev/issue_comment_event_in_review.json +180 -0
- data/spec/fixtures/dev/issue_comment_event_passed.json +180 -0
- data/spec/fixtures/issue_comment_event_no_event.json +180 -0
- data/spec/fixtures/issue_comments_in_review_comment_hook.json +56 -0
- data/spec/fixtures/issue_comments_trivial.json +111 -0
- data/spec/lita/handlers/comment_hook_spec.rb +114 -1
- metadata +43 -25
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0e10fe705c366e1fc6d9aa63077215eb371575ab
|
4
|
+
data.tar.gz: 0f83bd1869bc97889686c82bd8510514aa8a94bd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fe9387efcf3c0c887ecb01b884d71bc947c79026b9582421d21c34809d14f1b34681da3d297c057a80626e7efb7c528e3f8400f56279911792e31b0da58f880c
|
7
|
+
data.tar.gz: 9bdf77969ce11bf7f1849b401b1dc438f927f0c3a1184c5ca257b818b0bc628aa7a7d980364ae9ceb81871a67d323abbd9827c52c56f24777e11e8a41dd0c484
|
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# lita-github_pr_list
|
2
2
|
|
3
|
-
lita-
|
3
|
+
`lita-github_pr_list` is a handler for Lita that connects up with GitHub and lists an organization's pull requests
|
4
4
|
|
5
5
|
## Installation
|
6
6
|
|
@@ -18,7 +18,7 @@ Or install it yourself as:
|
|
18
18
|
|
19
19
|
## Configuration
|
20
20
|
|
21
|
-
```
|
21
|
+
```ruby
|
22
22
|
Lita.configure do |config|
|
23
23
|
...
|
24
24
|
config.handlers.github_pr_list.github_organization = ENV['GITHUB_ORG']
|
@@ -25,16 +25,16 @@ module Lita
|
|
25
25
|
|
26
26
|
def message
|
27
27
|
self.status = repo_status(payload["repository"]["full_name"], payload["issue"])
|
28
|
-
if !status.empty?
|
29
|
-
if status.include? Lita::GithubPrList::Status::PASS_DEV_EMOJI
|
28
|
+
if !status[:last_comment].empty?
|
29
|
+
if status[:list].include? Lita::GithubPrList::Status::PASS_DEV_EMOJI
|
30
30
|
pass_dev?
|
31
|
-
elsif status.include? Lita::GithubPrList::Status::PASS_DESIGN_EMOJI
|
31
|
+
elsif status[:list].include? Lita::GithubPrList::Status::PASS_DESIGN_EMOJI
|
32
32
|
pass_design?
|
33
|
-
elsif status.include? Lita::GithubPrList::Status::REVIEW_EMOJI
|
33
|
+
elsif status[:list].include? Lita::GithubPrList::Status::REVIEW_EMOJI
|
34
34
|
"@#{commenter} is currently reviewing: #{issue_title}. #{issue_html_url}"
|
35
|
-
elsif status.include? Lita::GithubPrList::Status::FAIL_EMOJI
|
35
|
+
elsif status[:list].include? Lita::GithubPrList::Status::FAIL_EMOJI
|
36
36
|
"@#{issue_owner} your pull request: #{issue_title} has failed. #{issue_html_url}"
|
37
|
-
elsif status.include? Lita::GithubPrList::Status::FIXED_EMOJI
|
37
|
+
elsif status[:list].include? Lita::GithubPrList::Status::FIXED_EMOJI
|
38
38
|
"#{issue_title} has been fixed: #{issue_html_url}"
|
39
39
|
end
|
40
40
|
else
|
@@ -44,11 +44,11 @@ module Lita
|
|
44
44
|
|
45
45
|
private
|
46
46
|
def pass_dev?
|
47
|
-
if self.status.include? Lita::GithubPrList::Status::PASS_DESIGN_EMOJI
|
47
|
+
if self.status[:list].include? Lita::GithubPrList::Status::PASS_DESIGN_EMOJI
|
48
48
|
"@#{issue_owner} your pull request: #{issue_title} has passed. #{issue_html_url}"
|
49
49
|
else
|
50
50
|
resp = "@#{issue_owner} your pull request: #{issue_title} has passed DEV REVIEW. #{issue_html_url}"
|
51
|
-
if self.status.include?(Lita::GithubPrList::Status::DESIGN_REVIEW_REQUIRED) && !status.include?(Lita::GithubPrList::Status::PASS_DESIGN_EMOJI)
|
51
|
+
if self.status[:list].include?(Lita::GithubPrList::Status::DESIGN_REVIEW_REQUIRED) && !status[:list].include?(Lita::GithubPrList::Status::PASS_DESIGN_EMOJI)
|
52
52
|
resp += " - You still require DESIGN REVIEW"
|
53
53
|
end
|
54
54
|
resp
|
@@ -57,7 +57,7 @@ module Lita
|
|
57
57
|
|
58
58
|
def pass_design?
|
59
59
|
resp = "@#{issue_owner} your pull request: #{issue_title} has passed DESIGN. #{issue_html_url}"
|
60
|
-
if self.status.include?(Lita::GithubPrList::Status::DEV_REVIEW_REQUIRED) && !status.match(Lita::GithubPrList::Status::PASS_DEV_EMOJI)
|
60
|
+
if self.status[:list].include?(Lita::GithubPrList::Status::DEV_REVIEW_REQUIRED) && !status[:list].match(Lita::GithubPrList::Status::PASS_DEV_EMOJI)
|
61
61
|
resp += " - You still require DEV REVIEW"
|
62
62
|
end
|
63
63
|
resp
|
@@ -1,7 +1,7 @@
|
|
1
1
|
module Lita
|
2
2
|
module GithubPrList
|
3
3
|
class Status
|
4
|
-
attr_accessor :comment, :base, :dev, :design
|
4
|
+
attr_accessor :comment, :base, :dev, :design, :status
|
5
5
|
|
6
6
|
DESIGN_REVIEW_REGEX = /:art:/
|
7
7
|
DEV_REVIEW_REGEX = /:elephant:/
|
@@ -24,6 +24,8 @@ module Lita
|
|
24
24
|
def initialize(params = {})
|
25
25
|
self.comment = params.fetch(:comment, nil)
|
26
26
|
self.base = "(new)"
|
27
|
+
self.status = {}
|
28
|
+
self.status[:last_comment] = ""
|
27
29
|
setup(comment)
|
28
30
|
raise "invalid params in #{self.class.name}" if comment.nil?
|
29
31
|
end
|
@@ -31,16 +33,17 @@ module Lita
|
|
31
33
|
def comment_status
|
32
34
|
case base
|
33
35
|
when REVIEW_REGEX, FAIL_REGEX
|
34
|
-
base
|
36
|
+
status[:list] = base
|
35
37
|
else
|
36
|
-
"#{base}#{dev}#{design}"
|
38
|
+
status[:list] = "#{base}#{dev}#{design}"
|
37
39
|
end
|
40
|
+
status
|
38
41
|
end
|
39
42
|
|
40
43
|
def update(new_comment)
|
41
|
-
parse_dev(new_comment) unless self.dev.
|
42
|
-
parse_design(new_comment) unless self.design.
|
43
|
-
parse_common(new_comment)
|
44
|
+
self.status[:last_comment] = parse_dev(new_comment) unless self.dev.nil?
|
45
|
+
self.status[:last_comment] += parse_design(new_comment) unless self.design.nil?
|
46
|
+
self.status[:last_comment] += parse_common(new_comment)
|
44
47
|
self.comment = new_comment
|
45
48
|
comment_status
|
46
49
|
end
|
@@ -54,6 +57,8 @@ module Lita
|
|
54
57
|
self.dev = PASS_DEV_EMOJI
|
55
58
|
when DEV_REVIEW_REGEX, FAIL_REGEX, FIXED_REGEX
|
56
59
|
self.dev = DEV_REVIEW_REQUIRED
|
60
|
+
else
|
61
|
+
""
|
57
62
|
end
|
58
63
|
end
|
59
64
|
|
@@ -64,6 +69,8 @@ module Lita
|
|
64
69
|
self.design = PASS_DESIGN_EMOJI
|
65
70
|
when DESIGN_REVIEW_REGEX, FAIL_REGEX, FIXED_REGEX
|
66
71
|
self.design = DESIGN_REVIEW_REQUIRED
|
72
|
+
else
|
73
|
+
""
|
67
74
|
end
|
68
75
|
end
|
69
76
|
|
@@ -77,6 +84,8 @@ module Lita
|
|
77
84
|
self.base = FIXED_EMOJI
|
78
85
|
when NEW_REGEX
|
79
86
|
self.base = NEW_EMOJI
|
87
|
+
else
|
88
|
+
""
|
80
89
|
end
|
81
90
|
end
|
82
91
|
|
@@ -0,0 +1,180 @@
|
|
1
|
+
{
|
2
|
+
"action": "created",
|
3
|
+
"issue": {
|
4
|
+
"url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/47",
|
5
|
+
"labels_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/47/labels{/name}",
|
6
|
+
"comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/47/comments",
|
7
|
+
"events_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/47/events",
|
8
|
+
"html_url": "https://github.com/baxterthehacker/public-repo/issues/47",
|
9
|
+
"id": 36913817,
|
10
|
+
"number": 47,
|
11
|
+
"title": "Spelling error in the README file",
|
12
|
+
"user": {
|
13
|
+
"login": "mcwaffle1234",
|
14
|
+
"id": 6752317,
|
15
|
+
"avatar_url": "https://avatars.githubusercontent.com/u/6752317?",
|
16
|
+
"gravatar_id": "258ae60b5512c8402b93673b7478d9c6",
|
17
|
+
"url": "https://api.github.com/users/baxterthehacker",
|
18
|
+
"html_url": "https://github.com/baxterthehacker",
|
19
|
+
"followers_url": "https://api.github.com/users/baxterthehacker/followers",
|
20
|
+
"following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",
|
21
|
+
"gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",
|
22
|
+
"starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",
|
23
|
+
"subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",
|
24
|
+
"organizations_url": "https://api.github.com/users/baxterthehacker/orgs",
|
25
|
+
"repos_url": "https://api.github.com/users/baxterthehacker/repos",
|
26
|
+
"events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",
|
27
|
+
"received_events_url": "https://api.github.com/users/baxterthehacker/received_events",
|
28
|
+
"type": "User",
|
29
|
+
"site_admin": false
|
30
|
+
},
|
31
|
+
"labels": [
|
32
|
+
{
|
33
|
+
"url": "https://api.github.com/repos/baxterthehacker/public-repo/labels/bug",
|
34
|
+
"name": "bug",
|
35
|
+
"color": "fc2929"
|
36
|
+
}
|
37
|
+
],
|
38
|
+
"state": "open",
|
39
|
+
"assignee": null,
|
40
|
+
"milestone": null,
|
41
|
+
"comments": 1,
|
42
|
+
"created_at": "2014-07-01T17:21:15Z",
|
43
|
+
"updated_at": "2014-07-01T17:21:15Z",
|
44
|
+
"closed_at": null,
|
45
|
+
"body": ":art: It looks like you accidently spelled 'commit' with two 't's."
|
46
|
+
},
|
47
|
+
"comment": {
|
48
|
+
"url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments/47684681",
|
49
|
+
"html_url": "https://github.com/baxterthehacker/public-repo/issues/47#issuecomment-47684681",
|
50
|
+
"issue_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/47",
|
51
|
+
"id": 47684681,
|
52
|
+
"user": {
|
53
|
+
"login": "baxterthehacker",
|
54
|
+
"id": 6752317,
|
55
|
+
"avatar_url": "https://avatars.githubusercontent.com/u/6752317?",
|
56
|
+
"gravatar_id": "258ae60b5512c8402b93673b7478d9c6",
|
57
|
+
"url": "https://api.github.com/users/baxterthehacker",
|
58
|
+
"html_url": "https://github.com/baxterthehacker",
|
59
|
+
"followers_url": "https://api.github.com/users/baxterthehacker/followers",
|
60
|
+
"following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",
|
61
|
+
"gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",
|
62
|
+
"starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",
|
63
|
+
"subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",
|
64
|
+
"organizations_url": "https://api.github.com/users/baxterthehacker/orgs",
|
65
|
+
"repos_url": "https://api.github.com/users/baxterthehacker/repos",
|
66
|
+
"events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",
|
67
|
+
"received_events_url": "https://api.github.com/users/baxterthehacker/received_events",
|
68
|
+
"type": "User",
|
69
|
+
"site_admin": false
|
70
|
+
},
|
71
|
+
"created_at": "2014-07-01T17:21:15Z",
|
72
|
+
"updated_at": "2014-07-01T17:21:15Z",
|
73
|
+
"body": "Failed. :poop:"
|
74
|
+
},
|
75
|
+
"repository": {
|
76
|
+
"id": 20000106,
|
77
|
+
"name": "public-repo",
|
78
|
+
"full_name": "baxterthehacker/public-repo",
|
79
|
+
"owner": {
|
80
|
+
"login": "baxterthehacker",
|
81
|
+
"id": 6752317,
|
82
|
+
"avatar_url": "https://avatars.githubusercontent.com/u/6752317?",
|
83
|
+
"gravatar_id": "258ae60b5512c8402b93673b7478d9c6",
|
84
|
+
"url": "https://api.github.com/users/baxterthehacker",
|
85
|
+
"html_url": "https://github.com/baxterthehacker",
|
86
|
+
"followers_url": "https://api.github.com/users/baxterthehacker/followers",
|
87
|
+
"following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",
|
88
|
+
"gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",
|
89
|
+
"starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",
|
90
|
+
"subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",
|
91
|
+
"organizations_url": "https://api.github.com/users/baxterthehacker/orgs",
|
92
|
+
"repos_url": "https://api.github.com/users/baxterthehacker/repos",
|
93
|
+
"events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",
|
94
|
+
"received_events_url": "https://api.github.com/users/baxterthehacker/received_events",
|
95
|
+
"type": "User",
|
96
|
+
"site_admin": false
|
97
|
+
},
|
98
|
+
"private": false,
|
99
|
+
"html_url": "https://github.com/baxterthehacker/public-repo",
|
100
|
+
"description": "",
|
101
|
+
"fork": false,
|
102
|
+
"url": "https://api.github.com/repos/baxterthehacker/public-repo",
|
103
|
+
"forks_url": "https://api.github.com/repos/baxterthehacker/public-repo/forks",
|
104
|
+
"keys_url": "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}",
|
105
|
+
"collaborators_url": "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}",
|
106
|
+
"teams_url": "https://api.github.com/repos/baxterthehacker/public-repo/teams",
|
107
|
+
"hooks_url": "https://api.github.com/repos/baxterthehacker/public-repo/hooks",
|
108
|
+
"issue_events_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}",
|
109
|
+
"events_url": "https://api.github.com/repos/baxterthehacker/public-repo/events",
|
110
|
+
"assignees_url": "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}",
|
111
|
+
"branches_url": "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}",
|
112
|
+
"tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/tags",
|
113
|
+
"blobs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}",
|
114
|
+
"git_tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}",
|
115
|
+
"git_refs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}",
|
116
|
+
"trees_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}",
|
117
|
+
"statuses_url": "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}",
|
118
|
+
"languages_url": "https://api.github.com/repos/baxterthehacker/public-repo/languages",
|
119
|
+
"stargazers_url": "https://api.github.com/repos/baxterthehacker/public-repo/stargazers",
|
120
|
+
"contributors_url": "https://api.github.com/repos/baxterthehacker/public-repo/contributors",
|
121
|
+
"subscribers_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscribers",
|
122
|
+
"subscription_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscription",
|
123
|
+
"commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}",
|
124
|
+
"git_commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}",
|
125
|
+
"comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}",
|
126
|
+
"issue_comment_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments/{number}",
|
127
|
+
"contents_url": "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}",
|
128
|
+
"compare_url": "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}",
|
129
|
+
"merges_url": "https://api.github.com/repos/baxterthehacker/public-repo/merges",
|
130
|
+
"archive_url": "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}",
|
131
|
+
"downloads_url": "https://api.github.com/repos/baxterthehacker/public-repo/downloads",
|
132
|
+
"issues_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}",
|
133
|
+
"pulls_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}",
|
134
|
+
"milestones_url": "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}",
|
135
|
+
"notifications_url": "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}",
|
136
|
+
"labels_url": "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}",
|
137
|
+
"releases_url": "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}",
|
138
|
+
"created_at": "2014-05-20T22:39:43Z",
|
139
|
+
"updated_at": "2014-07-01T17:17:43Z",
|
140
|
+
"pushed_at": "2014-07-01T17:21:15Z",
|
141
|
+
"git_url": "git://github.com/baxterthehacker/public-repo.git",
|
142
|
+
"ssh_url": "git@github.com:baxterthehacker/public-repo.git",
|
143
|
+
"clone_url": "https://github.com/baxterthehacker/public-repo.git",
|
144
|
+
"svn_url": "https://github.com/baxterthehacker/public-repo",
|
145
|
+
"homepage": null,
|
146
|
+
"size": 569,
|
147
|
+
"stargazers_count": 0,
|
148
|
+
"watchers_count": 0,
|
149
|
+
"language": null,
|
150
|
+
"has_issues": true,
|
151
|
+
"has_downloads": true,
|
152
|
+
"has_wiki": true,
|
153
|
+
"forks_count": 0,
|
154
|
+
"mirror_url": null,
|
155
|
+
"open_issues_count": 24,
|
156
|
+
"forks": 0,
|
157
|
+
"open_issues": 24,
|
158
|
+
"watchers": 0,
|
159
|
+
"default_branch": "master"
|
160
|
+
},
|
161
|
+
"sender": {
|
162
|
+
"login": "baxterthehacker",
|
163
|
+
"id": 6752317,
|
164
|
+
"avatar_url": "https://avatars.githubusercontent.com/u/6752317?",
|
165
|
+
"gravatar_id": "258ae60b5512c8402b93673b7478d9c6",
|
166
|
+
"url": "https://api.github.com/users/baxterthehacker",
|
167
|
+
"html_url": "https://github.com/baxterthehacker",
|
168
|
+
"followers_url": "https://api.github.com/users/baxterthehacker/followers",
|
169
|
+
"following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",
|
170
|
+
"gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",
|
171
|
+
"starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",
|
172
|
+
"subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",
|
173
|
+
"organizations_url": "https://api.github.com/users/baxterthehacker/orgs",
|
174
|
+
"repos_url": "https://api.github.com/users/baxterthehacker/repos",
|
175
|
+
"events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",
|
176
|
+
"received_events_url": "https://api.github.com/users/baxterthehacker/received_events",
|
177
|
+
"type": "User",
|
178
|
+
"site_admin": false
|
179
|
+
}
|
180
|
+
}
|
@@ -0,0 +1,180 @@
|
|
1
|
+
{
|
2
|
+
"action": "created",
|
3
|
+
"issue": {
|
4
|
+
"url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/47",
|
5
|
+
"labels_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/47/labels{/name}",
|
6
|
+
"comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/47/comments",
|
7
|
+
"events_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/47/events",
|
8
|
+
"html_url": "https://github.com/baxterthehacker/public-repo/issues/47",
|
9
|
+
"id": 36913817,
|
10
|
+
"number": 47,
|
11
|
+
"title": "Spelling error in the README file",
|
12
|
+
"user": {
|
13
|
+
"login": "mcwaffle1234",
|
14
|
+
"id": 6752317,
|
15
|
+
"avatar_url": "https://avatars.githubusercontent.com/u/6752317?",
|
16
|
+
"gravatar_id": "258ae60b5512c8402b93673b7478d9c6",
|
17
|
+
"url": "https://api.github.com/users/baxterthehacker",
|
18
|
+
"html_url": "https://github.com/baxterthehacker",
|
19
|
+
"followers_url": "https://api.github.com/users/baxterthehacker/followers",
|
20
|
+
"following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",
|
21
|
+
"gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",
|
22
|
+
"starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",
|
23
|
+
"subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",
|
24
|
+
"organizations_url": "https://api.github.com/users/baxterthehacker/orgs",
|
25
|
+
"repos_url": "https://api.github.com/users/baxterthehacker/repos",
|
26
|
+
"events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",
|
27
|
+
"received_events_url": "https://api.github.com/users/baxterthehacker/received_events",
|
28
|
+
"type": "User",
|
29
|
+
"site_admin": false
|
30
|
+
},
|
31
|
+
"labels": [
|
32
|
+
{
|
33
|
+
"url": "https://api.github.com/repos/baxterthehacker/public-repo/labels/bug",
|
34
|
+
"name": "bug",
|
35
|
+
"color": "fc2929"
|
36
|
+
}
|
37
|
+
],
|
38
|
+
"state": "open",
|
39
|
+
"assignee": null,
|
40
|
+
"milestone": null,
|
41
|
+
"comments": 1,
|
42
|
+
"created_at": "2014-07-01T17:21:15Z",
|
43
|
+
"updated_at": "2014-07-01T17:21:15Z",
|
44
|
+
"closed_at": null,
|
45
|
+
"body": ":art: It looks like you accidently spelled 'commit' with two 't's."
|
46
|
+
},
|
47
|
+
"comment": {
|
48
|
+
"url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments/47684681",
|
49
|
+
"html_url": "https://github.com/baxterthehacker/public-repo/issues/47#issuecomment-47684681",
|
50
|
+
"issue_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/47",
|
51
|
+
"id": 47684681,
|
52
|
+
"user": {
|
53
|
+
"login": "baxterthehacker",
|
54
|
+
"id": 6752317,
|
55
|
+
"avatar_url": "https://avatars.githubusercontent.com/u/6752317?",
|
56
|
+
"gravatar_id": "258ae60b5512c8402b93673b7478d9c6",
|
57
|
+
"url": "https://api.github.com/users/baxterthehacker",
|
58
|
+
"html_url": "https://github.com/baxterthehacker",
|
59
|
+
"followers_url": "https://api.github.com/users/baxterthehacker/followers",
|
60
|
+
"following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",
|
61
|
+
"gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",
|
62
|
+
"starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",
|
63
|
+
"subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",
|
64
|
+
"organizations_url": "https://api.github.com/users/baxterthehacker/orgs",
|
65
|
+
"repos_url": "https://api.github.com/users/baxterthehacker/repos",
|
66
|
+
"events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",
|
67
|
+
"received_events_url": "https://api.github.com/users/baxterthehacker/received_events",
|
68
|
+
"type": "User",
|
69
|
+
"site_admin": false
|
70
|
+
},
|
71
|
+
"created_at": "2014-07-01T17:21:15Z",
|
72
|
+
"updated_at": "2014-07-01T17:21:15Z",
|
73
|
+
"body": "Reviewing :book:"
|
74
|
+
},
|
75
|
+
"repository": {
|
76
|
+
"id": 20000106,
|
77
|
+
"name": "public-repo",
|
78
|
+
"full_name": "baxterthehacker/public-repo",
|
79
|
+
"owner": {
|
80
|
+
"login": "baxterthehacker",
|
81
|
+
"id": 6752317,
|
82
|
+
"avatar_url": "https://avatars.githubusercontent.com/u/6752317?",
|
83
|
+
"gravatar_id": "258ae60b5512c8402b93673b7478d9c6",
|
84
|
+
"url": "https://api.github.com/users/baxterthehacker",
|
85
|
+
"html_url": "https://github.com/baxterthehacker",
|
86
|
+
"followers_url": "https://api.github.com/users/baxterthehacker/followers",
|
87
|
+
"following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",
|
88
|
+
"gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",
|
89
|
+
"starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",
|
90
|
+
"subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",
|
91
|
+
"organizations_url": "https://api.github.com/users/baxterthehacker/orgs",
|
92
|
+
"repos_url": "https://api.github.com/users/baxterthehacker/repos",
|
93
|
+
"events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",
|
94
|
+
"received_events_url": "https://api.github.com/users/baxterthehacker/received_events",
|
95
|
+
"type": "User",
|
96
|
+
"site_admin": false
|
97
|
+
},
|
98
|
+
"private": false,
|
99
|
+
"html_url": "https://github.com/baxterthehacker/public-repo",
|
100
|
+
"description": "",
|
101
|
+
"fork": false,
|
102
|
+
"url": "https://api.github.com/repos/baxterthehacker/public-repo",
|
103
|
+
"forks_url": "https://api.github.com/repos/baxterthehacker/public-repo/forks",
|
104
|
+
"keys_url": "https://api.github.com/repos/baxterthehacker/public-repo/keys{/key_id}",
|
105
|
+
"collaborators_url": "https://api.github.com/repos/baxterthehacker/public-repo/collaborators{/collaborator}",
|
106
|
+
"teams_url": "https://api.github.com/repos/baxterthehacker/public-repo/teams",
|
107
|
+
"hooks_url": "https://api.github.com/repos/baxterthehacker/public-repo/hooks",
|
108
|
+
"issue_events_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/events{/number}",
|
109
|
+
"events_url": "https://api.github.com/repos/baxterthehacker/public-repo/events",
|
110
|
+
"assignees_url": "https://api.github.com/repos/baxterthehacker/public-repo/assignees{/user}",
|
111
|
+
"branches_url": "https://api.github.com/repos/baxterthehacker/public-repo/branches{/branch}",
|
112
|
+
"tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/tags",
|
113
|
+
"blobs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/blobs{/sha}",
|
114
|
+
"git_tags_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/tags{/sha}",
|
115
|
+
"git_refs_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/refs{/sha}",
|
116
|
+
"trees_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/trees{/sha}",
|
117
|
+
"statuses_url": "https://api.github.com/repos/baxterthehacker/public-repo/statuses/{sha}",
|
118
|
+
"languages_url": "https://api.github.com/repos/baxterthehacker/public-repo/languages",
|
119
|
+
"stargazers_url": "https://api.github.com/repos/baxterthehacker/public-repo/stargazers",
|
120
|
+
"contributors_url": "https://api.github.com/repos/baxterthehacker/public-repo/contributors",
|
121
|
+
"subscribers_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscribers",
|
122
|
+
"subscription_url": "https://api.github.com/repos/baxterthehacker/public-repo/subscription",
|
123
|
+
"commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/commits{/sha}",
|
124
|
+
"git_commits_url": "https://api.github.com/repos/baxterthehacker/public-repo/git/commits{/sha}",
|
125
|
+
"comments_url": "https://api.github.com/repos/baxterthehacker/public-repo/comments{/number}",
|
126
|
+
"issue_comment_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues/comments/{number}",
|
127
|
+
"contents_url": "https://api.github.com/repos/baxterthehacker/public-repo/contents/{+path}",
|
128
|
+
"compare_url": "https://api.github.com/repos/baxterthehacker/public-repo/compare/{base}...{head}",
|
129
|
+
"merges_url": "https://api.github.com/repos/baxterthehacker/public-repo/merges",
|
130
|
+
"archive_url": "https://api.github.com/repos/baxterthehacker/public-repo/{archive_format}{/ref}",
|
131
|
+
"downloads_url": "https://api.github.com/repos/baxterthehacker/public-repo/downloads",
|
132
|
+
"issues_url": "https://api.github.com/repos/baxterthehacker/public-repo/issues{/number}",
|
133
|
+
"pulls_url": "https://api.github.com/repos/baxterthehacker/public-repo/pulls{/number}",
|
134
|
+
"milestones_url": "https://api.github.com/repos/baxterthehacker/public-repo/milestones{/number}",
|
135
|
+
"notifications_url": "https://api.github.com/repos/baxterthehacker/public-repo/notifications{?since,all,participating}",
|
136
|
+
"labels_url": "https://api.github.com/repos/baxterthehacker/public-repo/labels{/name}",
|
137
|
+
"releases_url": "https://api.github.com/repos/baxterthehacker/public-repo/releases{/id}",
|
138
|
+
"created_at": "2014-05-20T22:39:43Z",
|
139
|
+
"updated_at": "2014-07-01T17:17:43Z",
|
140
|
+
"pushed_at": "2014-07-01T17:21:15Z",
|
141
|
+
"git_url": "git://github.com/baxterthehacker/public-repo.git",
|
142
|
+
"ssh_url": "git@github.com:baxterthehacker/public-repo.git",
|
143
|
+
"clone_url": "https://github.com/baxterthehacker/public-repo.git",
|
144
|
+
"svn_url": "https://github.com/baxterthehacker/public-repo",
|
145
|
+
"homepage": null,
|
146
|
+
"size": 569,
|
147
|
+
"stargazers_count": 0,
|
148
|
+
"watchers_count": 0,
|
149
|
+
"language": null,
|
150
|
+
"has_issues": true,
|
151
|
+
"has_downloads": true,
|
152
|
+
"has_wiki": true,
|
153
|
+
"forks_count": 0,
|
154
|
+
"mirror_url": null,
|
155
|
+
"open_issues_count": 24,
|
156
|
+
"forks": 0,
|
157
|
+
"open_issues": 24,
|
158
|
+
"watchers": 0,
|
159
|
+
"default_branch": "master"
|
160
|
+
},
|
161
|
+
"sender": {
|
162
|
+
"login": "baxterthehacker",
|
163
|
+
"id": 6752317,
|
164
|
+
"avatar_url": "https://avatars.githubusercontent.com/u/6752317?",
|
165
|
+
"gravatar_id": "258ae60b5512c8402b93673b7478d9c6",
|
166
|
+
"url": "https://api.github.com/users/baxterthehacker",
|
167
|
+
"html_url": "https://github.com/baxterthehacker",
|
168
|
+
"followers_url": "https://api.github.com/users/baxterthehacker/followers",
|
169
|
+
"following_url": "https://api.github.com/users/baxterthehacker/following{/other_user}",
|
170
|
+
"gists_url": "https://api.github.com/users/baxterthehacker/gists{/gist_id}",
|
171
|
+
"starred_url": "https://api.github.com/users/baxterthehacker/starred{/owner}{/repo}",
|
172
|
+
"subscriptions_url": "https://api.github.com/users/baxterthehacker/subscriptions",
|
173
|
+
"organizations_url": "https://api.github.com/users/baxterthehacker/orgs",
|
174
|
+
"repos_url": "https://api.github.com/users/baxterthehacker/repos",
|
175
|
+
"events_url": "https://api.github.com/users/baxterthehacker/events{/privacy}",
|
176
|
+
"received_events_url": "https://api.github.com/users/baxterthehacker/received_events",
|
177
|
+
"type": "User",
|
178
|
+
"site_admin": false
|
179
|
+
}
|
180
|
+
}
|