hubstats 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/hub_helper.rb +2 -2
- data/lib/hubstats/github_api.rb +4 -5
- data/lib/hubstats/version.rb +1 -1
- data/test/dummy/db/migrate/20140702142614_create_hubstats_pull_requests.hubstats.rb +40 -0
- data/test/dummy/db/migrate/20140702142615_create_hubstats_users.hubstats.rb +25 -0
- data/test/dummy/db/migrate/20140702142616_create_hubstats_comments.hubstats.rb +27 -0
- data/test/dummy/db/migrate/20140702142617_create_hubstats_repos.hubstats.rb +48 -0
- data/test/dummy/db/schema.rb +1 -1
- data/test/dummy/log/development.log +3464 -0
- metadata +10 -4
- data/test/dummy/tmp/pids/server.pid +0 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
MWYyZjlmNzg3MDZkYWMzYTMzYjliMDJmNTc2Mjc2YjgzNDRjZjJjZA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
NjA2ZTBlOTQyMjc1N2ViYTVlZjk4Zjg0ZjBhODk3NzAzMWQyYWRmNQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
YjliZjUzOWNkNDlhNDY0ZTE0ZDRmMWZiY2M5ZTI1ZWM3NzNiZmE0OWNjOTlk
|
10
|
+
MzJmNWM2OGRhNGU0MDAyMzdjNmE3YmM1ZTc2OGQ4YTNmOWZmN2ZiMGM5Y2Zi
|
11
|
+
MmNiMjY1MTc3MTlmZGY4NzBhZTI4ZGYxYWY0ZmVjZDg3OGMwYTY=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
N2NhOWJkMjczNmYxNjFlNWY2YmRlZTVmZWUyZjdiZjUzYmZhN2NhZTcwYmI0
|
14
|
+
NGUwM2E3NDEzMWE4ZDhjN2VjN2Y5YjMzMTIyOWQwYTkwMzZkZmIzNjg3YWQ2
|
15
|
+
MmZmNjYxNTU0ZWJlM2JiMzRjZjJhMjdiN2U0MTQ3NzE4MTUyYmQ=
|
data/lib/hub_helper.rb
CHANGED
@@ -11,8 +11,8 @@ module HubHelper
|
|
11
11
|
end
|
12
12
|
end
|
13
13
|
|
14
|
-
def self.comment_setup(comment,
|
15
|
-
comment[:repo_id] =
|
14
|
+
def self.comment_setup(comment, repo_id, kind)
|
15
|
+
comment[:repo_id] = repo_id
|
16
16
|
comment[:pull_number] = get_pull_number(comment)
|
17
17
|
comment[:kind] = kind
|
18
18
|
return comment
|
data/lib/hubstats/github_api.rb
CHANGED
@@ -37,7 +37,6 @@ module Hubstats
|
|
37
37
|
|
38
38
|
def self.wait_limit(grab_size,rate_limit)
|
39
39
|
if rate_limit.remaining < grab_size
|
40
|
-
|
41
40
|
puts "Hit Github rate limit, waiting #{Time.at(rate_limit.resets_in).utc.strftime("%H:%M:%S")} to get more"
|
42
41
|
sleep(rate_limit.resets_in)
|
43
42
|
end
|
@@ -59,15 +58,15 @@ module Hubstats
|
|
59
58
|
def self.route(object, kind, repo_name = nil)
|
60
59
|
if kind == "pulls/comments"
|
61
60
|
repo = Hubstats::Repo.where(full_name: repo_name).first
|
62
|
-
Hubstats::Comment.create_or_update(comment_setup(object,repo.id,"PullRequest"))
|
61
|
+
Hubstats::Comment.create_or_update(HubHelper.comment_setup(object,repo.id,"PullRequest"))
|
63
62
|
elsif kind == "issues/comments"
|
64
63
|
repo = Hubstats::Repo.where(full_name: repo_name).first
|
65
|
-
Hubstats::Comment.create_or_update(comment_setup(object,repo.id,"Issue"))
|
64
|
+
Hubstats::Comment.create_or_update(HubHelper.comment_setup(object,repo.id,"Issue"))
|
66
65
|
elsif kind == "comments"
|
67
66
|
repo = Hubstats::Repo.where(full_name: repo_name).first
|
68
|
-
Hubstats::Comment.create_or_update(comment_setup(object,repo.id,"Commit"))
|
67
|
+
Hubstats::Comment.create_or_update(HubHelper.comment_setup(object,repo.id,"Commit"))
|
69
68
|
elsif kind == "pulls"
|
70
|
-
Hubstats::PullRequest.create_or_update(pull_setup(object))
|
69
|
+
Hubstats::PullRequest.create_or_update(HubHelper.pull_setup(object))
|
71
70
|
end
|
72
71
|
end
|
73
72
|
end
|
data/lib/hubstats/version.rb
CHANGED
@@ -0,0 +1,40 @@
|
|
1
|
+
# This migration comes from hubstats (originally 20140604130339)
|
2
|
+
class CreateHubstatsPullRequests < ActiveRecord::Migration
|
3
|
+
def change
|
4
|
+
create_table :hubstats_pull_requests do |t|
|
5
|
+
t.integer :id
|
6
|
+
t.string :url
|
7
|
+
t.string :html_url
|
8
|
+
t.string :diff_url
|
9
|
+
t.string :patch_url
|
10
|
+
t.string :issue_url
|
11
|
+
t.string :commits_url
|
12
|
+
t.string :review_comments_url
|
13
|
+
t.string :review_comment_url
|
14
|
+
t.string :comments_url
|
15
|
+
t.string :statuses_url
|
16
|
+
t.integer :number
|
17
|
+
t.string :state
|
18
|
+
t.string :title
|
19
|
+
t.string :body
|
20
|
+
t.string :created_at
|
21
|
+
t.string :updated_at
|
22
|
+
t.string :closed_at
|
23
|
+
t.string :merged_at
|
24
|
+
t.string :merge_commit_sha
|
25
|
+
t.string :merged
|
26
|
+
t.string :mergeable
|
27
|
+
t.integer :comments
|
28
|
+
t.integer :commits
|
29
|
+
t.integer :additions
|
30
|
+
t.integer :deletions
|
31
|
+
t.integer :changed_files
|
32
|
+
t.belongs_to :user
|
33
|
+
t.belongs_to :repo
|
34
|
+
t.timestamps
|
35
|
+
end
|
36
|
+
|
37
|
+
add_index :hubstats_pull_requests, :user_id
|
38
|
+
add_index :hubstats_pull_requests, :repo_id
|
39
|
+
end
|
40
|
+
end
|
@@ -0,0 +1,25 @@
|
|
1
|
+
# This migration comes from hubstats (originally 20140604130457)
|
2
|
+
class CreateHubstatsUsers < ActiveRecord::Migration
|
3
|
+
def change
|
4
|
+
create_table :hubstats_users do |t|
|
5
|
+
t.string :login
|
6
|
+
t.integer :id
|
7
|
+
t.string :avatar_url
|
8
|
+
t.string :gravatar_id
|
9
|
+
t.string :url
|
10
|
+
t.string :html_url
|
11
|
+
t.string :followers_url
|
12
|
+
t.string :following_url
|
13
|
+
t.string :gists_url
|
14
|
+
t.string :starred_url
|
15
|
+
t.string :subscriptions_url
|
16
|
+
t.string :organizations_url
|
17
|
+
t.string :repos_url
|
18
|
+
t.string :events_url
|
19
|
+
t.string :received_events_url
|
20
|
+
t.string :role
|
21
|
+
t.boolean :site_admin
|
22
|
+
t.timestamps
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
@@ -0,0 +1,27 @@
|
|
1
|
+
# This migration comes from hubstats (originally 20140604130504)
|
2
|
+
class CreateHubstatsComments < ActiveRecord::Migration
|
3
|
+
def change
|
4
|
+
create_table :hubstats_comments do |t|
|
5
|
+
t.integer :id
|
6
|
+
t.string :html_url
|
7
|
+
t.string :url
|
8
|
+
t.string :pull_request_url
|
9
|
+
t.string :diff_hunk
|
10
|
+
t.integer :path
|
11
|
+
t.integer :position
|
12
|
+
t.string :original_position
|
13
|
+
t.string :line
|
14
|
+
t.string :commit_id
|
15
|
+
t.string :original_commit_id
|
16
|
+
t.string :body
|
17
|
+
t.string :kind
|
18
|
+
t.belongs_to :user
|
19
|
+
t.belongs_to :pull_request
|
20
|
+
t.belongs_to :repo
|
21
|
+
t.timestamps
|
22
|
+
end
|
23
|
+
|
24
|
+
add_index :hubstats_comments, :user_id
|
25
|
+
add_index :hubstats_comments, :pull_request_id
|
26
|
+
end
|
27
|
+
end
|
@@ -0,0 +1,48 @@
|
|
1
|
+
# This migration comes from hubstats (originally 20140604130550)
|
2
|
+
class CreateHubstatsRepos < ActiveRecord::Migration
|
3
|
+
def change
|
4
|
+
create_table :hubstats_repos do |t|
|
5
|
+
t.integer :id
|
6
|
+
t.string :name
|
7
|
+
t.string :full_name
|
8
|
+
t.string :homepage
|
9
|
+
t.string :language
|
10
|
+
t.string :description
|
11
|
+
t.string :default_branch
|
12
|
+
t.string :url
|
13
|
+
t.string :html_url
|
14
|
+
t.string :clone_url
|
15
|
+
t.string :git_url
|
16
|
+
t.string :ssh_url
|
17
|
+
t.string :svn_url
|
18
|
+
t.string :mirror_url
|
19
|
+
t.string :hooks_url
|
20
|
+
t.string :issue_events_url
|
21
|
+
t.string :events_url
|
22
|
+
t.string :contributors_url
|
23
|
+
t.string :git_commits_url
|
24
|
+
t.string :issue_comment_url
|
25
|
+
t.string :merges_url
|
26
|
+
t.string :issues_url
|
27
|
+
t.string :pulls_url
|
28
|
+
t.string :labels_url
|
29
|
+
t.integer :forks_count
|
30
|
+
t.integer :stargazers_count
|
31
|
+
t.integer :watches_count
|
32
|
+
t.integer :size
|
33
|
+
t.integer :open_issues_count
|
34
|
+
t.boolean :has_issues
|
35
|
+
t.boolean :has_wiki
|
36
|
+
t.boolean :has_downloads
|
37
|
+
t.boolean :private
|
38
|
+
t.boolean :fork
|
39
|
+
t.datetime :pushed_at
|
40
|
+
t.datetime :created_at
|
41
|
+
t.datetime :updated_at
|
42
|
+
t.belongs_to :owner
|
43
|
+
t.timestamps
|
44
|
+
end
|
45
|
+
|
46
|
+
add_index :hubstats_repos, :owner_id
|
47
|
+
end
|
48
|
+
end
|
data/test/dummy/db/schema.rb
CHANGED
@@ -11,7 +11,7 @@
|
|
11
11
|
#
|
12
12
|
# It's strongly recommended to check this file into your version control system.
|
13
13
|
|
14
|
-
ActiveRecord::Schema.define(:version =>
|
14
|
+
ActiveRecord::Schema.define(:version => 20140702142617) do
|
15
15
|
|
16
16
|
create_table "hubstats_comments", :force => true do |t|
|
17
17
|
t.string "html_url"
|
@@ -2963870,3 +2963870,3467 @@ Served asset /hubstats/users.js - 304 Not Modified (0ms)
|
|
2963870
2963870
|
|
2963871
2963871
|
Started GET "/assets/hubstats/application.js?body=1" for 127.0.0.1 at 2014-07-01 16:46:55 -0500
|
2963872
2963872
|
Served asset /hubstats/application.js - 304 Not Modified (0ms)
|
2963873
|
+
|
2963874
|
+
|
2963875
|
+
Started GET "/hubstats/" for 127.0.0.1 at 2014-07-01 17:37:28 -0500
|
2963876
|
+
Processing by Hubstats::ReposController#index as HTML
|
2963877
|
+
[1m[36mHubstats::User Load (51.3ms)[0m [1mSELECT hubstats_users.*, pull_request_count, comment_count FROM `hubstats_users` LEFT JOIN (SELECT hubstats_users.id as user_id, COUNT(DISTINCT hubstats_pull_requests.id) AS pull_request_count FROM `hubstats_users` LEFT JOIN hubstats_pull_requests ON hubstats_pull_requests.user_id = hubstats_users.id AND hubstats_pull_requests.closed_at > '2004-07-13' GROUP BY hubstats_users.id) AS pull_requests ON pull_requests.user_id = hubstats_users.id LEFT JOIN (SELECT hubstats_users.id as user_id, COUNT(DISTINCT hubstats_comments.id) AS comment_count FROM `hubstats_users` LEFT JOIN hubstats_comments ON hubstats_comments.user_id = hubstats_users.id AND hubstats_comments.created_at > '2004-07-13' GROUP BY hubstats_users.id) AS comments ON comments.user_id = hubstats_users.id GROUP BY hubstats_users.id HAVING comment_count > 0 OR pull_request_count > 0 ORDER BY (pull_request_count)*2 + (comment_count) DESC[0m
|
2963878
|
+
[1m[35m (3.7ms)[0m SELECT COUNT(*) FROM `hubstats_pull_requests` WHERE (closed_at > '2004-07-13')
|
2963879
|
+
[1m[36m (8.3ms)[0m [1mSELECT COUNT(*) FROM `hubstats_comments` WHERE (created_at > '2004-07-13')[0m
|
2963880
|
+
[1m[35m (4.7ms)[0m SELECT AVG(`hubstats_pull_requests`.`additions`) AS avg_id FROM `hubstats_pull_requests` WHERE (closed_at > '2004-07-13')
|
2963881
|
+
[1m[36m (4.3ms)[0m [1mSELECT AVG(`hubstats_pull_requests`.`deletions`) AS avg_id FROM `hubstats_pull_requests` WHERE (closed_at > '2004-07-13')[0m
|
2963882
|
+
[1m[35m (3.5ms)[0m SELECT SUM(`hubstats_pull_requests`.`additions`) AS sum_id FROM `hubstats_pull_requests` WHERE (closed_at > '2004-07-13')
|
2963883
|
+
[1m[36m (3.1ms)[0m [1mSELECT SUM(`hubstats_pull_requests`.`deletions`) AS sum_id FROM `hubstats_pull_requests` WHERE (closed_at > '2004-07-13')[0m
|
2963884
|
+
Rendered /Users/elliothursh/Code/hubstats/app/views/hubstats/metrics/_quick_stats.html.erb (0.1ms)
|
2963885
|
+
[1m[35mHubstats::Repo Load (0.3ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE (updated_at > '2004-07-13') ORDER BY updated_at DESC LIMIT 20
|
2963886
|
+
Rendered /Users/elliothursh/Code/hubstats/app/views/hubstats/metrics/_repos_table.html.erb (1.7ms)
|
2963887
|
+
[1m[36mHubstats::User Load (48.5ms)[0m [1mSELECT hubstats_users.*, pull_request_count, comment_count FROM `hubstats_users` LEFT JOIN (SELECT hubstats_users.id as user_id, COUNT(DISTINCT hubstats_pull_requests.id) AS pull_request_count FROM `hubstats_users` LEFT JOIN hubstats_pull_requests ON hubstats_pull_requests.user_id = hubstats_users.id AND hubstats_pull_requests.closed_at > '2004-07-13' GROUP BY hubstats_users.id) AS pull_requests ON pull_requests.user_id = hubstats_users.id LEFT JOIN (SELECT hubstats_users.id as user_id, COUNT(DISTINCT hubstats_comments.id) AS comment_count FROM `hubstats_users` LEFT JOIN hubstats_comments ON hubstats_comments.user_id = hubstats_users.id AND hubstats_comments.created_at > '2004-07-13' GROUP BY hubstats_users.id) AS comments ON comments.user_id = hubstats_users.id GROUP BY hubstats_users.id HAVING comment_count > 0 OR pull_request_count > 0 ORDER BY (pull_request_count)*2 + (comment_count) DESC LIMIT 20[0m
|
2963888
|
+
Rendered /Users/elliothursh/Code/hubstats/app/views/hubstats/metrics/_users_table.html.erb (52.8ms)
|
2963889
|
+
Rendered /Users/elliothursh/Code/hubstats/app/views/hubstats/repos/index.html.erb within layouts/hubstats/application (56.0ms)
|
2963890
|
+
Rendered /Users/elliothursh/Code/hubstats/app/views/hubstats/partials/_header.html.erb (0.2ms)
|
2963891
|
+
Completed 200 OK in 151.9ms (Views: 13.1ms | ActiveRecord: 127.6ms)
|
2963892
|
+
|
2963893
|
+
|
2963894
|
+
Started GET "/assets/hubstats/bootstrap.css?body=1" for 127.0.0.1 at 2014-07-01 17:37:29 -0500
|
2963895
|
+
Served asset /hubstats/bootstrap.css - 304 Not Modified (0ms)
|
2963896
|
+
|
2963897
|
+
|
2963898
|
+
Started GET "/assets/hubstats/application.css?body=1" for 127.0.0.1 at 2014-07-01 17:37:29 -0500
|
2963899
|
+
Served asset /hubstats/application.css - 304 Not Modified (0ms)
|
2963900
|
+
|
2963901
|
+
|
2963902
|
+
Started GET "/assets/hubstats/events.css?body=1" for 127.0.0.1 at 2014-07-01 17:37:29 -0500
|
2963903
|
+
Served asset /hubstats/events.css - 304 Not Modified (0ms)
|
2963904
|
+
|
2963905
|
+
|
2963906
|
+
Started GET "/assets/hubstats/pull_requests.css?body=1" for 127.0.0.1 at 2014-07-01 17:37:29 -0500
|
2963907
|
+
Served asset /hubstats/pull_requests.css - 304 Not Modified (0ms)
|
2963908
|
+
|
2963909
|
+
|
2963910
|
+
Started GET "/assets/hubstats/repos.css?body=1" for 127.0.0.1 at 2014-07-01 17:37:29 -0500
|
2963911
|
+
Served asset /hubstats/repos.css - 304 Not Modified (0ms)
|
2963912
|
+
|
2963913
|
+
|
2963914
|
+
Started GET "/assets/hubstats/users.css?body=1" for 127.0.0.1 at 2014-07-01 17:37:29 -0500
|
2963915
|
+
Served asset /hubstats/users.css - 304 Not Modified (0ms)
|
2963916
|
+
|
2963917
|
+
|
2963918
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-01 17:37:29 -0500
|
2963919
|
+
Served asset /jquery.js - 304 Not Modified (0ms)
|
2963920
|
+
|
2963921
|
+
|
2963922
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-01 17:37:29 -0500
|
2963923
|
+
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
|
2963924
|
+
|
2963925
|
+
|
2963926
|
+
Started GET "/assets/hubstats/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-01 17:37:29 -0500
|
2963927
|
+
Served asset /hubstats/bootstrap.js - 304 Not Modified (0ms)
|
2963928
|
+
|
2963929
|
+
|
2963930
|
+
Started GET "/assets/hubstats/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-07-01 17:37:29 -0500
|
2963931
|
+
Served asset /hubstats/bootstrap.min.js - 304 Not Modified (0ms)
|
2963932
|
+
|
2963933
|
+
|
2963934
|
+
Started GET "/assets/hubstats/events.js?body=1" for 127.0.0.1 at 2014-07-01 17:37:29 -0500
|
2963935
|
+
Served asset /hubstats/events.js - 304 Not Modified (0ms)
|
2963936
|
+
|
2963937
|
+
|
2963938
|
+
Started GET "/assets/hubstats/pull_requests.js?body=1" for 127.0.0.1 at 2014-07-01 17:37:29 -0500
|
2963939
|
+
Served asset /hubstats/pull_requests.js - 304 Not Modified (0ms)
|
2963940
|
+
|
2963941
|
+
|
2963942
|
+
Started GET "/assets/hubstats/repos.js?body=1" for 127.0.0.1 at 2014-07-01 17:37:29 -0500
|
2963943
|
+
Served asset /hubstats/repos.js - 304 Not Modified (0ms)
|
2963944
|
+
|
2963945
|
+
|
2963946
|
+
Started GET "/assets/hubstats/users.js?body=1" for 127.0.0.1 at 2014-07-01 17:37:29 -0500
|
2963947
|
+
Served asset /hubstats/users.js - 304 Not Modified (0ms)
|
2963948
|
+
|
2963949
|
+
|
2963950
|
+
Started GET "/assets/hubstats/application.js?body=1" for 127.0.0.1 at 2014-07-01 17:37:29 -0500
|
2963951
|
+
Served asset /hubstats/application.js - 304 Not Modified (0ms)
|
2963952
|
+
|
2963953
|
+
|
2963954
|
+
Started GET "/hubstats" for 127.0.0.1 at 2014-07-01 17:39:34 -0500
|
2963955
|
+
Processing by Hubstats::ReposController#index as HTML
|
2963956
|
+
[1m[35mHubstats::User Load (57.3ms)[0m SELECT hubstats_users.*, pull_request_count, comment_count FROM `hubstats_users` LEFT JOIN (SELECT hubstats_users.id as user_id, COUNT(DISTINCT hubstats_pull_requests.id) AS pull_request_count FROM `hubstats_users` LEFT JOIN hubstats_pull_requests ON hubstats_pull_requests.user_id = hubstats_users.id AND hubstats_pull_requests.closed_at > '2004-07-13' GROUP BY hubstats_users.id) AS pull_requests ON pull_requests.user_id = hubstats_users.id LEFT JOIN (SELECT hubstats_users.id as user_id, COUNT(DISTINCT hubstats_comments.id) AS comment_count FROM `hubstats_users` LEFT JOIN hubstats_comments ON hubstats_comments.user_id = hubstats_users.id AND hubstats_comments.created_at > '2004-07-13' GROUP BY hubstats_users.id) AS comments ON comments.user_id = hubstats_users.id GROUP BY hubstats_users.id HAVING comment_count > 0 OR pull_request_count > 0 ORDER BY (pull_request_count)*2 + (comment_count) DESC
|
2963957
|
+
[1m[36m (3.0ms)[0m [1mSELECT COUNT(*) FROM `hubstats_pull_requests` WHERE (closed_at > '2004-07-13')[0m
|
2963958
|
+
[1m[35m (9.2ms)[0m SELECT COUNT(*) FROM `hubstats_comments` WHERE (created_at > '2004-07-13')
|
2963959
|
+
[1m[36m (3.6ms)[0m [1mSELECT AVG(`hubstats_pull_requests`.`additions`) AS avg_id FROM `hubstats_pull_requests` WHERE (closed_at > '2004-07-13')[0m
|
2963960
|
+
[1m[35m (3.5ms)[0m SELECT AVG(`hubstats_pull_requests`.`deletions`) AS avg_id FROM `hubstats_pull_requests` WHERE (closed_at > '2004-07-13')
|
2963961
|
+
[1m[36m (3.9ms)[0m [1mSELECT SUM(`hubstats_pull_requests`.`additions`) AS sum_id FROM `hubstats_pull_requests` WHERE (closed_at > '2004-07-13')[0m
|
2963962
|
+
[1m[35m (3.4ms)[0m SELECT SUM(`hubstats_pull_requests`.`deletions`) AS sum_id FROM `hubstats_pull_requests` WHERE (closed_at > '2004-07-13')
|
2963963
|
+
Rendered /Users/elliothursh/Code/hubstats/app/views/hubstats/metrics/_quick_stats.html.erb (0.1ms)
|
2963964
|
+
[1m[36mHubstats::Repo Load (0.3ms)[0m [1mSELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE (updated_at > '2004-07-13') ORDER BY updated_at DESC LIMIT 20[0m
|
2963965
|
+
Rendered /Users/elliothursh/Code/hubstats/app/views/hubstats/metrics/_repos_table.html.erb (1.5ms)
|
2963966
|
+
[1m[35mHubstats::User Load (46.5ms)[0m SELECT hubstats_users.*, pull_request_count, comment_count FROM `hubstats_users` LEFT JOIN (SELECT hubstats_users.id as user_id, COUNT(DISTINCT hubstats_pull_requests.id) AS pull_request_count FROM `hubstats_users` LEFT JOIN hubstats_pull_requests ON hubstats_pull_requests.user_id = hubstats_users.id AND hubstats_pull_requests.closed_at > '2004-07-13' GROUP BY hubstats_users.id) AS pull_requests ON pull_requests.user_id = hubstats_users.id LEFT JOIN (SELECT hubstats_users.id as user_id, COUNT(DISTINCT hubstats_comments.id) AS comment_count FROM `hubstats_users` LEFT JOIN hubstats_comments ON hubstats_comments.user_id = hubstats_users.id AND hubstats_comments.created_at > '2004-07-13' GROUP BY hubstats_users.id) AS comments ON comments.user_id = hubstats_users.id GROUP BY hubstats_users.id HAVING comment_count > 0 OR pull_request_count > 0 ORDER BY (pull_request_count)*2 + (comment_count) DESC LIMIT 20
|
2963967
|
+
Rendered /Users/elliothursh/Code/hubstats/app/views/hubstats/metrics/_users_table.html.erb (79.9ms)
|
2963968
|
+
Rendered /Users/elliothursh/Code/hubstats/app/views/hubstats/repos/index.html.erb within layouts/hubstats/application (83.0ms)
|
2963969
|
+
Rendered /Users/elliothursh/Code/hubstats/app/views/hubstats/partials/_header.html.erb (0.2ms)
|
2963970
|
+
Completed 200 OK in 181.5ms (Views: 41.4ms | ActiveRecord: 130.6ms)
|
2963971
|
+
|
2963972
|
+
|
2963973
|
+
Started GET "/assets/hubstats/application.css?body=1" for 127.0.0.1 at 2014-07-01 17:39:34 -0500
|
2963974
|
+
Served asset /hubstats/application.css - 304 Not Modified (0ms)
|
2963975
|
+
|
2963976
|
+
|
2963977
|
+
Started GET "/assets/hubstats/repos.css?body=1" for 127.0.0.1 at 2014-07-01 17:39:34 -0500
|
2963978
|
+
Served asset /hubstats/repos.css - 304 Not Modified (0ms)
|
2963979
|
+
|
2963980
|
+
|
2963981
|
+
Started GET "/assets/hubstats/bootstrap.css?body=1" for 127.0.0.1 at 2014-07-01 17:39:34 -0500
|
2963982
|
+
Served asset /hubstats/bootstrap.css - 304 Not Modified (0ms)
|
2963983
|
+
|
2963984
|
+
|
2963985
|
+
Started GET "/assets/hubstats/events.css?body=1" for 127.0.0.1 at 2014-07-01 17:39:34 -0500
|
2963986
|
+
Served asset /hubstats/events.css - 304 Not Modified (0ms)
|
2963987
|
+
|
2963988
|
+
|
2963989
|
+
Started GET "/assets/hubstats/pull_requests.css?body=1" for 127.0.0.1 at 2014-07-01 17:39:34 -0500
|
2963990
|
+
Served asset /hubstats/pull_requests.css - 304 Not Modified (0ms)
|
2963991
|
+
|
2963992
|
+
|
2963993
|
+
Started GET "/assets/hubstats/users.css?body=1" for 127.0.0.1 at 2014-07-01 17:39:34 -0500
|
2963994
|
+
Served asset /hubstats/users.css - 304 Not Modified (0ms)
|
2963995
|
+
|
2963996
|
+
|
2963997
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-07-01 17:39:34 -0500
|
2963998
|
+
Served asset /jquery.js - 304 Not Modified (0ms)
|
2963999
|
+
|
2964000
|
+
|
2964001
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-07-01 17:39:34 -0500
|
2964002
|
+
Served asset /jquery_ujs.js - 304 Not Modified (0ms)
|
2964003
|
+
|
2964004
|
+
|
2964005
|
+
Started GET "/assets/hubstats/bootstrap.js?body=1" for 127.0.0.1 at 2014-07-01 17:39:34 -0500
|
2964006
|
+
Served asset /hubstats/bootstrap.js - 304 Not Modified (0ms)
|
2964007
|
+
|
2964008
|
+
|
2964009
|
+
Started GET "/assets/hubstats/bootstrap.min.js?body=1" for 127.0.0.1 at 2014-07-01 17:39:34 -0500
|
2964010
|
+
Served asset /hubstats/bootstrap.min.js - 304 Not Modified (0ms)
|
2964011
|
+
|
2964012
|
+
|
2964013
|
+
Started GET "/assets/hubstats/events.js?body=1" for 127.0.0.1 at 2014-07-01 17:39:34 -0500
|
2964014
|
+
Served asset /hubstats/events.js - 304 Not Modified (0ms)
|
2964015
|
+
|
2964016
|
+
|
2964017
|
+
Started GET "/assets/hubstats/pull_requests.js?body=1" for 127.0.0.1 at 2014-07-01 17:39:34 -0500
|
2964018
|
+
Served asset /hubstats/pull_requests.js - 304 Not Modified (0ms)
|
2964019
|
+
|
2964020
|
+
|
2964021
|
+
Started GET "/assets/hubstats/repos.js?body=1" for 127.0.0.1 at 2014-07-01 17:39:34 -0500
|
2964022
|
+
Served asset /hubstats/repos.js - 304 Not Modified (0ms)
|
2964023
|
+
|
2964024
|
+
|
2964025
|
+
Started GET "/assets/hubstats/users.js?body=1" for 127.0.0.1 at 2014-07-01 17:39:34 -0500
|
2964026
|
+
Served asset /hubstats/users.js - 304 Not Modified (0ms)
|
2964027
|
+
|
2964028
|
+
|
2964029
|
+
Started GET "/assets/hubstats/application.js?body=1" for 127.0.0.1 at 2014-07-01 17:39:34 -0500
|
2964030
|
+
Served asset /hubstats/application.js - 304 Not Modified (0ms)
|
2964031
|
+
Connecting to database specified by database.yml
|
2964032
|
+
[1m[36m (35.2ms)[0m [1mDROP DATABASE IF EXISTS `hubstats_development`[0m
|
2964033
|
+
[1m[35m (0.3ms)[0m DROP DATABASE IF EXISTS `hubstats_test`
|
2964034
|
+
Connecting to database specified by database.yml
|
2964035
|
+
Connecting to database specified by database.yml
|
2964036
|
+
[1m[36m (82.7ms)[0m [1mCREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB[0m
|
2964037
|
+
[1m[35m (189.7ms)[0m CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)
|
2964038
|
+
[1m[36m (1.9ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations` [0m
|
2964039
|
+
Mysql2::Error: Table 'hubstats_development.hubstats_repos' doesn't exist: SHOW FULL FIELDS FROM `hubstats_repos`
|
2964040
|
+
Connecting to database specified by database.yml
|
2964041
|
+
[1m[36m (1.8ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations` [0m
|
2964042
|
+
Connecting to database specified by database.yml
|
2964043
|
+
[1m[36m (81.4ms)[0m [1mCREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB[0m
|
2964044
|
+
[1m[35m (127.5ms)[0m CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)
|
2964045
|
+
[1m[36m (1.6ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations` [0m
|
2964046
|
+
Migrating to CreateHubstatsPullRequests (20140702142614)
|
2964047
|
+
[1m[35m (112.4ms)[0m CREATE TABLE `hubstats_pull_requests` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `url` varchar(255), `html_url` varchar(255), `diff_url` varchar(255), `patch_url` varchar(255), `issue_url` varchar(255), `commits_url` varchar(255), `review_comments_url` varchar(255), `review_comment_url` varchar(255), `comments_url` varchar(255), `statuses_url` varchar(255), `number` int(11), `state` varchar(255), `title` varchar(255), `body` varchar(255), `created_at` varchar(255) NOT NULL, `updated_at` varchar(255) NOT NULL, `closed_at` varchar(255), `merged_at` varchar(255), `merge_commit_sha` varchar(255), `merged` varchar(255), `mergeable` varchar(255), `comments` int(11), `commits` int(11), `additions` int(11), `deletions` int(11), `changed_files` int(11), `user_id` int(11), `repo_id` int(11)) ENGINE=InnoDB
|
2964048
|
+
[1m[36m (134.0ms)[0m [1mCREATE INDEX `index_hubstats_pull_requests_on_user_id` ON `hubstats_pull_requests` (`user_id`)[0m
|
2964049
|
+
[1m[35m (112.7ms)[0m CREATE INDEX `index_hubstats_pull_requests_on_repo_id` ON `hubstats_pull_requests` (`repo_id`)
|
2964050
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('20140702142614')[0m
|
2964051
|
+
Migrating to CreateHubstatsUsers (20140702142615)
|
2964052
|
+
[1m[35m (138.3ms)[0m CREATE TABLE `hubstats_users` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `login` varchar(255), `avatar_url` varchar(255), `gravatar_id` varchar(255), `url` varchar(255), `html_url` varchar(255), `followers_url` varchar(255), `following_url` varchar(255), `gists_url` varchar(255), `starred_url` varchar(255), `subscriptions_url` varchar(255), `organizations_url` varchar(255), `repos_url` varchar(255), `events_url` varchar(255), `received_events_url` varchar(255), `role` varchar(255), `site_admin` tinyint(1), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
|
2964053
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('20140702142615')[0m
|
2964054
|
+
Migrating to CreateHubstatsComments (20140702142616)
|
2964055
|
+
[1m[35m (141.0ms)[0m CREATE TABLE `hubstats_comments` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `html_url` varchar(255), `url` varchar(255), `pull_request_url` varchar(255), `diff_hunk` varchar(255), `path` int(11), `position` int(11), `original_position` varchar(255), `line` varchar(255), `commit_id` varchar(255), `original_commit_id` varchar(255), `body` varchar(255), `kind` varchar(255), `user_id` int(11), `pull_request_id` int(11), `repo_id` int(11), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
|
2964056
|
+
[1m[36m (113.3ms)[0m [1mCREATE INDEX `index_hubstats_comments_on_user_id` ON `hubstats_comments` (`user_id`)[0m
|
2964057
|
+
[1m[35m (112.1ms)[0m CREATE INDEX `index_hubstats_comments_on_pull_request_id` ON `hubstats_comments` (`pull_request_id`)
|
2964058
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('20140702142616')[0m
|
2964059
|
+
Migrating to CreateHubstatsRepos (20140702142617)
|
2964060
|
+
[1m[35m (120.0ms)[0m CREATE TABLE `hubstats_repos` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255), `full_name` varchar(255), `homepage` varchar(255), `language` varchar(255), `description` varchar(255), `default_branch` varchar(255), `url` varchar(255), `html_url` varchar(255), `clone_url` varchar(255), `git_url` varchar(255), `ssh_url` varchar(255), `svn_url` varchar(255), `mirror_url` varchar(255), `hooks_url` varchar(255), `issue_events_url` varchar(255), `events_url` varchar(255), `contributors_url` varchar(255), `git_commits_url` varchar(255), `issue_comment_url` varchar(255), `merges_url` varchar(255), `issues_url` varchar(255), `pulls_url` varchar(255), `labels_url` varchar(255), `forks_count` int(11), `stargazers_count` int(11), `watches_count` int(11), `size` int(11), `open_issues_count` int(11), `has_issues` tinyint(1), `has_wiki` tinyint(1), `has_downloads` tinyint(1), `private` tinyint(1), `fork` tinyint(1), `pushed_at` datetime, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL, `owner_id` int(11)) ENGINE=InnoDB
|
2964061
|
+
[1m[36m (136.3ms)[0m [1mCREATE INDEX `index_hubstats_repos_on_owner_id` ON `hubstats_repos` (`owner_id`)[0m
|
2964062
|
+
[1m[35m (0.8ms)[0m INSERT INTO `schema_migrations` (`version`) VALUES ('20140702142617')
|
2964063
|
+
[1m[36m (0.2ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations` [0m
|
2964064
|
+
[1m[35mHubstats::User Load (0.3ms)[0m SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1
|
2964065
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2964066
|
+
[1m[35mHubstats::User Exists (0.3ms)[0m SELECT 1 AS one FROM `hubstats_users` WHERE `hubstats_users`.`id` = BINARY 3728684 LIMIT 1
|
2964067
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO `hubstats_users` (`avatar_url`, `created_at`, `events_url`, `followers_url`, `following_url`, `gists_url`, `gravatar_id`, `html_url`, `id`, `login`, `organizations_url`, `received_events_url`, `repos_url`, `role`, `site_admin`, `starred_url`, `subscriptions_url`, `updated_at`, `url`) VALUES ('https://avatars.githubusercontent.com/u/3728684?', '2014-07-02 14:26:45', 'https://api.github.com/users/sportngin/events{/privacy}', 'https://api.github.com/users/sportngin/followers', 'https://api.github.com/users/sportngin/following{/other_user}', 'https://api.github.com/users/sportngin/gists{/gist_id}', '7ea1840324741122e771fe7e3f6fe9bd', 'https://github.com/sportngin', 3728684, 'sportngin', 'https://api.github.com/users/sportngin/orgs', 'https://api.github.com/users/sportngin/received_events', 'https://api.github.com/users/sportngin/repos', NULL, 0, 'https://api.github.com/users/sportngin/starred{/owner}{/repo}', 'https://api.github.com/users/sportngin/subscriptions', '2014-07-02 14:26:45', 'https://api.github.com/users/sportngin')[0m
|
2964068
|
+
[1m[35m (0.5ms)[0m COMMIT
|
2964069
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2964070
|
+
[1m[35mHubstats::User Exists (0.2ms)[0m SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1
|
2964071
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2964072
|
+
[1m[35mHubstats::Repo Load (0.2ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1
|
2964073
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2964074
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `hubstats_repos` (`clone_url`, `contributors_url`, `created_at`, `default_branch`, `description`, `events_url`, `fork`, `forks_count`, `full_name`, `git_commits_url`, `git_url`, `has_downloads`, `has_issues`, `has_wiki`, `homepage`, `hooks_url`, `html_url`, `id`, `issue_comment_url`, `issue_events_url`, `issues_url`, `labels_url`, `language`, `merges_url`, `mirror_url`, `name`, `open_issues_count`, `owner_id`, `private`, `pulls_url`, `pushed_at`, `size`, `ssh_url`, `stargazers_count`, `svn_url`, `updated_at`, `url`, `watches_count`) VALUES ('https://github.com/sportngin/hubstats.git', 'https://api.github.com/repos/sportngin/hubstats/contributors', '2014-05-27 18:41:53', 'master', 'Gamification of Github', 'https://api.github.com/repos/sportngin/hubstats/events', 0, 0, 'sportngin/hubstats', 'https://api.github.com/repos/sportngin/hubstats/git/commits{/sha}', 'git://github.com/sportngin/hubstats.git', 1, 1, 1, NULL, 'https://api.github.com/repos/sportngin/hubstats/hooks', 'https://github.com/sportngin/hubstats', 20231003, 'https://api.github.com/repos/sportngin/hubstats/issues/comments/{number}', 'https://api.github.com/repos/sportngin/hubstats/issues/events{/number}', 'https://api.github.com/repos/sportngin/hubstats/issues{/number}', 'https://api.github.com/repos/sportngin/hubstats/labels{/name}', 'Ruby', 'https://api.github.com/repos/sportngin/hubstats/merges', NULL, 'hubstats', 1, 3728684, 0, 'https://api.github.com/repos/sportngin/hubstats/pulls{/number}', '2014-07-01 22:10:28', 1248, 'git@github.com:sportngin/hubstats.git', 0, 'https://github.com/sportngin/hubstats', '2014-06-26 20:58:33', 'https://api.github.com/repos/sportngin/hubstats', NULL)
|
2964075
|
+
[1m[36m (0.6ms)[0m [1mCOMMIT[0m
|
2964076
|
+
[1m[35m (0.2ms)[0m BEGIN
|
2964077
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2964078
|
+
[1m[35mHubstats::User Load (0.3ms)[0m SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
|
2964079
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2964080
|
+
[1m[35mHubstats::User Exists (0.2ms)[0m SELECT 1 AS one FROM `hubstats_users` WHERE `hubstats_users`.`id` = BINARY 2453875 LIMIT 1
|
2964081
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `hubstats_users` (`avatar_url`, `created_at`, `events_url`, `followers_url`, `following_url`, `gists_url`, `gravatar_id`, `html_url`, `id`, `login`, `organizations_url`, `received_events_url`, `repos_url`, `role`, `site_admin`, `starred_url`, `subscriptions_url`, `updated_at`, `url`) VALUES ('https://avatars.githubusercontent.com/u/2453875?', '2014-07-02 14:26:46', 'https://api.github.com/users/elliothursh/events{/privacy}', 'https://api.github.com/users/elliothursh/followers', 'https://api.github.com/users/elliothursh/following{/other_user}', 'https://api.github.com/users/elliothursh/gists{/gist_id}', '9216098977456848b3c792465f604452', 'https://github.com/elliothursh', 2453875, 'elliothursh', 'https://api.github.com/users/elliothursh/orgs', 'https://api.github.com/users/elliothursh/received_events', 'https://api.github.com/users/elliothursh/repos', NULL, 0, 'https://api.github.com/users/elliothursh/starred{/owner}{/repo}', 'https://api.github.com/users/elliothursh/subscriptions', '2014-07-02 14:26:46', 'https://api.github.com/users/elliothursh')[0m
|
2964082
|
+
[1m[35m (0.7ms)[0m COMMIT
|
2964083
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2964084
|
+
[1m[35mHubstats::User Exists (0.3ms)[0m SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
|
2964085
|
+
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
2964086
|
+
[1m[35mHubstats::User Load (0.2ms)[0m SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1
|
2964087
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2964088
|
+
[1m[35mHubstats::User Exists (0.2ms)[0m SELECT 1 AS one FROM `hubstats_users` WHERE `hubstats_users`.`id` = BINARY 174227 LIMIT 1
|
2964089
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `hubstats_users` (`avatar_url`, `created_at`, `events_url`, `followers_url`, `following_url`, `gists_url`, `gravatar_id`, `html_url`, `id`, `login`, `organizations_url`, `received_events_url`, `repos_url`, `role`, `site_admin`, `starred_url`, `subscriptions_url`, `updated_at`, `url`) VALUES ('https://avatars.githubusercontent.com/u/174227?', '2014-07-02 14:26:46', 'https://api.github.com/users/ehlertij/events{/privacy}', 'https://api.github.com/users/ehlertij/followers', 'https://api.github.com/users/ehlertij/following{/other_user}', 'https://api.github.com/users/ehlertij/gists{/gist_id}', '11c1fcb84ab1fdf769cbc3f7c8466528', 'https://github.com/ehlertij', 174227, 'ehlertij', 'https://api.github.com/users/ehlertij/orgs', 'https://api.github.com/users/ehlertij/received_events', 'https://api.github.com/users/ehlertij/repos', NULL, 0, 'https://api.github.com/users/ehlertij/starred{/owner}{/repo}', 'https://api.github.com/users/ehlertij/subscriptions', '2014-07-02 14:26:46', 'https://api.github.com/users/ehlertij')[0m
|
2964090
|
+
[1m[35m (0.5ms)[0m COMMIT
|
2964091
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2964092
|
+
[1m[35mHubstats::User Exists (0.2ms)[0m SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1
|
2964093
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2964094
|
+
[1m[35mHubstats::Repo Load (0.2ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
|
2964095
|
+
[1m[36mHubstats::User Load (0.3ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1[0m
|
2964096
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2964097
|
+
[1m[36mHubstats::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1[0m
|
2964098
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2964099
|
+
[1m[36mHubstats::User Load (0.2ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1[0m
|
2964100
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2964101
|
+
[1m[36mHubstats::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1[0m
|
2964102
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2964103
|
+
[1m[36mHubstats::Repo Load (0.2ms)[0m [1mSELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1[0m
|
2964104
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2964105
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2964106
|
+
[1m[35mHubstats::PullRequest Load (0.3ms)[0m SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 17849812 LIMIT 1
|
2964107
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2964108
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO `hubstats_pull_requests` (`additions`, `body`, `changed_files`, `closed_at`, `comments`, `comments_url`, `commits`, `commits_url`, `created_at`, `deletions`, `diff_url`, `html_url`, `id`, `issue_url`, `merge_commit_sha`, `mergeable`, `merged`, `merged_at`, `number`, `patch_url`, `repo_id`, `review_comment_url`, `review_comments_url`, `state`, `statuses_url`, `title`, `updated_at`, `url`, `user_id`) VALUES (NULL, '## Description and Impact\r\nNo Real Impact, just adds some more stats for things\r\n\r\n## Deploy Plan\r\n> Does Infrastructure need to know anything special about this deploy?\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## URLs\r\n> Links to bug tickets or user stories.\r\n\r\n## QA Plan\r\n> Fill in scenarios below. Review [QA Best Practices](https://source.sportngin.com/page/show/1227795-qa-best-practices).\r\n\r\n#### Risk Level:\r\n- [X] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\nCheck it out.\r\n', NULL, '2014-07-01 21:02:54', NULL, 'https://api.github.com/repos/sportngin/hubstats/issues/17/comments', NULL, 'https://api.github.com/repos/sportngin/hubstats/pulls/17/commits', '2014-07-01 19:22:25', NULL, 'https://github.com/sportngin/hubstats/pull/17.diff', 'https://github.com/sportngin/hubstats/pull/17', 17849812, 'https://api.github.com/repos/sportngin/hubstats/issues/17', '4e503a53a50d2ed25f5fedb1af86d4227b405e3c', NULL, NULL, '2014-07-01 21:02:54', 17, 'https://github.com/sportngin/hubstats/pull/17.patch', 20231003, 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/{number}', 'https://api.github.com/repos/sportngin/hubstats/pulls/17/comments', 'closed', 'https://api.github.com/repos/sportngin/hubstats/statuses/c766e7743c8e0e1105e1191f29e06a50aff6c1ab', 'Average Size of Pulls', '2014-07-01 21:02:54', 'https://api.github.com/repos/sportngin/hubstats/pulls/17', 2453875)
|
2964109
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2964110
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2964111
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2964112
|
+
[1m[35mHubstats::User Load (0.3ms)[0m SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
|
2964113
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2964114
|
+
[1m[35mHubstats::User Exists (0.2ms)[0m SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
|
2964115
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2964116
|
+
[1m[35mHubstats::User Load (0.2ms)[0m SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1
|
2964117
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2964118
|
+
[1m[35mHubstats::User Exists (0.2ms)[0m SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1
|
2964119
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2964120
|
+
[1m[35mHubstats::Repo Load (0.2ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1
|
2964121
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2964122
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2964123
|
+
[1m[36mHubstats::PullRequest Load (0.2ms)[0m [1mSELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 17837873 LIMIT 1[0m
|
2964124
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2964125
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `hubstats_pull_requests` (`additions`, `body`, `changed_files`, `closed_at`, `comments`, `comments_url`, `commits`, `commits_url`, `created_at`, `deletions`, `diff_url`, `html_url`, `id`, `issue_url`, `merge_commit_sha`, `mergeable`, `merged`, `merged_at`, `number`, `patch_url`, `repo_id`, `review_comment_url`, `review_comments_url`, `state`, `statuses_url`, `title`, `updated_at`, `url`, `user_id`) VALUES (NULL, '## Description and Impact\r\n> What impact does this change have for production?\r\n\r\n## Deploy Plan\r\n> Does Infrastructure need to know anything special about this deploy?\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## URLs\r\n> Links to bug tickets or user stories.\r\n\r\n## QA Plan\r\n> Fill in scenarios below. Review [QA Best Practices](https://source.sportngin.com/page/show/1227795-qa-best-practices).\r\n\r\n#### Risk Level:\r\n- [x] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\n#### Happy Path Scenarios\r\n* Happy Path scenario 1\r\n* Happy Path scenario 2\r\n\r\n#### Additional Scenarios (Edge Case, Negative, etc.)\r\n* Edge case scenario 1\r\n* Edge case scenario 2\r\n\r\n#### Regression Scenarios\r\n* Regression item on related feature 1\r\n* Regression item on related feature 2\r\n', NULL, '2014-07-01 21:02:33', NULL, 'https://api.github.com/repos/sportngin/hubstats/issues/16/comments', NULL, 'https://api.github.com/repos/sportngin/hubstats/pulls/16/commits', '2014-07-01 15:40:39', NULL, 'https://github.com/sportngin/hubstats/pull/16.diff', 'https://github.com/sportngin/hubstats/pull/16', 17837873, 'https://api.github.com/repos/sportngin/hubstats/issues/16', 'abc9d81a5e240d9da9755ee4c85a4f73b2bf6961', NULL, NULL, '2014-07-01 21:02:33', 16, 'https://github.com/sportngin/hubstats/pull/16.patch', 20231003, 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/{number}', 'https://api.github.com/repos/sportngin/hubstats/pulls/16/comments', 'closed', 'https://api.github.com/repos/sportngin/hubstats/statuses/d2b4ffcbfb8d06a86fc07ad86e3ffd7739b32afa', 'Inline Processing', '2014-07-01 21:02:33', 'https://api.github.com/repos/sportngin/hubstats/pulls/16', 2453875)[0m
|
2964126
|
+
[1m[35m (0.4ms)[0m COMMIT
|
2964127
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2964128
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2964129
|
+
[1m[36mHubstats::User Load (0.2ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1[0m
|
2964130
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2964131
|
+
[1m[36mHubstats::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1[0m
|
2964132
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2964133
|
+
[1m[36mHubstats::User Load (0.2ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1[0m
|
2964134
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2964135
|
+
[1m[36mHubstats::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1[0m
|
2964136
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2964137
|
+
[1m[36mHubstats::Repo Load (0.2ms)[0m [1mSELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1[0m
|
2964138
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2964139
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2964140
|
+
[1m[35mHubstats::PullRequest Load (0.2ms)[0m SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 17784161 LIMIT 1
|
2964141
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2964142
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `hubstats_pull_requests` (`additions`, `body`, `changed_files`, `closed_at`, `comments`, `comments_url`, `commits`, `commits_url`, `created_at`, `deletions`, `diff_url`, `html_url`, `id`, `issue_url`, `merge_commit_sha`, `mergeable`, `merged`, `merged_at`, `number`, `patch_url`, `repo_id`, `review_comment_url`, `review_comments_url`, `state`, `statuses_url`, `title`, `updated_at`, `url`, `user_id`) VALUES (NULL, '## Description and Impact\r\nMakes it waaaaaay faster to load, and set the cookie on initial load.\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## URLs\r\n> Links to bug tickets or user stories.\r\n\r\n## QA Plan\r\n> Fill in scenarios below. Review [QA Best Practices](https://source.sportngin.com/page/show/1227795-qa-best-practices).\r\n\r\n#### Risk Level:\r\n- [X] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\n#### Happy Path Scenarios\r\n', NULL, '2014-07-01 15:34:53', NULL, 'https://api.github.com/repos/sportngin/hubstats/issues/15/comments', NULL, 'https://api.github.com/repos/sportngin/hubstats/pulls/15/commits', '2014-06-30 16:48:13', NULL, 'https://github.com/sportngin/hubstats/pull/15.diff', 'https://github.com/sportngin/hubstats/pull/15', 17784161, 'https://api.github.com/repos/sportngin/hubstats/issues/15', '723c5ac49564c71b23e7a35bacfbd9ee6866159e', NULL, NULL, '2014-07-01 15:34:53', 15, 'https://github.com/sportngin/hubstats/pull/15.patch', 20231003, 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/{number}', 'https://api.github.com/repos/sportngin/hubstats/pulls/15/comments', 'closed', 'https://api.github.com/repos/sportngin/hubstats/statuses/8f12c1de442d0be63e00845204309608a76e103e', 'Fixed Query and Cookie issue', '2014-07-01 15:34:53', 'https://api.github.com/repos/sportngin/hubstats/pulls/15', 2453875)
|
2964143
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2964144
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2964145
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2964146
|
+
[1m[35mHubstats::User Load (0.2ms)[0m SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
|
2964147
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2964148
|
+
[1m[35mHubstats::User Exists (0.1ms)[0m SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
|
2964149
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2964150
|
+
[1m[35mHubstats::User Load (0.2ms)[0m SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1
|
2964151
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2964152
|
+
[1m[35mHubstats::User Exists (0.1ms)[0m SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1
|
2964153
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2964154
|
+
[1m[35mHubstats::Repo Load (0.2ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1
|
2964155
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2964156
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2964157
|
+
[1m[36mHubstats::PullRequest Load (0.1ms)[0m [1mSELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 17536385 LIMIT 1[0m
|
2964158
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2964159
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `hubstats_pull_requests` (`additions`, `body`, `changed_files`, `closed_at`, `comments`, `comments_url`, `commits`, `commits_url`, `created_at`, `deletions`, `diff_url`, `html_url`, `id`, `issue_url`, `merge_commit_sha`, `mergeable`, `merged`, `merged_at`, `number`, `patch_url`, `repo_id`, `review_comment_url`, `review_comments_url`, `state`, `statuses_url`, `title`, `updated_at`, `url`, `user_id`) VALUES (NULL, '## Description and Impact\r\nFixes/updates gem and installation process.\r\n\r\n## Deploy Plan\r\n> Does Infrastructure need to know anything special about this deploy?\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## URLs\r\n> Links to bug tickets or user stories.\r\n\r\n## QA Plan\r\n> Fill in scenarios below. Review [QA Best Practices](https://source.sportngin.com/page/show/1227795-qa-best-practices).\r\n\r\n#### Risk Level:\r\n- [X] Low\r\n- [ ] Medium\r\n- [ ] High\r\n', NULL, '2014-06-24 15:25:35', NULL, 'https://api.github.com/repos/sportngin/hubstats/issues/14/comments', NULL, 'https://api.github.com/repos/sportngin/hubstats/pulls/14/commits', '2014-06-24 14:54:34', NULL, 'https://github.com/sportngin/hubstats/pull/14.diff', 'https://github.com/sportngin/hubstats/pull/14', 17536385, 'https://api.github.com/repos/sportngin/hubstats/issues/14', '44882f9c7b4d96e98494eb9ae91b99256a07d284', NULL, NULL, '2014-06-24 15:25:35', 14, 'https://github.com/sportngin/hubstats/pull/14.patch', 20231003, 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/{number}', 'https://api.github.com/repos/sportngin/hubstats/pulls/14/comments', 'closed', 'https://api.github.com/repos/sportngin/hubstats/statuses/e09564a139d7e39dfb52e9a2d4d6cc78168545eb', 'Fixing Gem', '2014-06-24 22:12:17', 'https://api.github.com/repos/sportngin/hubstats/pulls/14', 2453875)[0m
|
2964160
|
+
[1m[35m (0.4ms)[0m COMMIT
|
2964161
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2964162
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2964163
|
+
[1m[36mHubstats::User Load (0.2ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1[0m
|
2964164
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2964165
|
+
[1m[36mHubstats::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1[0m
|
2964166
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2964167
|
+
[1m[36mHubstats::User Load (0.1ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1[0m
|
2964168
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2964169
|
+
[1m[36mHubstats::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1[0m
|
2964170
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2964171
|
+
[1m[36mHubstats::Repo Load (0.2ms)[0m [1mSELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1[0m
|
2964172
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2964173
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2964174
|
+
[1m[35mHubstats::PullRequest Load (0.2ms)[0m SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 17479705 LIMIT 1
|
2964175
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2964176
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO `hubstats_pull_requests` (`additions`, `body`, `changed_files`, `closed_at`, `comments`, `comments_url`, `commits`, `commits_url`, `created_at`, `deletions`, `diff_url`, `html_url`, `id`, `issue_url`, `merge_commit_sha`, `mergeable`, `merged`, `merged_at`, `number`, `patch_url`, `repo_id`, `review_comment_url`, `review_comments_url`, `state`, `statuses_url`, `title`, `updated_at`, `url`, `user_id`) VALUES (NULL, '## Description and Impact\r\nHandles event triggering for repo closings and openings.\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## URLs\r\n> Links to bug tickets or user stories.\r\n\r\n## QA Plan\r\n> Fill in scenarios below. Review [QA Best Practices](https://source.sportngin.com/page/show/1227795-qa-best-practices).\r\n\r\n#### Risk Level:\r\n- [X] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\n\r\n', NULL, '2014-06-23 21:54:29', NULL, 'https://api.github.com/repos/sportngin/hubstats/issues/13/comments', NULL, 'https://api.github.com/repos/sportngin/hubstats/pulls/13/commits', '2014-06-23 15:11:37', NULL, 'https://github.com/sportngin/hubstats/pull/13.diff', 'https://github.com/sportngin/hubstats/pull/13', 17479705, 'https://api.github.com/repos/sportngin/hubstats/issues/13', 'c5272f92864168941db4922c32c946c85bc12813', NULL, NULL, '2014-06-23 21:54:29', 13, 'https://github.com/sportngin/hubstats/pull/13.patch', 20231003, 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/{number}', 'https://api.github.com/repos/sportngin/hubstats/pulls/13/comments', 'closed', 'https://api.github.com/repos/sportngin/hubstats/statuses/d9ddb73ca075c540b4b55eea2af203442735053f', 'Added pulls to event triggering', '2014-06-24 22:12:18', 'https://api.github.com/repos/sportngin/hubstats/pulls/13', 2453875)
|
2964177
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2964178
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2964179
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2964180
|
+
[1m[35mHubstats::User Load (0.2ms)[0m SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
|
2964181
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2964182
|
+
[1m[35mHubstats::User Exists (0.2ms)[0m SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
|
2964183
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2964184
|
+
[1m[35mHubstats::User Load (0.2ms)[0m SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1
|
2964185
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2964186
|
+
[1m[35mHubstats::User Exists (0.2ms)[0m SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1
|
2964187
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2964188
|
+
[1m[35mHubstats::Repo Load (0.2ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1
|
2964189
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2964190
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2964191
|
+
[1m[36mHubstats::PullRequest Load (0.2ms)[0m [1mSELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 17423995 LIMIT 1[0m
|
2964192
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2964193
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO `hubstats_pull_requests` (`additions`, `body`, `changed_files`, `closed_at`, `comments`, `comments_url`, `commits`, `commits_url`, `created_at`, `deletions`, `diff_url`, `html_url`, `id`, `issue_url`, `merge_commit_sha`, `mergeable`, `merged`, `merged_at`, `number`, `patch_url`, `repo_id`, `review_comment_url`, `review_comments_url`, `state`, `statuses_url`, `title`, `updated_at`, `url`, `user_id`) VALUES (NULL, '## Description and Impact\r\nIt gets comments from github now on creation....\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## URLs\r\n> Links to bug tickets or user stories.\r\n\r\n## QA Plan\r\n> Fill in scenarios below. Review [QA Best Practices](https://source.sportngin.com/page/show/1227795-qa-best-practices).\r\n\r\n#### Risk Level:\r\n- [x] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\nmake a comment, checkout the repo/pull and see the comment on refresh', NULL, '2014-06-20 21:44:59', NULL, 'https://api.github.com/repos/sportngin/hubstats/issues/12/comments', NULL, 'https://api.github.com/repos/sportngin/hubstats/pulls/12/commits', '2014-06-20 19:40:44', NULL, 'https://github.com/sportngin/hubstats/pull/12.diff', 'https://github.com/sportngin/hubstats/pull/12', 17423995, 'https://api.github.com/repos/sportngin/hubstats/issues/12', 'cbc5655267ee9bdd5d9130bfc3c8f30e4d9b0a8b', NULL, NULL, '2014-06-20 21:44:59', 12, 'https://github.com/sportngin/hubstats/pull/12.patch', 20231003, 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/{number}', 'https://api.github.com/repos/sportngin/hubstats/pulls/12/comments', 'closed', 'https://api.github.com/repos/sportngin/hubstats/statuses/f2076829d409206eca85692632770020d341bf1e', 'Talking to github', '2014-06-24 22:13:28', 'https://api.github.com/repos/sportngin/hubstats/pulls/12', 2453875)[0m
|
2964194
|
+
[1m[35m (0.4ms)[0m COMMIT
|
2964195
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2964196
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2964197
|
+
[1m[36mHubstats::User Load (0.2ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1[0m
|
2964198
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2964199
|
+
[1m[36mHubstats::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1[0m
|
2964200
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2964201
|
+
[1m[36mHubstats::User Load (0.2ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1[0m
|
2964202
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2964203
|
+
[1m[36mHubstats::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1[0m
|
2964204
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2964205
|
+
[1m[36mHubstats::Repo Load (0.2ms)[0m [1mSELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1[0m
|
2964206
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2964207
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2964208
|
+
[1m[35mHubstats::PullRequest Load (0.2ms)[0m SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 17414868 LIMIT 1
|
2964209
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2964210
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `hubstats_pull_requests` (`additions`, `body`, `changed_files`, `closed_at`, `comments`, `comments_url`, `commits`, `commits_url`, `created_at`, `deletions`, `diff_url`, `html_url`, `id`, `issue_url`, `merge_commit_sha`, `mergeable`, `merged`, `merged_at`, `number`, `patch_url`, `repo_id`, `review_comment_url`, `review_comments_url`, `state`, `statuses_url`, `title`, `updated_at`, `url`, `user_id`) VALUES (NULL, '## Description and Impact\r\nFixes the rake task that I broke with the last pull request\r\n\r\n## Deploy Plan\r\nNope\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## URLs\r\n> Links to bug tickets or user stories.\r\n\r\n## QA Plan\r\n> Fill in scenarios below. Review [QA Best Practices](https://source.sportngin.com/page/show/1227795-qa-best-practices).\r\n\r\n#### Risk Level:\r\n- [X] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\nfixed rake task....', NULL, '2014-06-20 21:32:17', NULL, 'https://api.github.com/repos/sportngin/hubstats/issues/11/comments', NULL, 'https://api.github.com/repos/sportngin/hubstats/pulls/11/commits', '2014-06-20 16:29:51', NULL, 'https://github.com/sportngin/hubstats/pull/11.diff', 'https://github.com/sportngin/hubstats/pull/11', 17414868, 'https://api.github.com/repos/sportngin/hubstats/issues/11', 'f3bb95e30a22489326cb7a732bad499fe902a12f', NULL, NULL, '2014-06-20 21:32:17', 11, 'https://github.com/sportngin/hubstats/pull/11.patch', 20231003, 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/{number}', 'https://api.github.com/repos/sportngin/hubstats/pulls/11/comments', 'closed', 'https://api.github.com/repos/sportngin/hubstats/statuses/91da2bb996fec490e2a02632e845dd3a384c33d4', 'Updated comment creation in rake..', '2014-06-20 21:34:15', 'https://api.github.com/repos/sportngin/hubstats/pulls/11', 2453875)
|
2964211
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2964212
|
+
[1m[35m (0.0ms)[0m BEGIN
|
2964213
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2964214
|
+
[1m[35mHubstats::User Load (0.2ms)[0m SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
|
2964215
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2964216
|
+
[1m[35mHubstats::User Exists (0.2ms)[0m SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
|
2964217
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2964218
|
+
[1m[35mHubstats::User Load (0.2ms)[0m SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1
|
2964219
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2964220
|
+
[1m[35mHubstats::User Exists (0.1ms)[0m SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1
|
2964221
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2964222
|
+
[1m[35mHubstats::Repo Load (0.2ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1
|
2964223
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2964224
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2964225
|
+
[1m[36mHubstats::PullRequest Load (0.1ms)[0m [1mSELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 17407567 LIMIT 1[0m
|
2964226
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2964227
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `hubstats_pull_requests` (`additions`, `body`, `changed_files`, `closed_at`, `comments`, `comments_url`, `commits`, `commits_url`, `created_at`, `deletions`, `diff_url`, `html_url`, `id`, `issue_url`, `merge_commit_sha`, `mergeable`, `merged`, `merged_at`, `number`, `patch_url`, `repo_id`, `review_comment_url`, `review_comments_url`, `state`, `statuses_url`, `title`, `updated_at`, `url`, `user_id`) VALUES (NULL, '## Description and Impact\r\nStarted the process of using Event Hooks,\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## QA Plan\r\n> Fill in scenarios below. Review [QA Best Practices](https://source.sportngin.com/page/show/1227795-qa-best-practices).\r\n\r\n#### Risk Level:\r\n- [X] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\nJust check to see how the code is looking....\r\n', NULL, '2014-06-20 14:52:30', NULL, 'https://api.github.com/repos/sportngin/hubstats/issues/10/comments', NULL, 'https://api.github.com/repos/sportngin/hubstats/pulls/10/commits', '2014-06-20 14:17:28', NULL, 'https://github.com/sportngin/hubstats/pull/10.diff', 'https://github.com/sportngin/hubstats/pull/10', 17407567, 'https://api.github.com/repos/sportngin/hubstats/issues/10', '83e60882fa932cb4f50f6211ecb0894ea6b7e56a', NULL, NULL, '2014-06-20 14:52:30', 10, 'https://github.com/sportngin/hubstats/pull/10.patch', 20231003, 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/{number}', 'https://api.github.com/repos/sportngin/hubstats/pulls/10/comments', 'closed', 'https://api.github.com/repos/sportngin/hubstats/statuses/f583fd44fbb2c95e514e0fbd3937fb7840e80bec', 'Started Event Handler', '2014-06-20 19:58:22', 'https://api.github.com/repos/sportngin/hubstats/pulls/10', 2453875)[0m
|
2964228
|
+
[1m[35m (0.4ms)[0m COMMIT
|
2964229
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
2964230
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2964231
|
+
[1m[36mHubstats::User Load (0.2ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1[0m
|
2964232
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2964233
|
+
[1m[36mHubstats::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1[0m
|
2964234
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2964235
|
+
[1m[36mHubstats::User Load (0.2ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1[0m
|
2964236
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2964237
|
+
[1m[36mHubstats::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1[0m
|
2964238
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2964239
|
+
[1m[36mHubstats::Repo Load (0.2ms)[0m [1mSELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1[0m
|
2964240
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2964241
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2964242
|
+
[1m[35mHubstats::PullRequest Load (0.1ms)[0m SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 17313123 LIMIT 1
|
2964243
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2964244
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `hubstats_pull_requests` (`additions`, `body`, `changed_files`, `closed_at`, `comments`, `comments_url`, `commits`, `commits_url`, `created_at`, `deletions`, `diff_url`, `html_url`, `id`, `issue_url`, `merge_commit_sha`, `mergeable`, `merged`, `merged_at`, `number`, `patch_url`, `repo_id`, `review_comment_url`, `review_comments_url`, `state`, `statuses_url`, `title`, `updated_at`, `url`, `user_id`) VALUES (NULL, '## Description and Impact\r\nAdds the number of comments a user has reviewed to the \"User Show\" page\r\n\r\n## Deploy Plan\r\nNo worries.\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## QA Plan\r\nSmall feature addition, just check that users have reviewed comments\r\n#### Risk Level:\r\n- [x] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\n#### Happy Path Scenarios\r\nCheckout a user, make sure they have pulls reviewed. If elliothursh is a user in your database, make sure he has 0 pulls.', NULL, '2014-06-19 18:17:52', NULL, 'https://api.github.com/repos/sportngin/hubstats/issues/9/comments', NULL, 'https://api.github.com/repos/sportngin/hubstats/pulls/9/commits', '2014-06-18 19:12:42', NULL, 'https://github.com/sportngin/hubstats/pull/9.diff', 'https://github.com/sportngin/hubstats/pull/9', 17313123, 'https://api.github.com/repos/sportngin/hubstats/issues/9', '0ee36073c6f8896c7d5185c419b30ebbd378f4c0', NULL, NULL, '2014-06-19 18:17:52', 9, 'https://github.com/sportngin/hubstats/pull/9.patch', 20231003, 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/{number}', 'https://api.github.com/repos/sportngin/hubstats/pulls/9/comments', 'closed', 'https://api.github.com/repos/sportngin/hubstats/statuses/2abbfa81aa0b72164dd927b9f19b80dfd447d46c', 'Number of comments reviewed', '2014-06-19 18:17:58', 'https://api.github.com/repos/sportngin/hubstats/pulls/9', 2453875)
|
2964245
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2964246
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2964247
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2964248
|
+
[1m[35mHubstats::User Load (0.2ms)[0m SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
|
2964249
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2964250
|
+
[1m[35mHubstats::User Exists (0.1ms)[0m SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
|
2964251
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2964252
|
+
[1m[35mHubstats::User Load (0.2ms)[0m SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1
|
2964253
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2964254
|
+
[1m[35mHubstats::User Exists (0.2ms)[0m SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1
|
2964255
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2964256
|
+
[1m[35mHubstats::Repo Load (0.2ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1
|
2964257
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2964258
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2964259
|
+
[1m[36mHubstats::PullRequest Load (0.2ms)[0m [1mSELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 17306127 LIMIT 1[0m
|
2964260
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2964261
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `hubstats_pull_requests` (`additions`, `body`, `changed_files`, `closed_at`, `comments`, `comments_url`, `commits`, `commits_url`, `created_at`, `deletions`, `diff_url`, `html_url`, `id`, `issue_url`, `merge_commit_sha`, `mergeable`, `merged`, `merged_at`, `number`, `patch_url`, `repo_id`, `review_comment_url`, `review_comments_url`, `state`, `statuses_url`, `title`, `updated_at`, `url`, `user_id`) VALUES (NULL, '## Description and Impact\r\nNo real impact, allows user to change time frame from which data is displayed.\r\nChanged views to allow this to work.\r\n\r\n## Deploy Plan\r\nNo Worries\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## URLs\r\n> Links to bug tickets or user stories.\r\n\r\n## QA Plan\r\n> Fill in scenarios below. Review [QA Best Practices](https://source.sportngin.com/page/show/1227795-qa-best-practices).\r\n\r\n#### Risk Level:\r\n- [X] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\nJust make sure the time picker persists over requests and changing pages, and views update accordingly.', NULL, '2014-06-19 17:41:29', NULL, 'https://api.github.com/repos/sportngin/hubstats/issues/7/comments', NULL, 'https://api.github.com/repos/sportngin/hubstats/pulls/7/commits', '2014-06-18 17:05:06', NULL, 'https://github.com/sportngin/hubstats/pull/7.diff', 'https://github.com/sportngin/hubstats/pull/7', 17306127, 'https://api.github.com/repos/sportngin/hubstats/issues/7', 'f6c6c3c142333e2d4e438de9ca5f45bd0f4c847c', NULL, NULL, '2014-06-19 17:41:29', 7, 'https://github.com/sportngin/hubstats/pull/7.patch', 20231003, 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/{number}', 'https://api.github.com/repos/sportngin/hubstats/pulls/7/comments', 'closed', 'https://api.github.com/repos/sportngin/hubstats/statuses/994e1ce68f006306936dc3d4fa342821734faa1e', 'Updated Views/Created Users View', '2014-06-19 17:49:15', 'https://api.github.com/repos/sportngin/hubstats/pulls/7', 2453875)[0m
|
2964262
|
+
[1m[35m (0.4ms)[0m COMMIT
|
2964263
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2964264
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2964265
|
+
[1m[36mHubstats::User Load (0.2ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1[0m
|
2964266
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2964267
|
+
[1m[36mHubstats::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1[0m
|
2964268
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2964269
|
+
[1m[36mHubstats::User Load (0.2ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1[0m
|
2964270
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2964271
|
+
[1m[36mHubstats::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1[0m
|
2964272
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2964273
|
+
[1m[36mHubstats::Repo Load (0.2ms)[0m [1mSELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1[0m
|
2964274
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2964275
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2964276
|
+
[1m[35mHubstats::PullRequest Load (0.2ms)[0m SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 17256454 LIMIT 1
|
2964277
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2964278
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `hubstats_pull_requests` (`additions`, `body`, `changed_files`, `closed_at`, `comments`, `comments_url`, `commits`, `commits_url`, `created_at`, `deletions`, `diff_url`, `html_url`, `id`, `issue_url`, `merge_commit_sha`, `mergeable`, `merged`, `merged_at`, `number`, `patch_url`, `repo_id`, `review_comment_url`, `review_comments_url`, `state`, `statuses_url`, `title`, `updated_at`, `url`, `user_id`) VALUES (NULL, '## Description and Impact\r\nIt should hopefully make things faster\r\n\r\n## Deploy Plan\r\nNothing to worry about\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## URLs\r\n> Links to bug tickets or user stories.\r\n\r\n## QA Plan\r\n> Fill in scenarios below. Review [QA Best Practices](https://source.sportngin.com/page/show/1227795-qa-best-practices).\r\n\r\n#### Risk Level:\r\n- [X] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\nRake app:hubstats:reset then check sequel pro to see indices? ', NULL, '2014-06-17 19:47:18', NULL, 'https://api.github.com/repos/sportngin/hubstats/issues/6/comments', NULL, 'https://api.github.com/repos/sportngin/hubstats/pulls/6/commits', '2014-06-17 19:34:54', NULL, 'https://github.com/sportngin/hubstats/pull/6.diff', 'https://github.com/sportngin/hubstats/pull/6', 17256454, 'https://api.github.com/repos/sportngin/hubstats/issues/6', '20e6fb0aefa5aeb715bd24122e82ed4e8677a433', NULL, NULL, '2014-06-17 19:47:18', 6, 'https://github.com/sportngin/hubstats/pull/6.patch', 20231003, 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/{number}', 'https://api.github.com/repos/sportngin/hubstats/pulls/6/comments', 'closed', 'https://api.github.com/repos/sportngin/hubstats/statuses/7fa12f2d84d2a50d405235978b3920ec3af574a1', 'Adding Indexing on foreign keys', '2014-06-19 17:49:20', 'https://api.github.com/repos/sportngin/hubstats/pulls/6', 2453875)
|
2964279
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2964280
|
+
[1m[35m (0.0ms)[0m BEGIN
|
2964281
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2964282
|
+
[1m[35mHubstats::User Load (0.2ms)[0m SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
|
2964283
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2964284
|
+
[1m[35mHubstats::User Exists (0.2ms)[0m SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
|
2964285
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2964286
|
+
[1m[35mHubstats::User Load (0.2ms)[0m SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1
|
2964287
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2964288
|
+
[1m[35mHubstats::User Exists (0.1ms)[0m SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1
|
2964289
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2964290
|
+
[1m[35mHubstats::Repo Load (0.2ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1
|
2964291
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2964292
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2964293
|
+
[1m[36mHubstats::PullRequest Load (0.1ms)[0m [1mSELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 17237179 LIMIT 1[0m
|
2964294
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2964295
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `hubstats_pull_requests` (`additions`, `body`, `changed_files`, `closed_at`, `comments`, `comments_url`, `commits`, `commits_url`, `created_at`, `deletions`, `diff_url`, `html_url`, `id`, `issue_url`, `merge_commit_sha`, `mergeable`, `merged`, `merged_at`, `number`, `patch_url`, `repo_id`, `review_comment_url`, `review_comments_url`, `state`, `statuses_url`, `title`, `updated_at`, `url`, `user_id`) VALUES (NULL, '## Description and Impact\r\nChanges how repo.index queries for things\r\n\r\n## Deploy Plan\r\n> Does Infrastructure need to know anything special about this deploy?\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## URLs\r\n> Links to bug tickets or user stories.\r\n\r\n## QA Plan\r\n> Fill in scenarios below. Review [QA Best Practices](https://source.sportngin.com/page/show/1227795-qa-best-practices).\r\n\r\n#### Risk Level:\r\n- [X] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\nRake app:hubstats:setup to build\r\nCheckout that the number of comments and pulls in the active users table add up to the numbers displayed above', NULL, '2014-06-17 20:00:02', NULL, 'https://api.github.com/repos/sportngin/hubstats/issues/5/comments', NULL, 'https://api.github.com/repos/sportngin/hubstats/pulls/5/commits', '2014-06-17 14:10:15', NULL, 'https://github.com/sportngin/hubstats/pull/5.diff', 'https://github.com/sportngin/hubstats/pull/5', 17237179, 'https://api.github.com/repos/sportngin/hubstats/issues/5', 'f43e72c6ff71f8f774a9f9c80371fe68cabb3503', NULL, NULL, '2014-06-17 20:00:02', 5, 'https://github.com/sportngin/hubstats/pull/5.patch', 20231003, 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/{number}', 'https://api.github.com/repos/sportngin/hubstats/pulls/5/comments', 'closed', 'https://api.github.com/repos/sportngin/hubstats/statuses/91b488028bb39b12f0e83b07f57daeabe8127ea9', 'Better Query on repo.index', '2014-06-19 17:49:18', 'https://api.github.com/repos/sportngin/hubstats/pulls/5', 2453875)[0m
|
2964296
|
+
[1m[35m (0.4ms)[0m COMMIT
|
2964297
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
2964298
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2964299
|
+
[1m[36mHubstats::User Load (0.2ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1[0m
|
2964300
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2964301
|
+
[1m[36mHubstats::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1[0m
|
2964302
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2964303
|
+
[1m[36mHubstats::User Load (0.1ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1[0m
|
2964304
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2964305
|
+
[1m[36mHubstats::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1[0m
|
2964306
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2964307
|
+
[1m[36mHubstats::Repo Load (0.2ms)[0m [1mSELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1[0m
|
2964308
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2964309
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2964310
|
+
[1m[35mHubstats::PullRequest Load (0.2ms)[0m SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 17071619 LIMIT 1
|
2964311
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2964312
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `hubstats_pull_requests` (`additions`, `body`, `changed_files`, `closed_at`, `comments`, `comments_url`, `commits`, `commits_url`, `created_at`, `deletions`, `diff_url`, `html_url`, `id`, `issue_url`, `merge_commit_sha`, `mergeable`, `merged`, `merged_at`, `number`, `patch_url`, `repo_id`, `review_comment_url`, `review_comments_url`, `state`, `statuses_url`, `title`, `updated_at`, `url`, `user_id`) VALUES (NULL, '## Description and Impact\r\nExtends functionality by allowing all of an organization\'s repos be watched\r\n\r\n## Deploy Plan\r\nNope\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## URLs\r\n> Links to bug tickets or user stories.\r\n\r\n## QA Plan\r\n> Fill in scenarios below. Review [QA Best Practices](https://source.sportngin.com/page/show/1227795-qa-best-practices).\r\n\r\n#### Risk Level:\r\n- [X] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\nThis is really just a intermediary pull_request, it doesn\'t really do much as of yet, just see how the code looks.', NULL, '2014-06-16 21:55:07', NULL, 'https://api.github.com/repos/sportngin/hubstats/issues/4/comments', NULL, 'https://api.github.com/repos/sportngin/hubstats/pulls/4/commits', '2014-06-12 18:32:21', NULL, 'https://github.com/sportngin/hubstats/pull/4.diff', 'https://github.com/sportngin/hubstats/pull/4', 17071619, 'https://api.github.com/repos/sportngin/hubstats/issues/4', '81c30a0f095905995481b9b15f882854efbb5e86', NULL, NULL, '2014-06-16 21:55:07', 4, 'https://github.com/sportngin/hubstats/pull/4.patch', 20231003, 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/{number}', 'https://api.github.com/repos/sportngin/hubstats/pulls/4/comments', 'closed', 'https://api.github.com/repos/sportngin/hubstats/statuses/6430cbd973a9f7ec9e5dc6620064473f34e25e49', 'Repo Depot!', '2014-06-19 17:49:21', 'https://api.github.com/repos/sportngin/hubstats/pulls/4', 2453875)
|
2964313
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2964314
|
+
[1m[35m (0.0ms)[0m BEGIN
|
2964315
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2964316
|
+
[1m[35mHubstats::User Load (0.2ms)[0m SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
|
2964317
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2964318
|
+
[1m[35mHubstats::User Exists (0.1ms)[0m SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
|
2964319
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2964320
|
+
[1m[35mHubstats::User Load (0.2ms)[0m SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1
|
2964321
|
+
[1m[36m (0.4ms)[0m [1mBEGIN[0m
|
2964322
|
+
[1m[35mHubstats::User Exists (0.1ms)[0m SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1
|
2964323
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2964324
|
+
[1m[35mHubstats::Repo Load (0.2ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1
|
2964325
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2964326
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2964327
|
+
[1m[36mHubstats::PullRequest Load (0.2ms)[0m [1mSELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 16834687 LIMIT 1[0m
|
2964328
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2964329
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `hubstats_pull_requests` (`additions`, `body`, `changed_files`, `closed_at`, `comments`, `comments_url`, `commits`, `commits_url`, `created_at`, `deletions`, `diff_url`, `html_url`, `id`, `issue_url`, `merge_commit_sha`, `mergeable`, `merged`, `merged_at`, `number`, `patch_url`, `repo_id`, `review_comment_url`, `review_comments_url`, `state`, `statuses_url`, `title`, `updated_at`, `url`, `user_id`) VALUES (NULL, '## Description and Impact\r\nMakes it someone useful, allows you to import data from github and store it in a database\r\n\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## URLs\r\n> localhost:3000/hubification\r\n\r\n## QA Plan\r\n\r\n#### Risk Level:\r\n- [X] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\nstart it up, run migrations. \r\n\r\nRun rake app:populate:{users/pulls/comments}, checkout out /hubification to see that it works.', NULL, '2014-06-11 21:52:48', NULL, 'https://api.github.com/repos/sportngin/hubstats/issues/3/comments', NULL, 'https://api.github.com/repos/sportngin/hubstats/pulls/3/commits', '2014-06-06 18:17:02', NULL, 'https://github.com/sportngin/hubstats/pull/3.diff', 'https://github.com/sportngin/hubstats/pull/3', 16834687, 'https://api.github.com/repos/sportngin/hubstats/issues/3', 'b9e6c9cf8e523b05a90afa5ed4bf3fbec620f7ce', NULL, NULL, '2014-06-11 21:52:48', 3, 'https://github.com/sportngin/hubstats/pull/3.patch', 20231003, 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/{number}', 'https://api.github.com/repos/sportngin/hubstats/pulls/3/comments', 'closed', 'https://api.github.com/repos/sportngin/hubstats/statuses/c0909a691f69cdbddec76175d706ac9a4a059962', 'Models, Models and Rake Tasks', '2014-06-19 17:49:24', 'https://api.github.com/repos/sportngin/hubstats/pulls/3', 2453875)[0m
|
2964330
|
+
[1m[35m (0.4ms)[0m COMMIT
|
2964331
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
2964332
|
+
[1m[35m (0.0ms)[0m COMMIT
|
2964333
|
+
[1m[36mHubstats::User Load (0.1ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1[0m
|
2964334
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2964335
|
+
[1m[36mHubstats::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1[0m
|
2964336
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2964337
|
+
[1m[36mHubstats::User Load (0.2ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1[0m
|
2964338
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2964339
|
+
[1m[36mHubstats::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1[0m
|
2964340
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2964341
|
+
[1m[36mHubstats::Repo Load (0.2ms)[0m [1mSELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1[0m
|
2964342
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2964343
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2964344
|
+
[1m[35mHubstats::PullRequest Load (0.2ms)[0m SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 16631904 LIMIT 1
|
2964345
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2964346
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO `hubstats_pull_requests` (`additions`, `body`, `changed_files`, `closed_at`, `comments`, `comments_url`, `commits`, `commits_url`, `created_at`, `deletions`, `diff_url`, `html_url`, `id`, `issue_url`, `merge_commit_sha`, `mergeable`, `merged`, `merged_at`, `number`, `patch_url`, `repo_id`, `review_comment_url`, `review_comments_url`, `state`, `statuses_url`, `title`, `updated_at`, `url`, `user_id`) VALUES (NULL, '## Description and Impact\r\nChanges the way hubification authenticates github users\r\n\r\n## Deploy Plan\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## URLs\r\n> Links to bug tickets or user stories.\r\n\r\n## QA Plan\r\n> Fill in scenarios below. Review [QA Best Practices](https://source.sportngin.com/page/show/1227795-qa-best-practices).\r\n\r\n#### Risk Level:\r\n- [X] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\nYou must have either environment variables set or set up the test/dummy/config/octokit.yml.\r\nRun rspec all tests should pass.', NULL, '2014-06-04 13:00:31', NULL, 'https://api.github.com/repos/sportngin/hubstats/issues/2/comments', NULL, 'https://api.github.com/repos/sportngin/hubstats/pulls/2/commits', '2014-06-03 01:48:32', NULL, 'https://github.com/sportngin/hubstats/pull/2.diff', 'https://github.com/sportngin/hubstats/pull/2', 16631904, 'https://api.github.com/repos/sportngin/hubstats/issues/2', '6a59fd11dd327a74d1ca2a00ec46775f19b7c22e', NULL, NULL, '2014-06-04 13:00:31', 2, 'https://github.com/sportngin/hubstats/pull/2.patch', 20231003, 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/{number}', 'https://api.github.com/repos/sportngin/hubstats/pulls/2/comments', 'closed', 'https://api.github.com/repos/sportngin/hubstats/statuses/92a312579689a15af132b78711dba0d30ed4fbe9', 'new githubAPI config tests', '2014-06-18 19:49:22', 'https://api.github.com/repos/sportngin/hubstats/pulls/2', 2453875)
|
2964347
|
+
[1m[36m (0.5ms)[0m [1mCOMMIT[0m
|
2964348
|
+
[1m[35m (0.0ms)[0m BEGIN
|
2964349
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2964350
|
+
[1m[35mHubstats::User Load (0.2ms)[0m SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
|
2964351
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2964352
|
+
[1m[35mHubstats::User Exists (0.2ms)[0m SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
|
2964353
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2964354
|
+
[1m[35mHubstats::User Load (0.2ms)[0m SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1
|
2964355
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2964356
|
+
[1m[35mHubstats::User Exists (0.1ms)[0m SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1
|
2964357
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2964358
|
+
[1m[35mHubstats::Repo Load (0.2ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1
|
2964359
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2964360
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2964361
|
+
[1m[36mHubstats::PullRequest Load (0.2ms)[0m [1mSELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 16501072 LIMIT 1[0m
|
2964362
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2964363
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `hubstats_pull_requests` (`additions`, `body`, `changed_files`, `closed_at`, `comments`, `comments_url`, `commits`, `commits_url`, `created_at`, `deletions`, `diff_url`, `html_url`, `id`, `issue_url`, `merge_commit_sha`, `mergeable`, `merged`, `merged_at`, `number`, `patch_url`, `repo_id`, `review_comment_url`, `review_comments_url`, `state`, `statuses_url`, `title`, `updated_at`, `url`, `user_id`) VALUES (NULL, '## Description and Impact\r\nIt\'s huge!!! Allows for the hourly updating of the future pull requests data table\r\n\r\n## Deploy Plan\r\nNothing to worry about.\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## URLs\r\n> Links to bug tickets or user stories.\r\n\r\n## QA Plan\r\n> Fill in scenarios below. Review [QA Best Practices](https://source.sportngin.com/page/show/1227795-qa-best-practices).\r\n\r\n#### Risk Level:\r\n- [X] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\nRun rake app:hubification:since from root to try it.\r\nTheres also a test that makes sure it works....\r\n', NULL, '2014-06-02 21:35:21', NULL, 'https://api.github.com/repos/sportngin/hubstats/issues/1/comments', NULL, 'https://api.github.com/repos/sportngin/hubstats/pulls/1/commits', '2014-05-29 20:10:57', NULL, 'https://github.com/sportngin/hubstats/pull/1.diff', 'https://github.com/sportngin/hubstats/pull/1', 16501072, 'https://api.github.com/repos/sportngin/hubstats/issues/1', 'af73890916f0e9b4971db4e477e082fb3115f639', NULL, NULL, '2014-06-02 21:35:21', 1, 'https://github.com/sportngin/hubstats/pull/1.patch', 20231003, 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/{number}', 'https://api.github.com/repos/sportngin/hubstats/pulls/1/comments', 'closed', 'https://api.github.com/repos/sportngin/hubstats/statuses/9623b4c2b2a379461547437e46a482ae080cd7f4', 'Got since for pull requests working', '2014-06-13 12:23:34', 'https://api.github.com/repos/sportngin/hubstats/pulls/1', 2453875)[0m
|
2964364
|
+
[1m[35m (0.4ms)[0m COMMIT
|
2964365
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2964366
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2964367
|
+
[1m[36mHubstats::Repo Load (0.2ms)[0m [1mSELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1[0m
|
2964368
|
+
[1m[35mHubstats::Repo Load (0.3ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
|
2964369
|
+
Connecting to database specified by database.yml
|
2964370
|
+
[1m[36m (10.7ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations` [0m
|
2964371
|
+
Migrating to CreateHubstatsPullRequests (20140702142614)
|
2964372
|
+
Migrating to CreateHubstatsUsers (20140702142615)
|
2964373
|
+
Migrating to CreateHubstatsComments (20140702142616)
|
2964374
|
+
Migrating to CreateHubstatsRepos (20140702142617)
|
2964375
|
+
[1m[35m (0.2ms)[0m SELECT `schema_migrations`.`version` FROM `schema_migrations`
|
2964376
|
+
[1m[36mHubstats::User Load (0.3ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1[0m
|
2964377
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2964378
|
+
[1m[36mHubstats::User Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1[0m
|
2964379
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2964380
|
+
[1m[36mHubstats::Repo Load (0.3ms)[0m [1mSELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1[0m
|
2964381
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2964382
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2964383
|
+
[1m[35mHubstats::User Load (0.3ms)[0m SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
|
2964384
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2964385
|
+
[1m[35mHubstats::User Exists (0.2ms)[0m SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
|
2964386
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2964387
|
+
[1m[35mHubstats::User Load (0.3ms)[0m SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1
|
2964388
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2964389
|
+
[1m[35mHubstats::User Exists (0.2ms)[0m SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1
|
2964390
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2964391
|
+
[1m[35mHubstats::Repo Load (0.3ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
|
2964392
|
+
[1m[36mHubstats::User Load (0.4ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1[0m
|
2964393
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2964394
|
+
[1m[36mHubstats::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1[0m
|
2964395
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2964396
|
+
[1m[36mHubstats::User Load (0.2ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1[0m
|
2964397
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2964398
|
+
[1m[36mHubstats::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1[0m
|
2964399
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2964400
|
+
[1m[36mHubstats::Repo Load (0.2ms)[0m [1mSELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1[0m
|
2964401
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2964402
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2964403
|
+
[1m[35mHubstats::PullRequest Load (0.2ms)[0m SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 17849812 LIMIT 1
|
2964404
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2964405
|
+
[1m[35m (0.3ms)[0m UPDATE `hubstats_pull_requests` SET `body` = '## Description and Impact\r\nNo Real Impact, just adds some more stats for things\r\n\r\n## Deploy Plan\r\n> Does Infrastructure need to know anything special about this deploy?\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## URLs\r\n> Links to bug tickets or user stories.\r\n\r\n## QA Plan\r\n> Fill in scenarios below. Review [QA Best Practices](https://source.sportngin.com/page/show/1227795-qa-best-practices).\r\n\r\n#### Risk Level:\r\n- [X] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\nCheck it out.\r\n', `created_at` = '2014-07-01 19:22:25', `updated_at` = '2014-07-01 21:02:54', `closed_at` = '2014-07-01 21:02:54', `merged_at` = '2014-07-01 21:02:54' WHERE `hubstats_pull_requests`.`id` = 17849812
|
2964406
|
+
[1m[36m (0.6ms)[0m [1mCOMMIT[0m
|
2964407
|
+
[1m[35mHubstats::User Load (0.3ms)[0m SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
|
2964408
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2964409
|
+
[1m[35mHubstats::User Exists (0.2ms)[0m SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
|
2964410
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2964411
|
+
[1m[35mHubstats::User Load (0.2ms)[0m SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1
|
2964412
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2964413
|
+
[1m[35mHubstats::User Exists (0.2ms)[0m SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1
|
2964414
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2964415
|
+
[1m[35mHubstats::Repo Load (0.2ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1
|
2964416
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2964417
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2964418
|
+
[1m[36mHubstats::PullRequest Load (0.2ms)[0m [1mSELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 17837873 LIMIT 1[0m
|
2964419
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2964420
|
+
[1m[36m (0.3ms)[0m [1mUPDATE `hubstats_pull_requests` SET `body` = '## Description and Impact\r\n> What impact does this change have for production?\r\n\r\n## Deploy Plan\r\n> Does Infrastructure need to know anything special about this deploy?\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## URLs\r\n> Links to bug tickets or user stories.\r\n\r\n## QA Plan\r\n> Fill in scenarios below. Review [QA Best Practices](https://source.sportngin.com/page/show/1227795-qa-best-practices).\r\n\r\n#### Risk Level:\r\n- [x] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\n#### Happy Path Scenarios\r\n* Happy Path scenario 1\r\n* Happy Path scenario 2\r\n\r\n#### Additional Scenarios (Edge Case, Negative, etc.)\r\n* Edge case scenario 1\r\n* Edge case scenario 2\r\n\r\n#### Regression Scenarios\r\n* Regression item on related feature 1\r\n* Regression item on related feature 2\r\n', `created_at` = '2014-07-01 15:40:39', `updated_at` = '2014-07-01 21:02:33', `closed_at` = '2014-07-01 21:02:33', `merged_at` = '2014-07-01 21:02:33' WHERE `hubstats_pull_requests`.`id` = 17837873[0m
|
2964421
|
+
[1m[35m (0.5ms)[0m COMMIT
|
2964422
|
+
[1m[36mHubstats::User Load (0.2ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1[0m
|
2964423
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2964424
|
+
[1m[36mHubstats::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1[0m
|
2964425
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2964426
|
+
[1m[36mHubstats::User Load (0.2ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1[0m
|
2964427
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2964428
|
+
[1m[36mHubstats::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1[0m
|
2964429
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2964430
|
+
[1m[36mHubstats::Repo Load (0.3ms)[0m [1mSELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1[0m
|
2964431
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2964432
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2964433
|
+
[1m[35mHubstats::PullRequest Load (0.2ms)[0m SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 17784161 LIMIT 1
|
2964434
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2964435
|
+
[1m[35m (0.2ms)[0m UPDATE `hubstats_pull_requests` SET `body` = '## Description and Impact\r\nMakes it waaaaaay faster to load, and set the cookie on initial load.\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## URLs\r\n> Links to bug tickets or user stories.\r\n\r\n## QA Plan\r\n> Fill in scenarios below. Review [QA Best Practices](https://source.sportngin.com/page/show/1227795-qa-best-practices).\r\n\r\n#### Risk Level:\r\n- [X] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\n#### Happy Path Scenarios\r\n', `created_at` = '2014-06-30 16:48:13', `updated_at` = '2014-07-01 15:34:53', `closed_at` = '2014-07-01 15:34:53', `merged_at` = '2014-07-01 15:34:53' WHERE `hubstats_pull_requests`.`id` = 17784161
|
2964436
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2964437
|
+
[1m[35mHubstats::User Load (0.2ms)[0m SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
|
2964438
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2964439
|
+
[1m[35mHubstats::User Exists (0.1ms)[0m SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
|
2964440
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2964441
|
+
[1m[35mHubstats::User Load (0.2ms)[0m SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1
|
2964442
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2964443
|
+
[1m[35mHubstats::User Exists (0.2ms)[0m SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1
|
2964444
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2964445
|
+
[1m[35mHubstats::Repo Load (0.2ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1
|
2964446
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2964447
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2964448
|
+
[1m[36mHubstats::PullRequest Load (0.2ms)[0m [1mSELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 17536385 LIMIT 1[0m
|
2964449
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2964450
|
+
[1m[36m (0.2ms)[0m [1mUPDATE `hubstats_pull_requests` SET `body` = '## Description and Impact\r\nFixes/updates gem and installation process.\r\n\r\n## Deploy Plan\r\n> Does Infrastructure need to know anything special about this deploy?\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## URLs\r\n> Links to bug tickets or user stories.\r\n\r\n## QA Plan\r\n> Fill in scenarios below. Review [QA Best Practices](https://source.sportngin.com/page/show/1227795-qa-best-practices).\r\n\r\n#### Risk Level:\r\n- [X] Low\r\n- [ ] Medium\r\n- [ ] High\r\n', `created_at` = '2014-06-24 14:54:34', `updated_at` = '2014-06-24 22:12:17', `closed_at` = '2014-06-24 15:25:35', `merged_at` = '2014-06-24 15:25:35' WHERE `hubstats_pull_requests`.`id` = 17536385[0m
|
2964451
|
+
[1m[35m (0.4ms)[0m COMMIT
|
2964452
|
+
[1m[36mHubstats::User Load (0.1ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1[0m
|
2964453
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2964454
|
+
[1m[36mHubstats::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1[0m
|
2964455
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2964456
|
+
[1m[36mHubstats::User Load (0.2ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1[0m
|
2964457
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2964458
|
+
[1m[36mHubstats::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1[0m
|
2964459
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2964460
|
+
[1m[36mHubstats::Repo Load (0.2ms)[0m [1mSELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1[0m
|
2964461
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2964462
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2964463
|
+
[1m[35mHubstats::PullRequest Load (0.2ms)[0m SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 17479705 LIMIT 1
|
2964464
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2964465
|
+
[1m[35m (0.2ms)[0m UPDATE `hubstats_pull_requests` SET `body` = '## Description and Impact\r\nHandles event triggering for repo closings and openings.\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## URLs\r\n> Links to bug tickets or user stories.\r\n\r\n## QA Plan\r\n> Fill in scenarios below. Review [QA Best Practices](https://source.sportngin.com/page/show/1227795-qa-best-practices).\r\n\r\n#### Risk Level:\r\n- [X] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\n\r\n', `created_at` = '2014-06-23 15:11:37', `updated_at` = '2014-06-24 22:12:18', `closed_at` = '2014-06-23 21:54:29', `merged_at` = '2014-06-23 21:54:29' WHERE `hubstats_pull_requests`.`id` = 17479705
|
2964466
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2964467
|
+
[1m[35mHubstats::User Load (0.1ms)[0m SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
|
2964468
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2964469
|
+
[1m[35mHubstats::User Exists (0.2ms)[0m SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
|
2964470
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2964471
|
+
[1m[35mHubstats::User Load (0.2ms)[0m SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1
|
2964472
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2964473
|
+
[1m[35mHubstats::User Exists (0.1ms)[0m SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1
|
2964474
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2964475
|
+
[1m[35mHubstats::Repo Load (0.2ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1
|
2964476
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2964477
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2964478
|
+
[1m[36mHubstats::PullRequest Load (0.2ms)[0m [1mSELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 17423995 LIMIT 1[0m
|
2964479
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2964480
|
+
[1m[36m (0.2ms)[0m [1mUPDATE `hubstats_pull_requests` SET `body` = '## Description and Impact\r\nIt gets comments from github now on creation....\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## URLs\r\n> Links to bug tickets or user stories.\r\n\r\n## QA Plan\r\n> Fill in scenarios below. Review [QA Best Practices](https://source.sportngin.com/page/show/1227795-qa-best-practices).\r\n\r\n#### Risk Level:\r\n- [x] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\nmake a comment, checkout the repo/pull and see the comment on refresh', `created_at` = '2014-06-20 19:40:44', `updated_at` = '2014-06-24 22:13:28', `closed_at` = '2014-06-20 21:44:59', `merged_at` = '2014-06-20 21:44:59' WHERE `hubstats_pull_requests`.`id` = 17423995[0m
|
2964481
|
+
[1m[35m (0.4ms)[0m COMMIT
|
2964482
|
+
[1m[36mHubstats::User Load (0.2ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1[0m
|
2964483
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2964484
|
+
[1m[36mHubstats::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1[0m
|
2964485
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2964486
|
+
[1m[36mHubstats::User Load (0.2ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1[0m
|
2964487
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2964488
|
+
[1m[36mHubstats::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1[0m
|
2964489
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2964490
|
+
[1m[36mHubstats::Repo Load (0.2ms)[0m [1mSELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1[0m
|
2964491
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2964492
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2964493
|
+
[1m[35mHubstats::PullRequest Load (0.2ms)[0m SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 17414868 LIMIT 1
|
2964494
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2964495
|
+
[1m[35m (0.3ms)[0m UPDATE `hubstats_pull_requests` SET `body` = '## Description and Impact\r\nFixes the rake task that I broke with the last pull request\r\n\r\n## Deploy Plan\r\nNope\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## URLs\r\n> Links to bug tickets or user stories.\r\n\r\n## QA Plan\r\n> Fill in scenarios below. Review [QA Best Practices](https://source.sportngin.com/page/show/1227795-qa-best-practices).\r\n\r\n#### Risk Level:\r\n- [X] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\nfixed rake task....', `created_at` = '2014-06-20 16:29:51', `updated_at` = '2014-06-20 21:34:15', `closed_at` = '2014-06-20 21:32:17', `merged_at` = '2014-06-20 21:32:17' WHERE `hubstats_pull_requests`.`id` = 17414868
|
2964496
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2964497
|
+
[1m[35mHubstats::User Load (0.2ms)[0m SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
|
2964498
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2964499
|
+
[1m[35mHubstats::User Exists (0.1ms)[0m SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
|
2964500
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2964501
|
+
[1m[35mHubstats::User Load (0.2ms)[0m SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1
|
2964502
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2964503
|
+
[1m[35mHubstats::User Exists (0.1ms)[0m SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1
|
2964504
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2964505
|
+
[1m[35mHubstats::Repo Load (0.2ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1
|
2964506
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2964507
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2964508
|
+
[1m[36mHubstats::PullRequest Load (0.2ms)[0m [1mSELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 17407567 LIMIT 1[0m
|
2964509
|
+
[1m[35m (0.0ms)[0m BEGIN
|
2964510
|
+
[1m[36m (0.2ms)[0m [1mUPDATE `hubstats_pull_requests` SET `body` = '## Description and Impact\r\nStarted the process of using Event Hooks,\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## QA Plan\r\n> Fill in scenarios below. Review [QA Best Practices](https://source.sportngin.com/page/show/1227795-qa-best-practices).\r\n\r\n#### Risk Level:\r\n- [X] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\nJust check to see how the code is looking....\r\n', `created_at` = '2014-06-20 14:17:28', `updated_at` = '2014-06-20 19:58:22', `closed_at` = '2014-06-20 14:52:30', `merged_at` = '2014-06-20 14:52:30' WHERE `hubstats_pull_requests`.`id` = 17407567[0m
|
2964511
|
+
[1m[35m (0.4ms)[0m COMMIT
|
2964512
|
+
[1m[36mHubstats::User Load (0.2ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1[0m
|
2964513
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2964514
|
+
[1m[36mHubstats::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1[0m
|
2964515
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2964516
|
+
[1m[36mHubstats::User Load (0.1ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1[0m
|
2964517
|
+
[1m[35m (0.0ms)[0m BEGIN
|
2964518
|
+
[1m[36mHubstats::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1[0m
|
2964519
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2964520
|
+
[1m[36mHubstats::Repo Load (0.2ms)[0m [1mSELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1[0m
|
2964521
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2964522
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2964523
|
+
[1m[35mHubstats::PullRequest Load (0.2ms)[0m SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 17313123 LIMIT 1
|
2964524
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2964525
|
+
[1m[35m (0.2ms)[0m UPDATE `hubstats_pull_requests` SET `body` = '## Description and Impact\r\nAdds the number of comments a user has reviewed to the \"User Show\" page\r\n\r\n## Deploy Plan\r\nNo worries.\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## QA Plan\r\nSmall feature addition, just check that users have reviewed comments\r\n#### Risk Level:\r\n- [x] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\n#### Happy Path Scenarios\r\nCheckout a user, make sure they have pulls reviewed. If elliothursh is a user in your database, make sure he has 0 pulls.', `created_at` = '2014-06-18 19:12:42', `updated_at` = '2014-06-19 18:17:58', `closed_at` = '2014-06-19 18:17:52', `merged_at` = '2014-06-19 18:17:52' WHERE `hubstats_pull_requests`.`id` = 17313123
|
2964526
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2964527
|
+
[1m[35mHubstats::User Load (0.2ms)[0m SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
|
2964528
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2964529
|
+
[1m[35mHubstats::User Exists (0.1ms)[0m SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
|
2964530
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2964531
|
+
[1m[35mHubstats::User Load (0.2ms)[0m SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1
|
2964532
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2964533
|
+
[1m[35mHubstats::User Exists (0.2ms)[0m SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1
|
2964534
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2964535
|
+
[1m[35mHubstats::Repo Load (0.2ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1
|
2964536
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2964537
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2964538
|
+
[1m[36mHubstats::PullRequest Load (0.2ms)[0m [1mSELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 17306127 LIMIT 1[0m
|
2964539
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2964540
|
+
[1m[36m (0.2ms)[0m [1mUPDATE `hubstats_pull_requests` SET `body` = '## Description and Impact\r\nNo real impact, allows user to change time frame from which data is displayed.\r\nChanged views to allow this to work.\r\n\r\n## Deploy Plan\r\nNo Worries\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## URLs\r\n> Links to bug tickets or user stories.\r\n\r\n## QA Plan\r\n> Fill in scenarios below. Review [QA Best Practices](https://source.sportngin.com/page/show/1227795-qa-best-practices).\r\n\r\n#### Risk Level:\r\n- [X] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\nJust make sure the time picker persists over requests and changing pages, and views update accordingly.', `created_at` = '2014-06-18 17:05:06', `updated_at` = '2014-06-19 17:49:15', `closed_at` = '2014-06-19 17:41:29', `merged_at` = '2014-06-19 17:41:29' WHERE `hubstats_pull_requests`.`id` = 17306127[0m
|
2964541
|
+
[1m[35m (0.4ms)[0m COMMIT
|
2964542
|
+
[1m[36mHubstats::User Load (0.2ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1[0m
|
2964543
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2964544
|
+
[1m[36mHubstats::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1[0m
|
2964545
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2964546
|
+
[1m[36mHubstats::User Load (0.2ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1[0m
|
2964547
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2964548
|
+
[1m[36mHubstats::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1[0m
|
2964549
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2964550
|
+
[1m[36mHubstats::Repo Load (0.2ms)[0m [1mSELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1[0m
|
2964551
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2964552
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2964553
|
+
[1m[35mHubstats::PullRequest Load (0.2ms)[0m SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 17256454 LIMIT 1
|
2964554
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2964555
|
+
[1m[35m (0.2ms)[0m UPDATE `hubstats_pull_requests` SET `body` = '## Description and Impact\r\nIt should hopefully make things faster\r\n\r\n## Deploy Plan\r\nNothing to worry about\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## URLs\r\n> Links to bug tickets or user stories.\r\n\r\n## QA Plan\r\n> Fill in scenarios below. Review [QA Best Practices](https://source.sportngin.com/page/show/1227795-qa-best-practices).\r\n\r\n#### Risk Level:\r\n- [X] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\nRake app:hubstats:reset then check sequel pro to see indices? ', `created_at` = '2014-06-17 19:34:54', `updated_at` = '2014-06-19 17:49:20', `closed_at` = '2014-06-17 19:47:18', `merged_at` = '2014-06-17 19:47:18' WHERE `hubstats_pull_requests`.`id` = 17256454
|
2964556
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2964557
|
+
[1m[35mHubstats::User Load (0.1ms)[0m SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
|
2964558
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2964559
|
+
[1m[35mHubstats::User Exists (0.1ms)[0m SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
|
2964560
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2964561
|
+
[1m[35mHubstats::User Load (0.2ms)[0m SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1
|
2964562
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2964563
|
+
[1m[35mHubstats::User Exists (0.1ms)[0m SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1
|
2964564
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2964565
|
+
[1m[35mHubstats::Repo Load (0.2ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1
|
2964566
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
2964567
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2964568
|
+
[1m[36mHubstats::PullRequest Load (0.2ms)[0m [1mSELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 17237179 LIMIT 1[0m
|
2964569
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2964570
|
+
[1m[36m (0.2ms)[0m [1mUPDATE `hubstats_pull_requests` SET `body` = '## Description and Impact\r\nChanges how repo.index queries for things\r\n\r\n## Deploy Plan\r\n> Does Infrastructure need to know anything special about this deploy?\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## URLs\r\n> Links to bug tickets or user stories.\r\n\r\n## QA Plan\r\n> Fill in scenarios below. Review [QA Best Practices](https://source.sportngin.com/page/show/1227795-qa-best-practices).\r\n\r\n#### Risk Level:\r\n- [X] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\nRake app:hubstats:setup to build\r\nCheckout that the number of comments and pulls in the active users table add up to the numbers displayed above', `created_at` = '2014-06-17 14:10:15', `updated_at` = '2014-06-19 17:49:18', `closed_at` = '2014-06-17 20:00:02', `merged_at` = '2014-06-17 20:00:02' WHERE `hubstats_pull_requests`.`id` = 17237179[0m
|
2964571
|
+
[1m[35m (0.4ms)[0m COMMIT
|
2964572
|
+
[1m[36mHubstats::User Load (0.2ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1[0m
|
2964573
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2964574
|
+
[1m[36mHubstats::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1[0m
|
2964575
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2964576
|
+
[1m[36mHubstats::User Load (0.1ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1[0m
|
2964577
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2964578
|
+
[1m[36mHubstats::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1[0m
|
2964579
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2964580
|
+
[1m[36mHubstats::Repo Load (0.2ms)[0m [1mSELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1[0m
|
2964581
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2964582
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2964583
|
+
[1m[35mHubstats::PullRequest Load (0.2ms)[0m SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 17071619 LIMIT 1
|
2964584
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2964585
|
+
[1m[35m (0.2ms)[0m UPDATE `hubstats_pull_requests` SET `body` = '## Description and Impact\r\nExtends functionality by allowing all of an organization\'s repos be watched\r\n\r\n## Deploy Plan\r\nNope\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## URLs\r\n> Links to bug tickets or user stories.\r\n\r\n## QA Plan\r\n> Fill in scenarios below. Review [QA Best Practices](https://source.sportngin.com/page/show/1227795-qa-best-practices).\r\n\r\n#### Risk Level:\r\n- [X] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\nThis is really just a intermediary pull_request, it doesn\'t really do much as of yet, just see how the code looks.', `created_at` = '2014-06-12 18:32:21', `updated_at` = '2014-06-19 17:49:21', `closed_at` = '2014-06-16 21:55:07', `merged_at` = '2014-06-16 21:55:07' WHERE `hubstats_pull_requests`.`id` = 17071619
|
2964586
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2964587
|
+
[1m[35mHubstats::User Load (0.2ms)[0m SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
|
2964588
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
2964589
|
+
[1m[35mHubstats::User Exists (0.1ms)[0m SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
|
2964590
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2964591
|
+
[1m[35mHubstats::User Load (0.2ms)[0m SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1
|
2964592
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2964593
|
+
[1m[35mHubstats::User Exists (0.1ms)[0m SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1
|
2964594
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2964595
|
+
[1m[35mHubstats::Repo Load (0.2ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1
|
2964596
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2964597
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2964598
|
+
[1m[36mHubstats::PullRequest Load (0.2ms)[0m [1mSELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 16834687 LIMIT 1[0m
|
2964599
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2964600
|
+
[1m[36m (0.2ms)[0m [1mUPDATE `hubstats_pull_requests` SET `body` = '## Description and Impact\r\nMakes it someone useful, allows you to import data from github and store it in a database\r\n\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## URLs\r\n> localhost:3000/hubification\r\n\r\n## QA Plan\r\n\r\n#### Risk Level:\r\n- [X] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\nstart it up, run migrations. \r\n\r\nRun rake app:populate:{users/pulls/comments}, checkout out /hubification to see that it works.', `created_at` = '2014-06-06 18:17:02', `updated_at` = '2014-06-19 17:49:24', `closed_at` = '2014-06-11 21:52:48', `merged_at` = '2014-06-11 21:52:48' WHERE `hubstats_pull_requests`.`id` = 16834687[0m
|
2964601
|
+
[1m[35m (0.4ms)[0m COMMIT
|
2964602
|
+
[1m[36mHubstats::User Load (0.2ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1[0m
|
2964603
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2964604
|
+
[1m[36mHubstats::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1[0m
|
2964605
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2964606
|
+
[1m[36mHubstats::User Load (0.3ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1[0m
|
2964607
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2964608
|
+
[1m[36mHubstats::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1[0m
|
2964609
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2964610
|
+
[1m[36mHubstats::Repo Load (0.2ms)[0m [1mSELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1[0m
|
2964611
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2964612
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2964613
|
+
[1m[35mHubstats::PullRequest Load (0.2ms)[0m SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 16631904 LIMIT 1
|
2964614
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2964615
|
+
[1m[35m (0.2ms)[0m UPDATE `hubstats_pull_requests` SET `body` = '## Description and Impact\r\nChanges the way hubification authenticates github users\r\n\r\n## Deploy Plan\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## URLs\r\n> Links to bug tickets or user stories.\r\n\r\n## QA Plan\r\n> Fill in scenarios below. Review [QA Best Practices](https://source.sportngin.com/page/show/1227795-qa-best-practices).\r\n\r\n#### Risk Level:\r\n- [X] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\nYou must have either environment variables set or set up the test/dummy/config/octokit.yml.\r\nRun rspec all tests should pass.', `created_at` = '2014-06-03 01:48:32', `updated_at` = '2014-06-18 19:49:22', `closed_at` = '2014-06-04 13:00:31', `merged_at` = '2014-06-04 13:00:31' WHERE `hubstats_pull_requests`.`id` = 16631904
|
2964616
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2964617
|
+
[1m[35mHubstats::User Load (0.2ms)[0m SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
|
2964618
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2964619
|
+
[1m[35mHubstats::User Exists (0.1ms)[0m SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
|
2964620
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2964621
|
+
[1m[35mHubstats::User Load (0.2ms)[0m SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1
|
2964622
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2964623
|
+
[1m[35mHubstats::User Exists (0.1ms)[0m SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1
|
2964624
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2964625
|
+
[1m[35mHubstats::Repo Load (0.2ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1
|
2964626
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2964627
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2964628
|
+
[1m[36mHubstats::PullRequest Load (0.2ms)[0m [1mSELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 16501072 LIMIT 1[0m
|
2964629
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2964630
|
+
[1m[36m (0.2ms)[0m [1mUPDATE `hubstats_pull_requests` SET `body` = '## Description and Impact\r\nIt\'s huge!!! Allows for the hourly updating of the future pull requests data table\r\n\r\n## Deploy Plan\r\nNothing to worry about.\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## URLs\r\n> Links to bug tickets or user stories.\r\n\r\n## QA Plan\r\n> Fill in scenarios below. Review [QA Best Practices](https://source.sportngin.com/page/show/1227795-qa-best-practices).\r\n\r\n#### Risk Level:\r\n- [X] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\nRun rake app:hubification:since from root to try it.\r\nTheres also a test that makes sure it works....\r\n', `created_at` = '2014-05-29 20:10:57', `updated_at` = '2014-06-13 12:23:34', `closed_at` = '2014-06-02 21:35:21', `merged_at` = '2014-06-02 21:35:21' WHERE `hubstats_pull_requests`.`id` = 16501072[0m
|
2964631
|
+
[1m[35m (0.4ms)[0m COMMIT
|
2964632
|
+
[1m[36mHubstats::Repo Load (0.2ms)[0m [1mSELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1[0m
|
2964633
|
+
[1m[35mHubstats::Repo Load (0.3ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
|
2964634
|
+
Connecting to database specified by database.yml
|
2964635
|
+
[1m[36m (1.9ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations` [0m
|
2964636
|
+
Migrating to CreateHubstatsPullRequests (20140702142614)
|
2964637
|
+
Migrating to CreateHubstatsUsers (20140702142615)
|
2964638
|
+
Migrating to CreateHubstatsComments (20140702142616)
|
2964639
|
+
Migrating to CreateHubstatsRepos (20140702142617)
|
2964640
|
+
[1m[35m (0.2ms)[0m SELECT `schema_migrations`.`version` FROM `schema_migrations`
|
2964641
|
+
[1m[36mHubstats::User Load (0.2ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1[0m
|
2964642
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2964643
|
+
[1m[36mHubstats::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1[0m
|
2964644
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2964645
|
+
[1m[36mHubstats::Repo Load (0.3ms)[0m [1mSELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1[0m
|
2964646
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2964647
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2964648
|
+
[1m[35mHubstats::User Load (0.3ms)[0m SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
|
2964649
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2964650
|
+
[1m[35mHubstats::User Exists (0.2ms)[0m SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
|
2964651
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2964652
|
+
[1m[35mHubstats::User Load (0.2ms)[0m SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1
|
2964653
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2964654
|
+
[1m[35mHubstats::User Exists (0.1ms)[0m SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1
|
2964655
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2964656
|
+
[1m[35mHubstats::Repo Load (0.2ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
|
2964657
|
+
[1m[36mHubstats::User Load (0.3ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1[0m
|
2964658
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2964659
|
+
[1m[36mHubstats::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1[0m
|
2964660
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2964661
|
+
[1m[36mHubstats::User Load (0.2ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1[0m
|
2964662
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2964663
|
+
[1m[36mHubstats::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1[0m
|
2964664
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2964665
|
+
[1m[36mHubstats::Repo Load (0.2ms)[0m [1mSELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1[0m
|
2964666
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2964667
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2964668
|
+
[1m[35mHubstats::PullRequest Load (0.2ms)[0m SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 17849812 LIMIT 1
|
2964669
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2964670
|
+
[1m[35m (0.3ms)[0m UPDATE `hubstats_pull_requests` SET `body` = '## Description and Impact\r\nNo Real Impact, just adds some more stats for things\r\n\r\n## Deploy Plan\r\n> Does Infrastructure need to know anything special about this deploy?\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## URLs\r\n> Links to bug tickets or user stories.\r\n\r\n## QA Plan\r\n> Fill in scenarios below. Review [QA Best Practices](https://source.sportngin.com/page/show/1227795-qa-best-practices).\r\n\r\n#### Risk Level:\r\n- [X] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\nCheck it out.\r\n', `created_at` = '2014-07-01 19:22:25', `updated_at` = '2014-07-01 21:02:54', `closed_at` = '2014-07-01 21:02:54', `merged_at` = '2014-07-01 21:02:54' WHERE `hubstats_pull_requests`.`id` = 17849812
|
2964671
|
+
[1m[36m (0.5ms)[0m [1mCOMMIT[0m
|
2964672
|
+
[1m[35mHubstats::User Load (0.2ms)[0m SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
|
2964673
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2964674
|
+
[1m[35mHubstats::User Exists (0.2ms)[0m SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
|
2964675
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2964676
|
+
[1m[35mHubstats::User Load (0.2ms)[0m SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1
|
2964677
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2964678
|
+
[1m[35mHubstats::User Exists (0.1ms)[0m SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1
|
2964679
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2964680
|
+
[1m[35mHubstats::Repo Load (0.3ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1
|
2964681
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2964682
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2964683
|
+
[1m[36mHubstats::PullRequest Load (0.2ms)[0m [1mSELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 17837873 LIMIT 1[0m
|
2964684
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2964685
|
+
[1m[36m (0.2ms)[0m [1mUPDATE `hubstats_pull_requests` SET `body` = '## Description and Impact\r\n> What impact does this change have for production?\r\n\r\n## Deploy Plan\r\n> Does Infrastructure need to know anything special about this deploy?\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## URLs\r\n> Links to bug tickets or user stories.\r\n\r\n## QA Plan\r\n> Fill in scenarios below. Review [QA Best Practices](https://source.sportngin.com/page/show/1227795-qa-best-practices).\r\n\r\n#### Risk Level:\r\n- [x] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\n#### Happy Path Scenarios\r\n* Happy Path scenario 1\r\n* Happy Path scenario 2\r\n\r\n#### Additional Scenarios (Edge Case, Negative, etc.)\r\n* Edge case scenario 1\r\n* Edge case scenario 2\r\n\r\n#### Regression Scenarios\r\n* Regression item on related feature 1\r\n* Regression item on related feature 2\r\n', `created_at` = '2014-07-01 15:40:39', `updated_at` = '2014-07-01 21:02:33', `closed_at` = '2014-07-01 21:02:33', `merged_at` = '2014-07-01 21:02:33' WHERE `hubstats_pull_requests`.`id` = 17837873[0m
|
2964686
|
+
[1m[35m (0.4ms)[0m COMMIT
|
2964687
|
+
[1m[36mHubstats::User Load (0.2ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1[0m
|
2964688
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2964689
|
+
[1m[36mHubstats::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1[0m
|
2964690
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2964691
|
+
[1m[36mHubstats::User Load (0.1ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1[0m
|
2964692
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2964693
|
+
[1m[36mHubstats::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1[0m
|
2964694
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2964695
|
+
[1m[36mHubstats::Repo Load (0.2ms)[0m [1mSELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1[0m
|
2964696
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2964697
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2964698
|
+
[1m[35mHubstats::PullRequest Load (0.2ms)[0m SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 17784161 LIMIT 1
|
2964699
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2964700
|
+
[1m[35m (0.2ms)[0m UPDATE `hubstats_pull_requests` SET `body` = '## Description and Impact\r\nMakes it waaaaaay faster to load, and set the cookie on initial load.\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## URLs\r\n> Links to bug tickets or user stories.\r\n\r\n## QA Plan\r\n> Fill in scenarios below. Review [QA Best Practices](https://source.sportngin.com/page/show/1227795-qa-best-practices).\r\n\r\n#### Risk Level:\r\n- [X] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\n#### Happy Path Scenarios\r\n', `created_at` = '2014-06-30 16:48:13', `updated_at` = '2014-07-01 15:34:53', `closed_at` = '2014-07-01 15:34:53', `merged_at` = '2014-07-01 15:34:53' WHERE `hubstats_pull_requests`.`id` = 17784161
|
2964701
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2964702
|
+
[1m[35mHubstats::User Load (0.2ms)[0m SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
|
2964703
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2964704
|
+
[1m[35mHubstats::User Exists (0.1ms)[0m SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
|
2964705
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2964706
|
+
[1m[35mHubstats::User Load (0.2ms)[0m SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1
|
2964707
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2964708
|
+
[1m[35mHubstats::User Exists (0.1ms)[0m SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1
|
2964709
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2964710
|
+
[1m[35mHubstats::Repo Load (0.2ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1
|
2964711
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2964712
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2964713
|
+
[1m[36mHubstats::PullRequest Load (0.2ms)[0m [1mSELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 17536385 LIMIT 1[0m
|
2964714
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2964715
|
+
[1m[36m (0.2ms)[0m [1mUPDATE `hubstats_pull_requests` SET `body` = '## Description and Impact\r\nFixes/updates gem and installation process.\r\n\r\n## Deploy Plan\r\n> Does Infrastructure need to know anything special about this deploy?\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## URLs\r\n> Links to bug tickets or user stories.\r\n\r\n## QA Plan\r\n> Fill in scenarios below. Review [QA Best Practices](https://source.sportngin.com/page/show/1227795-qa-best-practices).\r\n\r\n#### Risk Level:\r\n- [X] Low\r\n- [ ] Medium\r\n- [ ] High\r\n', `created_at` = '2014-06-24 14:54:34', `updated_at` = '2014-06-24 22:12:17', `closed_at` = '2014-06-24 15:25:35', `merged_at` = '2014-06-24 15:25:35' WHERE `hubstats_pull_requests`.`id` = 17536385[0m
|
2964716
|
+
[1m[35m (0.4ms)[0m COMMIT
|
2964717
|
+
[1m[36mHubstats::User Load (0.1ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1[0m
|
2964718
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2964719
|
+
[1m[36mHubstats::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1[0m
|
2964720
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2964721
|
+
[1m[36mHubstats::User Load (0.1ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1[0m
|
2964722
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2964723
|
+
[1m[36mHubstats::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1[0m
|
2964724
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2964725
|
+
[1m[36mHubstats::Repo Load (0.2ms)[0m [1mSELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1[0m
|
2964726
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2964727
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2964728
|
+
[1m[35mHubstats::PullRequest Load (0.2ms)[0m SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 17479705 LIMIT 1
|
2964729
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2964730
|
+
[1m[35m (0.2ms)[0m UPDATE `hubstats_pull_requests` SET `body` = '## Description and Impact\r\nHandles event triggering for repo closings and openings.\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## URLs\r\n> Links to bug tickets or user stories.\r\n\r\n## QA Plan\r\n> Fill in scenarios below. Review [QA Best Practices](https://source.sportngin.com/page/show/1227795-qa-best-practices).\r\n\r\n#### Risk Level:\r\n- [X] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\n\r\n', `created_at` = '2014-06-23 15:11:37', `updated_at` = '2014-06-24 22:12:18', `closed_at` = '2014-06-23 21:54:29', `merged_at` = '2014-06-23 21:54:29' WHERE `hubstats_pull_requests`.`id` = 17479705
|
2964731
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2964732
|
+
[1m[35mHubstats::User Load (0.2ms)[0m SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
|
2964733
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2964734
|
+
[1m[35mHubstats::User Exists (0.1ms)[0m SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
|
2964735
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2964736
|
+
[1m[35mHubstats::User Load (0.2ms)[0m SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1
|
2964737
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2964738
|
+
[1m[35mHubstats::User Exists (0.1ms)[0m SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1
|
2964739
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2964740
|
+
[1m[35mHubstats::Repo Load (0.2ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1
|
2964741
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2964742
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2964743
|
+
[1m[36mHubstats::PullRequest Load (0.2ms)[0m [1mSELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 17423995 LIMIT 1[0m
|
2964744
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2964745
|
+
[1m[36m (0.2ms)[0m [1mUPDATE `hubstats_pull_requests` SET `body` = '## Description and Impact\r\nIt gets comments from github now on creation....\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## URLs\r\n> Links to bug tickets or user stories.\r\n\r\n## QA Plan\r\n> Fill in scenarios below. Review [QA Best Practices](https://source.sportngin.com/page/show/1227795-qa-best-practices).\r\n\r\n#### Risk Level:\r\n- [x] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\nmake a comment, checkout the repo/pull and see the comment on refresh', `created_at` = '2014-06-20 19:40:44', `updated_at` = '2014-06-24 22:13:28', `closed_at` = '2014-06-20 21:44:59', `merged_at` = '2014-06-20 21:44:59' WHERE `hubstats_pull_requests`.`id` = 17423995[0m
|
2964746
|
+
[1m[35m (0.4ms)[0m COMMIT
|
2964747
|
+
[1m[36mHubstats::User Load (0.1ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1[0m
|
2964748
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2964749
|
+
[1m[36mHubstats::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1[0m
|
2964750
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2964751
|
+
[1m[36mHubstats::User Load (0.2ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1[0m
|
2964752
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2964753
|
+
[1m[36mHubstats::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1[0m
|
2964754
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2964755
|
+
[1m[36mHubstats::Repo Load (0.2ms)[0m [1mSELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1[0m
|
2964756
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2964757
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2964758
|
+
[1m[35mHubstats::PullRequest Load (0.2ms)[0m SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 17414868 LIMIT 1
|
2964759
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2964760
|
+
[1m[35m (0.2ms)[0m UPDATE `hubstats_pull_requests` SET `body` = '## Description and Impact\r\nFixes the rake task that I broke with the last pull request\r\n\r\n## Deploy Plan\r\nNope\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## URLs\r\n> Links to bug tickets or user stories.\r\n\r\n## QA Plan\r\n> Fill in scenarios below. Review [QA Best Practices](https://source.sportngin.com/page/show/1227795-qa-best-practices).\r\n\r\n#### Risk Level:\r\n- [X] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\nfixed rake task....', `created_at` = '2014-06-20 16:29:51', `updated_at` = '2014-06-20 21:34:15', `closed_at` = '2014-06-20 21:32:17', `merged_at` = '2014-06-20 21:32:17' WHERE `hubstats_pull_requests`.`id` = 17414868
|
2964761
|
+
[1m[36m (0.5ms)[0m [1mCOMMIT[0m
|
2964762
|
+
[1m[35mHubstats::User Load (0.3ms)[0m SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
|
2964763
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2964764
|
+
[1m[35mHubstats::User Exists (0.1ms)[0m SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
|
2964765
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2964766
|
+
[1m[35mHubstats::User Load (0.2ms)[0m SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1
|
2964767
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2964768
|
+
[1m[35mHubstats::User Exists (0.1ms)[0m SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1
|
2964769
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2964770
|
+
[1m[35mHubstats::Repo Load (0.2ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1
|
2964771
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2964772
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2964773
|
+
[1m[36mHubstats::PullRequest Load (0.2ms)[0m [1mSELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 17407567 LIMIT 1[0m
|
2964774
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2964775
|
+
[1m[36m (0.2ms)[0m [1mUPDATE `hubstats_pull_requests` SET `body` = '## Description and Impact\r\nStarted the process of using Event Hooks,\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## QA Plan\r\n> Fill in scenarios below. Review [QA Best Practices](https://source.sportngin.com/page/show/1227795-qa-best-practices).\r\n\r\n#### Risk Level:\r\n- [X] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\nJust check to see how the code is looking....\r\n', `created_at` = '2014-06-20 14:17:28', `updated_at` = '2014-06-20 19:58:22', `closed_at` = '2014-06-20 14:52:30', `merged_at` = '2014-06-20 14:52:30' WHERE `hubstats_pull_requests`.`id` = 17407567[0m
|
2964776
|
+
[1m[35m (0.5ms)[0m COMMIT
|
2964777
|
+
[1m[36mHubstats::User Load (0.1ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1[0m
|
2964778
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2964779
|
+
[1m[36mHubstats::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1[0m
|
2964780
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2964781
|
+
[1m[36mHubstats::User Load (0.2ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1[0m
|
2964782
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2964783
|
+
[1m[36mHubstats::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1[0m
|
2964784
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2964785
|
+
[1m[36mHubstats::Repo Load (0.2ms)[0m [1mSELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1[0m
|
2964786
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2964787
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2964788
|
+
[1m[35mHubstats::PullRequest Load (0.2ms)[0m SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 17313123 LIMIT 1
|
2964789
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2964790
|
+
[1m[35m (0.2ms)[0m UPDATE `hubstats_pull_requests` SET `body` = '## Description and Impact\r\nAdds the number of comments a user has reviewed to the \"User Show\" page\r\n\r\n## Deploy Plan\r\nNo worries.\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## QA Plan\r\nSmall feature addition, just check that users have reviewed comments\r\n#### Risk Level:\r\n- [x] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\n#### Happy Path Scenarios\r\nCheckout a user, make sure they have pulls reviewed. If elliothursh is a user in your database, make sure he has 0 pulls.', `created_at` = '2014-06-18 19:12:42', `updated_at` = '2014-06-19 18:17:58', `closed_at` = '2014-06-19 18:17:52', `merged_at` = '2014-06-19 18:17:52' WHERE `hubstats_pull_requests`.`id` = 17313123
|
2964791
|
+
[1m[36m (0.5ms)[0m [1mCOMMIT[0m
|
2964792
|
+
[1m[35mHubstats::User Load (0.1ms)[0m SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
|
2964793
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2964794
|
+
[1m[35mHubstats::User Exists (0.1ms)[0m SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
|
2964795
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2964796
|
+
[1m[35mHubstats::User Load (0.2ms)[0m SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1
|
2964797
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2964798
|
+
[1m[35mHubstats::User Exists (0.2ms)[0m SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1
|
2964799
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2964800
|
+
[1m[35mHubstats::Repo Load (0.2ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1
|
2964801
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
2964802
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2964803
|
+
[1m[36mHubstats::PullRequest Load (0.2ms)[0m [1mSELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 17306127 LIMIT 1[0m
|
2964804
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2964805
|
+
[1m[36m (0.2ms)[0m [1mUPDATE `hubstats_pull_requests` SET `body` = '## Description and Impact\r\nNo real impact, allows user to change time frame from which data is displayed.\r\nChanged views to allow this to work.\r\n\r\n## Deploy Plan\r\nNo Worries\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## URLs\r\n> Links to bug tickets or user stories.\r\n\r\n## QA Plan\r\n> Fill in scenarios below. Review [QA Best Practices](https://source.sportngin.com/page/show/1227795-qa-best-practices).\r\n\r\n#### Risk Level:\r\n- [X] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\nJust make sure the time picker persists over requests and changing pages, and views update accordingly.', `created_at` = '2014-06-18 17:05:06', `updated_at` = '2014-06-19 17:49:15', `closed_at` = '2014-06-19 17:41:29', `merged_at` = '2014-06-19 17:41:29' WHERE `hubstats_pull_requests`.`id` = 17306127[0m
|
2964806
|
+
[1m[35m (0.4ms)[0m COMMIT
|
2964807
|
+
[1m[36mHubstats::User Load (0.1ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1[0m
|
2964808
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2964809
|
+
[1m[36mHubstats::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1[0m
|
2964810
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2964811
|
+
[1m[36mHubstats::User Load (0.1ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1[0m
|
2964812
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2964813
|
+
[1m[36mHubstats::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1[0m
|
2964814
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2964815
|
+
[1m[36mHubstats::Repo Load (0.2ms)[0m [1mSELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1[0m
|
2964816
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2964817
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2964818
|
+
[1m[35mHubstats::PullRequest Load (0.2ms)[0m SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 17256454 LIMIT 1
|
2964819
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2964820
|
+
[1m[35m (0.2ms)[0m UPDATE `hubstats_pull_requests` SET `body` = '## Description and Impact\r\nIt should hopefully make things faster\r\n\r\n## Deploy Plan\r\nNothing to worry about\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## URLs\r\n> Links to bug tickets or user stories.\r\n\r\n## QA Plan\r\n> Fill in scenarios below. Review [QA Best Practices](https://source.sportngin.com/page/show/1227795-qa-best-practices).\r\n\r\n#### Risk Level:\r\n- [X] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\nRake app:hubstats:reset then check sequel pro to see indices? ', `created_at` = '2014-06-17 19:34:54', `updated_at` = '2014-06-19 17:49:20', `closed_at` = '2014-06-17 19:47:18', `merged_at` = '2014-06-17 19:47:18' WHERE `hubstats_pull_requests`.`id` = 17256454
|
2964821
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2964822
|
+
[1m[35mHubstats::User Load (0.1ms)[0m SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
|
2964823
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2964824
|
+
[1m[35mHubstats::User Exists (0.2ms)[0m SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
|
2964825
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2964826
|
+
[1m[35mHubstats::User Load (0.2ms)[0m SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1
|
2964827
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2964828
|
+
[1m[35mHubstats::User Exists (0.1ms)[0m SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1
|
2964829
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2964830
|
+
[1m[35mHubstats::Repo Load (0.2ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1
|
2964831
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2964832
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2964833
|
+
[1m[36mHubstats::PullRequest Load (0.2ms)[0m [1mSELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 17237179 LIMIT 1[0m
|
2964834
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2964835
|
+
[1m[36m (0.2ms)[0m [1mUPDATE `hubstats_pull_requests` SET `body` = '## Description and Impact\r\nChanges how repo.index queries for things\r\n\r\n## Deploy Plan\r\n> Does Infrastructure need to know anything special about this deploy?\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## URLs\r\n> Links to bug tickets or user stories.\r\n\r\n## QA Plan\r\n> Fill in scenarios below. Review [QA Best Practices](https://source.sportngin.com/page/show/1227795-qa-best-practices).\r\n\r\n#### Risk Level:\r\n- [X] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\nRake app:hubstats:setup to build\r\nCheckout that the number of comments and pulls in the active users table add up to the numbers displayed above', `created_at` = '2014-06-17 14:10:15', `updated_at` = '2014-06-19 17:49:18', `closed_at` = '2014-06-17 20:00:02', `merged_at` = '2014-06-17 20:00:02' WHERE `hubstats_pull_requests`.`id` = 17237179[0m
|
2964836
|
+
[1m[35m (0.4ms)[0m COMMIT
|
2964837
|
+
[1m[36mHubstats::User Load (0.1ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1[0m
|
2964838
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2964839
|
+
[1m[36mHubstats::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1[0m
|
2964840
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2964841
|
+
[1m[36mHubstats::User Load (0.1ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1[0m
|
2964842
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2964843
|
+
[1m[36mHubstats::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1[0m
|
2964844
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2964845
|
+
[1m[36mHubstats::Repo Load (0.2ms)[0m [1mSELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1[0m
|
2964846
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2964847
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2964848
|
+
[1m[35mHubstats::PullRequest Load (0.2ms)[0m SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 17071619 LIMIT 1
|
2964849
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2964850
|
+
[1m[35m (0.2ms)[0m UPDATE `hubstats_pull_requests` SET `body` = '## Description and Impact\r\nExtends functionality by allowing all of an organization\'s repos be watched\r\n\r\n## Deploy Plan\r\nNope\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## URLs\r\n> Links to bug tickets or user stories.\r\n\r\n## QA Plan\r\n> Fill in scenarios below. Review [QA Best Practices](https://source.sportngin.com/page/show/1227795-qa-best-practices).\r\n\r\n#### Risk Level:\r\n- [X] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\nThis is really just a intermediary pull_request, it doesn\'t really do much as of yet, just see how the code looks.', `created_at` = '2014-06-12 18:32:21', `updated_at` = '2014-06-19 17:49:21', `closed_at` = '2014-06-16 21:55:07', `merged_at` = '2014-06-16 21:55:07' WHERE `hubstats_pull_requests`.`id` = 17071619
|
2964851
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2964852
|
+
[1m[35mHubstats::User Load (0.2ms)[0m SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
|
2964853
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2964854
|
+
[1m[35mHubstats::User Exists (0.1ms)[0m SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
|
2964855
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2964856
|
+
[1m[35mHubstats::User Load (0.2ms)[0m SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1
|
2964857
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2964858
|
+
[1m[35mHubstats::User Exists (0.1ms)[0m SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1
|
2964859
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2964860
|
+
[1m[35mHubstats::Repo Load (0.2ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1
|
2964861
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2964862
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2964863
|
+
[1m[36mHubstats::PullRequest Load (0.2ms)[0m [1mSELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 16834687 LIMIT 1[0m
|
2964864
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2964865
|
+
[1m[36m (0.2ms)[0m [1mUPDATE `hubstats_pull_requests` SET `body` = '## Description and Impact\r\nMakes it someone useful, allows you to import data from github and store it in a database\r\n\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## URLs\r\n> localhost:3000/hubification\r\n\r\n## QA Plan\r\n\r\n#### Risk Level:\r\n- [X] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\nstart it up, run migrations. \r\n\r\nRun rake app:populate:{users/pulls/comments}, checkout out /hubification to see that it works.', `created_at` = '2014-06-06 18:17:02', `updated_at` = '2014-06-19 17:49:24', `closed_at` = '2014-06-11 21:52:48', `merged_at` = '2014-06-11 21:52:48' WHERE `hubstats_pull_requests`.`id` = 16834687[0m
|
2964866
|
+
[1m[35m (0.4ms)[0m COMMIT
|
2964867
|
+
[1m[36mHubstats::User Load (0.2ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1[0m
|
2964868
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2964869
|
+
[1m[36mHubstats::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1[0m
|
2964870
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2964871
|
+
[1m[36mHubstats::User Load (0.2ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1[0m
|
2964872
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2964873
|
+
[1m[36mHubstats::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1[0m
|
2964874
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2964875
|
+
[1m[36mHubstats::Repo Load (0.2ms)[0m [1mSELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1[0m
|
2964876
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2964877
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2964878
|
+
[1m[35mHubstats::PullRequest Load (0.2ms)[0m SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 16631904 LIMIT 1
|
2964879
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2964880
|
+
[1m[35m (0.2ms)[0m UPDATE `hubstats_pull_requests` SET `body` = '## Description and Impact\r\nChanges the way hubification authenticates github users\r\n\r\n## Deploy Plan\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## URLs\r\n> Links to bug tickets or user stories.\r\n\r\n## QA Plan\r\n> Fill in scenarios below. Review [QA Best Practices](https://source.sportngin.com/page/show/1227795-qa-best-practices).\r\n\r\n#### Risk Level:\r\n- [X] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\nYou must have either environment variables set or set up the test/dummy/config/octokit.yml.\r\nRun rspec all tests should pass.', `created_at` = '2014-06-03 01:48:32', `updated_at` = '2014-06-18 19:49:22', `closed_at` = '2014-06-04 13:00:31', `merged_at` = '2014-06-04 13:00:31' WHERE `hubstats_pull_requests`.`id` = 16631904
|
2964881
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2964882
|
+
[1m[35mHubstats::User Load (0.2ms)[0m SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
|
2964883
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2964884
|
+
[1m[35mHubstats::User Exists (0.1ms)[0m SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
|
2964885
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2964886
|
+
[1m[35mHubstats::User Load (0.2ms)[0m SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1
|
2964887
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2964888
|
+
[1m[35mHubstats::User Exists (0.2ms)[0m SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1
|
2964889
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2964890
|
+
[1m[35mHubstats::Repo Load (0.2ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1
|
2964891
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2964892
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2964893
|
+
[1m[36mHubstats::PullRequest Load (0.2ms)[0m [1mSELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 16501072 LIMIT 1[0m
|
2964894
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2964895
|
+
[1m[36m (0.2ms)[0m [1mUPDATE `hubstats_pull_requests` SET `body` = '## Description and Impact\r\nIt\'s huge!!! Allows for the hourly updating of the future pull requests data table\r\n\r\n## Deploy Plan\r\nNothing to worry about.\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## URLs\r\n> Links to bug tickets or user stories.\r\n\r\n## QA Plan\r\n> Fill in scenarios below. Review [QA Best Practices](https://source.sportngin.com/page/show/1227795-qa-best-practices).\r\n\r\n#### Risk Level:\r\n- [X] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\nRun rake app:hubification:since from root to try it.\r\nTheres also a test that makes sure it works....\r\n', `created_at` = '2014-05-29 20:10:57', `updated_at` = '2014-06-13 12:23:34', `closed_at` = '2014-06-02 21:35:21', `merged_at` = '2014-06-02 21:35:21' WHERE `hubstats_pull_requests`.`id` = 16501072[0m
|
2964896
|
+
[1m[35m (0.5ms)[0m COMMIT
|
2964897
|
+
[1m[36mHubstats::Repo Load (0.2ms)[0m [1mSELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1[0m
|
2964898
|
+
[1m[35mHubstats::Repo Load (0.4ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
|
2964899
|
+
Connecting to database specified by database.yml
|
2964900
|
+
[1m[36m (1.8ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations` [0m
|
2964901
|
+
Migrating to CreateHubstatsPullRequests (20140702142614)
|
2964902
|
+
Migrating to CreateHubstatsUsers (20140702142615)
|
2964903
|
+
Migrating to CreateHubstatsComments (20140702142616)
|
2964904
|
+
Migrating to CreateHubstatsRepos (20140702142617)
|
2964905
|
+
[1m[35m (0.2ms)[0m SELECT `schema_migrations`.`version` FROM `schema_migrations`
|
2964906
|
+
[1m[36mHubstats::User Load (0.2ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1[0m
|
2964907
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2964908
|
+
[1m[36mHubstats::User Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1[0m
|
2964909
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2964910
|
+
[1m[36mHubstats::Repo Load (0.2ms)[0m [1mSELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1[0m
|
2964911
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2964912
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2964913
|
+
[1m[35mHubstats::User Load (0.3ms)[0m SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
|
2964914
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2964915
|
+
[1m[35mHubstats::User Exists (0.2ms)[0m SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
|
2964916
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2964917
|
+
[1m[35mHubstats::User Load (0.2ms)[0m SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1
|
2964918
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2964919
|
+
[1m[35mHubstats::User Exists (0.2ms)[0m SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1
|
2964920
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2964921
|
+
[1m[35mHubstats::Repo Load (0.2ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
|
2964922
|
+
[1m[36mHubstats::User Load (0.3ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1[0m
|
2964923
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2964924
|
+
[1m[36mHubstats::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1[0m
|
2964925
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2964926
|
+
[1m[36mHubstats::User Load (0.2ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1[0m
|
2964927
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2964928
|
+
[1m[36mHubstats::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1[0m
|
2964929
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2964930
|
+
[1m[36mHubstats::Repo Load (0.2ms)[0m [1mSELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1[0m
|
2964931
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2964932
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2964933
|
+
[1m[35mHubstats::PullRequest Load (0.3ms)[0m SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 17849812 LIMIT 1
|
2964934
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2964935
|
+
[1m[35m (0.3ms)[0m UPDATE `hubstats_pull_requests` SET `body` = '## Description and Impact\r\nNo Real Impact, just adds some more stats for things\r\n\r\n## Deploy Plan\r\n> Does Infrastructure need to know anything special about this deploy?\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## URLs\r\n> Links to bug tickets or user stories.\r\n\r\n## QA Plan\r\n> Fill in scenarios below. Review [QA Best Practices](https://source.sportngin.com/page/show/1227795-qa-best-practices).\r\n\r\n#### Risk Level:\r\n- [X] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\nCheck it out.\r\n', `created_at` = '2014-07-01 19:22:25', `updated_at` = '2014-07-01 21:02:54', `closed_at` = '2014-07-01 21:02:54', `merged_at` = '2014-07-01 21:02:54' WHERE `hubstats_pull_requests`.`id` = 17849812
|
2964936
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2964937
|
+
[1m[35mHubstats::User Load (0.2ms)[0m SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
|
2964938
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2964939
|
+
[1m[35mHubstats::User Exists (0.2ms)[0m SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
|
2964940
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2964941
|
+
[1m[35mHubstats::User Load (0.2ms)[0m SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1
|
2964942
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2964943
|
+
[1m[35mHubstats::User Exists (0.1ms)[0m SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1
|
2964944
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2964945
|
+
[1m[35mHubstats::Repo Load (0.2ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1
|
2964946
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2964947
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2964948
|
+
[1m[36mHubstats::PullRequest Load (0.2ms)[0m [1mSELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 17837873 LIMIT 1[0m
|
2964949
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2964950
|
+
[1m[36m (0.2ms)[0m [1mUPDATE `hubstats_pull_requests` SET `body` = '## Description and Impact\r\n> What impact does this change have for production?\r\n\r\n## Deploy Plan\r\n> Does Infrastructure need to know anything special about this deploy?\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## URLs\r\n> Links to bug tickets or user stories.\r\n\r\n## QA Plan\r\n> Fill in scenarios below. Review [QA Best Practices](https://source.sportngin.com/page/show/1227795-qa-best-practices).\r\n\r\n#### Risk Level:\r\n- [x] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\n#### Happy Path Scenarios\r\n* Happy Path scenario 1\r\n* Happy Path scenario 2\r\n\r\n#### Additional Scenarios (Edge Case, Negative, etc.)\r\n* Edge case scenario 1\r\n* Edge case scenario 2\r\n\r\n#### Regression Scenarios\r\n* Regression item on related feature 1\r\n* Regression item on related feature 2\r\n', `created_at` = '2014-07-01 15:40:39', `updated_at` = '2014-07-01 21:02:33', `closed_at` = '2014-07-01 21:02:33', `merged_at` = '2014-07-01 21:02:33' WHERE `hubstats_pull_requests`.`id` = 17837873[0m
|
2964951
|
+
[1m[35m (0.4ms)[0m COMMIT
|
2964952
|
+
[1m[36mHubstats::User Load (0.2ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1[0m
|
2964953
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2964954
|
+
[1m[36mHubstats::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1[0m
|
2964955
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2964956
|
+
[1m[36mHubstats::User Load (0.2ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1[0m
|
2964957
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2964958
|
+
[1m[36mHubstats::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1[0m
|
2964959
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2964960
|
+
[1m[36mHubstats::Repo Load (0.2ms)[0m [1mSELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1[0m
|
2964961
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2964962
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2964963
|
+
[1m[35mHubstats::PullRequest Load (0.2ms)[0m SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 17784161 LIMIT 1
|
2964964
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2964965
|
+
[1m[35m (0.2ms)[0m UPDATE `hubstats_pull_requests` SET `body` = '## Description and Impact\r\nMakes it waaaaaay faster to load, and set the cookie on initial load.\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## URLs\r\n> Links to bug tickets or user stories.\r\n\r\n## QA Plan\r\n> Fill in scenarios below. Review [QA Best Practices](https://source.sportngin.com/page/show/1227795-qa-best-practices).\r\n\r\n#### Risk Level:\r\n- [X] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\n#### Happy Path Scenarios\r\n', `created_at` = '2014-06-30 16:48:13', `updated_at` = '2014-07-01 15:34:53', `closed_at` = '2014-07-01 15:34:53', `merged_at` = '2014-07-01 15:34:53' WHERE `hubstats_pull_requests`.`id` = 17784161
|
2964966
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2964967
|
+
[1m[35mHubstats::User Load (0.2ms)[0m SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
|
2964968
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2964969
|
+
[1m[35mHubstats::User Exists (0.1ms)[0m SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
|
2964970
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2964971
|
+
[1m[35mHubstats::User Load (0.2ms)[0m SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1
|
2964972
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2964973
|
+
[1m[35mHubstats::User Exists (0.1ms)[0m SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1
|
2964974
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2964975
|
+
[1m[35mHubstats::Repo Load (0.2ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1
|
2964976
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2964977
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2964978
|
+
[1m[36mHubstats::PullRequest Load (0.2ms)[0m [1mSELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 17536385 LIMIT 1[0m
|
2964979
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2964980
|
+
[1m[36m (0.2ms)[0m [1mUPDATE `hubstats_pull_requests` SET `body` = '## Description and Impact\r\nFixes/updates gem and installation process.\r\n\r\n## Deploy Plan\r\n> Does Infrastructure need to know anything special about this deploy?\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## URLs\r\n> Links to bug tickets or user stories.\r\n\r\n## QA Plan\r\n> Fill in scenarios below. Review [QA Best Practices](https://source.sportngin.com/page/show/1227795-qa-best-practices).\r\n\r\n#### Risk Level:\r\n- [X] Low\r\n- [ ] Medium\r\n- [ ] High\r\n', `created_at` = '2014-06-24 14:54:34', `updated_at` = '2014-06-24 22:12:17', `closed_at` = '2014-06-24 15:25:35', `merged_at` = '2014-06-24 15:25:35' WHERE `hubstats_pull_requests`.`id` = 17536385[0m
|
2964981
|
+
[1m[35m (0.4ms)[0m COMMIT
|
2964982
|
+
[1m[36mHubstats::User Load (0.1ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1[0m
|
2964983
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2964984
|
+
[1m[36mHubstats::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1[0m
|
2964985
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2964986
|
+
[1m[36mHubstats::User Load (0.2ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1[0m
|
2964987
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2964988
|
+
[1m[36mHubstats::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1[0m
|
2964989
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2964990
|
+
[1m[36mHubstats::Repo Load (0.2ms)[0m [1mSELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1[0m
|
2964991
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2964992
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2964993
|
+
[1m[35mHubstats::PullRequest Load (0.2ms)[0m SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 17479705 LIMIT 1
|
2964994
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2964995
|
+
[1m[35m (0.2ms)[0m UPDATE `hubstats_pull_requests` SET `body` = '## Description and Impact\r\nHandles event triggering for repo closings and openings.\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## URLs\r\n> Links to bug tickets or user stories.\r\n\r\n## QA Plan\r\n> Fill in scenarios below. Review [QA Best Practices](https://source.sportngin.com/page/show/1227795-qa-best-practices).\r\n\r\n#### Risk Level:\r\n- [X] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\n\r\n', `created_at` = '2014-06-23 15:11:37', `updated_at` = '2014-06-24 22:12:18', `closed_at` = '2014-06-23 21:54:29', `merged_at` = '2014-06-23 21:54:29' WHERE `hubstats_pull_requests`.`id` = 17479705
|
2964996
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2964997
|
+
[1m[35mHubstats::User Load (0.1ms)[0m SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
|
2964998
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2964999
|
+
[1m[35mHubstats::User Exists (0.1ms)[0m SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
|
2965000
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2965001
|
+
[1m[35mHubstats::User Load (0.2ms)[0m SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1
|
2965002
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2965003
|
+
[1m[35mHubstats::User Exists (0.2ms)[0m SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1
|
2965004
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2965005
|
+
[1m[35mHubstats::Repo Load (0.2ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1
|
2965006
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2965007
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2965008
|
+
[1m[36mHubstats::PullRequest Load (0.2ms)[0m [1mSELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 17423995 LIMIT 1[0m
|
2965009
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2965010
|
+
[1m[36m (0.2ms)[0m [1mUPDATE `hubstats_pull_requests` SET `body` = '## Description and Impact\r\nIt gets comments from github now on creation....\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## URLs\r\n> Links to bug tickets or user stories.\r\n\r\n## QA Plan\r\n> Fill in scenarios below. Review [QA Best Practices](https://source.sportngin.com/page/show/1227795-qa-best-practices).\r\n\r\n#### Risk Level:\r\n- [x] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\nmake a comment, checkout the repo/pull and see the comment on refresh', `created_at` = '2014-06-20 19:40:44', `updated_at` = '2014-06-24 22:13:28', `closed_at` = '2014-06-20 21:44:59', `merged_at` = '2014-06-20 21:44:59' WHERE `hubstats_pull_requests`.`id` = 17423995[0m
|
2965011
|
+
[1m[35m (0.4ms)[0m COMMIT
|
2965012
|
+
[1m[36mHubstats::User Load (0.2ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1[0m
|
2965013
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2965014
|
+
[1m[36mHubstats::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1[0m
|
2965015
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2965016
|
+
[1m[36mHubstats::User Load (0.1ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1[0m
|
2965017
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2965018
|
+
[1m[36mHubstats::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1[0m
|
2965019
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2965020
|
+
[1m[36mHubstats::Repo Load (0.2ms)[0m [1mSELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1[0m
|
2965021
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2965022
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2965023
|
+
[1m[35mHubstats::PullRequest Load (0.2ms)[0m SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 17414868 LIMIT 1
|
2965024
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2965025
|
+
[1m[35m (0.2ms)[0m UPDATE `hubstats_pull_requests` SET `body` = '## Description and Impact\r\nFixes the rake task that I broke with the last pull request\r\n\r\n## Deploy Plan\r\nNope\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## URLs\r\n> Links to bug tickets or user stories.\r\n\r\n## QA Plan\r\n> Fill in scenarios below. Review [QA Best Practices](https://source.sportngin.com/page/show/1227795-qa-best-practices).\r\n\r\n#### Risk Level:\r\n- [X] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\nfixed rake task....', `created_at` = '2014-06-20 16:29:51', `updated_at` = '2014-06-20 21:34:15', `closed_at` = '2014-06-20 21:32:17', `merged_at` = '2014-06-20 21:32:17' WHERE `hubstats_pull_requests`.`id` = 17414868
|
2965026
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2965027
|
+
[1m[35mHubstats::User Load (0.2ms)[0m SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
|
2965028
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2965029
|
+
[1m[35mHubstats::User Exists (0.1ms)[0m SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
|
2965030
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2965031
|
+
[1m[35mHubstats::User Load (0.1ms)[0m SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1
|
2965032
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2965033
|
+
[1m[35mHubstats::User Exists (0.1ms)[0m SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1
|
2965034
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2965035
|
+
[1m[35mHubstats::Repo Load (0.2ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1
|
2965036
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2965037
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2965038
|
+
[1m[36mHubstats::PullRequest Load (0.2ms)[0m [1mSELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 17407567 LIMIT 1[0m
|
2965039
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2965040
|
+
[1m[36m (0.2ms)[0m [1mUPDATE `hubstats_pull_requests` SET `body` = '## Description and Impact\r\nStarted the process of using Event Hooks,\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## QA Plan\r\n> Fill in scenarios below. Review [QA Best Practices](https://source.sportngin.com/page/show/1227795-qa-best-practices).\r\n\r\n#### Risk Level:\r\n- [X] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\nJust check to see how the code is looking....\r\n', `created_at` = '2014-06-20 14:17:28', `updated_at` = '2014-06-20 19:58:22', `closed_at` = '2014-06-20 14:52:30', `merged_at` = '2014-06-20 14:52:30' WHERE `hubstats_pull_requests`.`id` = 17407567[0m
|
2965041
|
+
[1m[35m (0.4ms)[0m COMMIT
|
2965042
|
+
[1m[36mHubstats::User Load (0.2ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1[0m
|
2965043
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2965044
|
+
[1m[36mHubstats::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1[0m
|
2965045
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2965046
|
+
[1m[36mHubstats::User Load (0.1ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1[0m
|
2965047
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2965048
|
+
[1m[36mHubstats::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1[0m
|
2965049
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2965050
|
+
[1m[36mHubstats::Repo Load (0.2ms)[0m [1mSELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1[0m
|
2965051
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2965052
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2965053
|
+
[1m[35mHubstats::PullRequest Load (0.2ms)[0m SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 17313123 LIMIT 1
|
2965054
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2965055
|
+
[1m[35m (0.2ms)[0m UPDATE `hubstats_pull_requests` SET `body` = '## Description and Impact\r\nAdds the number of comments a user has reviewed to the \"User Show\" page\r\n\r\n## Deploy Plan\r\nNo worries.\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## QA Plan\r\nSmall feature addition, just check that users have reviewed comments\r\n#### Risk Level:\r\n- [x] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\n#### Happy Path Scenarios\r\nCheckout a user, make sure they have pulls reviewed. If elliothursh is a user in your database, make sure he has 0 pulls.', `created_at` = '2014-06-18 19:12:42', `updated_at` = '2014-06-19 18:17:58', `closed_at` = '2014-06-19 18:17:52', `merged_at` = '2014-06-19 18:17:52' WHERE `hubstats_pull_requests`.`id` = 17313123
|
2965056
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2965057
|
+
[1m[35mHubstats::User Load (0.1ms)[0m SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
|
2965058
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2965059
|
+
[1m[35mHubstats::User Exists (0.1ms)[0m SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
|
2965060
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2965061
|
+
[1m[35mHubstats::User Load (0.2ms)[0m SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1
|
2965062
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2965063
|
+
[1m[35mHubstats::User Exists (0.2ms)[0m SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1
|
2965064
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2965065
|
+
[1m[35mHubstats::Repo Load (0.2ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1
|
2965066
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2965067
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2965068
|
+
[1m[36mHubstats::PullRequest Load (0.2ms)[0m [1mSELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 17306127 LIMIT 1[0m
|
2965069
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2965070
|
+
[1m[36m (0.2ms)[0m [1mUPDATE `hubstats_pull_requests` SET `body` = '## Description and Impact\r\nNo real impact, allows user to change time frame from which data is displayed.\r\nChanged views to allow this to work.\r\n\r\n## Deploy Plan\r\nNo Worries\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## URLs\r\n> Links to bug tickets or user stories.\r\n\r\n## QA Plan\r\n> Fill in scenarios below. Review [QA Best Practices](https://source.sportngin.com/page/show/1227795-qa-best-practices).\r\n\r\n#### Risk Level:\r\n- [X] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\nJust make sure the time picker persists over requests and changing pages, and views update accordingly.', `created_at` = '2014-06-18 17:05:06', `updated_at` = '2014-06-19 17:49:15', `closed_at` = '2014-06-19 17:41:29', `merged_at` = '2014-06-19 17:41:29' WHERE `hubstats_pull_requests`.`id` = 17306127[0m
|
2965071
|
+
[1m[35m (0.4ms)[0m COMMIT
|
2965072
|
+
[1m[36mHubstats::User Load (0.2ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1[0m
|
2965073
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2965074
|
+
[1m[36mHubstats::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1[0m
|
2965075
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2965076
|
+
[1m[36mHubstats::User Load (0.2ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1[0m
|
2965077
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2965078
|
+
[1m[36mHubstats::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1[0m
|
2965079
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2965080
|
+
[1m[36mHubstats::Repo Load (0.2ms)[0m [1mSELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1[0m
|
2965081
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2965082
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2965083
|
+
[1m[35mHubstats::PullRequest Load (0.2ms)[0m SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 17256454 LIMIT 1
|
2965084
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2965085
|
+
[1m[35m (0.2ms)[0m UPDATE `hubstats_pull_requests` SET `body` = '## Description and Impact\r\nIt should hopefully make things faster\r\n\r\n## Deploy Plan\r\nNothing to worry about\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## URLs\r\n> Links to bug tickets or user stories.\r\n\r\n## QA Plan\r\n> Fill in scenarios below. Review [QA Best Practices](https://source.sportngin.com/page/show/1227795-qa-best-practices).\r\n\r\n#### Risk Level:\r\n- [X] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\nRake app:hubstats:reset then check sequel pro to see indices? ', `created_at` = '2014-06-17 19:34:54', `updated_at` = '2014-06-19 17:49:20', `closed_at` = '2014-06-17 19:47:18', `merged_at` = '2014-06-17 19:47:18' WHERE `hubstats_pull_requests`.`id` = 17256454
|
2965086
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2965087
|
+
[1m[35mHubstats::User Load (0.2ms)[0m SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
|
2965088
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2965089
|
+
[1m[35mHubstats::User Exists (0.1ms)[0m SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
|
2965090
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2965091
|
+
[1m[35mHubstats::User Load (0.2ms)[0m SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1
|
2965092
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2965093
|
+
[1m[35mHubstats::User Exists (0.1ms)[0m SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1
|
2965094
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2965095
|
+
[1m[35mHubstats::Repo Load (0.2ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1
|
2965096
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2965097
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2965098
|
+
[1m[36mHubstats::PullRequest Load (0.2ms)[0m [1mSELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 17237179 LIMIT 1[0m
|
2965099
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2965100
|
+
[1m[36m (0.2ms)[0m [1mUPDATE `hubstats_pull_requests` SET `body` = '## Description and Impact\r\nChanges how repo.index queries for things\r\n\r\n## Deploy Plan\r\n> Does Infrastructure need to know anything special about this deploy?\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## URLs\r\n> Links to bug tickets or user stories.\r\n\r\n## QA Plan\r\n> Fill in scenarios below. Review [QA Best Practices](https://source.sportngin.com/page/show/1227795-qa-best-practices).\r\n\r\n#### Risk Level:\r\n- [X] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\nRake app:hubstats:setup to build\r\nCheckout that the number of comments and pulls in the active users table add up to the numbers displayed above', `created_at` = '2014-06-17 14:10:15', `updated_at` = '2014-06-19 17:49:18', `closed_at` = '2014-06-17 20:00:02', `merged_at` = '2014-06-17 20:00:02' WHERE `hubstats_pull_requests`.`id` = 17237179[0m
|
2965101
|
+
[1m[35m (0.4ms)[0m COMMIT
|
2965102
|
+
[1m[36mHubstats::User Load (0.1ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1[0m
|
2965103
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2965104
|
+
[1m[36mHubstats::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1[0m
|
2965105
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2965106
|
+
[1m[36mHubstats::User Load (0.2ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1[0m
|
2965107
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2965108
|
+
[1m[36mHubstats::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1[0m
|
2965109
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2965110
|
+
[1m[36mHubstats::Repo Load (0.2ms)[0m [1mSELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1[0m
|
2965111
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2965112
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2965113
|
+
[1m[35mHubstats::PullRequest Load (0.2ms)[0m SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 17071619 LIMIT 1
|
2965114
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2965115
|
+
[1m[35m (0.3ms)[0m UPDATE `hubstats_pull_requests` SET `body` = '## Description and Impact\r\nExtends functionality by allowing all of an organization\'s repos be watched\r\n\r\n## Deploy Plan\r\nNope\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## URLs\r\n> Links to bug tickets or user stories.\r\n\r\n## QA Plan\r\n> Fill in scenarios below. Review [QA Best Practices](https://source.sportngin.com/page/show/1227795-qa-best-practices).\r\n\r\n#### Risk Level:\r\n- [X] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\nThis is really just a intermediary pull_request, it doesn\'t really do much as of yet, just see how the code looks.', `created_at` = '2014-06-12 18:32:21', `updated_at` = '2014-06-19 17:49:21', `closed_at` = '2014-06-16 21:55:07', `merged_at` = '2014-06-16 21:55:07' WHERE `hubstats_pull_requests`.`id` = 17071619
|
2965116
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2965117
|
+
[1m[35mHubstats::User Load (0.2ms)[0m SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
|
2965118
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2965119
|
+
[1m[35mHubstats::User Exists (0.1ms)[0m SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
|
2965120
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2965121
|
+
[1m[35mHubstats::User Load (0.2ms)[0m SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1
|
2965122
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2965123
|
+
[1m[35mHubstats::User Exists (0.2ms)[0m SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1
|
2965124
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2965125
|
+
[1m[35mHubstats::Repo Load (0.2ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1
|
2965126
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2965127
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2965128
|
+
[1m[36mHubstats::PullRequest Load (0.2ms)[0m [1mSELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 16834687 LIMIT 1[0m
|
2965129
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2965130
|
+
[1m[36m (0.2ms)[0m [1mUPDATE `hubstats_pull_requests` SET `body` = '## Description and Impact\r\nMakes it someone useful, allows you to import data from github and store it in a database\r\n\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## URLs\r\n> localhost:3000/hubification\r\n\r\n## QA Plan\r\n\r\n#### Risk Level:\r\n- [X] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\nstart it up, run migrations. \r\n\r\nRun rake app:populate:{users/pulls/comments}, checkout out /hubification to see that it works.', `created_at` = '2014-06-06 18:17:02', `updated_at` = '2014-06-19 17:49:24', `closed_at` = '2014-06-11 21:52:48', `merged_at` = '2014-06-11 21:52:48' WHERE `hubstats_pull_requests`.`id` = 16834687[0m
|
2965131
|
+
[1m[35m (0.4ms)[0m COMMIT
|
2965132
|
+
[1m[36mHubstats::User Load (0.2ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1[0m
|
2965133
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2965134
|
+
[1m[36mHubstats::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1[0m
|
2965135
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2965136
|
+
[1m[36mHubstats::User Load (0.2ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1[0m
|
2965137
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2965138
|
+
[1m[36mHubstats::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1[0m
|
2965139
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2965140
|
+
[1m[36mHubstats::Repo Load (0.2ms)[0m [1mSELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1[0m
|
2965141
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2965142
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2965143
|
+
[1m[35mHubstats::PullRequest Load (0.2ms)[0m SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 16631904 LIMIT 1
|
2965144
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2965145
|
+
[1m[35m (0.2ms)[0m UPDATE `hubstats_pull_requests` SET `body` = '## Description and Impact\r\nChanges the way hubification authenticates github users\r\n\r\n## Deploy Plan\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## URLs\r\n> Links to bug tickets or user stories.\r\n\r\n## QA Plan\r\n> Fill in scenarios below. Review [QA Best Practices](https://source.sportngin.com/page/show/1227795-qa-best-practices).\r\n\r\n#### Risk Level:\r\n- [X] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\nYou must have either environment variables set or set up the test/dummy/config/octokit.yml.\r\nRun rspec all tests should pass.', `created_at` = '2014-06-03 01:48:32', `updated_at` = '2014-06-18 19:49:22', `closed_at` = '2014-06-04 13:00:31', `merged_at` = '2014-06-04 13:00:31' WHERE `hubstats_pull_requests`.`id` = 16631904
|
2965146
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2965147
|
+
[1m[35mHubstats::User Load (0.2ms)[0m SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
|
2965148
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2965149
|
+
[1m[35mHubstats::User Exists (0.1ms)[0m SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
|
2965150
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2965151
|
+
[1m[35mHubstats::User Load (0.2ms)[0m SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1
|
2965152
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2965153
|
+
[1m[35mHubstats::User Exists (0.1ms)[0m SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1
|
2965154
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2965155
|
+
[1m[35mHubstats::Repo Load (0.2ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1
|
2965156
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2965157
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2965158
|
+
[1m[36mHubstats::PullRequest Load (0.2ms)[0m [1mSELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 16501072 LIMIT 1[0m
|
2965159
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2965160
|
+
[1m[36m (0.2ms)[0m [1mUPDATE `hubstats_pull_requests` SET `body` = '## Description and Impact\r\nIt\'s huge!!! Allows for the hourly updating of the future pull requests data table\r\n\r\n## Deploy Plan\r\nNothing to worry about.\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## URLs\r\n> Links to bug tickets or user stories.\r\n\r\n## QA Plan\r\n> Fill in scenarios below. Review [QA Best Practices](https://source.sportngin.com/page/show/1227795-qa-best-practices).\r\n\r\n#### Risk Level:\r\n- [X] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\nRun rake app:hubification:since from root to try it.\r\nTheres also a test that makes sure it works....\r\n', `created_at` = '2014-05-29 20:10:57', `updated_at` = '2014-06-13 12:23:34', `closed_at` = '2014-06-02 21:35:21', `merged_at` = '2014-06-02 21:35:21' WHERE `hubstats_pull_requests`.`id` = 16501072[0m
|
2965161
|
+
[1m[35m (0.4ms)[0m COMMIT
|
2965162
|
+
[1m[36mHubstats::Repo Load (0.2ms)[0m [1mSELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1[0m
|
2965163
|
+
[1m[35mHubstats::Repo Load (0.3ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
|
2965164
|
+
Connecting to database specified by database.yml
|
2965165
|
+
[1m[36m (1.4ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations` [0m
|
2965166
|
+
Migrating to CreateHubstatsPullRequests (20140702142614)
|
2965167
|
+
Migrating to CreateHubstatsUsers (20140702142615)
|
2965168
|
+
Migrating to CreateHubstatsComments (20140702142616)
|
2965169
|
+
Migrating to CreateHubstatsRepos (20140702142617)
|
2965170
|
+
[1m[35m (0.1ms)[0m SELECT `schema_migrations`.`version` FROM `schema_migrations`
|
2965171
|
+
[1m[36mHubstats::User Load (0.3ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1[0m
|
2965172
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2965173
|
+
[1m[36mHubstats::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1[0m
|
2965174
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2965175
|
+
[1m[36mHubstats::Repo Load (0.2ms)[0m [1mSELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1[0m
|
2965176
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2965177
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2965178
|
+
[1m[35mHubstats::User Load (0.3ms)[0m SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
|
2965179
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2965180
|
+
[1m[35mHubstats::User Exists (0.2ms)[0m SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
|
2965181
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2965182
|
+
[1m[35mHubstats::User Load (0.2ms)[0m SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1
|
2965183
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2965184
|
+
[1m[35mHubstats::User Exists (0.2ms)[0m SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1
|
2965185
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2965186
|
+
[1m[35mHubstats::Repo Load (0.3ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
|
2965187
|
+
[1m[36mHubstats::User Load (0.3ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1[0m
|
2965188
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2965189
|
+
[1m[36mHubstats::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1[0m
|
2965190
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2965191
|
+
[1m[36mHubstats::User Load (0.2ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1[0m
|
2965192
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2965193
|
+
[1m[36mHubstats::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1[0m
|
2965194
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2965195
|
+
[1m[36mHubstats::Repo Load (0.2ms)[0m [1mSELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1[0m
|
2965196
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2965197
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2965198
|
+
[1m[35mHubstats::PullRequest Load (0.2ms)[0m SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 17849812 LIMIT 1
|
2965199
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2965200
|
+
[1m[35m (0.3ms)[0m UPDATE `hubstats_pull_requests` SET `body` = '## Description and Impact\r\nNo Real Impact, just adds some more stats for things\r\n\r\n## Deploy Plan\r\n> Does Infrastructure need to know anything special about this deploy?\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## URLs\r\n> Links to bug tickets or user stories.\r\n\r\n## QA Plan\r\n> Fill in scenarios below. Review [QA Best Practices](https://source.sportngin.com/page/show/1227795-qa-best-practices).\r\n\r\n#### Risk Level:\r\n- [X] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\nCheck it out.\r\n', `created_at` = '2014-07-01 19:22:25', `updated_at` = '2014-07-01 21:02:54', `closed_at` = '2014-07-01 21:02:54', `merged_at` = '2014-07-01 21:02:54' WHERE `hubstats_pull_requests`.`id` = 17849812
|
2965201
|
+
[1m[36m (0.7ms)[0m [1mCOMMIT[0m
|
2965202
|
+
[1m[35mHubstats::User Load (0.3ms)[0m SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
|
2965203
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2965204
|
+
[1m[35mHubstats::User Exists (0.2ms)[0m SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
|
2965205
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2965206
|
+
[1m[35mHubstats::User Load (0.2ms)[0m SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1
|
2965207
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2965208
|
+
[1m[35mHubstats::User Exists (0.2ms)[0m SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1
|
2965209
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2965210
|
+
[1m[35mHubstats::Repo Load (0.2ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1
|
2965211
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2965212
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2965213
|
+
[1m[36mHubstats::PullRequest Load (0.3ms)[0m [1mSELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 17837873 LIMIT 1[0m
|
2965214
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2965215
|
+
[1m[36m (0.3ms)[0m [1mUPDATE `hubstats_pull_requests` SET `body` = '## Description and Impact\r\n> What impact does this change have for production?\r\n\r\n## Deploy Plan\r\n> Does Infrastructure need to know anything special about this deploy?\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## URLs\r\n> Links to bug tickets or user stories.\r\n\r\n## QA Plan\r\n> Fill in scenarios below. Review [QA Best Practices](https://source.sportngin.com/page/show/1227795-qa-best-practices).\r\n\r\n#### Risk Level:\r\n- [x] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\n#### Happy Path Scenarios\r\n* Happy Path scenario 1\r\n* Happy Path scenario 2\r\n\r\n#### Additional Scenarios (Edge Case, Negative, etc.)\r\n* Edge case scenario 1\r\n* Edge case scenario 2\r\n\r\n#### Regression Scenarios\r\n* Regression item on related feature 1\r\n* Regression item on related feature 2\r\n', `created_at` = '2014-07-01 15:40:39', `updated_at` = '2014-07-01 21:02:33', `closed_at` = '2014-07-01 21:02:33', `merged_at` = '2014-07-01 21:02:33' WHERE `hubstats_pull_requests`.`id` = 17837873[0m
|
2965216
|
+
[1m[35m (0.4ms)[0m COMMIT
|
2965217
|
+
[1m[36mHubstats::User Load (0.2ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1[0m
|
2965218
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2965219
|
+
[1m[36mHubstats::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1[0m
|
2965220
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2965221
|
+
[1m[36mHubstats::User Load (0.2ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1[0m
|
2965222
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2965223
|
+
[1m[36mHubstats::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1[0m
|
2965224
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2965225
|
+
[1m[36mHubstats::Repo Load (0.2ms)[0m [1mSELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1[0m
|
2965226
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2965227
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2965228
|
+
[1m[35mHubstats::PullRequest Load (0.2ms)[0m SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 17784161 LIMIT 1
|
2965229
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2965230
|
+
[1m[35m (0.2ms)[0m UPDATE `hubstats_pull_requests` SET `body` = '## Description and Impact\r\nMakes it waaaaaay faster to load, and set the cookie on initial load.\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## URLs\r\n> Links to bug tickets or user stories.\r\n\r\n## QA Plan\r\n> Fill in scenarios below. Review [QA Best Practices](https://source.sportngin.com/page/show/1227795-qa-best-practices).\r\n\r\n#### Risk Level:\r\n- [X] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\n#### Happy Path Scenarios\r\n', `created_at` = '2014-06-30 16:48:13', `updated_at` = '2014-07-01 15:34:53', `closed_at` = '2014-07-01 15:34:53', `merged_at` = '2014-07-01 15:34:53' WHERE `hubstats_pull_requests`.`id` = 17784161
|
2965231
|
+
[1m[36m (0.5ms)[0m [1mCOMMIT[0m
|
2965232
|
+
[1m[35mHubstats::User Load (0.2ms)[0m SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
|
2965233
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2965234
|
+
[1m[35mHubstats::User Exists (0.1ms)[0m SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
|
2965235
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2965236
|
+
[1m[35mHubstats::User Load (0.2ms)[0m SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1
|
2965237
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2965238
|
+
[1m[35mHubstats::User Exists (0.1ms)[0m SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1
|
2965239
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2965240
|
+
[1m[35mHubstats::Repo Load (0.2ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1
|
2965241
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2965242
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2965243
|
+
[1m[36mHubstats::PullRequest Load (0.2ms)[0m [1mSELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 17536385 LIMIT 1[0m
|
2965244
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2965245
|
+
[1m[36m (0.2ms)[0m [1mUPDATE `hubstats_pull_requests` SET `body` = '## Description and Impact\r\nFixes/updates gem and installation process.\r\n\r\n## Deploy Plan\r\n> Does Infrastructure need to know anything special about this deploy?\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## URLs\r\n> Links to bug tickets or user stories.\r\n\r\n## QA Plan\r\n> Fill in scenarios below. Review [QA Best Practices](https://source.sportngin.com/page/show/1227795-qa-best-practices).\r\n\r\n#### Risk Level:\r\n- [X] Low\r\n- [ ] Medium\r\n- [ ] High\r\n', `created_at` = '2014-06-24 14:54:34', `updated_at` = '2014-06-24 22:12:17', `closed_at` = '2014-06-24 15:25:35', `merged_at` = '2014-06-24 15:25:35' WHERE `hubstats_pull_requests`.`id` = 17536385[0m
|
2965246
|
+
[1m[35m (0.5ms)[0m COMMIT
|
2965247
|
+
[1m[36mHubstats::User Load (0.2ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1[0m
|
2965248
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2965249
|
+
[1m[36mHubstats::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1[0m
|
2965250
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2965251
|
+
[1m[36mHubstats::User Load (0.2ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1[0m
|
2965252
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2965253
|
+
[1m[36mHubstats::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1[0m
|
2965254
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2965255
|
+
[1m[36mHubstats::Repo Load (0.3ms)[0m [1mSELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1[0m
|
2965256
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2965257
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2965258
|
+
[1m[35mHubstats::PullRequest Load (0.2ms)[0m SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 17479705 LIMIT 1
|
2965259
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2965260
|
+
[1m[35m (0.2ms)[0m UPDATE `hubstats_pull_requests` SET `body` = '## Description and Impact\r\nHandles event triggering for repo closings and openings.\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## URLs\r\n> Links to bug tickets or user stories.\r\n\r\n## QA Plan\r\n> Fill in scenarios below. Review [QA Best Practices](https://source.sportngin.com/page/show/1227795-qa-best-practices).\r\n\r\n#### Risk Level:\r\n- [X] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\n\r\n', `created_at` = '2014-06-23 15:11:37', `updated_at` = '2014-06-24 22:12:18', `closed_at` = '2014-06-23 21:54:29', `merged_at` = '2014-06-23 21:54:29' WHERE `hubstats_pull_requests`.`id` = 17479705
|
2965261
|
+
[1m[36m (0.5ms)[0m [1mCOMMIT[0m
|
2965262
|
+
[1m[35mHubstats::User Load (0.2ms)[0m SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
|
2965263
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2965264
|
+
[1m[35mHubstats::User Exists (0.2ms)[0m SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
|
2965265
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2965266
|
+
[1m[35mHubstats::User Load (0.2ms)[0m SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1
|
2965267
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2965268
|
+
[1m[35mHubstats::User Exists (0.2ms)[0m SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1
|
2965269
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2965270
|
+
[1m[35mHubstats::Repo Load (0.2ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1
|
2965271
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2965272
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2965273
|
+
[1m[36mHubstats::PullRequest Load (0.2ms)[0m [1mSELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 17423995 LIMIT 1[0m
|
2965274
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2965275
|
+
[1m[36m (0.2ms)[0m [1mUPDATE `hubstats_pull_requests` SET `body` = '## Description and Impact\r\nIt gets comments from github now on creation....\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## URLs\r\n> Links to bug tickets or user stories.\r\n\r\n## QA Plan\r\n> Fill in scenarios below. Review [QA Best Practices](https://source.sportngin.com/page/show/1227795-qa-best-practices).\r\n\r\n#### Risk Level:\r\n- [x] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\nmake a comment, checkout the repo/pull and see the comment on refresh', `created_at` = '2014-06-20 19:40:44', `updated_at` = '2014-06-24 22:13:28', `closed_at` = '2014-06-20 21:44:59', `merged_at` = '2014-06-20 21:44:59' WHERE `hubstats_pull_requests`.`id` = 17423995[0m
|
2965276
|
+
[1m[35m (0.4ms)[0m COMMIT
|
2965277
|
+
[1m[36mHubstats::User Load (0.2ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1[0m
|
2965278
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2965279
|
+
[1m[36mHubstats::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1[0m
|
2965280
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2965281
|
+
[1m[36mHubstats::User Load (0.2ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1[0m
|
2965282
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2965283
|
+
[1m[36mHubstats::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1[0m
|
2965284
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2965285
|
+
[1m[36mHubstats::Repo Load (0.2ms)[0m [1mSELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1[0m
|
2965286
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2965287
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2965288
|
+
[1m[35mHubstats::PullRequest Load (0.2ms)[0m SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 17414868 LIMIT 1
|
2965289
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2965290
|
+
[1m[35m (0.2ms)[0m UPDATE `hubstats_pull_requests` SET `body` = '## Description and Impact\r\nFixes the rake task that I broke with the last pull request\r\n\r\n## Deploy Plan\r\nNope\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## URLs\r\n> Links to bug tickets or user stories.\r\n\r\n## QA Plan\r\n> Fill in scenarios below. Review [QA Best Practices](https://source.sportngin.com/page/show/1227795-qa-best-practices).\r\n\r\n#### Risk Level:\r\n- [X] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\nfixed rake task....', `created_at` = '2014-06-20 16:29:51', `updated_at` = '2014-06-20 21:34:15', `closed_at` = '2014-06-20 21:32:17', `merged_at` = '2014-06-20 21:32:17' WHERE `hubstats_pull_requests`.`id` = 17414868
|
2965291
|
+
[1m[36m (0.5ms)[0m [1mCOMMIT[0m
|
2965292
|
+
[1m[35mHubstats::User Load (0.2ms)[0m SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
|
2965293
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2965294
|
+
[1m[35mHubstats::User Exists (0.1ms)[0m SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
|
2965295
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2965296
|
+
[1m[35mHubstats::User Load (0.2ms)[0m SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1
|
2965297
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2965298
|
+
[1m[35mHubstats::User Exists (0.1ms)[0m SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1
|
2965299
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2965300
|
+
[1m[35mHubstats::Repo Load (0.2ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1
|
2965301
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2965302
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2965303
|
+
[1m[36mHubstats::PullRequest Load (0.2ms)[0m [1mSELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 17407567 LIMIT 1[0m
|
2965304
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2965305
|
+
[1m[36m (0.2ms)[0m [1mUPDATE `hubstats_pull_requests` SET `body` = '## Description and Impact\r\nStarted the process of using Event Hooks,\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## QA Plan\r\n> Fill in scenarios below. Review [QA Best Practices](https://source.sportngin.com/page/show/1227795-qa-best-practices).\r\n\r\n#### Risk Level:\r\n- [X] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\nJust check to see how the code is looking....\r\n', `created_at` = '2014-06-20 14:17:28', `updated_at` = '2014-06-20 19:58:22', `closed_at` = '2014-06-20 14:52:30', `merged_at` = '2014-06-20 14:52:30' WHERE `hubstats_pull_requests`.`id` = 17407567[0m
|
2965306
|
+
[1m[35m (0.5ms)[0m COMMIT
|
2965307
|
+
[1m[36mHubstats::User Load (0.1ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1[0m
|
2965308
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2965309
|
+
[1m[36mHubstats::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1[0m
|
2965310
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2965311
|
+
[1m[36mHubstats::User Load (0.1ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1[0m
|
2965312
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2965313
|
+
[1m[36mHubstats::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1[0m
|
2965314
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2965315
|
+
[1m[36mHubstats::Repo Load (0.2ms)[0m [1mSELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1[0m
|
2965316
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2965317
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2965318
|
+
[1m[35mHubstats::PullRequest Load (0.2ms)[0m SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 17313123 LIMIT 1
|
2965319
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2965320
|
+
[1m[35m (0.2ms)[0m UPDATE `hubstats_pull_requests` SET `body` = '## Description and Impact\r\nAdds the number of comments a user has reviewed to the \"User Show\" page\r\n\r\n## Deploy Plan\r\nNo worries.\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## QA Plan\r\nSmall feature addition, just check that users have reviewed comments\r\n#### Risk Level:\r\n- [x] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\n#### Happy Path Scenarios\r\nCheckout a user, make sure they have pulls reviewed. If elliothursh is a user in your database, make sure he has 0 pulls.', `created_at` = '2014-06-18 19:12:42', `updated_at` = '2014-06-19 18:17:58', `closed_at` = '2014-06-19 18:17:52', `merged_at` = '2014-06-19 18:17:52' WHERE `hubstats_pull_requests`.`id` = 17313123
|
2965321
|
+
[1m[36m (0.5ms)[0m [1mCOMMIT[0m
|
2965322
|
+
[1m[35mHubstats::User Load (0.1ms)[0m SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
|
2965323
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2965324
|
+
[1m[35mHubstats::User Exists (0.1ms)[0m SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
|
2965325
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2965326
|
+
[1m[35mHubstats::User Load (0.2ms)[0m SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1
|
2965327
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2965328
|
+
[1m[35mHubstats::User Exists (0.1ms)[0m SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1
|
2965329
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2965330
|
+
[1m[35mHubstats::Repo Load (0.2ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1
|
2965331
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2965332
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2965333
|
+
[1m[36mHubstats::PullRequest Load (0.2ms)[0m [1mSELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 17306127 LIMIT 1[0m
|
2965334
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2965335
|
+
[1m[36m (0.2ms)[0m [1mUPDATE `hubstats_pull_requests` SET `body` = '## Description and Impact\r\nNo real impact, allows user to change time frame from which data is displayed.\r\nChanged views to allow this to work.\r\n\r\n## Deploy Plan\r\nNo Worries\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## URLs\r\n> Links to bug tickets or user stories.\r\n\r\n## QA Plan\r\n> Fill in scenarios below. Review [QA Best Practices](https://source.sportngin.com/page/show/1227795-qa-best-practices).\r\n\r\n#### Risk Level:\r\n- [X] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\nJust make sure the time picker persists over requests and changing pages, and views update accordingly.', `created_at` = '2014-06-18 17:05:06', `updated_at` = '2014-06-19 17:49:15', `closed_at` = '2014-06-19 17:41:29', `merged_at` = '2014-06-19 17:41:29' WHERE `hubstats_pull_requests`.`id` = 17306127[0m
|
2965336
|
+
[1m[35m (0.4ms)[0m COMMIT
|
2965337
|
+
[1m[36mHubstats::User Load (0.1ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1[0m
|
2965338
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2965339
|
+
[1m[36mHubstats::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1[0m
|
2965340
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2965341
|
+
[1m[36mHubstats::User Load (0.1ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1[0m
|
2965342
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2965343
|
+
[1m[36mHubstats::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1[0m
|
2965344
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2965345
|
+
[1m[36mHubstats::Repo Load (0.2ms)[0m [1mSELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1[0m
|
2965346
|
+
[1m[35m (0.0ms)[0m BEGIN
|
2965347
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2965348
|
+
[1m[35mHubstats::PullRequest Load (0.2ms)[0m SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 17256454 LIMIT 1
|
2965349
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2965350
|
+
[1m[35m (0.2ms)[0m UPDATE `hubstats_pull_requests` SET `body` = '## Description and Impact\r\nIt should hopefully make things faster\r\n\r\n## Deploy Plan\r\nNothing to worry about\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## URLs\r\n> Links to bug tickets or user stories.\r\n\r\n## QA Plan\r\n> Fill in scenarios below. Review [QA Best Practices](https://source.sportngin.com/page/show/1227795-qa-best-practices).\r\n\r\n#### Risk Level:\r\n- [X] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\nRake app:hubstats:reset then check sequel pro to see indices? ', `created_at` = '2014-06-17 19:34:54', `updated_at` = '2014-06-19 17:49:20', `closed_at` = '2014-06-17 19:47:18', `merged_at` = '2014-06-17 19:47:18' WHERE `hubstats_pull_requests`.`id` = 17256454
|
2965351
|
+
[1m[36m (0.5ms)[0m [1mCOMMIT[0m
|
2965352
|
+
[1m[35mHubstats::User Load (0.1ms)[0m SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
|
2965353
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2965354
|
+
[1m[35mHubstats::User Exists (0.1ms)[0m SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
|
2965355
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2965356
|
+
[1m[35mHubstats::User Load (0.1ms)[0m SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1
|
2965357
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2965358
|
+
[1m[35mHubstats::User Exists (0.1ms)[0m SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1
|
2965359
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2965360
|
+
[1m[35mHubstats::Repo Load (0.2ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1
|
2965361
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2965362
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2965363
|
+
[1m[36mHubstats::PullRequest Load (0.2ms)[0m [1mSELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 17237179 LIMIT 1[0m
|
2965364
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2965365
|
+
[1m[36m (0.2ms)[0m [1mUPDATE `hubstats_pull_requests` SET `body` = '## Description and Impact\r\nChanges how repo.index queries for things\r\n\r\n## Deploy Plan\r\n> Does Infrastructure need to know anything special about this deploy?\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## URLs\r\n> Links to bug tickets or user stories.\r\n\r\n## QA Plan\r\n> Fill in scenarios below. Review [QA Best Practices](https://source.sportngin.com/page/show/1227795-qa-best-practices).\r\n\r\n#### Risk Level:\r\n- [X] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\nRake app:hubstats:setup to build\r\nCheckout that the number of comments and pulls in the active users table add up to the numbers displayed above', `created_at` = '2014-06-17 14:10:15', `updated_at` = '2014-06-19 17:49:18', `closed_at` = '2014-06-17 20:00:02', `merged_at` = '2014-06-17 20:00:02' WHERE `hubstats_pull_requests`.`id` = 17237179[0m
|
2965366
|
+
[1m[35m (0.5ms)[0m COMMIT
|
2965367
|
+
[1m[36mHubstats::User Load (0.1ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1[0m
|
2965368
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2965369
|
+
[1m[36mHubstats::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1[0m
|
2965370
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2965371
|
+
[1m[36mHubstats::User Load (0.2ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1[0m
|
2965372
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2965373
|
+
[1m[36mHubstats::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1[0m
|
2965374
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2965375
|
+
[1m[36mHubstats::Repo Load (0.2ms)[0m [1mSELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1[0m
|
2965376
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2965377
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2965378
|
+
[1m[35mHubstats::PullRequest Load (0.2ms)[0m SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 17071619 LIMIT 1
|
2965379
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2965380
|
+
[1m[35m (0.2ms)[0m UPDATE `hubstats_pull_requests` SET `body` = '## Description and Impact\r\nExtends functionality by allowing all of an organization\'s repos be watched\r\n\r\n## Deploy Plan\r\nNope\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## URLs\r\n> Links to bug tickets or user stories.\r\n\r\n## QA Plan\r\n> Fill in scenarios below. Review [QA Best Practices](https://source.sportngin.com/page/show/1227795-qa-best-practices).\r\n\r\n#### Risk Level:\r\n- [X] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\nThis is really just a intermediary pull_request, it doesn\'t really do much as of yet, just see how the code looks.', `created_at` = '2014-06-12 18:32:21', `updated_at` = '2014-06-19 17:49:21', `closed_at` = '2014-06-16 21:55:07', `merged_at` = '2014-06-16 21:55:07' WHERE `hubstats_pull_requests`.`id` = 17071619
|
2965381
|
+
[1m[36m (0.5ms)[0m [1mCOMMIT[0m
|
2965382
|
+
[1m[35mHubstats::User Load (0.1ms)[0m SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
|
2965383
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2965384
|
+
[1m[35mHubstats::User Exists (0.1ms)[0m SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
|
2965385
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2965386
|
+
[1m[35mHubstats::User Load (0.1ms)[0m SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1
|
2965387
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2965388
|
+
[1m[35mHubstats::User Exists (0.1ms)[0m SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1
|
2965389
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2965390
|
+
[1m[35mHubstats::Repo Load (0.2ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1
|
2965391
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2965392
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2965393
|
+
[1m[36mHubstats::PullRequest Load (0.2ms)[0m [1mSELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 16834687 LIMIT 1[0m
|
2965394
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2965395
|
+
[1m[36m (0.2ms)[0m [1mUPDATE `hubstats_pull_requests` SET `body` = '## Description and Impact\r\nMakes it someone useful, allows you to import data from github and store it in a database\r\n\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## URLs\r\n> localhost:3000/hubification\r\n\r\n## QA Plan\r\n\r\n#### Risk Level:\r\n- [X] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\nstart it up, run migrations. \r\n\r\nRun rake app:populate:{users/pulls/comments}, checkout out /hubification to see that it works.', `created_at` = '2014-06-06 18:17:02', `updated_at` = '2014-06-19 17:49:24', `closed_at` = '2014-06-11 21:52:48', `merged_at` = '2014-06-11 21:52:48' WHERE `hubstats_pull_requests`.`id` = 16834687[0m
|
2965396
|
+
[1m[35m (0.7ms)[0m COMMIT
|
2965397
|
+
[1m[36mHubstats::User Load (0.3ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1[0m
|
2965398
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2965399
|
+
[1m[36mHubstats::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1[0m
|
2965400
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2965401
|
+
[1m[36mHubstats::User Load (0.2ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1[0m
|
2965402
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2965403
|
+
[1m[36mHubstats::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1[0m
|
2965404
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2965405
|
+
[1m[36mHubstats::Repo Load (0.2ms)[0m [1mSELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1[0m
|
2965406
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2965407
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2965408
|
+
[1m[35mHubstats::PullRequest Load (0.2ms)[0m SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 16631904 LIMIT 1
|
2965409
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2965410
|
+
[1m[35m (0.2ms)[0m UPDATE `hubstats_pull_requests` SET `body` = '## Description and Impact\r\nChanges the way hubification authenticates github users\r\n\r\n## Deploy Plan\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## URLs\r\n> Links to bug tickets or user stories.\r\n\r\n## QA Plan\r\n> Fill in scenarios below. Review [QA Best Practices](https://source.sportngin.com/page/show/1227795-qa-best-practices).\r\n\r\n#### Risk Level:\r\n- [X] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\nYou must have either environment variables set or set up the test/dummy/config/octokit.yml.\r\nRun rspec all tests should pass.', `created_at` = '2014-06-03 01:48:32', `updated_at` = '2014-06-18 19:49:22', `closed_at` = '2014-06-04 13:00:31', `merged_at` = '2014-06-04 13:00:31' WHERE `hubstats_pull_requests`.`id` = 16631904
|
2965411
|
+
[1m[36m (0.5ms)[0m [1mCOMMIT[0m
|
2965412
|
+
[1m[35mHubstats::User Load (0.1ms)[0m SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
|
2965413
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2965414
|
+
[1m[35mHubstats::User Exists (0.1ms)[0m SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
|
2965415
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2965416
|
+
[1m[35mHubstats::User Load (0.1ms)[0m SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1
|
2965417
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2965418
|
+
[1m[35mHubstats::User Exists (0.1ms)[0m SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1
|
2965419
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2965420
|
+
[1m[35mHubstats::Repo Load (0.2ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 20231003 LIMIT 1
|
2965421
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2965422
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2965423
|
+
[1m[36mHubstats::PullRequest Load (0.2ms)[0m [1mSELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 16501072 LIMIT 1[0m
|
2965424
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2965425
|
+
[1m[36m (0.2ms)[0m [1mUPDATE `hubstats_pull_requests` SET `body` = '## Description and Impact\r\nIt\'s huge!!! Allows for the hourly updating of the future pull requests data table\r\n\r\n## Deploy Plan\r\nNothing to worry about.\r\n\r\n## Rollback Plan\r\n* To roll back this change, revert the merge with: `git revert -m 1 MERGE_SHA` and perform another deploy.\r\n\r\n## URLs\r\n> Links to bug tickets or user stories.\r\n\r\n## QA Plan\r\n> Fill in scenarios below. Review [QA Best Practices](https://source.sportngin.com/page/show/1227795-qa-best-practices).\r\n\r\n#### Risk Level:\r\n- [X] Low\r\n- [ ] Medium\r\n- [ ] High\r\n\r\nRun rake app:hubification:since from root to try it.\r\nTheres also a test that makes sure it works....\r\n', `created_at` = '2014-05-29 20:10:57', `updated_at` = '2014-06-13 12:23:34', `closed_at` = '2014-06-02 21:35:21', `merged_at` = '2014-06-02 21:35:21' WHERE `hubstats_pull_requests`.`id` = 16501072[0m
|
2965426
|
+
[1m[35m (0.4ms)[0m COMMIT
|
2965427
|
+
[1m[36mHubstats::Repo Load (0.2ms)[0m [1mSELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1[0m
|
2965428
|
+
[1m[35mHubstats::Repo Load (0.4ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
|
2965429
|
+
[1m[36mHubstats::User Load (0.2ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1[0m
|
2965430
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2965431
|
+
[1m[36mHubstats::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1[0m
|
2965432
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2965433
|
+
[1m[36mHubstats::PullRequest Load (0.2ms)[0m [1mSELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 1 LIMIT 1[0m
|
2965434
|
+
[1m[35mHubstats::Comment Load (0.2ms)[0m SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 13206931 LIMIT 1
|
2965435
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2965436
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('Let\'s not assume that we\'re searching only for pull-requests in the `closed` state, and pass that in as an option instead.', '9623b4c2b2a379461547437e46a482ae080cd7f4', '2014-05-29 21:49:38', '@@ -0,0 +1,29 @@\n+module Hubification\n+ class GithubAPI\n+ \n+ def self.client\n+ @client ||= Octokit::Client.new(:login => ENV[\'GITHUB_USER\'], :password => ENV[\'GITHUB_PASS\'])\n+ end\n+\n+ def self.since(time)\n+ again = true\n+ i = 0\n+ pulls = []\n+\n+ while again do\n+ res = client.paginate(\'/repos/sportngin/ngin/pulls\', :state => \'closed\', :sort => \'updated\', :direction => \'desc\', :page => i += 1 )', 'https://github.com/sportngin/hubstats/pull/1#discussion_r13206931', 13206931, 'PullRequest', NULL, 'fc0c120e9f6e175243db1ff11a854c46982f620b', 14, 0, NULL, 16501072, 'https://api.github.com/repos/sportngin/hubstats/pulls/1', 20231003, '2014-06-02 21:22:34', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/13206931', 174227)
|
2965437
|
+
[1m[36m (15.8ms)[0m [1mCOMMIT[0m
|
2965438
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2965439
|
+
[1m[36m (0.3ms)[0m [1mUPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 13206931[0m
|
2965440
|
+
[1m[35m (0.5ms)[0m COMMIT
|
2965441
|
+
[1m[36mHubstats::Repo Load (0.3ms)[0m [1mSELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1[0m
|
2965442
|
+
[1m[35mHubstats::User Load (0.2ms)[0m SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1
|
2965443
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2965444
|
+
[1m[35mHubstats::User Exists (0.2ms)[0m SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1
|
2965445
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2965446
|
+
[1m[35mHubstats::PullRequest Load (0.3ms)[0m SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 1 LIMIT 1
|
2965447
|
+
[1m[36mHubstats::Comment Load (0.2ms)[0m [1mSELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 13291121 LIMIT 1[0m
|
2965448
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2965449
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('You should use an argument here, instead of hardcoding the date.', '9623b4c2b2a379461547437e46a482ae080cd7f4', '2014-06-02 15:45:15', '@@ -1,14 +1,44 @@\n-# desc \"Explaining what the task does\"\n-# task :hubification do\n-# # Task goes here\n-# end\n-\n namespace :hubification do\n desc \"Queries a list of users\"\n task :signin => :environment do\n- client = Octokit::Client.new(:login => \'elliothursh\', :password => ENV[\'GITHUB_PASS\'])\n+ client = Hubification::GithubAPI.client\n \n user = client.user\n- puts user.name\n+ puts user.login\n+ end\n+\n+ desc \"Queries a list of users\"\n+ task :members => :environment do\n+ client = Hubification::GithubAPI.client\n+\n+ org = client.org(\'Sportngin\')\n+ puts org.name\n+ end\n+\n+ desc \"Outputs pull requests from ngin\"\n+ task :pulls => :environment do\n+ time = \"2014-04-26T19:01:12Z\".to_datetime\n+\n+ client = Hubification::GithubAPI.client\n+ pulls = client.pull_requests(\'sportngin/ngin\', :state => \'closed\', :per_page => 100)\n+ pulls.each do |pull|\n+ puts pull.closed_at\n+ end\n+ end\n+\n+ desc \"Outputs pull requests from ngin until time\"\n+ task :since => :environment do\n+ pulls = Hubification::GithubAPI.since(\"2014-05-20T19:01:12Z\".to_datetime, :state => \"closed\")', 'https://github.com/sportngin/hubstats/pull/1#discussion_r13291121', 13291121, 'PullRequest', NULL, '2190b28738d5e63658efd706543de293f1c2a29a', 38, 0, NULL, 16501072, 'https://api.github.com/repos/sportngin/hubstats/pulls/1', 20231003, '2014-06-02 21:22:34', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/13291121', 174227)[0m
|
2965450
|
+
[1m[35m (0.4ms)[0m COMMIT
|
2965451
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2965452
|
+
[1m[35m (0.2ms)[0m UPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 13291121
|
2965453
|
+
[1m[36m (0.8ms)[0m [1mCOMMIT[0m
|
2965454
|
+
[1m[35mHubstats::Repo Load (0.2ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
|
2965455
|
+
[1m[36mHubstats::User Load (0.2ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1[0m
|
2965456
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2965457
|
+
[1m[36mHubstats::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1[0m
|
2965458
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2965459
|
+
[1m[36mHubstats::PullRequest Load (0.3ms)[0m [1mSELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 2 LIMIT 1[0m
|
2965460
|
+
[1m[35mHubstats::Comment Load (0.2ms)[0m SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 13335436 LIMIT 1
|
2965461
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2965462
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('Rather than checking here and raising `StandardError` if this condition doesn\'t pass, we can just let it fall through to the `Octokit::Client.new` call since that will raise an exception if the credentials are nil. Then it\'ll just output the same message anyway, and the code will look a lot cleaner.', '92a312579689a15af132b78711dba0d30ed4fbe9', '2014-06-03 14:06:01', '@@ -4,11 +4,13 @@ class GithubAPI\n def self.configure(options={})\n if access_token = ENV[\'GITHUB_API_TOKEN\'] || options[\"access_token\"]\n @client = Octokit::Client.new(access_token: access_token)\n- else\n+ elsif (ENV[\'CLIENT_ID\'] || options[\"client_id\"]) && (ENV[\'CLIENT_SECRET\'] || options[\"client_secret\"])', 'https://github.com/sportngin/hubstats/pull/2#discussion_r13335436', 13335436, 'PullRequest', NULL, '9e31d1cafa1d8545d7a633c5d00ea15f6d05b824', 5, 0, NULL, 16631904, 'https://api.github.com/repos/sportngin/hubstats/pulls/2', 20231003, '2014-06-03 21:12:05', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/13335436', 174227)
|
2965463
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2965464
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2965465
|
+
[1m[36m (0.2ms)[0m [1mUPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 13335436[0m
|
2965466
|
+
[1m[35m (0.4ms)[0m COMMIT
|
2965467
|
+
[1m[36mHubstats::Repo Load (0.2ms)[0m [1mSELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1[0m
|
2965468
|
+
[1m[35mHubstats::User Load (0.2ms)[0m SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1
|
2965469
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
2965470
|
+
[1m[35mHubstats::User Exists (0.1ms)[0m SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1
|
2965471
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2965472
|
+
[1m[35mHubstats::PullRequest Load (0.2ms)[0m SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 2 LIMIT 1
|
2965473
|
+
[1m[36mHubstats::Comment Load (0.1ms)[0m [1mSELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 13335507 LIMIT 1[0m
|
2965474
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2965475
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('I\'m guessing this file shouldn\'t be checked in here? Possibly not the, `test/dummy/config/octokit.yml` file either since they\'re just copies of the other example that is generated.', '92a312579689a15af132b78711dba0d30ed4fbe9', '2014-06-03 14:07:34', '@@ -0,0 +1,5 @@\n+# Must have either this:', 'https://github.com/sportngin/hubstats/pull/2#discussion_r13335507', 13335507, 'PullRequest', NULL, '9e31d1cafa1d8545d7a633c5d00ea15f6d05b824', 1, 0, NULL, 16631904, 'https://api.github.com/repos/sportngin/hubstats/pulls/2', 20231003, '2014-06-03 21:12:05', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/13335507', 174227)[0m
|
2965476
|
+
[1m[35m (0.4ms)[0m COMMIT
|
2965477
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
2965478
|
+
[1m[35m (0.1ms)[0m UPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 13335507
|
2965479
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2965480
|
+
[1m[35mHubstats::Repo Load (0.2ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
|
2965481
|
+
[1m[36mHubstats::User Load (0.1ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1[0m
|
2965482
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2965483
|
+
[1m[36mHubstats::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1[0m
|
2965484
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2965485
|
+
[1m[36mHubstats::PullRequest Load (0.3ms)[0m [1mSELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 2 LIMIT 1[0m
|
2965486
|
+
[1m[35mHubstats::Comment Load (0.2ms)[0m SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 13335613 LIMIT 1
|
2965487
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2965488
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('Let\'s add one more test in here to make sure the `:client_id` and `:client_secret ` work.', '92a312579689a15af132b78711dba0d30ed4fbe9', '2014-06-03 14:08:59', '@@ -2,11 +2,41 @@\n \n module Hubification\n describe GithubAPI, :type => :model do\n+ context \".configure\" do\n+ let(:access_token) { \"access_token\" }\n \n- it \'should have the client.user.login be elliothursh\' do\n- client = Hubification::GithubAPI.client\n+ context \"Config File\" do\n+ before do\n+ allow(ENV).to receive(:[]).and_return(nil)\n+ end\n+\n+ it \'should intialize with options param\' do\n+ expect(Octokit::Client).to receive(:new).with(access_token: access_token)\n+ client = Hubification::GithubAPI.configure({\"access_token\" => access_token})\n+ end', 'https://github.com/sportngin/hubstats/pull/2#discussion_r13335613', 13335613, 'PullRequest', NULL, '9e31d1cafa1d8545d7a633c5d00ea15f6d05b824', 17, 0, NULL, 16631904, 'https://api.github.com/repos/sportngin/hubstats/pulls/2', 20231003, '2014-06-03 21:12:05', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/13335613', 174227)
|
2965489
|
+
[1m[36m (0.5ms)[0m [1mCOMMIT[0m
|
2965490
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2965491
|
+
[1m[36m (0.1ms)[0m [1mUPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 13335613[0m
|
2965492
|
+
[1m[35m (0.4ms)[0m COMMIT
|
2965493
|
+
[1m[36mHubstats::Repo Load (0.2ms)[0m [1mSELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1[0m
|
2965494
|
+
[1m[35mHubstats::User Load (0.1ms)[0m SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1
|
2965495
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2965496
|
+
[1m[35mHubstats::User Exists (0.1ms)[0m SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1
|
2965497
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2965498
|
+
[1m[35mHubstats::PullRequest Load (0.2ms)[0m SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 2 LIMIT 1
|
2965499
|
+
[1m[36mHubstats::Comment Load (0.1ms)[0m [1mSELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 13335642 LIMIT 1[0m
|
2965500
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2965501
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('They\'re just called `environment` variables, not `environmental`.', '92a312579689a15af132b78711dba0d30ed4fbe9', '2014-06-03 14:09:23', '@@ -2,11 +2,41 @@\n \n module Hubification\n describe GithubAPI, :type => :model do\n+ context \".configure\" do\n+ let(:access_token) { \"access_token\" }\n \n- it \'should have the client.user.login be elliothursh\' do\n- client = Hubification::GithubAPI.client\n+ context \"Config File\" do\n+ before do\n+ allow(ENV).to receive(:[]).and_return(nil)\n+ end\n+\n+ it \'should intialize with options param\' do\n+ expect(Octokit::Client).to receive(:new).with(access_token: access_token)\n+ client = Hubification::GithubAPI.configure({\"access_token\" => access_token})\n+ end\n+ end\n+\n+ context \"environmental variables\" do', 'https://github.com/sportngin/hubstats/pull/2#discussion_r13335642', 13335642, 'PullRequest', NULL, '9e31d1cafa1d8545d7a633c5d00ea15f6d05b824', 20, 0, NULL, 16631904, 'https://api.github.com/repos/sportngin/hubstats/pulls/2', 20231003, '2014-06-03 21:12:05', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/13335642', 174227)[0m
|
2965502
|
+
[1m[35m (0.4ms)[0m COMMIT
|
2965503
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
2965504
|
+
[1m[35m (0.1ms)[0m UPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 13335642
|
2965505
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2965506
|
+
[1m[35mHubstats::Repo Load (0.2ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
|
2965507
|
+
[1m[36mHubstats::User Load (0.1ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1[0m
|
2965508
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2965509
|
+
[1m[36mHubstats::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1[0m
|
2965510
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2965511
|
+
[1m[36mHubstats::PullRequest Load (0.2ms)[0m [1mSELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 2 LIMIT 1[0m
|
2965512
|
+
[1m[35mHubstats::Comment Load (0.1ms)[0m SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 13345301 LIMIT 1
|
2965513
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2965514
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('It was allowing the credentials to be nil which is why I put that in there... this is making travisci fail anyways so i\'m going to figure something else out hopefully.', '92a312579689a15af132b78711dba0d30ed4fbe9', '2014-06-03 16:50:37', '@@ -4,11 +4,13 @@ class GithubAPI\n def self.configure(options={})\n if access_token = ENV[\'GITHUB_API_TOKEN\'] || options[\"access_token\"]\n @client = Octokit::Client.new(access_token: access_token)\n- else\n+ elsif (ENV[\'CLIENT_ID\'] || options[\"client_id\"]) && (ENV[\'CLIENT_SECRET\'] || options[\"client_secret\"])', 'https://github.com/sportngin/hubstats/pull/2#discussion_r13345301', 13345301, 'PullRequest', NULL, '9e31d1cafa1d8545d7a633c5d00ea15f6d05b824', 5, 0, NULL, 16631904, 'https://api.github.com/repos/sportngin/hubstats/pulls/2', 20231003, '2014-06-03 21:12:05', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/13345301', 2453875)
|
2965515
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2965516
|
+
[1m[35m (0.0ms)[0m BEGIN
|
2965517
|
+
[1m[36m (0.1ms)[0m [1mUPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 13345301[0m
|
2965518
|
+
[1m[35m (0.4ms)[0m COMMIT
|
2965519
|
+
[1m[36mHubstats::Repo Load (0.2ms)[0m [1mSELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1[0m
|
2965520
|
+
[1m[35mHubstats::User Load (0.1ms)[0m SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1
|
2965521
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2965522
|
+
[1m[35mHubstats::User Exists (0.1ms)[0m SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1
|
2965523
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2965524
|
+
[1m[35mHubstats::PullRequest Load (0.2ms)[0m SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 2 LIMIT 1
|
2965525
|
+
[1m[36mHubstats::Comment Load (0.1ms)[0m [1mSELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 13358794 LIMIT 1[0m
|
2965526
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2965527
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('You might as well raise `InvalidLogin` here instead of `StandardError`.', '92a312579689a15af132b78711dba0d30ed4fbe9', '2014-06-03 20:59:53', '@@ -1,18 +1,24 @@\n module Hubification\n class GithubAPI\n \n- def self.configure(options={})\n+ def self.configure(options = {})\n if access_token = ENV[\'GITHUB_API_TOKEN\'] || options[\"access_token\"]\n @client = Octokit::Client.new(access_token: access_token)\n else\n @client = Octokit::Client.new(\n- login: ENV[\'GITHUB_LOGIN\'] || options[\"login\"], \n- password: ENV[\'GITHUB_PASSWORD\'] || options[\"password\"]\n+ client_id: ENV[\'CLIENT_ID\'] || options[\"client_id\"], \n+ client_secret: ENV[\'CLIENT_SECRET\'] || options[\"client_secret\"]\n )\n end\n+ # Calling API to make sure it configured properly\n+ if @client.user == nil\n+ raise StandardError', 'https://github.com/sportngin/hubstats/pull/2#discussion_r13358794', 13358794, 'PullRequest', NULL, 'ed67bd9a51f0819d35c57542552c68a8697e9853', 18, 0, NULL, 16631904, 'https://api.github.com/repos/sportngin/hubstats/pulls/2', 20231003, '2014-06-03 21:12:05', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/13358794', 174227)[0m
|
2965528
|
+
[1m[35m (0.4ms)[0m COMMIT
|
2965529
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
2965530
|
+
[1m[35m (0.1ms)[0m UPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 13358794
|
2965531
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2965532
|
+
[1m[35mHubstats::Repo Load (0.2ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
|
2965533
|
+
[1m[36mHubstats::User Load (0.1ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1[0m
|
2965534
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2965535
|
+
[1m[36mHubstats::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1[0m
|
2965536
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2965537
|
+
[1m[36mHubstats::PullRequest Load (0.2ms)[0m [1mSELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 2 LIMIT 1[0m
|
2965538
|
+
[1m[35mHubstats::Comment Load (0.1ms)[0m SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 13936229 LIMIT 1
|
2965539
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2965540
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('this is just a test....', '92a312579689a15af132b78711dba0d30ed4fbe9', '2014-06-18 19:49:22', '@@ -4,11 +4,13 @@ class GithubAPI\n def self.configure(options={})\n if access_token = ENV[\'GITHUB_API_TOKEN\'] || options[\"access_token\"]\n @client = Octokit::Client.new(access_token: access_token)\n- else\n+ elsif (ENV[\'CLIENT_ID\'] || options[\"client_id\"]) && (ENV[\'CLIENT_SECRET\'] || options[\"client_secret\"])', 'https://github.com/sportngin/hubstats/pull/2#discussion_r13936229', 13936229, 'PullRequest', NULL, '9e31d1cafa1d8545d7a633c5d00ea15f6d05b824', 5, 0, NULL, 16631904, 'https://api.github.com/repos/sportngin/hubstats/pulls/2', 20231003, '2014-06-18 19:49:22', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/13936229', 2453875)
|
2965541
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
2965542
|
+
[1m[35m (0.0ms)[0m BEGIN
|
2965543
|
+
[1m[36m (0.1ms)[0m [1mUPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 13936229[0m
|
2965544
|
+
[1m[35m (0.4ms)[0m COMMIT
|
2965545
|
+
[1m[36mHubstats::Repo Load (0.3ms)[0m [1mSELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1[0m
|
2965546
|
+
[1m[35mHubstats::User Load (0.2ms)[0m SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 47750 LIMIT 1
|
2965547
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2965548
|
+
[1m[35mHubstats::User Exists (0.2ms)[0m SELECT 1 AS one FROM `hubstats_users` WHERE `hubstats_users`.`id` = BINARY 47750 LIMIT 1
|
2965549
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `hubstats_users` (`avatar_url`, `created_at`, `events_url`, `followers_url`, `following_url`, `gists_url`, `gravatar_id`, `html_url`, `id`, `login`, `organizations_url`, `received_events_url`, `repos_url`, `role`, `site_admin`, `starred_url`, `subscriptions_url`, `updated_at`, `url`) VALUES ('https://avatars.githubusercontent.com/u/47750?', '2014-07-02 14:36:29', 'https://api.github.com/users/anfleene/events{/privacy}', 'https://api.github.com/users/anfleene/followers', 'https://api.github.com/users/anfleene/following{/other_user}', 'https://api.github.com/users/anfleene/gists{/gist_id}', 'c2f4585135c0d731c95797805ff35adf', 'https://github.com/anfleene', 47750, 'anfleene', 'https://api.github.com/users/anfleene/orgs', 'https://api.github.com/users/anfleene/received_events', 'https://api.github.com/users/anfleene/repos', NULL, 0, 'https://api.github.com/users/anfleene/starred{/owner}{/repo}', 'https://api.github.com/users/anfleene/subscriptions', '2014-07-02 14:36:29', 'https://api.github.com/users/anfleene')[0m
|
2965550
|
+
[1m[35m (0.6ms)[0m COMMIT
|
2965551
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2965552
|
+
[1m[35mHubstats::User Exists (0.2ms)[0m SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 47750 AND `hubstats_users`.`id` != 47750) LIMIT 1
|
2965553
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2965554
|
+
[1m[35mHubstats::PullRequest Load (0.2ms)[0m SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 3 LIMIT 1
|
2965555
|
+
[1m[36mHubstats::Comment Load (0.2ms)[0m [1mSELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 13504287 LIMIT 1[0m
|
2965556
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2965557
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('no reason to keep this might as well delete it.', 'c0909a691f69cdbddec76175d706ac9a4a059962', '2014-06-06 18:38:07', '@@ -6,6 +6,29 @@ def index\n client = Hubification::GithubAPI.new\n \n @pull_requests = Hubification::GithubAPI.since(2.weeks.ago, :sort => \"created\").sort{|a,b| b[:closed_at] <=> a[:closed_at]}\n+ subquery = Hubification::User.select(\"hubification_users.login, hubification_users.html_url, hubification_users.id\")\n+ .select(\"IFNULL(COUNT(p.user_id),0) as num_pulls\")\n+ .joins(\'LEFT OUTER JOIN hubification_pull_requests p ON p.user_id = hubification_users.id\')\n+ .group(\"hubification_users.id\").to_sql\n+\n+ @users = Hubification::Comment.select(\"s.login, s.html_url, s.id, s.num_pulls\")\n+ .select(\"IFNULL(COUNT(hubification_comments.user_id),0) as num_comments\")\n+ .joins(\"RIGHT OUTER JOIN (#{subquery}) s ON hubification_comments.user_id = s.id\")\n+ .group(\"s.id\")\n+ .order(\"s.login DESC\")\n+\n+\n+\n+\n+\n+ # .select(\"hubification_users.login, hubification_users.html_url, hubification_users.id\")', 'https://github.com/sportngin/hubstats/pull/3#discussion_r13504287', 13504287, 'PullRequest', NULL, '0c14282a181587bd825ab3a98780b4d7d7847331', 19, 0, NULL, 16834687, 'https://api.github.com/repos/sportngin/hubstats/pulls/3', 20231003, '2014-06-11 21:35:36', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/13504287', 47750)[0m
|
2965558
|
+
[1m[35m (0.4ms)[0m COMMIT
|
2965559
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
2965560
|
+
[1m[35m (0.2ms)[0m UPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 13504287
|
2965561
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2965562
|
+
[1m[35mHubstats::Repo Load (0.2ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
|
2965563
|
+
[1m[36mHubstats::User Load (0.2ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 47750 LIMIT 1[0m
|
2965564
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2965565
|
+
[1m[36mHubstats::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 47750 AND `hubstats_users`.`id` != 47750) LIMIT 1[0m
|
2965566
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2965567
|
+
[1m[36mHubstats::PullRequest Load (0.2ms)[0m [1mSELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 3 LIMIT 1[0m
|
2965568
|
+
[1m[35mHubstats::Comment Load (0.2ms)[0m SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 13504430 LIMIT 1
|
2965569
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2965570
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('Move this code into the user model called User.pull_request_counts because if you execute this it should work fine. but then you can still call \".to_sql\" like you\'re doing.', 'c0909a691f69cdbddec76175d706ac9a4a059962', '2014-06-06 18:42:03', '@@ -6,6 +6,29 @@ def index\n client = Hubification::GithubAPI.new\n \n @pull_requests = Hubification::GithubAPI.since(2.weeks.ago, :sort => \"created\").sort{|a,b| b[:closed_at] <=> a[:closed_at]}\n+ subquery = Hubification::User.select(\"hubification_users.login, hubification_users.html_url, hubification_users.id\")', 'https://github.com/sportngin/hubstats/pull/3#discussion_r13504430', 13504430, 'PullRequest', NULL, '0c14282a181587bd825ab3a98780b4d7d7847331', 4, 0, NULL, 16834687, 'https://api.github.com/repos/sportngin/hubstats/pulls/3', 20231003, '2014-06-11 21:35:36', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/13504430', 47750)
|
2965571
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2965572
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2965573
|
+
[1m[36m (0.1ms)[0m [1mUPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 13504430[0m
|
2965574
|
+
[1m[35m (0.4ms)[0m COMMIT
|
2965575
|
+
[1m[36mHubstats::Repo Load (0.2ms)[0m [1mSELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1[0m
|
2965576
|
+
[1m[35mHubstats::User Load (0.1ms)[0m SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 47750 LIMIT 1
|
2965577
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2965578
|
+
[1m[35mHubstats::User Exists (0.1ms)[0m SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 47750 AND `hubstats_users`.`id` != 47750) LIMIT 1
|
2965579
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2965580
|
+
[1m[35mHubstats::PullRequest Load (0.2ms)[0m SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 3 LIMIT 1
|
2965581
|
+
[1m[36mHubstats::Comment Load (0.1ms)[0m [1mSELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 13504546 LIMIT 1[0m
|
2965582
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2965583
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('Move this to User as well. call it User.pull_requests_and_comments', 'c0909a691f69cdbddec76175d706ac9a4a059962', '2014-06-06 18:44:23', '@@ -6,6 +6,29 @@ def index\n client = Hubification::GithubAPI.new\n \n @pull_requests = Hubification::GithubAPI.since(2.weeks.ago, :sort => \"created\").sort{|a,b| b[:closed_at] <=> a[:closed_at]}\n+ subquery = Hubification::User.select(\"hubification_users.login, hubification_users.html_url, hubification_users.id\")\n+ .select(\"IFNULL(COUNT(p.user_id),0) as num_pulls\")\n+ .joins(\'LEFT OUTER JOIN hubification_pull_requests p ON p.user_id = hubification_users.id\')\n+ .group(\"hubification_users.id\").to_sql\n+\n+ @users = Hubification::Comment.select(\"s.login, s.html_url, s.id, s.num_pulls\")', 'https://github.com/sportngin/hubstats/pull/3#discussion_r13504546', 13504546, 'PullRequest', NULL, '0c14282a181587bd825ab3a98780b4d7d7847331', 9, 0, NULL, 16834687, 'https://api.github.com/repos/sportngin/hubstats/pulls/3', 20231003, '2014-06-11 21:35:36', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/13504546', 47750)[0m
|
2965584
|
+
[1m[35m (0.4ms)[0m COMMIT
|
2965585
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
2965586
|
+
[1m[35m (0.1ms)[0m UPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 13504546
|
2965587
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2965588
|
+
[1m[35mHubstats::Repo Load (0.2ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
|
2965589
|
+
[1m[36mHubstats::User Load (0.1ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 47750 LIMIT 1[0m
|
2965590
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2965591
|
+
[1m[36mHubstats::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 47750 AND `hubstats_users`.`id` != 47750) LIMIT 1[0m
|
2965592
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2965593
|
+
[1m[36mHubstats::PullRequest Load (0.2ms)[0m [1mSELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 3 LIMIT 1[0m
|
2965594
|
+
[1m[35mHubstats::Comment Load (0.2ms)[0m SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 13504565 LIMIT 1
|
2965595
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2965596
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('Do you need this still?', 'c0909a691f69cdbddec76175d706ac9a4a059962', '2014-06-06 18:44:50', '@@ -6,6 +6,29 @@ def index\n client = Hubification::GithubAPI.new', 'https://github.com/sportngin/hubstats/pull/3#discussion_r13504565', 13504565, 'PullRequest', NULL, '0c14282a181587bd825ab3a98780b4d7d7847331', 1, 0, NULL, 16834687, 'https://api.github.com/repos/sportngin/hubstats/pulls/3', 20231003, '2014-06-11 21:35:36', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/13504565', 47750)
|
2965597
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2965598
|
+
[1m[35m (0.0ms)[0m BEGIN
|
2965599
|
+
[1m[36m (0.1ms)[0m [1mUPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 13504565[0m
|
2965600
|
+
[1m[35m (0.4ms)[0m COMMIT
|
2965601
|
+
[1m[36mHubstats::Repo Load (0.2ms)[0m [1mSELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1[0m
|
2965602
|
+
[1m[35mHubstats::User Load (0.1ms)[0m SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 47750 LIMIT 1
|
2965603
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2965604
|
+
[1m[35mHubstats::User Exists (0.1ms)[0m SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 47750 AND `hubstats_users`.`id` != 47750) LIMIT 1
|
2965605
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2965606
|
+
[1m[35mHubstats::PullRequest Load (0.2ms)[0m SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 3 LIMIT 1
|
2965607
|
+
[1m[36mHubstats::Comment Load (0.2ms)[0m [1mSELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 13504655 LIMIT 1[0m
|
2965608
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2965609
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('Is id an integer that we get from github?', 'c0909a691f69cdbddec76175d706ac9a4a059962', '2014-06-06 18:47:18', '@@ -0,0 +1,14 @@\n+module Hubification\n+ class User < ActiveRecord::Base\n+ attr_accessible :login, :id, :avatar_url, :gravatar_id, :url, :html_url, :followers_url,', 'https://github.com/sportngin/hubstats/pull/3#discussion_r13504655', 13504655, 'PullRequest', NULL, '0c14282a181587bd825ab3a98780b4d7d7847331', 3, 0, NULL, 16834687, 'https://api.github.com/repos/sportngin/hubstats/pulls/3', 20231003, '2014-06-11 21:35:36', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/13504655', 47750)[0m
|
2965610
|
+
[1m[35m (0.4ms)[0m COMMIT
|
2965611
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
2965612
|
+
[1m[35m (0.2ms)[0m UPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 13504655
|
2965613
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2965614
|
+
[1m[35mHubstats::Repo Load (0.2ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
|
2965615
|
+
[1m[36mHubstats::User Load (0.1ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1[0m
|
2965616
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2965617
|
+
[1m[36mHubstats::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1[0m
|
2965618
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2965619
|
+
[1m[36mHubstats::PullRequest Load (0.2ms)[0m [1mSELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 3 LIMIT 1[0m
|
2965620
|
+
[1m[35mHubstats::Comment Load (0.1ms)[0m SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 13504809 LIMIT 1
|
2965621
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2965622
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('I thought i did, but I guess not...', 'c0909a691f69cdbddec76175d706ac9a4a059962', '2014-06-06 18:50:55', '@@ -6,6 +6,29 @@ def index\n client = Hubification::GithubAPI.new', 'https://github.com/sportngin/hubstats/pull/3#discussion_r13504809', 13504809, 'PullRequest', NULL, '0c14282a181587bd825ab3a98780b4d7d7847331', 1, 0, NULL, 16834687, 'https://api.github.com/repos/sportngin/hubstats/pulls/3', 20231003, '2014-06-11 21:35:36', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/13504809', 2453875)
|
2965623
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2965624
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2965625
|
+
[1m[36m (0.1ms)[0m [1mUPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 13504809[0m
|
2965626
|
+
[1m[35m (0.4ms)[0m COMMIT
|
2965627
|
+
[1m[36mHubstats::Repo Load (0.2ms)[0m [1mSELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1[0m
|
2965628
|
+
[1m[35mHubstats::User Load (0.1ms)[0m SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
|
2965629
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2965630
|
+
[1m[35mHubstats::User Exists (0.2ms)[0m SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
|
2965631
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2965632
|
+
[1m[35mHubstats::PullRequest Load (0.2ms)[0m SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 3 LIMIT 1
|
2965633
|
+
[1m[36mHubstats::Comment Load (0.1ms)[0m [1mSELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 13504831 LIMIT 1[0m
|
2965634
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2965635
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('yea..', 'c0909a691f69cdbddec76175d706ac9a4a059962', '2014-06-06 18:51:32', '@@ -0,0 +1,14 @@\n+module Hubification\n+ class User < ActiveRecord::Base\n+ attr_accessible :login, :id, :avatar_url, :gravatar_id, :url, :html_url, :followers_url,', 'https://github.com/sportngin/hubstats/pull/3#discussion_r13504831', 13504831, 'PullRequest', NULL, '0c14282a181587bd825ab3a98780b4d7d7847331', 3, 0, NULL, 16834687, 'https://api.github.com/repos/sportngin/hubstats/pulls/3', 20231003, '2014-06-11 21:35:36', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/13504831', 2453875)[0m
|
2965636
|
+
[1m[35m (0.4ms)[0m COMMIT
|
2965637
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
2965638
|
+
[1m[35m (0.2ms)[0m UPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 13504831
|
2965639
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2965640
|
+
[1m[35mHubstats::Repo Load (0.2ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
|
2965641
|
+
[1m[36mHubstats::User Load (0.1ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 47750 LIMIT 1[0m
|
2965642
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2965643
|
+
[1m[36mHubstats::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 47750 AND `hubstats_users`.`id` != 47750) LIMIT 1[0m
|
2965644
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2965645
|
+
[1m[36mHubstats::PullRequest Load (0.2ms)[0m [1mSELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 3 LIMIT 1[0m
|
2965646
|
+
[1m[35mHubstats::Comment Load (0.1ms)[0m SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 13504901 LIMIT 1
|
2965647
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2965648
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('this should be a table.', 'c0909a691f69cdbddec76175d706ac9a4a059962', '2014-06-06 18:53:21', '@@ -15,6 +15,11 @@\n \n <div class=\"col col-lg-4 col-lg-offset-1\">\n <div class=\"row\">\n+ <h3> Contributors </h3>', 'https://github.com/sportngin/hubstats/pull/3#discussion_r13504901', 13504901, 'PullRequest', NULL, '0c14282a181587bd825ab3a98780b4d7d7847331', 4, 0, NULL, 16834687, 'https://api.github.com/repos/sportngin/hubstats/pulls/3', 20231003, '2014-06-11 21:35:36', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/13504901', 47750)
|
2965649
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2965650
|
+
[1m[35m (0.0ms)[0m BEGIN
|
2965651
|
+
[1m[36m (0.2ms)[0m [1mUPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 13504901[0m
|
2965652
|
+
[1m[35m (0.4ms)[0m COMMIT
|
2965653
|
+
[1m[36mHubstats::Repo Load (0.2ms)[0m [1mSELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1[0m
|
2965654
|
+
[1m[35mHubstats::User Load (0.2ms)[0m SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 47750 LIMIT 1
|
2965655
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2965656
|
+
[1m[35mHubstats::User Exists (0.1ms)[0m SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 47750 AND `hubstats_users`.`id` != 47750) LIMIT 1
|
2965657
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2965658
|
+
[1m[35mHubstats::PullRequest Load (0.2ms)[0m SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 3 LIMIT 1
|
2965659
|
+
[1m[36mHubstats::Comment Load (0.1ms)[0m [1mSELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 13506195 LIMIT 1[0m
|
2965660
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2965661
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('This is how I would get them all.\r\n```\r\nclient.paginate(\'/repos/sportngin/ngin/\'+kind, :per_page => 100, :page => 1) do |data, last_response| \r\n while last_response.rels[:next] && client.rate_limit.remaining > 0\r\n last_response = last_response.rels[:next].get\r\n data.concat(last_response.data) if last_response.data.is_a?(Array)\r\n end\r\nend\r\n```', 'c0909a691f69cdbddec76175d706ac9a4a059962', '2014-06-06 19:24:34', '@@ -45,5 +46,24 @@ def self.since(time, options={})\n return pulls\n end\n \n+ def self.all(kind, options={})\n+ options.reverse_merge!(:per_page => 30)', 'https://github.com/sportngin/hubstats/pull/3#discussion_r13506195', 13506195, 'PullRequest', NULL, '0c14282a181587bd825ab3a98780b4d7d7847331', 22, 0, NULL, 16834687, 'https://api.github.com/repos/sportngin/hubstats/pulls/3', 20231003, '2014-06-11 21:35:36', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/13506195', 47750)[0m
|
2965662
|
+
[1m[35m (0.4ms)[0m COMMIT
|
2965663
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
2965664
|
+
[1m[35m (0.1ms)[0m UPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 13506195
|
2965665
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2965666
|
+
[1m[35mHubstats::Repo Load (0.2ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
|
2965667
|
+
[1m[36mHubstats::User Load (0.2ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 47750 LIMIT 1[0m
|
2965668
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2965669
|
+
[1m[36mHubstats::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 47750 AND `hubstats_users`.`id` != 47750) LIMIT 1[0m
|
2965670
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2965671
|
+
[1m[36mHubstats::PullRequest Load (0.2ms)[0m [1mSELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 3 LIMIT 1[0m
|
2965672
|
+
[1m[35mHubstats::Comment Load (0.1ms)[0m SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 13506209 LIMIT 1
|
2965673
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2965674
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('You should use the max per page since that reduces the number of api calls.', 'c0909a691f69cdbddec76175d706ac9a4a059962', '2014-06-06 19:24:58', '@@ -45,5 +46,24 @@ def self.since(time, options={})\n return pulls\n end\n \n+ def self.all(kind, options={})\n+ options.reverse_merge!(:per_page => 30)', 'https://github.com/sportngin/hubstats/pull/3#discussion_r13506209', 13506209, 'PullRequest', NULL, '0c14282a181587bd825ab3a98780b4d7d7847331', 22, 0, NULL, 16834687, 'https://api.github.com/repos/sportngin/hubstats/pulls/3', 20231003, '2014-06-11 21:35:36', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/13506209', 47750)
|
2965675
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2965676
|
+
[1m[35m (0.0ms)[0m BEGIN
|
2965677
|
+
[1m[36m (0.1ms)[0m [1mUPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 13506209[0m
|
2965678
|
+
[1m[35m (0.4ms)[0m COMMIT
|
2965679
|
+
[1m[36mHubstats::Repo Load (0.2ms)[0m [1mSELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1[0m
|
2965680
|
+
[1m[35mHubstats::User Load (0.1ms)[0m SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 47750 LIMIT 1
|
2965681
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2965682
|
+
[1m[35mHubstats::User Exists (0.1ms)[0m SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 47750 AND `hubstats_users`.`id` != 47750) LIMIT 1
|
2965683
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2965684
|
+
[1m[35mHubstats::PullRequest Load (0.2ms)[0m SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 3 LIMIT 1
|
2965685
|
+
[1m[36mHubstats::Comment Load (0.1ms)[0m [1mSELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 13506367 LIMIT 1[0m
|
2965686
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2965687
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('you don\'t need this line anymore either right?', 'c0909a691f69cdbddec76175d706ac9a4a059962', '2014-06-06 19:28:04', '@@ -1,18 +1,14 @@\n namespace :hubification do\n- desc \"Queries a list of users\"\n- task :signin => :environment do\n- client = Hubification::GithubAPI.client\n-\n- user = client.user\n- puts user.login\n- end\n \n- desc \"Queries a list of users\"\n- task :members => :environment do\n+ desc \"Queries the list of contributors to the repo\"\n+ task :members => :environment do\n client = Hubification::GithubAPI.client', 'https://github.com/sportngin/hubstats/pull/3#discussion_r13506367', 13506367, 'PullRequest', NULL, '0c14282a181587bd825ab3a98780b4d7d7847331', 14, 0, NULL, 16834687, 'https://api.github.com/repos/sportngin/hubstats/pulls/3', 20231003, '2014-06-11 21:35:36', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/13506367', 47750)[0m
|
2965688
|
+
[1m[35m (0.5ms)[0m COMMIT
|
2965689
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2965690
|
+
[1m[35m (0.2ms)[0m UPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 13506367
|
2965691
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2965692
|
+
[1m[35mHubstats::Repo Load (0.2ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
|
2965693
|
+
[1m[36mHubstats::User Load (0.1ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 47750 LIMIT 1[0m
|
2965694
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2965695
|
+
[1m[36mHubstats::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 47750 AND `hubstats_users`.`id` != 47750) LIMIT 1[0m
|
2965696
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2965697
|
+
[1m[36mHubstats::PullRequest Load (0.2ms)[0m [1mSELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 3 LIMIT 1[0m
|
2965698
|
+
[1m[35mHubstats::Comment Load (0.1ms)[0m SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 13506405 LIMIT 1
|
2965699
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2965700
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('no reason to assign this.', 'c0909a691f69cdbddec76175d706ac9a4a059962', '2014-06-06 19:29:05', '@@ -0,0 +1,64 @@\n+namespace :populate do\n+\n+ desc \"Pull members from Github saves in database\"\n+ task :users => :environment do\n+ client = Hubification::GithubAPI.client\n+ contributors = Hubification::GithubAPI.all(\'contributors\')\n+\n+ contributors.each do |contributor|\n+ find_or_create_user(contributor)\n+ end\n+ end\n+\n+ desc \"Pull comments from Github saves in database\"\n+ task :comments => :environment do\n+ client = Hubification::GithubAPI.client\n+ comments = Hubification::GithubAPI.all(\'comments\')\n+\n+ comments.each do |comment|\n+ comm = find_or_create_comment(comment)', 'https://github.com/sportngin/hubstats/pull/3#discussion_r13506405', 13506405, 'PullRequest', NULL, '0c14282a181587bd825ab3a98780b4d7d7847331', 19, 0, NULL, 16834687, 'https://api.github.com/repos/sportngin/hubstats/pulls/3', 20231003, '2014-06-11 21:35:36', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/13506405', 47750)
|
2965701
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2965702
|
+
[1m[35m (0.0ms)[0m BEGIN
|
2965703
|
+
[1m[36m (0.2ms)[0m [1mUPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 13506405[0m
|
2965704
|
+
[1m[35m (0.4ms)[0m COMMIT
|
2965705
|
+
[1m[36mHubstats::Repo Load (0.2ms)[0m [1mSELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1[0m
|
2965706
|
+
[1m[35mHubstats::User Load (0.1ms)[0m SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 47750 LIMIT 1
|
2965707
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2965708
|
+
[1m[35mHubstats::User Exists (0.1ms)[0m SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 47750 AND `hubstats_users`.`id` != 47750) LIMIT 1
|
2965709
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2965710
|
+
[1m[35mHubstats::PullRequest Load (0.2ms)[0m SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 3 LIMIT 1
|
2965711
|
+
[1m[36mHubstats::Comment Load (0.1ms)[0m [1mSELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 13506949 LIMIT 1[0m
|
2965712
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2965713
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('no need to assign this', 'c0909a691f69cdbddec76175d706ac9a4a059962', '2014-06-06 19:41:18', '@@ -0,0 +1,64 @@\n+namespace :populate do\n+\n+ desc \"Pull members from Github saves in database\"\n+ task :users => :environment do\n+ client = Hubification::GithubAPI.client\n+ contributors = Hubification::GithubAPI.all(\'contributors\')\n+\n+ contributors.each do |contributor|\n+ find_or_create_user(contributor)\n+ end\n+ end\n+\n+ desc \"Pull comments from Github saves in database\"\n+ task :comments => :environment do\n+ client = Hubification::GithubAPI.client\n+ comments = Hubification::GithubAPI.all(\'comments\')\n+\n+ comments.each do |comment|\n+ comm = find_or_create_comment(comment)\n+ end\n+ end\n+\n+ desc \"Pull pullrequests from Github saves in database\"\n+ task :pulls => :environment do\n+ client = Hubification::GithubAPI.client\n+ pulls = Hubification::GithubAPI.all(\"pulls\")\n+\n+ pulls.each do |pull|\n+ pr = find_or_create_pull(pull)', 'https://github.com/sportngin/hubstats/pull/3#discussion_r13506949', 13506949, 'PullRequest', NULL, '0c14282a181587bd825ab3a98780b4d7d7847331', 29, 0, NULL, 16834687, 'https://api.github.com/repos/sportngin/hubstats/pulls/3', 20231003, '2014-06-11 21:35:36', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/13506949', 47750)[0m
|
2965714
|
+
[1m[35m (0.4ms)[0m COMMIT
|
2965715
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
2965716
|
+
[1m[35m (0.1ms)[0m UPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 13506949
|
2965717
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2965718
|
+
[1m[35mHubstats::Repo Load (0.2ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
|
2965719
|
+
[1m[36mHubstats::User Load (0.1ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 47750 LIMIT 1[0m
|
2965720
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2965721
|
+
[1m[36mHubstats::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 47750 AND `hubstats_users`.`id` != 47750) LIMIT 1[0m
|
2965722
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2965723
|
+
[1m[36mHubstats::PullRequest Load (0.2ms)[0m [1mSELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 3 LIMIT 1[0m
|
2965724
|
+
[1m[35mHubstats::Comment Load (0.2ms)[0m SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 13508471 LIMIT 1
|
2965725
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2965726
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('this is how I would populate models\r\n```\r\ndef find_or_create_user(github_user)\r\n user_data = github_user.to_h.slice(*Hubification::User.column_names.map(&:to_sym))\r\n user = Hubification::User.where(:id => user[:id]).first_or_create(user_data)\r\n return user if user.save\r\n puts user.errors.inspect\r\nend\r\n```', 'c0909a691f69cdbddec76175d706ac9a4a059962', '2014-06-06 20:20:30', '@@ -0,0 +1,64 @@\n+namespace :populate do\n+\n+ desc \"Pull members from Github saves in database\"\n+ task :users => :environment do\n+ client = Hubification::GithubAPI.client\n+ contributors = Hubification::GithubAPI.all(\'contributors\')\n+\n+ contributors.each do |contributor|\n+ find_or_create_user(contributor)\n+ end\n+ end\n+\n+ desc \"Pull comments from Github saves in database\"\n+ task :comments => :environment do\n+ client = Hubification::GithubAPI.client\n+ comments = Hubification::GithubAPI.all(\'comments\')\n+\n+ comments.each do |comment|\n+ comm = find_or_create_comment(comment)\n+ end\n+ end\n+\n+ desc \"Pull pullrequests from Github saves in database\"\n+ task :pulls => :environment do\n+ client = Hubification::GithubAPI.client\n+ pulls = Hubification::GithubAPI.all(\"pulls\")\n+\n+ pulls.each do |pull|\n+ pr = find_or_create_pull(pull)\n+ end\n+ end\n+end\n+\n+def find_or_create_user(user)\n+ if (oldUser = Hubification::User.where(:id => user[:id]).first).nil?\n+ member = (user.to_h).except(:contributions)', 'https://github.com/sportngin/hubstats/pull/3#discussion_r13508471', 13508471, 'PullRequest', NULL, '0c14282a181587bd825ab3a98780b4d7d7847331', 36, 0, NULL, 16834687, 'https://api.github.com/repos/sportngin/hubstats/pulls/3', 20231003, '2014-06-11 21:35:36', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/13508471', 47750)
|
2965727
|
+
[1m[36m (0.5ms)[0m [1mCOMMIT[0m
|
2965728
|
+
[1m[35m (0.0ms)[0m BEGIN
|
2965729
|
+
[1m[36m (0.1ms)[0m [1mUPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 13508471[0m
|
2965730
|
+
[1m[35m (0.4ms)[0m COMMIT
|
2965731
|
+
[1m[36mHubstats::Repo Load (0.2ms)[0m [1mSELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1[0m
|
2965732
|
+
[1m[35mHubstats::User Load (0.1ms)[0m SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 47750 LIMIT 1
|
2965733
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2965734
|
+
[1m[35mHubstats::User Exists (0.2ms)[0m SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 47750 AND `hubstats_users`.`id` != 47750) LIMIT 1
|
2965735
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2965736
|
+
[1m[35mHubstats::PullRequest Load (0.2ms)[0m SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 3 LIMIT 1
|
2965737
|
+
[1m[36mHubstats::Comment Load (0.2ms)[0m [1mSELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 13508843 LIMIT 1[0m
|
2965738
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2965739
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('The algorithm from user should work here as well.', 'c0909a691f69cdbddec76175d706ac9a4a059962', '2014-06-06 20:29:12', '@@ -0,0 +1,64 @@\n+namespace :populate do\n+\n+ desc \"Pull members from Github saves in database\"\n+ task :users => :environment do\n+ client = Hubification::GithubAPI.client\n+ contributors = Hubification::GithubAPI.all(\'contributors\')\n+\n+ contributors.each do |contributor|\n+ find_or_create_user(contributor)\n+ end\n+ end\n+\n+ desc \"Pull comments from Github saves in database\"\n+ task :comments => :environment do\n+ client = Hubification::GithubAPI.client\n+ comments = Hubification::GithubAPI.all(\'comments\')\n+\n+ comments.each do |comment|\n+ comm = find_or_create_comment(comment)\n+ end\n+ end\n+\n+ desc \"Pull pullrequests from Github saves in database\"\n+ task :pulls => :environment do\n+ client = Hubification::GithubAPI.client\n+ pulls = Hubification::GithubAPI.all(\"pulls\")\n+\n+ pulls.each do |pull|\n+ pr = find_or_create_pull(pull)\n+ end\n+ end\n+end\n+\n+def find_or_create_user(user)\n+ if (oldUser = Hubification::User.where(:id => user[:id]).first).nil?\n+ member = (user.to_h).except(:contributions)\n+ member[:role] = member.delete :type ##changing :type in to :role\n+ return newUser = Hubification::User.create(member)\n+ else\n+ return oldUser\n+ end\n+end\n+\n+def find_or_create_comment(comment)\n+ user = find_or_create_user(comment[:user])', 'https://github.com/sportngin/hubstats/pull/3#discussion_r13508843', 13508843, 'PullRequest', NULL, '0c14282a181587bd825ab3a98780b4d7d7847331', 45, 0, NULL, 16834687, 'https://api.github.com/repos/sportngin/hubstats/pulls/3', 20231003, '2014-06-11 21:35:36', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/13508843', 47750)[0m
|
2965740
|
+
[1m[35m (0.6ms)[0m COMMIT
|
2965741
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2965742
|
+
[1m[35m (0.2ms)[0m UPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 13508843
|
2965743
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2965744
|
+
[1m[35mHubstats::Repo Load (0.3ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
|
2965745
|
+
[1m[36mHubstats::User Load (0.2ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 47750 LIMIT 1[0m
|
2965746
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2965747
|
+
[1m[36mHubstats::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 47750 AND `hubstats_users`.`id` != 47750) LIMIT 1[0m
|
2965748
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2965749
|
+
[1m[36mHubstats::PullRequest Load (0.3ms)[0m [1mSELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 3 LIMIT 1[0m
|
2965750
|
+
[1m[35mHubstats::Comment Load (0.2ms)[0m SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 13508846 LIMIT 1
|
2965751
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2965752
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('And here', 'c0909a691f69cdbddec76175d706ac9a4a059962', '2014-06-06 20:29:21', '@@ -0,0 +1,64 @@\n+namespace :populate do\n+\n+ desc \"Pull members from Github saves in database\"\n+ task :users => :environment do\n+ client = Hubification::GithubAPI.client\n+ contributors = Hubification::GithubAPI.all(\'contributors\')\n+\n+ contributors.each do |contributor|\n+ find_or_create_user(contributor)\n+ end\n+ end\n+\n+ desc \"Pull comments from Github saves in database\"\n+ task :comments => :environment do\n+ client = Hubification::GithubAPI.client\n+ comments = Hubification::GithubAPI.all(\'comments\')\n+\n+ comments.each do |comment|\n+ comm = find_or_create_comment(comment)\n+ end\n+ end\n+\n+ desc \"Pull pullrequests from Github saves in database\"\n+ task :pulls => :environment do\n+ client = Hubification::GithubAPI.client\n+ pulls = Hubification::GithubAPI.all(\"pulls\")\n+\n+ pulls.each do |pull|\n+ pr = find_or_create_pull(pull)\n+ end\n+ end\n+end\n+\n+def find_or_create_user(user)\n+ if (oldUser = Hubification::User.where(:id => user[:id]).first).nil?\n+ member = (user.to_h).except(:contributions)\n+ member[:role] = member.delete :type ##changing :type in to :role\n+ return newUser = Hubification::User.create(member)\n+ else\n+ return oldUser\n+ end\n+end\n+\n+def find_or_create_comment(comment)\n+ user = find_or_create_user(comment[:user])\n+ if (Hubification::Comment.where(:id => comment[:id]).first).nil?\n+ comm = (comment.to_h).except(:user)\n+ newComment = Hubification::Comment.new(comm)\n+ newComment[:user_id] = user[:id]\n+ newComment.save()\n+ puts newComment.errors.inspect\n+ end\n+end\n+\n+def find_or_create_pull(pull)\n+ user = find_or_create_user(pull[:user])', 'https://github.com/sportngin/hubstats/pull/3#discussion_r13508846', 13508846, 'PullRequest', NULL, '0c14282a181587bd825ab3a98780b4d7d7847331', 56, 0, NULL, 16834687, 'https://api.github.com/repos/sportngin/hubstats/pulls/3', 20231003, '2014-06-11 21:35:36', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/13508846', 47750)
|
2965753
|
+
[1m[36m (0.7ms)[0m [1mCOMMIT[0m
|
2965754
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2965755
|
+
[1m[36m (0.2ms)[0m [1mUPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 13508846[0m
|
2965756
|
+
[1m[35m (0.5ms)[0m COMMIT
|
2965757
|
+
[1m[36mHubstats::Repo Load (0.2ms)[0m [1mSELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1[0m
|
2965758
|
+
[1m[35mHubstats::User Load (0.2ms)[0m SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1
|
2965759
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2965760
|
+
[1m[35mHubstats::User Exists (0.1ms)[0m SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1
|
2965761
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2965762
|
+
[1m[35mHubstats::PullRequest Load (0.3ms)[0m SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 3 LIMIT 1
|
2965763
|
+
[1m[36mHubstats::Comment Load (0.2ms)[0m [1mSELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 13675001 LIMIT 1[0m
|
2965764
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2965765
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('Let\'s get this puts statement out of here.', 'c0909a691f69cdbddec76175d706ac9a4a059962', '2014-06-11 21:20:51', '@@ -0,0 +1,20 @@\n+module Hubstats\n+ class Comment < ActiveRecord::Base\n+ attr_accessible :id, :html_url, :url, :pull_request_url, :diff_hunk, :path, :position, :original_position, :line, :commit_id, :original_commit_id, :body, :created_at, :updated_at, :user_id\n+ \n+ belongs_to :user\n+ \n+ def self.find_or_create_comment(github_comment)\n+ (github_comment = github_comment.to_h) if github_comment.respond_to?(:to_h)\n+ \n+ user = Hubstats::User.find_or_create_user(github_comment[:user])\n+ comment_data = github_comment.slice(*Hubstats::Comment.column_names.map(&:to_sym))\n+ comment_data[:user_id] = user.id\n+\n+ comment = where(:id => comment_data[:id]).first_or_create(comment_data)\n+ return comment if comment.save\n+ puts comment.errors.inspect', 'https://github.com/sportngin/hubstats/pull/3#discussion_r13675001', 13675001, 'PullRequest', NULL, '325461e5718c65dcb8ec70d1e2a5dbdaa57f5a58', 16, 0, NULL, 16834687, 'https://api.github.com/repos/sportngin/hubstats/pulls/3', 20231003, '2014-06-11 21:35:36', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/13675001', 174227)[0m
|
2965766
|
+
[1m[35m (0.4ms)[0m COMMIT
|
2965767
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2965768
|
+
[1m[35m (0.1ms)[0m UPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 13675001
|
2965769
|
+
[1m[36m (0.6ms)[0m [1mCOMMIT[0m
|
2965770
|
+
[1m[35mHubstats::Repo Load (0.2ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
|
2965771
|
+
[1m[36mHubstats::User Load (0.2ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1[0m
|
2965772
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2965773
|
+
[1m[36mHubstats::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1[0m
|
2965774
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2965775
|
+
[1m[36mHubstats::PullRequest Load (0.2ms)[0m [1mSELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 3 LIMIT 1[0m
|
2965776
|
+
[1m[35mHubstats::Comment Load (0.2ms)[0m SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 13675072 LIMIT 1
|
2965777
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2965778
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('You don\'t need the `()` here:\r\n```ruby\r\ngithub_comment = github_comment.to_h if github_comment.respond_to? :to_h\r\n```', 'c0909a691f69cdbddec76175d706ac9a4a059962', '2014-06-11 21:22:02', '@@ -0,0 +1,20 @@\n+module Hubstats\n+ class Comment < ActiveRecord::Base\n+ attr_accessible :id, :html_url, :url, :pull_request_url, :diff_hunk, :path, :position, :original_position, :line, :commit_id, :original_commit_id, :body, :created_at, :updated_at, :user_id\n+ \n+ belongs_to :user\n+ \n+ def self.find_or_create_comment(github_comment)\n+ (github_comment = github_comment.to_h) if github_comment.respond_to?(:to_h)', 'https://github.com/sportngin/hubstats/pull/3#discussion_r13675072', 13675072, 'PullRequest', NULL, '325461e5718c65dcb8ec70d1e2a5dbdaa57f5a58', 8, 0, NULL, 16834687, 'https://api.github.com/repos/sportngin/hubstats/pulls/3', 20231003, '2014-06-11 21:35:36', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/13675072', 174227)
|
2965779
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2965780
|
+
[1m[35m (0.0ms)[0m BEGIN
|
2965781
|
+
[1m[36m (0.1ms)[0m [1mUPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 13675072[0m
|
2965782
|
+
[1m[35m (0.4ms)[0m COMMIT
|
2965783
|
+
[1m[36mHubstats::Repo Load (0.2ms)[0m [1mSELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1[0m
|
2965784
|
+
[1m[35mHubstats::User Load (0.2ms)[0m SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1
|
2965785
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
2965786
|
+
[1m[35mHubstats::User Exists (0.1ms)[0m SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1
|
2965787
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2965788
|
+
[1m[35mHubstats::PullRequest Load (0.2ms)[0m SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 3 LIMIT 1
|
2965789
|
+
[1m[36mHubstats::Comment Load (0.1ms)[0m [1mSELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 13675111 LIMIT 1[0m
|
2965790
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2965791
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('This line is pretty long, let\'s wrap it.', 'c0909a691f69cdbddec76175d706ac9a4a059962', '2014-06-11 21:22:48', '@@ -0,0 +1,20 @@\n+module Hubstats\n+ class Comment < ActiveRecord::Base\n+ attr_accessible :id, :html_url, :url, :pull_request_url, :diff_hunk, :path, :position, :original_position, :line, :commit_id, :original_commit_id, :body, :created_at, :updated_at, :user_id', 'https://github.com/sportngin/hubstats/pull/3#discussion_r13675111', 13675111, 'PullRequest', NULL, '325461e5718c65dcb8ec70d1e2a5dbdaa57f5a58', 3, 0, NULL, 16834687, 'https://api.github.com/repos/sportngin/hubstats/pulls/3', 20231003, '2014-06-11 21:35:36', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/13675111', 174227)[0m
|
2965792
|
+
[1m[35m (0.4ms)[0m COMMIT
|
2965793
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
2965794
|
+
[1m[35m (0.1ms)[0m UPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 13675111
|
2965795
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2965796
|
+
[1m[35mHubstats::Repo Load (0.2ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
|
2965797
|
+
[1m[36mHubstats::User Load (0.1ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1[0m
|
2965798
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2965799
|
+
[1m[36mHubstats::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1[0m
|
2965800
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2965801
|
+
[1m[36mHubstats::PullRequest Load (0.2ms)[0m [1mSELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 3 LIMIT 1[0m
|
2965802
|
+
[1m[35mHubstats::Comment Load (0.1ms)[0m SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 13675162 LIMIT 1
|
2965803
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2965804
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('Same thing with the `()` here', 'c0909a691f69cdbddec76175d706ac9a4a059962', '2014-06-11 21:23:36', '@@ -0,0 +1,24 @@\n+module Hubstats\n+ class PullRequest < ActiveRecord::Base\n+ attr_accessible :id, :url, :html_url, :diff_url, :patch_url, :issue_url, :commits_url,\n+ :review_comments_url, :review_comment_url, :comments_url, :statuses_url, :number,\n+ :state, :title, :body, :created_at, :updated_at, :closed_at, :merged_at, \n+ :merge_commit_sha, :merged, :mergeable, :comments, :commits, :additions,\n+ :deletions, :changed_files, :user_id\n+\n+ belongs_to :user\n+ belongs_to :merged_by, :class_name => \"User\", :foreign_key => \"merged_by_id\"\n+\n+ def self.find_or_create_pull(github_pull)\n+ (github_pull = github_pull.to_h) if github_pull.respond_to?(:to_h)', 'https://github.com/sportngin/hubstats/pull/3#discussion_r13675162', 13675162, 'PullRequest', NULL, '325461e5718c65dcb8ec70d1e2a5dbdaa57f5a58', 13, 0, NULL, 16834687, 'https://api.github.com/repos/sportngin/hubstats/pulls/3', 20231003, '2014-06-11 21:35:36', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/13675162', 174227)
|
2965805
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2965806
|
+
[1m[35m (0.0ms)[0m BEGIN
|
2965807
|
+
[1m[36m (0.1ms)[0m [1mUPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 13675162[0m
|
2965808
|
+
[1m[35m (0.4ms)[0m COMMIT
|
2965809
|
+
[1m[36mHubstats::Repo Load (0.2ms)[0m [1mSELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1[0m
|
2965810
|
+
[1m[35mHubstats::User Load (0.1ms)[0m SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1
|
2965811
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2965812
|
+
[1m[35mHubstats::User Exists (0.1ms)[0m SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1
|
2965813
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2965814
|
+
[1m[35mHubstats::PullRequest Load (0.2ms)[0m SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 3 LIMIT 1
|
2965815
|
+
[1m[36mHubstats::Comment Load (0.1ms)[0m [1mSELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 13675182 LIMIT 1[0m
|
2965816
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2965817
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('Drop this line.', 'c0909a691f69cdbddec76175d706ac9a4a059962', '2014-06-11 21:23:55', '@@ -0,0 +1,24 @@\n+module Hubstats\n+ class PullRequest < ActiveRecord::Base\n+ attr_accessible :id, :url, :html_url, :diff_url, :patch_url, :issue_url, :commits_url,\n+ :review_comments_url, :review_comment_url, :comments_url, :statuses_url, :number,\n+ :state, :title, :body, :created_at, :updated_at, :closed_at, :merged_at, \n+ :merge_commit_sha, :merged, :mergeable, :comments, :commits, :additions,\n+ :deletions, :changed_files, :user_id\n+\n+ belongs_to :user\n+ belongs_to :merged_by, :class_name => \"User\", :foreign_key => \"merged_by_id\"\n+\n+ def self.find_or_create_pull(github_pull)\n+ (github_pull = github_pull.to_h) if github_pull.respond_to?(:to_h)\n+\n+ user = Hubstats::User.find_or_create_user(github_pull[:user])\n+ pull_data = github_pull.slice(*column_names.map(&:to_sym))\n+ pull_data[:user_id] = user[:id]\n+\n+ pull = where(:id => pull_data[:id]).first_or_create(pull_data)\n+ return pull if pull.save\n+ puts pull.errors.inspect', 'https://github.com/sportngin/hubstats/pull/3#discussion_r13675182', 13675182, 'PullRequest', NULL, '325461e5718c65dcb8ec70d1e2a5dbdaa57f5a58', 21, 0, NULL, 16834687, 'https://api.github.com/repos/sportngin/hubstats/pulls/3', 20231003, '2014-06-11 21:35:36', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/13675182', 174227)[0m
|
2965818
|
+
[1m[35m (0.4ms)[0m COMMIT
|
2965819
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2965820
|
+
[1m[35m (0.2ms)[0m UPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 13675182
|
2965821
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2965822
|
+
[1m[35mHubstats::Repo Load (0.2ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
|
2965823
|
+
[1m[36mHubstats::User Load (0.1ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1[0m
|
2965824
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2965825
|
+
[1m[36mHubstats::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1[0m
|
2965826
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2965827
|
+
[1m[36mHubstats::PullRequest Load (0.2ms)[0m [1mSELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 3 LIMIT 1[0m
|
2965828
|
+
[1m[35mHubstats::Comment Load (0.1ms)[0m SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 13675198 LIMIT 1
|
2965829
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2965830
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('Another puts statement.', 'c0909a691f69cdbddec76175d706ac9a4a059962', '2014-06-11 21:24:15', '@@ -0,0 +1,39 @@\n+module Hubstats\n+ class User < ActiveRecord::Base\n+ attr_accessible :login, :id, :avatar_url, :gravatar_id, :url, :html_url, :followers_url,\n+ :following_url, :gists_url, :starred_url, :subscriptions_url, :organizations_url,\n+ :repos_url, :events_url, :received_events_url, :role, :site_admin\n+ \n+ validates :id, presence: true, uniqueness: true\n+\n+ has_many :comments\n+ has_many :repos, :class_name => \"Repo\"\n+ has_many :pull_requests\n+ has_many :merged_pulls, :class_name => \"PullRequest\", :foreign_key => \"number\"\n+\n+ def self.find_or_create_user(github_user)\n+ github_user[:role] = github_user.delete :type ##changing :type in to :role\n+ github_user = github_user.to_h unless github_user.is_a? Hash\n+ user_data = github_user.slice(*Hubstats::User.column_names.map(&:to_sym))\n+ user = Hubstats::User.where(:id => user_data[:id]).first_or_create(user_data)\n+ return user if user.save\n+ puts user.errors.inspect', 'https://github.com/sportngin/hubstats/pull/3#discussion_r13675198', 13675198, 'PullRequest', NULL, '325461e5718c65dcb8ec70d1e2a5dbdaa57f5a58', 20, 0, NULL, 16834687, 'https://api.github.com/repos/sportngin/hubstats/pulls/3', 20231003, '2014-06-11 21:35:36', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/13675198', 174227)
|
2965831
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2965832
|
+
[1m[35m (0.0ms)[0m BEGIN
|
2965833
|
+
[1m[36m (0.1ms)[0m [1mUPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 13675198[0m
|
2965834
|
+
[1m[35m (0.4ms)[0m COMMIT
|
2965835
|
+
[1m[36mHubstats::Repo Load (0.2ms)[0m [1mSELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1[0m
|
2965836
|
+
[1m[35mHubstats::User Load (0.1ms)[0m SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 314014 LIMIT 1
|
2965837
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2965838
|
+
[1m[35mHubstats::User Exists (0.1ms)[0m SELECT 1 AS one FROM `hubstats_users` WHERE `hubstats_users`.`id` = BINARY 314014 LIMIT 1
|
2965839
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `hubstats_users` (`avatar_url`, `created_at`, `events_url`, `followers_url`, `following_url`, `gists_url`, `gravatar_id`, `html_url`, `id`, `login`, `organizations_url`, `received_events_url`, `repos_url`, `role`, `site_admin`, `starred_url`, `subscriptions_url`, `updated_at`, `url`) VALUES ('https://avatars.githubusercontent.com/u/314014?', '2014-07-02 14:36:29', 'https://api.github.com/users/NickLaMuro/events{/privacy}', 'https://api.github.com/users/NickLaMuro/followers', 'https://api.github.com/users/NickLaMuro/following{/other_user}', 'https://api.github.com/users/NickLaMuro/gists{/gist_id}', '9d49804b4c96a1fa8a7a18381994eadb', 'https://github.com/NickLaMuro', 314014, 'NickLaMuro', 'https://api.github.com/users/NickLaMuro/orgs', 'https://api.github.com/users/NickLaMuro/received_events', 'https://api.github.com/users/NickLaMuro/repos', NULL, 0, 'https://api.github.com/users/NickLaMuro/starred{/owner}{/repo}', 'https://api.github.com/users/NickLaMuro/subscriptions', '2014-07-02 14:36:29', 'https://api.github.com/users/NickLaMuro')[0m
|
2965840
|
+
[1m[35m (0.5ms)[0m COMMIT
|
2965841
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
2965842
|
+
[1m[35mHubstats::User Exists (0.1ms)[0m SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 314014 AND `hubstats_users`.`id` != 314014) LIMIT 1
|
2965843
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2965844
|
+
[1m[35mHubstats::PullRequest Load (0.2ms)[0m SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 4 LIMIT 1
|
2965845
|
+
[1m[36mHubstats::Comment Load (0.1ms)[0m [1mSELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 13720189 LIMIT 1[0m
|
2965846
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2965847
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('Couple of things you can do here:\r\n\r\nFirst off, you should really turn the first line into scopes on your models:\r\n\r\n ```ruby\r\n# Hubstats::PullRequest\r\nscope :last_two_weeks -> { where([\"closed_at > \'%s\'\", 2.weeks.ago]) }\r\nscope :closed_at_desc -> { order(\"closed_at DESC\") }\r\n\r\n@pull_requests = Hubstats::PullRequest.last_two_weeks.closed_at_desc\r\n```\r\n\r\nFor a couple of reasons:\r\n\r\n1. SQL will **always** be faster then ruby at sorting, so using `.order` is very much prefered.\r\n2. Scopes dry up the code a little bit and allow you to reuse the code a bit, as well as make changes in just one spot.\r\n3. It frankly is just easier to read from a controller perspective.\r\n\r\n\r\nWith the `@users` one, you probably could just include the sorting in the method itself. Again, you probably can do this via SQL, so that would be preferred.', '6430cbd973a9f7ec9e5dc6620064473f34e25e49', '2014-06-12 19:05:41', '@@ -0,0 +1,10 @@\n+require_dependency \"hubstats/application_controller\"\n+\n+module Hubstats\n+ class RepoController < ApplicationController\n+ def show\n+ @pull_requests = Hubstats::PullRequest.where([\"closed_at > \'%s\'\", 2.weeks.ago]).sort{|a,b| b[:closed_at] <=> a[:closed_at]}\n+ @users = Hubstats::User.pull_requests_and_comments.sort{|a,b| (b.num_comments + b.num_pulls) <=> (a.num_comments + a.num_pulls)}', 'https://github.com/sportngin/hubstats/pull/4#discussion_r13720189', 13720189, 'PullRequest', NULL, '60af9ef8a90fc36d4b73f70cdd3d9180635a5d8b', 7, 0, NULL, 17071619, 'https://api.github.com/repos/sportngin/hubstats/pulls/4', 20231003, '2014-06-16 21:17:50', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/13720189', 314014)[0m
|
2965848
|
+
[1m[35m (0.4ms)[0m COMMIT
|
2965849
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
2965850
|
+
[1m[35m (0.1ms)[0m UPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 13720189
|
2965851
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2965852
|
+
[1m[35mHubstats::Repo Load (0.2ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
|
2965853
|
+
[1m[36mHubstats::User Load (0.1ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 314014 LIMIT 1[0m
|
2965854
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2965855
|
+
[1m[36mHubstats::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 314014 AND `hubstats_users`.`id` != 314014) LIMIT 1[0m
|
2965856
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2965857
|
+
[1m[36mHubstats::PullRequest Load (0.2ms)[0m [1mSELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 4 LIMIT 1[0m
|
2965858
|
+
[1m[35mHubstats::Comment Load (0.1ms)[0m SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 13720225 LIMIT 1
|
2965859
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2965860
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('This seems more like an `index` action, and not a show action.', '6430cbd973a9f7ec9e5dc6620064473f34e25e49', '2014-06-12 19:06:20', '@@ -0,0 +1,10 @@\n+require_dependency \"hubstats/application_controller\"\n+\n+module Hubstats\n+ class RepoController < ApplicationController\n+ def show', 'https://github.com/sportngin/hubstats/pull/4#discussion_r13720225', 13720225, 'PullRequest', NULL, '60af9ef8a90fc36d4b73f70cdd3d9180635a5d8b', 5, 0, NULL, 17071619, 'https://api.github.com/repos/sportngin/hubstats/pulls/4', 20231003, '2014-06-16 21:17:50', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/13720225', 314014)
|
2965861
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2965862
|
+
[1m[35m (0.0ms)[0m BEGIN
|
2965863
|
+
[1m[36m (0.1ms)[0m [1mUPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 13720225[0m
|
2965864
|
+
[1m[35m (0.4ms)[0m COMMIT
|
2965865
|
+
[1m[36mHubstats::Repo Load (0.2ms)[0m [1mSELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1[0m
|
2965866
|
+
[1m[35mHubstats::User Load (0.1ms)[0m SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 314014 LIMIT 1
|
2965867
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2965868
|
+
[1m[35mHubstats::User Exists (0.1ms)[0m SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 314014 AND `hubstats_users`.`id` != 314014) LIMIT 1
|
2965869
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2965870
|
+
[1m[35mHubstats::PullRequest Load (0.2ms)[0m SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 4 LIMIT 1
|
2965871
|
+
[1m[36mHubstats::Comment Load (0.2ms)[0m [1mSELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 13721239 LIMIT 1[0m
|
2965872
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2965873
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('Same as above.\r\n\r\nAlso, instead of `[0..30]`, use `limit(30)`. Doing `[0..30]` will cause it to make a SQL call grabbing ALL the records in the DB, instantiating them as `ActiveRecord` objects, only to take 30 of them to display. `limit(30)` will only grab the first 30 that it finds in the database and return those.\r\n\r\nThat said, for it to work right, it will require that you are sorting on the database level, which you should.', '6430cbd973a9f7ec9e5dc6620064473f34e25e49', '2014-06-12 19:26:07', '@@ -4,8 +4,8 @@ module Hubstats\n class SplashController < ApplicationController\n def index\n \n- @pull_requests = Hubstats::PullRequest.where([\"closed_at > \'%s\'\", 2.weeks.ago]).sort{|a,b| b[:closed_at] <=> a[:closed_at]}\n- @users = Hubstats::User.pull_requests_and_comments.sort{|a,b| (b.num_comments + b.num_pulls) <=> (a.num_comments + a.num_pulls)}\n+ @repos = Hubstats::Repo.where([\"updated_at > \'%s\'\", 1.months.ago]).sort{|a,b| b.updated_at <=> a.updated_at}\n+ @users = Hubstats::User.pull_requests_and_comments.sort{|a,b| (b.num_comments + b.num_pulls) <=> (a.num_comments + a.num_pulls)}[0..30]', 'https://github.com/sportngin/hubstats/pull/4#discussion_r13721239', 13721239, 'PullRequest', NULL, '60af9ef8a90fc36d4b73f70cdd3d9180635a5d8b', 7, 0, NULL, 17071619, 'https://api.github.com/repos/sportngin/hubstats/pulls/4', 20231003, '2014-06-16 21:17:50', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/13721239', 314014)[0m
|
2965874
|
+
[1m[35m (0.4ms)[0m COMMIT
|
2965875
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
2965876
|
+
[1m[35m (0.2ms)[0m UPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 13721239
|
2965877
|
+
[1m[36m (0.5ms)[0m [1mCOMMIT[0m
|
2965878
|
+
[1m[35mHubstats::Repo Load (0.3ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
|
2965879
|
+
[1m[36mHubstats::User Load (0.2ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 314014 LIMIT 1[0m
|
2965880
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2965881
|
+
[1m[36mHubstats::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 314014 AND `hubstats_users`.`id` != 314014) LIMIT 1[0m
|
2965882
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2965883
|
+
[1m[36mHubstats::PullRequest Load (0.2ms)[0m [1mSELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 4 LIMIT 1[0m
|
2965884
|
+
[1m[35mHubstats::Comment Load (0.1ms)[0m SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 13721270 LIMIT 1
|
2965885
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2965886
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('I think that `1.month.ago` also works. I would double check, but that reads just a bit better :)', '6430cbd973a9f7ec9e5dc6620064473f34e25e49', '2014-06-12 19:26:44', '@@ -4,8 +4,8 @@ module Hubstats\n class SplashController < ApplicationController\n def index\n \n- @pull_requests = Hubstats::PullRequest.where([\"closed_at > \'%s\'\", 2.weeks.ago]).sort{|a,b| b[:closed_at] <=> a[:closed_at]}\n- @users = Hubstats::User.pull_requests_and_comments.sort{|a,b| (b.num_comments + b.num_pulls) <=> (a.num_comments + a.num_pulls)}\n+ @repos = Hubstats::Repo.where([\"updated_at > \'%s\'\", 1.months.ago]).sort{|a,b| b.updated_at <=> a.updated_at}', 'https://github.com/sportngin/hubstats/pull/4#discussion_r13721270', 13721270, 'PullRequest', NULL, '60af9ef8a90fc36d4b73f70cdd3d9180635a5d8b', 6, 0, NULL, 17071619, 'https://api.github.com/repos/sportngin/hubstats/pulls/4', 20231003, '2014-06-16 21:17:50', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/13721270', 314014)
|
2965887
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2965888
|
+
[1m[35m (0.0ms)[0m BEGIN
|
2965889
|
+
[1m[36m (0.2ms)[0m [1mUPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 13721270[0m
|
2965890
|
+
[1m[35m (0.4ms)[0m COMMIT
|
2965891
|
+
[1m[36mHubstats::Repo Load (0.2ms)[0m [1mSELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1[0m
|
2965892
|
+
[1m[35mHubstats::User Load (0.1ms)[0m SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1
|
2965893
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2965894
|
+
[1m[35mHubstats::User Exists (0.1ms)[0m SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1
|
2965895
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2965896
|
+
[1m[35mHubstats::PullRequest Load (0.2ms)[0m SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 4 LIMIT 1
|
2965897
|
+
[1m[36mHubstats::Comment Load (0.1ms)[0m [1mSELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 13820945 LIMIT 1[0m
|
2965898
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2965899
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('It looks like this should be filtering the pull requests by repo instead of just getting all of them.', '6430cbd973a9f7ec9e5dc6620064473f34e25e49', '2014-06-16 18:10:29', '@@ -0,0 +1,19 @@\n+require_dependency \"hubstats/application_controller\"\n+\n+module Hubstats\n+ class PullRequestsController < ApplicationController\n+\n+ def index\n+ @repo = Hubstats::Repo.where(name: params[:repo]).first\n+ @pull_requests = Hubstats::PullRequest.all', 'https://github.com/sportngin/hubstats/pull/4#discussion_r13820945', 13820945, 'PullRequest', NULL, '0fdb6c5df7508d93957ad9da0a7ede5a20a485dd', 8, 0, NULL, 17071619, 'https://api.github.com/repos/sportngin/hubstats/pulls/4', 20231003, '2014-06-16 21:17:50', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/13820945', 174227)[0m
|
2965900
|
+
[1m[35m (0.4ms)[0m COMMIT
|
2965901
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
2965902
|
+
[1m[35m (0.1ms)[0m UPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 13820945
|
2965903
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2965904
|
+
[1m[35mHubstats::Repo Load (0.2ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
|
2965905
|
+
[1m[36mHubstats::User Load (0.2ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1[0m
|
2965906
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2965907
|
+
[1m[36mHubstats::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1[0m
|
2965908
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2965909
|
+
[1m[36mHubstats::PullRequest Load (0.3ms)[0m [1mSELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 4 LIMIT 1[0m
|
2965910
|
+
[1m[35mHubstats::Comment Load (0.2ms)[0m SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 13820981 LIMIT 1
|
2965911
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2965912
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('Or if this is supposed to be an index action for **all** pull requests, then `@repo` shouldn\'t be set.', '6430cbd973a9f7ec9e5dc6620064473f34e25e49', '2014-06-16 18:11:15', '@@ -0,0 +1,19 @@\n+require_dependency \"hubstats/application_controller\"\n+\n+module Hubstats\n+ class PullRequestsController < ApplicationController\n+\n+ def index\n+ @repo = Hubstats::Repo.where(name: params[:repo]).first\n+ @pull_requests = Hubstats::PullRequest.all', 'https://github.com/sportngin/hubstats/pull/4#discussion_r13820981', 13820981, 'PullRequest', NULL, '0fdb6c5df7508d93957ad9da0a7ede5a20a485dd', 8, 0, NULL, 17071619, 'https://api.github.com/repos/sportngin/hubstats/pulls/4', 20231003, '2014-06-16 21:17:50', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/13820981', 174227)
|
2965913
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2965914
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2965915
|
+
[1m[36m (0.1ms)[0m [1mUPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 13820981[0m
|
2965916
|
+
[1m[35m (0.4ms)[0m COMMIT
|
2965917
|
+
[1m[36mHubstats::Repo Load (0.2ms)[0m [1mSELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1[0m
|
2965918
|
+
[1m[35mHubstats::User Load (0.1ms)[0m SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1
|
2965919
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2965920
|
+
[1m[35mHubstats::User Exists (0.1ms)[0m SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1
|
2965921
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2965922
|
+
[1m[35mHubstats::PullRequest Load (0.2ms)[0m SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 4 LIMIT 1
|
2965923
|
+
[1m[36mHubstats::Comment Load (0.1ms)[0m [1mSELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 13821439 LIMIT 1[0m
|
2965924
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2965925
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('The more semantic way of writing these scopes would be:\r\n\r\n```ruby\r\nscope :belonging_to_user, lambda {|user_id| where(user_id: user_id)}\r\n```', '6430cbd973a9f7ec9e5dc6620064473f34e25e49', '2014-06-16 18:19:29', '@@ -1,17 +1,25 @@\n module Hubstats\n class Comment < ActiveRecord::Base\n+ scope :created_since, lambda {|time| where(\"created_at > ?\", time).order(\"closed_at DESC\") }\n+ scope :belonging_to_pull_request, lambda {|pull_request_id| where(\"pull_request_id = ?\", pull_request_id)}\n+ scope :belonging_to_user, lambda {|user_id| where(\"user_id = ?\", user_id)}', 'https://github.com/sportngin/hubstats/pull/4#discussion_r13821439', 13821439, 'PullRequest', NULL, '0fdb6c5df7508d93957ad9da0a7ede5a20a485dd', 5, 0, NULL, 17071619, 'https://api.github.com/repos/sportngin/hubstats/pulls/4', 20231003, '2014-06-16 21:17:50', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/13821439', 174227)[0m
|
2965926
|
+
[1m[35m (0.4ms)[0m COMMIT
|
2965927
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2965928
|
+
[1m[35m (0.1ms)[0m UPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 13821439
|
2965929
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2965930
|
+
[1m[35mHubstats::Repo Load (0.2ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
|
2965931
|
+
[1m[36mHubstats::User Load (0.1ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1[0m
|
2965932
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2965933
|
+
[1m[36mHubstats::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1[0m
|
2965934
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2965935
|
+
[1m[36mHubstats::PullRequest Load (0.2ms)[0m [1mSELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 4 LIMIT 1[0m
|
2965936
|
+
[1m[35mHubstats::Comment Load (0.1ms)[0m SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 13821767 LIMIT 1
|
2965937
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2965938
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('What\'s the purpose of this logic? It doesn\'t look like there\'s a `user_id` field on repo, and I don\'t think we\'d really care about that anyway.', '6430cbd973a9f7ec9e5dc6620064473f34e25e49', '2014-06-16 18:24:42', '@@ -1,14 +1,36 @@\n module Hubstats\n class Repo < ActiveRecord::Base\n- attr_accessible :id, :name, :full_name, :private, :fork, :url, :html_url,\n- :clone_url, :git_url, :ssh_url, :svn_url, :mirror_url, :homepage, :language,\n- :forks_count, :stargazers_count, :watches_count, :size , :default_branch,\n- :open_issues_count, :has_issues, :has_wiki, :has_downloads, :pushed_at, :created_at,\n- :updated_at, :permissions #permissions is a hash {admin, push ,pull}\n \n- validates :id, presence: true, uniqueness: true\n+ scope :with_recent_activity, where([\"updated_at > \'%s\'\", 2.weeks.ago])\n+\n+ attr_accessible :id, :name, :full_name, :homepage, :language, :description, :default_branch,\n+ :url, :html_url, :clone_url, :git_url, :ssh_url, :svn_url, :mirror_url,\n+ :hooks_url, :issue_events_url, :events_url, :contributors_url, :git_commits_url, \n+ :issue_comment_url, :merges_url, :issues_url, :pulls_url, :labels_url,\n+ :forks_count, :stargazers_count, :watchers_count, :size, :open_issues_count,\n+ :has_issues, :has_wiki, :has_downloads,:fork, :private,\n+ :pushed_at, :created_at, :updated_at\n+\n+ has_many :pull_requests\n belongs_to :owner, :class_name => \"User\", :foreign_key => \"id\"\n \n- end\n+ def self.find_or_create_repo(github_repo)\n+ github_repo = github_repo.to_h if github_repo.respond_to? :to_h\n+ repo_data = github_repo.slice(*column_names.map(&:to_sym))\n \n+ if github_repo[:user]', 'https://github.com/sportngin/hubstats/pull/4#discussion_r13821767', 13821767, 'PullRequest', NULL, '0fdb6c5df7508d93957ad9da0a7ede5a20a485dd', 28, 0, NULL, 17071619, 'https://api.github.com/repos/sportngin/hubstats/pulls/4', 20231003, '2014-06-16 21:17:50', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/13821767', 174227)
|
2965939
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2965940
|
+
[1m[35m (0.0ms)[0m BEGIN
|
2965941
|
+
[1m[36m (0.1ms)[0m [1mUPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 13821767[0m
|
2965942
|
+
[1m[35m (0.4ms)[0m COMMIT
|
2965943
|
+
[1m[36mHubstats::Repo Load (0.2ms)[0m [1mSELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1[0m
|
2965944
|
+
[1m[35mHubstats::User Load (0.2ms)[0m SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1
|
2965945
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2965946
|
+
[1m[35mHubstats::User Exists (0.3ms)[0m SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1
|
2965947
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2965948
|
+
[1m[35mHubstats::PullRequest Load (0.2ms)[0m SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 4 LIMIT 1
|
2965949
|
+
[1m[36mHubstats::Comment Load (0.1ms)[0m [1mSELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 13822047 LIMIT 1[0m
|
2965950
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2965951
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('It doesn\'t look like you\'re using this method anywhere. Is this intended for the dashboard?\r\n\r\nAlso, some of this can be moved to scopes on `Comment`. You even already have the `created_since` scope written.', '6430cbd973a9f7ec9e5dc6620064473f34e25e49', '2014-06-16 18:29:46', '@@ -24,16 +24,30 @@ def self.pull_request_counts\n self.select(\"hubstats_users.login, hubstats_users.html_url, hubstats_users.id\")\n .select(\"IFNULL(COUNT(p.user_id),0) as num_pulls\")\n .joins(\'LEFT OUTER JOIN hubstats_pull_requests p ON p.user_id = hubstats_users.id\')\n+ .where(\"p.closed_at > ?\", 2.weeks.ago)\n+ .group(\"hubstats_users.id\")\n+ end\n+\n+ def self.comment_counts', 'https://github.com/sportngin/hubstats/pull/4#discussion_r13822047', 13822047, 'PullRequest', NULL, '0fdb6c5df7508d93957ad9da0a7ede5a20a485dd', 23, 0, 23, 17071619, 'https://api.github.com/repos/sportngin/hubstats/pulls/4', 20231003, '2014-06-16 21:17:50', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/13822047', 174227)[0m
|
2965952
|
+
[1m[35m (0.4ms)[0m COMMIT
|
2965953
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
2965954
|
+
[1m[35m (0.2ms)[0m UPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 13822047
|
2965955
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2965956
|
+
[1m[35mHubstats::Repo Load (0.2ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
|
2965957
|
+
[1m[36mHubstats::User Load (0.2ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1[0m
|
2965958
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2965959
|
+
[1m[36mHubstats::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1[0m
|
2965960
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2965961
|
+
[1m[36mHubstats::PullRequest Load (0.2ms)[0m [1mSELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 4 LIMIT 1[0m
|
2965962
|
+
[1m[35mHubstats::Comment Load (0.1ms)[0m SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 13827202 LIMIT 1
|
2965963
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2965964
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('Let\'s get the `populate:all` task to invoke the other tasks.', '6430cbd973a9f7ec9e5dc6620064473f34e25e49', '2014-06-16 20:02:47', '@@ -19,22 +25,51 @@ namespace :populate do\n end\n \n desc \"Pull pull requests from Github saves in database\"\n- task :pulls => :environment do\n- pulls = Hubstats::GithubAPI.all(\"pulls\")\n+ task :pulls, [:repo] => :environment do |t, args|\n+ raise ArgumentError, \"Must be called with repo argument. [repos/sportngin/:repo]\" if args.repo.nil?\n+\n+ pulls = Hubstats::GithubAPI.all(args.repo,\"pulls\")\n \n pulls.each do |pull|\n pr = Hubstats::PullRequest.find_or_create_pull(pull)\n end\n end\n \n- desc \"Pull members,comments and pulls from Github save to database\"\n+ desc \"Pull repos from Github save to database\"\n task :all => :environment do', 'https://github.com/sportngin/hubstats/pull/4#discussion_r13827202', 13827202, 'PullRequest', NULL, '0fdb6c5df7508d93957ad9da0a7ede5a20a485dd', 47, 0, 51, 17071619, 'https://api.github.com/repos/sportngin/hubstats/pulls/4', 20231003, '2014-06-16 21:17:50', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/13827202', 174227)
|
2965965
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2965966
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2965967
|
+
[1m[36m (0.1ms)[0m [1mUPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 13827202[0m
|
2965968
|
+
[1m[35m (0.4ms)[0m COMMIT
|
2965969
|
+
[1m[36mHubstats::Repo Load (0.2ms)[0m [1mSELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1[0m
|
2965970
|
+
[1m[35mHubstats::User Load (0.1ms)[0m SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1
|
2965971
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2965972
|
+
[1m[35mHubstats::User Exists (0.1ms)[0m SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1
|
2965973
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2965974
|
+
[1m[35mHubstats::PullRequest Load (0.2ms)[0m SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 4 LIMIT 1
|
2965975
|
+
[1m[36mHubstats::Comment Load (0.1ms)[0m [1mSELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 13827277 LIMIT 1[0m
|
2965976
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2965977
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('Let\'s not commit this one.', '6430cbd973a9f7ec9e5dc6620064473f34e25e49', '2014-06-16 20:04:15', '@@ -0,0 +1,57 @@\n+namespace :test do\n+ desc \"Queries the list of contributors to the repo\"\n+ task :members => :environment do\n+ contributors = Hubstats::GithubAPI.all(\'contributors\')\n+\n+ contributors.each do |contributor|\n+ puts contributor.login\n+ end\n+\n+ end\n+\n+ desc \"Outputs pull requests from ngin\"\n+ task :pulls => :environment do', 'https://github.com/sportngin/hubstats/pull/4#discussion_r13827277', 13827277, 'PullRequest', NULL, '0fdb6c5df7508d93957ad9da0a7ede5a20a485dd', 13, 0, NULL, 17071619, 'https://api.github.com/repos/sportngin/hubstats/pulls/4', 20231003, '2014-06-16 21:17:50', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/13827277', 174227)[0m
|
2965978
|
+
[1m[35m (0.4ms)[0m COMMIT
|
2965979
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
2965980
|
+
[1m[35m (0.1ms)[0m UPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 13827277
|
2965981
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2965982
|
+
[1m[35mHubstats::Repo Load (0.2ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
|
2965983
|
+
[1m[36mHubstats::User Load (0.1ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1[0m
|
2965984
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2965985
|
+
[1m[36mHubstats::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1[0m
|
2965986
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2965987
|
+
[1m[36mHubstats::PullRequest Load (0.2ms)[0m [1mSELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 4 LIMIT 1[0m
|
2965988
|
+
[1m[35mHubstats::Comment Load (0.1ms)[0m SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 13827358 LIMIT 1
|
2965989
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2965990
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('We should remove references to `ngin` or `sportngin` in this file before merging. Either make the tasks more generic, or just remove the ones we don\'t need.', '6430cbd973a9f7ec9e5dc6620064473f34e25e49', '2014-06-16 20:05:41', '@@ -0,0 +1,57 @@\n+namespace :test do\n+ desc \"Queries the list of contributors to the repo\"\n+ task :members => :environment do\n+ contributors = Hubstats::GithubAPI.all(\'contributors\')\n+\n+ contributors.each do |contributor|\n+ puts contributor.login\n+ end\n+\n+ end\n+\n+ desc \"Outputs pull requests from ngin\"\n+ task :pulls => :environment do\n+ time = \"2014-04-26T19:01:12Z\".to_datetime\n+\n+ client = Hubstats::GithubAPI.client\n+ pulls = client.pull_requests(\'sportngin/ngin\', :state => \'closed\', :per_page => 100)\n+ pulls.each do |pull|\n+ puts pull.closed_at\n+ end\n+ end\n+\n+ desc \"Outputs pull requests from ngin until time\"', 'https://github.com/sportngin/hubstats/pull/4#discussion_r13827358', 13827358, 'PullRequest', NULL, '0fdb6c5df7508d93957ad9da0a7ede5a20a485dd', 23, 0, NULL, 17071619, 'https://api.github.com/repos/sportngin/hubstats/pulls/4', 20231003, '2014-06-16 21:17:50', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/13827358', 174227)
|
2965991
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2965992
|
+
[1m[35m (0.0ms)[0m BEGIN
|
2965993
|
+
[1m[36m (0.1ms)[0m [1mUPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 13827358[0m
|
2965994
|
+
[1m[35m (0.4ms)[0m COMMIT
|
2965995
|
+
[1m[36mHubstats::Repo Load (0.2ms)[0m [1mSELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1[0m
|
2965996
|
+
[1m[35mHubstats::User Load (0.1ms)[0m SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
|
2965997
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2965998
|
+
[1m[35mHubstats::User Exists (0.2ms)[0m SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
|
2965999
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2966000
|
+
[1m[35mHubstats::PullRequest Load (0.3ms)[0m SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 4 LIMIT 1
|
2966001
|
+
[1m[36mHubstats::Comment Load (0.2ms)[0m [1mSELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 13828470 LIMIT 1[0m
|
2966002
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2966003
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('it was supposed to be owner_id... should be fixed now.', '6430cbd973a9f7ec9e5dc6620064473f34e25e49', '2014-06-16 20:27:39', '@@ -1,14 +1,36 @@\n module Hubstats\n class Repo < ActiveRecord::Base\n- attr_accessible :id, :name, :full_name, :private, :fork, :url, :html_url,\n- :clone_url, :git_url, :ssh_url, :svn_url, :mirror_url, :homepage, :language,\n- :forks_count, :stargazers_count, :watches_count, :size , :default_branch,\n- :open_issues_count, :has_issues, :has_wiki, :has_downloads, :pushed_at, :created_at,\n- :updated_at, :permissions #permissions is a hash {admin, push ,pull}\n \n- validates :id, presence: true, uniqueness: true\n+ scope :with_recent_activity, where([\"updated_at > \'%s\'\", 2.weeks.ago])\n+\n+ attr_accessible :id, :name, :full_name, :homepage, :language, :description, :default_branch,\n+ :url, :html_url, :clone_url, :git_url, :ssh_url, :svn_url, :mirror_url,\n+ :hooks_url, :issue_events_url, :events_url, :contributors_url, :git_commits_url, \n+ :issue_comment_url, :merges_url, :issues_url, :pulls_url, :labels_url,\n+ :forks_count, :stargazers_count, :watchers_count, :size, :open_issues_count,\n+ :has_issues, :has_wiki, :has_downloads,:fork, :private,\n+ :pushed_at, :created_at, :updated_at\n+\n+ has_many :pull_requests\n belongs_to :owner, :class_name => \"User\", :foreign_key => \"id\"\n \n- end\n+ def self.find_or_create_repo(github_repo)\n+ github_repo = github_repo.to_h if github_repo.respond_to? :to_h\n+ repo_data = github_repo.slice(*column_names.map(&:to_sym))\n \n+ if github_repo[:user]', 'https://github.com/sportngin/hubstats/pull/4#discussion_r13828470', 13828470, 'PullRequest', NULL, '0fdb6c5df7508d93957ad9da0a7ede5a20a485dd', 28, 0, NULL, 17071619, 'https://api.github.com/repos/sportngin/hubstats/pulls/4', 20231003, '2014-06-16 21:17:50', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/13828470', 2453875)[0m
|
2966004
|
+
[1m[35m (0.3ms)[0m COMMIT
|
2966005
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
2966006
|
+
[1m[35m (0.2ms)[0m UPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 13828470
|
2966007
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
2966008
|
+
[1m[35mHubstats::Repo Load (0.2ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
|
2966009
|
+
[1m[36mHubstats::User Load (0.2ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1[0m
|
2966010
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2966011
|
+
[1m[36mHubstats::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1[0m
|
2966012
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2966013
|
+
[1m[36mHubstats::PullRequest Load (0.3ms)[0m [1mSELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 4 LIMIT 1[0m
|
2966014
|
+
[1m[35mHubstats::Comment Load (0.1ms)[0m SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 13828942 LIMIT 1
|
2966015
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2966016
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('`owner_id` meaning the organization? If so, then I guess that\'s fine to keep. If it\'s just the user that created the repo or the \"owners\" of the organization, I don\'t think we\'ll ever really need that.', '6430cbd973a9f7ec9e5dc6620064473f34e25e49', '2014-06-16 20:37:09', '@@ -1,14 +1,36 @@\n module Hubstats\n class Repo < ActiveRecord::Base\n- attr_accessible :id, :name, :full_name, :private, :fork, :url, :html_url,\n- :clone_url, :git_url, :ssh_url, :svn_url, :mirror_url, :homepage, :language,\n- :forks_count, :stargazers_count, :watches_count, :size , :default_branch,\n- :open_issues_count, :has_issues, :has_wiki, :has_downloads, :pushed_at, :created_at,\n- :updated_at, :permissions #permissions is a hash {admin, push ,pull}\n \n- validates :id, presence: true, uniqueness: true\n+ scope :with_recent_activity, where([\"updated_at > \'%s\'\", 2.weeks.ago])\n+\n+ attr_accessible :id, :name, :full_name, :homepage, :language, :description, :default_branch,\n+ :url, :html_url, :clone_url, :git_url, :ssh_url, :svn_url, :mirror_url,\n+ :hooks_url, :issue_events_url, :events_url, :contributors_url, :git_commits_url, \n+ :issue_comment_url, :merges_url, :issues_url, :pulls_url, :labels_url,\n+ :forks_count, :stargazers_count, :watchers_count, :size, :open_issues_count,\n+ :has_issues, :has_wiki, :has_downloads,:fork, :private,\n+ :pushed_at, :created_at, :updated_at\n+\n+ has_many :pull_requests\n belongs_to :owner, :class_name => \"User\", :foreign_key => \"id\"\n \n- end\n+ def self.find_or_create_repo(github_repo)\n+ github_repo = github_repo.to_h if github_repo.respond_to? :to_h\n+ repo_data = github_repo.slice(*column_names.map(&:to_sym))\n \n+ if github_repo[:user]', 'https://github.com/sportngin/hubstats/pull/4#discussion_r13828942', 13828942, 'PullRequest', NULL, '0fdb6c5df7508d93957ad9da0a7ede5a20a485dd', 28, 0, NULL, 17071619, 'https://api.github.com/repos/sportngin/hubstats/pulls/4', 20231003, '2014-06-16 21:17:50', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/13828942', 174227)
|
2966017
|
+
[1m[36m (0.6ms)[0m [1mCOMMIT[0m
|
2966018
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2966019
|
+
[1m[36m (0.2ms)[0m [1mUPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 13828942[0m
|
2966020
|
+
[1m[35m (0.4ms)[0m COMMIT
|
2966021
|
+
[1m[36mHubstats::Repo Load (0.2ms)[0m [1mSELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1[0m
|
2966022
|
+
[1m[35mHubstats::User Load (33.2ms)[0m SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
|
2966023
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2966024
|
+
[1m[35mHubstats::User Exists (0.2ms)[0m SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
|
2966025
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2966026
|
+
[1m[35mHubstats::PullRequest Load (0.3ms)[0m SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 5 LIMIT 1
|
2966027
|
+
[1m[36mHubstats::Comment Load (0.2ms)[0m [1mSELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 13865333 LIMIT 1[0m
|
2966028
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2966029
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('in future I will make this a parameter,', '91b488028bb39b12f0e83b07f57daeabe8127ea9', '2014-06-17 15:22:25', '@@ -20,32 +20,48 @@ def self.find_or_create_user(github_user)\n Rails.logger.debug user.errors.inspect\n end\n \n- def self.pull_request_counts\n- self.select(\"hubstats_users.login, hubstats_users.html_url, hubstats_users.id\")\n- .select(\"IFNULL(COUNT(p.user_id),0) as num_pulls\")\n- .joins(\'LEFT OUTER JOIN hubstats_pull_requests p ON p.user_id = hubstats_users.id\')\n- .where(\"p.closed_at > ?\", 2.weeks.ago)\n- .group(\"hubstats_users.id\")\n+\n+ # # This is essentiall a single query\n+ def self.users_with_comments\n+ Hubstats::Comment.select(\"user_id\")\n+ .select(\"IFNULL(COUNT(user_id),0) as user_comments\")\n+ .where(\"created_at > ?\", 2.weeks.ago)', 'https://github.com/sportngin/hubstats/pull/5#discussion_r13865333', 13865333, 'PullRequest', NULL, '12901d67a62444b1bf5f58759a3288611d84dc1e', 15, 0, NULL, 17237179, 'https://api.github.com/repos/sportngin/hubstats/pulls/5', 20231003, '2014-06-17 19:46:56', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/13865333', 2453875)[0m
|
2966030
|
+
[1m[35m (0.4ms)[0m COMMIT
|
2966031
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2966032
|
+
[1m[35m (0.1ms)[0m UPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 13865333
|
2966033
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2966034
|
+
[1m[35mHubstats::Repo Load (0.2ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
|
2966035
|
+
[1m[36mHubstats::User Load (0.1ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1[0m
|
2966036
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2966037
|
+
[1m[36mHubstats::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1[0m
|
2966038
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2966039
|
+
[1m[36mHubstats::PullRequest Load (0.3ms)[0m [1mSELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 5 LIMIT 1[0m
|
2966040
|
+
[1m[35mHubstats::Comment Load (0.2ms)[0m SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 13866405 LIMIT 1
|
2966041
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2966042
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('You should just use `length` here, `count` will trigger another SQL query. If it were possible that you weren\'t going to iterate over `@users` later on, then using `count` could make sense because it would save you from creating all of those ActiveRecord objects.', '91b488028bb39b12f0e83b07f57daeabe8127ea9', '2014-06-17 15:38:00', '@@ -4,22 +4,23 @@ module Hubstats\n class ReposController < ApplicationController\n def index\n @repos = Hubstats::Repo.with_recent_activity\n- @users = Hubstats::User.pull_requests_and_comments\n+ @users = Hubstats::User.with_recent_activity\n @stats = {\n- user_count: Hubstats::User.count(:all),\n+ user_count: @users.count(:all),', 'https://github.com/sportngin/hubstats/pull/5#discussion_r13866405', 13866405, 'PullRequest', NULL, '12901d67a62444b1bf5f58759a3288611d84dc1e', 8, 0, NULL, 17237179, 'https://api.github.com/repos/sportngin/hubstats/pulls/5', 20231003, '2014-06-17 19:46:56', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/13866405', 174227)
|
2966043
|
+
[1m[36m (0.5ms)[0m [1mCOMMIT[0m
|
2966044
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2966045
|
+
[1m[36m (0.2ms)[0m [1mUPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 13866405[0m
|
2966046
|
+
[1m[35m (0.4ms)[0m COMMIT
|
2966047
|
+
[1m[36mHubstats::Repo Load (0.2ms)[0m [1mSELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1[0m
|
2966048
|
+
[1m[35mHubstats::User Load (0.2ms)[0m SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1
|
2966049
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2966050
|
+
[1m[35mHubstats::User Exists (0.2ms)[0m SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1
|
2966051
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2966052
|
+
[1m[35mHubstats::PullRequest Load (0.3ms)[0m SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 5 LIMIT 1
|
2966053
|
+
[1m[36mHubstats::Comment Load (0.2ms)[0m [1mSELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 13866694 LIMIT 1[0m
|
2966054
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2966055
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('You already have a scope that does this: `User.belonging_to_repo`\r\n\r\nYou\'re also never using this anywhere.\r\n\r\nGenerally, with scopes, you want to keep scopes on the classes that you\'re that you\'re selecting from. In this case you\'re finding users, so the scope should be on `User`.', '91b488028bb39b12f0e83b07f57daeabe8127ea9', '2014-06-17 15:41:44', '@@ -2,6 +2,7 @@ module Hubstats\n class Repo < ActiveRecord::Base\n \n scope :with_recent_activity, where([\"updated_at > \'%s\'\", 2.weeks.ago])\n+ scope :users_belonging_to_repo, lambda {|repo_id| select(\"user_id\").where(repo_id: repo_id).group_by(\"user_id\")}', 'https://github.com/sportngin/hubstats/pull/5#discussion_r13866694', 13866694, 'PullRequest', NULL, '12901d67a62444b1bf5f58759a3288611d84dc1e', 4, 0, NULL, 17237179, 'https://api.github.com/repos/sportngin/hubstats/pulls/5', 20231003, '2014-06-17 19:46:56', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/13866694', 174227)[0m
|
2966056
|
+
[1m[35m (0.4ms)[0m COMMIT
|
2966057
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2966058
|
+
[1m[35m (0.2ms)[0m UPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 13866694
|
2966059
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2966060
|
+
[1m[35mHubstats::Repo Load (0.2ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
|
2966061
|
+
[1m[36mHubstats::User Load (0.2ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1[0m
|
2966062
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2966063
|
+
[1m[36mHubstats::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1[0m
|
2966064
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2966065
|
+
[1m[36mHubstats::PullRequest Load (0.2ms)[0m [1mSELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 5 LIMIT 1[0m
|
2966066
|
+
[1m[35mHubstats::Comment Load (0.2ms)[0m SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 13866800 LIMIT 1
|
2966067
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2966068
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('Sorry, you didn\'t already have a scope for this on User, but that\'s where it should be.', '91b488028bb39b12f0e83b07f57daeabe8127ea9', '2014-06-17 15:43:17', '@@ -2,6 +2,7 @@ module Hubstats\n class Repo < ActiveRecord::Base\n \n scope :with_recent_activity, where([\"updated_at > \'%s\'\", 2.weeks.ago])\n+ scope :users_belonging_to_repo, lambda {|repo_id| select(\"user_id\").where(repo_id: repo_id).group_by(\"user_id\")}', 'https://github.com/sportngin/hubstats/pull/5#discussion_r13866800', 13866800, 'PullRequest', NULL, '12901d67a62444b1bf5f58759a3288611d84dc1e', 4, 0, NULL, 17237179, 'https://api.github.com/repos/sportngin/hubstats/pulls/5', 20231003, '2014-06-17 19:46:56', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/13866800', 174227)
|
2966069
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2966070
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2966071
|
+
[1m[36m (0.2ms)[0m [1mUPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 13866800[0m
|
2966072
|
+
[1m[35m (0.4ms)[0m COMMIT
|
2966073
|
+
[1m[36mHubstats::Repo Load (0.2ms)[0m [1mSELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1[0m
|
2966074
|
+
[1m[35mHubstats::User Load (0.1ms)[0m SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1
|
2966075
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2966076
|
+
[1m[35mHubstats::User Exists (0.1ms)[0m SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1
|
2966077
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2966078
|
+
[1m[35mHubstats::PullRequest Load (0.2ms)[0m SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 5 LIMIT 1
|
2966079
|
+
[1m[36mHubstats::Comment Load (0.1ms)[0m [1mSELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 13866951 LIMIT 1[0m
|
2966080
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2966081
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('The name of this implies that if you call this method you get back a list of users with their comments loaded as well. A better name for this would be `user_comment_counts`. This should also probably be a scope on `Comment` instead of a class method on `User`.', '91b488028bb39b12f0e83b07f57daeabe8127ea9', '2014-06-17 15:45:23', '@@ -20,32 +20,48 @@ def self.find_or_create_user(github_user)\n Rails.logger.debug user.errors.inspect\n end\n \n- def self.pull_request_counts\n- self.select(\"hubstats_users.login, hubstats_users.html_url, hubstats_users.id\")\n- .select(\"IFNULL(COUNT(p.user_id),0) as num_pulls\")\n- .joins(\'LEFT OUTER JOIN hubstats_pull_requests p ON p.user_id = hubstats_users.id\')\n- .where(\"p.closed_at > ?\", 2.weeks.ago)\n- .group(\"hubstats_users.id\")\n+\n+ # # This is essentiall a single query\n+ def self.users_with_comments', 'https://github.com/sportngin/hubstats/pull/5#discussion_r13866951', 13866951, 'PullRequest', NULL, '12901d67a62444b1bf5f58759a3288611d84dc1e', 12, 0, NULL, 17237179, 'https://api.github.com/repos/sportngin/hubstats/pulls/5', 20231003, '2014-06-17 19:46:56', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/13866951', 174227)[0m
|
2966082
|
+
[1m[35m (0.4ms)[0m COMMIT
|
2966083
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2966084
|
+
[1m[35m (0.2ms)[0m UPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 13866951
|
2966085
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2966086
|
+
[1m[35mHubstats::Repo Load (0.2ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
|
2966087
|
+
[1m[36mHubstats::User Load (0.1ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1[0m
|
2966088
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2966089
|
+
[1m[36mHubstats::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1[0m
|
2966090
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2966091
|
+
[1m[36mHubstats::PullRequest Load (0.2ms)[0m [1mSELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 5 LIMIT 1[0m
|
2966092
|
+
[1m[35mHubstats::Comment Load (0.1ms)[0m SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 13866965 LIMIT 1
|
2966093
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2966094
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('Same kind of deal here as the one above.', '91b488028bb39b12f0e83b07f57daeabe8127ea9', '2014-06-17 15:45:39', '@@ -20,32 +20,48 @@ def self.find_or_create_user(github_user)\n Rails.logger.debug user.errors.inspect\n end\n \n- def self.pull_request_counts\n- self.select(\"hubstats_users.login, hubstats_users.html_url, hubstats_users.id\")\n- .select(\"IFNULL(COUNT(p.user_id),0) as num_pulls\")\n- .joins(\'LEFT OUTER JOIN hubstats_pull_requests p ON p.user_id = hubstats_users.id\')\n- .where(\"p.closed_at > ?\", 2.weeks.ago)\n- .group(\"hubstats_users.id\")\n+\n+ # # This is essentiall a single query\n+ def self.users_with_comments\n+ Hubstats::Comment.select(\"user_id\")\n+ .select(\"IFNULL(COUNT(user_id),0) as user_comments\")\n+ .where(\"created_at > ?\", 2.weeks.ago)\n+ .group(\"user_id\")\n+ end\n+\n+ def self.users_with_pulls', 'https://github.com/sportngin/hubstats/pull/5#discussion_r13866965', 13866965, 'PullRequest', NULL, '12901d67a62444b1bf5f58759a3288611d84dc1e', 19, 0, NULL, 17237179, 'https://api.github.com/repos/sportngin/hubstats/pulls/5', 20231003, '2014-06-17 19:46:56', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/13866965', 174227)
|
2966095
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2966096
|
+
[1m[35m (0.0ms)[0m BEGIN
|
2966097
|
+
[1m[36m (0.2ms)[0m [1mUPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 13866965[0m
|
2966098
|
+
[1m[35m (0.4ms)[0m COMMIT
|
2966099
|
+
[1m[36mHubstats::Repo Load (0.2ms)[0m [1mSELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1[0m
|
2966100
|
+
[1m[35mHubstats::User Load (0.2ms)[0m SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1
|
2966101
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2966102
|
+
[1m[35mHubstats::User Exists (0.1ms)[0m SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1
|
2966103
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2966104
|
+
[1m[35mHubstats::PullRequest Load (0.2ms)[0m SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 5 LIMIT 1
|
2966105
|
+
[1m[36mHubstats::Comment Load (0.1ms)[0m [1mSELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 13867039 LIMIT 1[0m
|
2966106
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2966107
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('And actually, if it were a scope, I\'d name it something like `Comment.counts_by_user`.', '91b488028bb39b12f0e83b07f57daeabe8127ea9', '2014-06-17 15:46:33', '@@ -20,32 +20,48 @@ def self.find_or_create_user(github_user)\n Rails.logger.debug user.errors.inspect\n end\n \n- def self.pull_request_counts\n- self.select(\"hubstats_users.login, hubstats_users.html_url, hubstats_users.id\")\n- .select(\"IFNULL(COUNT(p.user_id),0) as num_pulls\")\n- .joins(\'LEFT OUTER JOIN hubstats_pull_requests p ON p.user_id = hubstats_users.id\')\n- .where(\"p.closed_at > ?\", 2.weeks.ago)\n- .group(\"hubstats_users.id\")\n+\n+ # # This is essentiall a single query\n+ def self.users_with_comments', 'https://github.com/sportngin/hubstats/pull/5#discussion_r13867039', 13867039, 'PullRequest', NULL, '12901d67a62444b1bf5f58759a3288611d84dc1e', 12, 0, NULL, 17237179, 'https://api.github.com/repos/sportngin/hubstats/pulls/5', 20231003, '2014-06-17 19:46:56', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/13867039', 174227)[0m
|
2966108
|
+
[1m[35m (0.4ms)[0m COMMIT
|
2966109
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
2966110
|
+
[1m[35m (0.1ms)[0m UPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 13867039
|
2966111
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2966112
|
+
[1m[35mHubstats::Repo Load (0.2ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
|
2966113
|
+
[1m[36mHubstats::User Load (0.2ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1[0m
|
2966114
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2966115
|
+
[1m[36mHubstats::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1[0m
|
2966116
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2966117
|
+
[1m[36mHubstats::PullRequest Load (0.2ms)[0m [1mSELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 5 LIMIT 1[0m
|
2966118
|
+
[1m[35mHubstats::Comment Load (0.1ms)[0m SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 13867341 LIMIT 1
|
2966119
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2966120
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('this was extraneous, I was trying something that didn\'t work as planned forgot to delete', '91b488028bb39b12f0e83b07f57daeabe8127ea9', '2014-06-17 15:50:35', '@@ -2,6 +2,7 @@ module Hubstats\n class Repo < ActiveRecord::Base\n \n scope :with_recent_activity, where([\"updated_at > \'%s\'\", 2.weeks.ago])\n+ scope :users_belonging_to_repo, lambda {|repo_id| select(\"user_id\").where(repo_id: repo_id).group_by(\"user_id\")}', 'https://github.com/sportngin/hubstats/pull/5#discussion_r13867341', 13867341, 'PullRequest', NULL, '12901d67a62444b1bf5f58759a3288611d84dc1e', 4, 0, NULL, 17237179, 'https://api.github.com/repos/sportngin/hubstats/pulls/5', 20231003, '2014-06-17 19:46:56', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/13867341', 2453875)
|
2966121
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2966122
|
+
[1m[35m (0.0ms)[0m BEGIN
|
2966123
|
+
[1m[36m (0.2ms)[0m [1mUPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 13867341[0m
|
2966124
|
+
[1m[35m (0.4ms)[0m COMMIT
|
2966125
|
+
[1m[36mHubstats::Repo Load (0.2ms)[0m [1mSELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1[0m
|
2966126
|
+
[1m[35mHubstats::User Load (0.2ms)[0m SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1
|
2966127
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2966128
|
+
[1m[35mHubstats::User Exists (0.1ms)[0m SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1
|
2966129
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2966130
|
+
[1m[35mHubstats::PullRequest Load (0.2ms)[0m SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 5 LIMIT 1
|
2966131
|
+
[1m[36mHubstats::Comment Load (0.1ms)[0m [1mSELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 13867367 LIMIT 1[0m
|
2966132
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2966133
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('This one should be moved into PullRequest', '91b488028bb39b12f0e83b07f57daeabe8127ea9', '2014-06-17 15:50:46', '@@ -20,32 +20,48 @@ def self.find_or_create_user(github_user)\n Rails.logger.debug user.errors.inspect\n end\n \n- def self.pull_request_counts\n- self.select(\"hubstats_users.login, hubstats_users.html_url, hubstats_users.id\")\n- .select(\"IFNULL(COUNT(p.user_id),0) as num_pulls\")\n- .joins(\'LEFT OUTER JOIN hubstats_pull_requests p ON p.user_id = hubstats_users.id\')\n- .where(\"p.closed_at > ?\", 2.weeks.ago)\n- .group(\"hubstats_users.id\")\n+\n+ # # This is essentiall a single query\n+ def self.users_with_comments\n+ Hubstats::Comment.select(\"user_id\")\n+ .select(\"IFNULL(COUNT(user_id),0) as user_comments\")\n+ .where(\"created_at > ?\", 2.weeks.ago)\n+ .group(\"user_id\")\n+ end\n+\n+ def self.users_with_pulls\n+ Hubstats::PullRequest.select(\"user_id\")\n+ .select(\"IFNULL(COUNT(user_id),0) as user_pulls\")\n+ .where(\"closed_at > ?\", 2.weeks.ago)\n+ .group(\"user_id\")\n end\n \n- def self.comment_counts\n- self.select(\"hubstats_users.login, hubstats_users.html_url, hubstats_users.id\")\n- .select(\"IFNULL(COUNT(c.user_id),0) as num_comments\")\n- .joins(\'LEFT OUTER JOIN hubstats_comments c ON c.user_id = hubstats_users.id\')\n- .where(\"c.created_at > ?\", 2.weeks.ago)\n- .group(\"hubstats_users.id\")\n+ def self.pulls_and_comments', 'https://github.com/sportngin/hubstats/pull/5#discussion_r13867367', 13867367, 'PullRequest', NULL, '12901d67a62444b1bf5f58759a3288611d84dc1e', 32, 0, NULL, 17237179, 'https://api.github.com/repos/sportngin/hubstats/pulls/5', 20231003, '2014-06-17 19:46:56', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/13867367', 174227)[0m
|
2966134
|
+
[1m[35m (0.4ms)[0m COMMIT
|
2966135
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
2966136
|
+
[1m[35m (0.1ms)[0m UPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 13867367
|
2966137
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2966138
|
+
[1m[35mHubstats::Repo Load (0.2ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
|
2966139
|
+
[1m[36mHubstats::User Load (0.2ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1[0m
|
2966140
|
+
[1m[35m (0.0ms)[0m BEGIN
|
2966141
|
+
[1m[36mHubstats::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1[0m
|
2966142
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2966143
|
+
[1m[36mHubstats::PullRequest Load (0.2ms)[0m [1mSELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 5 LIMIT 1[0m
|
2966144
|
+
[1m[35mHubstats::Comment Load (0.1ms)[0m SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 13867395 LIMIT 1
|
2966145
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2966146
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('This one can stay in user, but I\'d try to make it a scope (or a couple scopes) instead.', '91b488028bb39b12f0e83b07f57daeabe8127ea9', '2014-06-17 15:51:15', '@@ -20,32 +20,48 @@ def self.find_or_create_user(github_user)\n Rails.logger.debug user.errors.inspect\n end\n \n- def self.pull_request_counts\n- self.select(\"hubstats_users.login, hubstats_users.html_url, hubstats_users.id\")\n- .select(\"IFNULL(COUNT(p.user_id),0) as num_pulls\")\n- .joins(\'LEFT OUTER JOIN hubstats_pull_requests p ON p.user_id = hubstats_users.id\')\n- .where(\"p.closed_at > ?\", 2.weeks.ago)\n- .group(\"hubstats_users.id\")\n+\n+ # # This is essentiall a single query\n+ def self.users_with_comments\n+ Hubstats::Comment.select(\"user_id\")\n+ .select(\"IFNULL(COUNT(user_id),0) as user_comments\")\n+ .where(\"created_at > ?\", 2.weeks.ago)\n+ .group(\"user_id\")\n+ end\n+\n+ def self.users_with_pulls\n+ Hubstats::PullRequest.select(\"user_id\")\n+ .select(\"IFNULL(COUNT(user_id),0) as user_pulls\")\n+ .where(\"closed_at > ?\", 2.weeks.ago)\n+ .group(\"user_id\")\n end\n \n- def self.comment_counts\n- self.select(\"hubstats_users.login, hubstats_users.html_url, hubstats_users.id\")\n- .select(\"IFNULL(COUNT(c.user_id),0) as num_comments\")\n- .joins(\'LEFT OUTER JOIN hubstats_comments c ON c.user_id = hubstats_users.id\')\n- .where(\"c.created_at > ?\", 2.weeks.ago)\n- .group(\"hubstats_users.id\")\n+ def self.pulls_and_comments\n+ Hubstats::PullRequest.select(\"hubstats_pull_requests.user_id\")\n+ .select(\"IFNULL(COUNT(hubstats_pull_requests.user_id),0) as user_pulls\")\n+ .select(\"IFNULL(user_comments,0) as user_comments\")\n+ .joins(\"LEFT OUTER JOIN (#{users_with_comments().to_sql}) c ON c.user_id = hubstats_pull_requests.user_id\")\n+ .where(\"closed_at > ?\", 2.weeks.ago)\n+ .group(\"user_id\")\n end\n \n- def self.pull_requests_and_comments\n- Hubstats::Comment\n- .select(\"s.login, s.html_url, s.id, s.num_pulls\")\n- .select(\"IFNULL(COUNT(hubstats_comments.user_id),0) as num_comments\")\n- .joins(\"RIGHT OUTER JOIN (#{pull_request_counts().to_sql}) s ON hubstats_comments.user_id = s.id\")\n- .group(\"s.id\")\n- .order(\"s.num_pulls + IFNULL(COUNT(hubstats_comments.user_id),0) DESC\")\n- .limit(20)\n+ def self.comments_and_pulls\n+ Hubstats::Comment.select(\"hubstats_comments.user_id\")\n+ .select(\"IFNULL(user_pulls,0) as user_pulls\")\n+ .select(\"IFNULL(COUNT(hubstats_comments.user_id),0) as user_comments\")\n+ .select(\"IFNULL(user_pulls,0) as user_pulls\")\n+ .joins(\"LEFT OUTER JOIN (#{users_with_pulls().to_sql}) c ON c.user_id = hubstats_comments.user_id\")\n+ .where(\"created_at > ?\", 2.weeks.ago)\n+ .group(\"user_id\")\n end\n \n+ def self.with_recent_activity\n+ Hubstats::User.select(\"hubstats_users.login, hubstats_users.html_url, hubstats_users.id\")', 'https://github.com/sportngin/hubstats/pull/5#discussion_r13867395', 13867395, 'PullRequest', NULL, '12901d67a62444b1bf5f58759a3288611d84dc1e', 60, 0, NULL, 17237179, 'https://api.github.com/repos/sportngin/hubstats/pulls/5', 20231003, '2014-06-17 19:46:56', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/13867395', 174227)
|
2966147
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2966148
|
+
[1m[35m (0.0ms)[0m BEGIN
|
2966149
|
+
[1m[36m (0.1ms)[0m [1mUPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 13867395[0m
|
2966150
|
+
[1m[35m (0.4ms)[0m COMMIT
|
2966151
|
+
[1m[36mHubstats::Repo Load (0.2ms)[0m [1mSELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1[0m
|
2966152
|
+
[1m[35mHubstats::User Load (0.2ms)[0m SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
|
2966153
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2966154
|
+
[1m[35mHubstats::User Exists (0.1ms)[0m SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
|
2966155
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2966156
|
+
[1m[35mHubstats::PullRequest Load (0.2ms)[0m SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 5 LIMIT 1
|
2966157
|
+
[1m[36mHubstats::Comment Load (0.2ms)[0m [1mSELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 13867461 LIMIT 1[0m
|
2966158
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2966159
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('I don\'t want to scope this, because I\'m going to switch it to include an optional parameter which enables filtering by repo.', '91b488028bb39b12f0e83b07f57daeabe8127ea9', '2014-06-17 15:51:51', '@@ -20,32 +20,48 @@ def self.find_or_create_user(github_user)\n Rails.logger.debug user.errors.inspect\n end\n \n- def self.pull_request_counts\n- self.select(\"hubstats_users.login, hubstats_users.html_url, hubstats_users.id\")\n- .select(\"IFNULL(COUNT(p.user_id),0) as num_pulls\")\n- .joins(\'LEFT OUTER JOIN hubstats_pull_requests p ON p.user_id = hubstats_users.id\')\n- .where(\"p.closed_at > ?\", 2.weeks.ago)\n- .group(\"hubstats_users.id\")\n+\n+ # # This is essentiall a single query\n+ def self.users_with_comments', 'https://github.com/sportngin/hubstats/pull/5#discussion_r13867461', 13867461, 'PullRequest', NULL, '12901d67a62444b1bf5f58759a3288611d84dc1e', 12, 0, NULL, 17237179, 'https://api.github.com/repos/sportngin/hubstats/pulls/5', 20231003, '2014-06-17 19:46:56', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/13867461', 2453875)[0m
|
2966160
|
+
[1m[35m (0.4ms)[0m COMMIT
|
2966161
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2966162
|
+
[1m[35m (0.1ms)[0m UPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 13867461
|
2966163
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2966164
|
+
[1m[35mHubstats::Repo Load (0.2ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
|
2966165
|
+
[1m[36mHubstats::User Load (0.1ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1[0m
|
2966166
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2966167
|
+
[1m[36mHubstats::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1[0m
|
2966168
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2966169
|
+
[1m[36mHubstats::PullRequest Load (0.2ms)[0m [1mSELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 5 LIMIT 1[0m
|
2966170
|
+
[1m[35mHubstats::Comment Load (0.1ms)[0m SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 13867501 LIMIT 1
|
2966171
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2966172
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('Why do you have `pulls_and_comments` and `comments_and_pulls`? This is really confusing, and I have no idea what these methods are supposed to return.', '91b488028bb39b12f0e83b07f57daeabe8127ea9', '2014-06-17 15:52:30', '@@ -20,32 +20,48 @@ def self.find_or_create_user(github_user)\n Rails.logger.debug user.errors.inspect\n end\n \n- def self.pull_request_counts\n- self.select(\"hubstats_users.login, hubstats_users.html_url, hubstats_users.id\")\n- .select(\"IFNULL(COUNT(p.user_id),0) as num_pulls\")\n- .joins(\'LEFT OUTER JOIN hubstats_pull_requests p ON p.user_id = hubstats_users.id\')\n- .where(\"p.closed_at > ?\", 2.weeks.ago)\n- .group(\"hubstats_users.id\")\n+\n+ # # This is essentiall a single query\n+ def self.users_with_comments\n+ Hubstats::Comment.select(\"user_id\")\n+ .select(\"IFNULL(COUNT(user_id),0) as user_comments\")\n+ .where(\"created_at > ?\", 2.weeks.ago)\n+ .group(\"user_id\")\n+ end\n+\n+ def self.users_with_pulls\n+ Hubstats::PullRequest.select(\"user_id\")\n+ .select(\"IFNULL(COUNT(user_id),0) as user_pulls\")\n+ .where(\"closed_at > ?\", 2.weeks.ago)\n+ .group(\"user_id\")\n end\n \n- def self.comment_counts\n- self.select(\"hubstats_users.login, hubstats_users.html_url, hubstats_users.id\")\n- .select(\"IFNULL(COUNT(c.user_id),0) as num_comments\")\n- .joins(\'LEFT OUTER JOIN hubstats_comments c ON c.user_id = hubstats_users.id\')\n- .where(\"c.created_at > ?\", 2.weeks.ago)\n- .group(\"hubstats_users.id\")\n+ def self.pulls_and_comments\n+ Hubstats::PullRequest.select(\"hubstats_pull_requests.user_id\")\n+ .select(\"IFNULL(COUNT(hubstats_pull_requests.user_id),0) as user_pulls\")\n+ .select(\"IFNULL(user_comments,0) as user_comments\")\n+ .joins(\"LEFT OUTER JOIN (#{users_with_comments().to_sql}) c ON c.user_id = hubstats_pull_requests.user_id\")\n+ .where(\"closed_at > ?\", 2.weeks.ago)\n+ .group(\"user_id\")\n end\n \n- def self.pull_requests_and_comments\n- Hubstats::Comment\n- .select(\"s.login, s.html_url, s.id, s.num_pulls\")\n- .select(\"IFNULL(COUNT(hubstats_comments.user_id),0) as num_comments\")\n- .joins(\"RIGHT OUTER JOIN (#{pull_request_counts().to_sql}) s ON hubstats_comments.user_id = s.id\")\n- .group(\"s.id\")\n- .order(\"s.num_pulls + IFNULL(COUNT(hubstats_comments.user_id),0) DESC\")\n- .limit(20)\n+ def self.comments_and_pulls', 'https://github.com/sportngin/hubstats/pull/5#discussion_r13867501', 13867501, 'PullRequest', NULL, '12901d67a62444b1bf5f58759a3288611d84dc1e', 49, 0, NULL, 17237179, 'https://api.github.com/repos/sportngin/hubstats/pulls/5', 20231003, '2014-06-17 19:46:56', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/13867501', 174227)
|
2966173
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2966174
|
+
[1m[35m (0.0ms)[0m BEGIN
|
2966175
|
+
[1m[36m (0.2ms)[0m [1mUPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 13867501[0m
|
2966176
|
+
[1m[35m (0.4ms)[0m COMMIT
|
2966177
|
+
[1m[36mHubstats::Repo Load (0.2ms)[0m [1mSELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1[0m
|
2966178
|
+
[1m[35mHubstats::User Load (0.2ms)[0m SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1
|
2966179
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2966180
|
+
[1m[35mHubstats::User Exists (0.1ms)[0m SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1
|
2966181
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2966182
|
+
[1m[35mHubstats::PullRequest Load (0.2ms)[0m SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 5 LIMIT 1
|
2966183
|
+
[1m[36mHubstats::Comment Load (0.1ms)[0m [1mSELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 13880364 LIMIT 1[0m
|
2966184
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2966185
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('Remove this extra newline.', '91b488028bb39b12f0e83b07f57daeabe8127ea9', '2014-06-17 19:40:51', '@@ -20,30 +46,13 @@ def self.find_or_create_user(github_user)\n Rails.logger.debug user.errors.inspect\n end\n \n- def self.pull_request_counts\n- self.select(\"hubstats_users.login, hubstats_users.html_url, hubstats_users.id\")\n- .select(\"IFNULL(COUNT(p.user_id),0) as num_pulls\")\n- .joins(\'LEFT OUTER JOIN hubstats_pull_requests p ON p.user_id = hubstats_users.id\')\n- .where(\"p.closed_at > ?\", 2.weeks.ago)\n- .group(\"hubstats_users.id\")\n- end\n-\n- def self.comment_counts\n- self.select(\"hubstats_users.login, hubstats_users.html_url, hubstats_users.id\")\n- .select(\"IFNULL(COUNT(c.user_id),0) as num_comments\")\n- .joins(\'LEFT OUTER JOIN hubstats_comments c ON c.user_id = hubstats_users.id\')\n- .where(\"c.created_at > ?\", 2.weeks.ago)\n- .group(\"hubstats_users.id\")\n- end\n-\n- def self.pull_requests_and_comments\n- Hubstats::Comment\n- .select(\"s.login, s.html_url, s.id, s.num_pulls\")\n- .select(\"IFNULL(COUNT(hubstats_comments.user_id),0) as num_comments\")\n- .joins(\"RIGHT OUTER JOIN (#{pull_request_counts().to_sql}) s ON hubstats_comments.user_id = s.id\")\n- .group(\"s.id\")\n- .order(\"s.num_pulls + IFNULL(COUNT(hubstats_comments.user_id),0) DESC\")\n- .limit(20)\n+ def self.with_recent_activity(time, repo_id = nil)\n+ if repo_id\n+ pull_requests_count_by_repo(time,repo_id).comments_count_by_repo(time,repo_id).only_active.weighted_sort\n+ else\n+ pull_requests_count(time).comments_count(time).only_active.weighted_sort\n+ ', 'https://github.com/sportngin/hubstats/pull/5#discussion_r13880364', 13880364, 'PullRequest', NULL, 'de7ba49b3ab8011124ae587c2ccf48c032bc3639', 65, 0, NULL, 17237179, 'https://api.github.com/repos/sportngin/hubstats/pulls/5', 20231003, '2014-06-17 19:46:56', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/13880364', 174227)[0m
|
2966186
|
+
[1m[35m (0.4ms)[0m COMMIT
|
2966187
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
2966188
|
+
[1m[35m (0.1ms)[0m UPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 13880364
|
2966189
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
2966190
|
+
[1m[35mHubstats::Repo Load (0.2ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
|
2966191
|
+
[1m[36mHubstats::User Load (0.1ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1[0m
|
2966192
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2966193
|
+
[1m[36mHubstats::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1[0m
|
2966194
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2966195
|
+
[1m[36mHubstats::PullRequest Load (0.2ms)[0m [1mSELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 7 LIMIT 1[0m
|
2966196
|
+
[1m[35mHubstats::Comment Load (0.2ms)[0m SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 13926978 LIMIT 1
|
2966197
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2966198
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('This is realistically the only thing that needs to be looked at.', '994e1ce68f006306936dc3d4fa342821734faa1e', '2014-06-18 17:08:25', '@@ -14,3 +14,43 @@\n //= require jquery_ujs\n //= require hubstats/bootstrap\n //= require_tree .', 'https://github.com/sportngin/hubstats/pull/7#discussion_r13926978', 13926978, 'PullRequest', NULL, 'a84cb032c3786017396a8719e946ad331bac5f8f', 3, 0, 3, 17306127, 'https://api.github.com/repos/sportngin/hubstats/pulls/7', 20231003, '2014-06-19 17:05:37', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/13926978', 2453875)
|
2966199
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2966200
|
+
[1m[35m (0.0ms)[0m BEGIN
|
2966201
|
+
[1m[36m (0.2ms)[0m [1mUPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 13926978[0m
|
2966202
|
+
[1m[35m (0.4ms)[0m COMMIT
|
2966203
|
+
[1m[36mHubstats::Repo Load (0.2ms)[0m [1mSELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1[0m
|
2966204
|
+
[1m[35mHubstats::User Load (0.1ms)[0m SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1
|
2966205
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2966206
|
+
[1m[35mHubstats::User Exists (0.1ms)[0m SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1
|
2966207
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2966208
|
+
[1m[35mHubstats::PullRequest Load (0.2ms)[0m SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 7 LIMIT 1
|
2966209
|
+
[1m[36mHubstats::Comment Load (0.1ms)[0m [1mSELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 13927008 LIMIT 1[0m
|
2966210
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2966211
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('Maybe this too..', '994e1ce68f006306936dc3d4fa342821734faa1e', '2014-06-18 17:08:53', '@@ -1,4 +1,12 @@\n module Hubstats\n class ApplicationController < ActionController::Base', 'https://github.com/sportngin/hubstats/pull/7#discussion_r13927008', 13927008, 'PullRequest', NULL, 'a84cb032c3786017396a8719e946ad331bac5f8f', 2, 0, 2, 17306127, 'https://api.github.com/repos/sportngin/hubstats/pulls/7', 20231003, '2014-06-19 17:05:37', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/13927008', 2453875)[0m
|
2966212
|
+
[1m[35m (0.4ms)[0m COMMIT
|
2966213
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2966214
|
+
[1m[35m (0.1ms)[0m UPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 13927008
|
2966215
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2966216
|
+
[1m[35mHubstats::Repo Load (0.2ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
|
2966217
|
+
[1m[36mHubstats::User Load (0.1ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 47750 LIMIT 1[0m
|
2966218
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2966219
|
+
[1m[36mHubstats::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 47750 AND `hubstats_users`.`id` != 47750) LIMIT 1[0m
|
2966220
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2966221
|
+
[1m[36mHubstats::PullRequest Load (0.2ms)[0m [1mSELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 7 LIMIT 1[0m
|
2966222
|
+
[1m[35mHubstats::Comment Load (0.2ms)[0m SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 13977271 LIMIT 1
|
2966223
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2966224
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('Shouldn\'t this be `Hubstats::Repo.belonging_to_user(@user.id)` or something', '994e1ce68f006306936dc3d4fa342821734faa1e', '2014-06-19 16:14:43', '@@ -0,0 +1,17 @@\n+require_dependency \"hubstats/application_controller\"\n+\n+module Hubstats\n+ class UsersController < ApplicationController\n+\n+ def index \n+ @users = Hubstats::User.with_pulls_or_comments(@timespan)\n+ end\n+\n+ def show\n+ @user = Hubstats::User.where(login: params[:id]).first\n+ @pulls = Hubstats::PullRequest.belonging_to_user(@user.id).closed_since(@timespan)\n+ @comments = Hubstats::Comment.belonging_to_user(@user.id).created_since(@timespan)\n+ @repos = Hubstats::Repo', 'https://github.com/sportngin/hubstats/pull/7#discussion_r13977271', 13977271, 'PullRequest', NULL, '49369a865132364a84f4f502d9e7913170184692', 14, 0, NULL, 17306127, 'https://api.github.com/repos/sportngin/hubstats/pulls/7', 20231003, '2014-06-19 17:05:37', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/13977271', 47750)
|
2966225
|
+
[1m[36m (0.5ms)[0m [1mCOMMIT[0m
|
2966226
|
+
[1m[35m (0.0ms)[0m BEGIN
|
2966227
|
+
[1m[36m (0.1ms)[0m [1mUPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 13977271[0m
|
2966228
|
+
[1m[35m (0.4ms)[0m COMMIT
|
2966229
|
+
[1m[36mHubstats::Repo Load (0.2ms)[0m [1mSELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1[0m
|
2966230
|
+
[1m[35mHubstats::User Load (0.1ms)[0m SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 47750 LIMIT 1
|
2966231
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2966232
|
+
[1m[35mHubstats::User Exists (0.1ms)[0m SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 47750 AND `hubstats_users`.`id` != 47750) LIMIT 1
|
2966233
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2966234
|
+
[1m[35mHubstats::PullRequest Load (0.2ms)[0m SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 7 LIMIT 1
|
2966235
|
+
[1m[36mHubstats::Comment Load (0.2ms)[0m [1mSELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 13977372 LIMIT 1[0m
|
2966236
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2966237
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('This feels like 3 separate data fields that should have their own td.', '994e1ce68f006306936dc3d4fa342821734faa1e', '2014-06-19 16:16:13', '@@ -0,0 +1,7 @@\n+<table class=\"table\">\n+ <% @pull_requests.each do |pull| %>\n+ <tr>\n+ <td><%= link_to pull.title, repo_pull_request_path({:repo => @repo.name, :id => pull.id}) %> by <b> <%= pull.user.login %> </b> <%= distance_of_time_in_words(DateTime.now,pull.closed_at) %> ago </td>', 'https://github.com/sportngin/hubstats/pull/7#discussion_r13977372', 13977372, 'PullRequest', NULL, '49369a865132364a84f4f502d9e7913170184692', 4, 0, NULL, 17306127, 'https://api.github.com/repos/sportngin/hubstats/pulls/7', 20231003, '2014-06-19 17:05:37', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/13977372', 47750)[0m
|
2966238
|
+
[1m[35m (0.4ms)[0m COMMIT
|
2966239
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2966240
|
+
[1m[35m (0.1ms)[0m UPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 13977372
|
2966241
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2966242
|
+
[1m[35mHubstats::Repo Load (0.2ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
|
2966243
|
+
[1m[36mHubstats::User Load (0.1ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 47750 LIMIT 1[0m
|
2966244
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2966245
|
+
[1m[36mHubstats::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 47750 AND `hubstats_users`.`id` != 47750) LIMIT 1[0m
|
2966246
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2966247
|
+
[1m[36mHubstats::PullRequest Load (0.2ms)[0m [1mSELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 7 LIMIT 1[0m
|
2966248
|
+
[1m[35mHubstats::Comment Load (0.1ms)[0m SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 13977393 LIMIT 1
|
2966249
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2966250
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('You could add headers then as well.', '994e1ce68f006306936dc3d4fa342821734faa1e', '2014-06-19 16:16:35', '@@ -0,0 +1,7 @@\n+<table class=\"table\">\n+ <% @pull_requests.each do |pull| %>\n+ <tr>\n+ <td><%= link_to pull.title, repo_pull_request_path({:repo => @repo.name, :id => pull.id}) %> by <b> <%= pull.user.login %> </b> <%= distance_of_time_in_words(DateTime.now,pull.closed_at) %> ago </td>', 'https://github.com/sportngin/hubstats/pull/7#discussion_r13977393', 13977393, 'PullRequest', NULL, '49369a865132364a84f4f502d9e7913170184692', 4, 0, NULL, 17306127, 'https://api.github.com/repos/sportngin/hubstats/pulls/7', 20231003, '2014-06-19 17:05:37', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/13977393', 47750)
|
2966251
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2966252
|
+
[1m[35m (0.0ms)[0m BEGIN
|
2966253
|
+
[1m[36m (0.1ms)[0m [1mUPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 13977393[0m
|
2966254
|
+
[1m[35m (0.4ms)[0m COMMIT
|
2966255
|
+
[1m[36mHubstats::Repo Load (0.2ms)[0m [1mSELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1[0m
|
2966256
|
+
[1m[35mHubstats::User Load (0.1ms)[0m SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 47750 LIMIT 1
|
2966257
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2966258
|
+
[1m[35mHubstats::User Exists (0.1ms)[0m SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 47750 AND `hubstats_users`.`id` != 47750) LIMIT 1
|
2966259
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2966260
|
+
[1m[35mHubstats::PullRequest Load (0.2ms)[0m SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 7 LIMIT 1
|
2966261
|
+
[1m[36mHubstats::Comment Load (0.1ms)[0m [1mSELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 13977442 LIMIT 1[0m
|
2966262
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2966263
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('This should probably be 2 tds as well.', '994e1ce68f006306936dc3d4fa342821734faa1e', '2014-06-19 16:17:21', '@@ -0,0 +1,7 @@\n+<table class=\"table\">\n+ <% @repos.each do |repo| %>\n+ <tr>\n+ <td><%= link_to repo.name, repo_path(repo)%> <%= distance_of_time_in_words(DateTime.now,repo.updated_at) %> ago </td>', 'https://github.com/sportngin/hubstats/pull/7#discussion_r13977442', 13977442, 'PullRequest', NULL, '49369a865132364a84f4f502d9e7913170184692', 4, 0, NULL, 17306127, 'https://api.github.com/repos/sportngin/hubstats/pulls/7', 20231003, '2014-06-19 17:05:37', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/13977442', 47750)[0m
|
2966264
|
+
[1m[35m (0.4ms)[0m COMMIT
|
2966265
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
2966266
|
+
[1m[35m (0.1ms)[0m UPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 13977442
|
2966267
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2966268
|
+
[1m[35mHubstats::Repo Load (0.2ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
|
2966269
|
+
[1m[36mHubstats::User Load (0.1ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 47750 LIMIT 1[0m
|
2966270
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2966271
|
+
[1m[36mHubstats::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 47750 AND `hubstats_users`.`id` != 47750) LIMIT 1[0m
|
2966272
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2966273
|
+
[1m[36mHubstats::PullRequest Load (0.2ms)[0m [1mSELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 7 LIMIT 1[0m
|
2966274
|
+
[1m[35mHubstats::Comment Load (0.1ms)[0m SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 13977477 LIMIT 1
|
2966275
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2966276
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('These should be th\'s not tds. You would probably remove the styling and then just style the th.', '994e1ce68f006306936dc3d4fa342821734faa1e', '2014-06-19 16:17:58', '@@ -0,0 +1,14 @@\n+<table class=\"table\">\n+ <tr>\n+ <td><h5> User </h5></td>', 'https://github.com/sportngin/hubstats/pull/7#discussion_r13977477', 13977477, 'PullRequest', NULL, '49369a865132364a84f4f502d9e7913170184692', 3, 0, NULL, 17306127, 'https://api.github.com/repos/sportngin/hubstats/pulls/7', 20231003, '2014-06-19 17:05:37', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/13977477', 47750)
|
2966277
|
+
[1m[36m (0.8ms)[0m [1mCOMMIT[0m
|
2966278
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2966279
|
+
[1m[36m (0.1ms)[0m [1mUPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 13977477[0m
|
2966280
|
+
[1m[35m (0.4ms)[0m COMMIT
|
2966281
|
+
[1m[36mHubstats::Repo Load (0.2ms)[0m [1mSELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1[0m
|
2966282
|
+
[1m[35mHubstats::User Load (0.1ms)[0m SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 47750 LIMIT 1
|
2966283
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2966284
|
+
[1m[35mHubstats::User Exists (0.1ms)[0m SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 47750 AND `hubstats_users`.`id` != 47750) LIMIT 1
|
2966285
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2966286
|
+
[1m[35mHubstats::PullRequest Load (0.2ms)[0m SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 7 LIMIT 1
|
2966287
|
+
[1m[36mHubstats::Comment Load (0.1ms)[0m [1mSELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 13977530 LIMIT 1[0m
|
2966288
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2966289
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('I would rather give this like a numeric class or something that then styles the numbers to be aligned center.', '994e1ce68f006306936dc3d4fa342821734faa1e', '2014-06-19 16:18:56', '@@ -0,0 +1,14 @@\n+<table class=\"table\">\n+ <tr>\n+ <td><h5> User </h5></td>\n+ <td align=\"center\"><h5> Pull Requests </h5></td>\n+ <td align=\"center\"><h5> Comments </h5></td>\n+ </tr>\n+ <% @users.each do |user| %>\n+ <tr>\n+ <td><%= link_to user.login, user_path(user) %> </td>\n+ <td align=\"center\"><%= user.pull_request_count %> </td>', 'https://github.com/sportngin/hubstats/pull/7#discussion_r13977530', 13977530, 'PullRequest', NULL, '49369a865132364a84f4f502d9e7913170184692', 10, 0, NULL, 17306127, 'https://api.github.com/repos/sportngin/hubstats/pulls/7', 20231003, '2014-06-19 17:05:37', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/13977530', 47750)[0m
|
2966290
|
+
[1m[35m (0.4ms)[0m COMMIT
|
2966291
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
2966292
|
+
[1m[35m (0.1ms)[0m UPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 13977530
|
2966293
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2966294
|
+
[1m[35mHubstats::Repo Load (0.2ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
|
2966295
|
+
[1m[36mHubstats::User Load (0.1ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1[0m
|
2966296
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2966297
|
+
[1m[36mHubstats::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1[0m
|
2966298
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2966299
|
+
[1m[36mHubstats::PullRequest Load (0.2ms)[0m [1mSELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 7 LIMIT 1[0m
|
2966300
|
+
[1m[35mHubstats::Comment Load (0.1ms)[0m SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 13978156 LIMIT 1
|
2966301
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2966302
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('I put it as one td because it’s more of a blurb of info, which I feel doesn’t really lend itself to being table-ized\r\nOn Jun 19, 2014, at 11:16 AM, Andy Fleener <notifications@github.com> wrote:\r\n\r\n> In app/views/hubstats/metrics/_pulls_table.html.erb:\r\n> \r\n> > @@ -0,0 +1,7 @@\r\n> > +<table class=\"table\">\r\n> > + <% @pull_requests.each do |pull| %>\r\n> > + <tr>\r\n> > + <td><%= link_to pull.title, repo_pull_request_path({:repo => @repo.name, :id => pull.id}) %> by <b> <%= pull.user.login %> </b> <%= distance_of_time_in_words(DateTime.now,pull.closed_at) %> ago </td>\r\n> This feels like 3 separate data fields that should have their own td.\r\n> \r\n> —\r\n> Reply to this email directly or view it on GitHub.\r\n> ', '994e1ce68f006306936dc3d4fa342821734faa1e', '2014-06-19 16:28:58', '@@ -0,0 +1,7 @@\n+<table class=\"table\">\n+ <% @pull_requests.each do |pull| %>\n+ <tr>\n+ <td><%= link_to pull.title, repo_pull_request_path({:repo => @repo.name, :id => pull.id}) %> by <b> <%= pull.user.login %> </b> <%= distance_of_time_in_words(DateTime.now,pull.closed_at) %> ago </td>', 'https://github.com/sportngin/hubstats/pull/7#discussion_r13978156', 13978156, 'PullRequest', NULL, '49369a865132364a84f4f502d9e7913170184692', 4, 0, NULL, 17306127, 'https://api.github.com/repos/sportngin/hubstats/pulls/7', 20231003, '2014-06-19 17:05:37', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/13978156', 2453875)
|
2966303
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
2966304
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2966305
|
+
[1m[36m (0.1ms)[0m [1mUPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 13978156[0m
|
2966306
|
+
[1m[35m (0.4ms)[0m COMMIT
|
2966307
|
+
[1m[36mHubstats::Repo Load (0.2ms)[0m [1mSELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1[0m
|
2966308
|
+
[1m[35mHubstats::User Load (0.2ms)[0m SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 47750 LIMIT 1
|
2966309
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2966310
|
+
[1m[35mHubstats::User Exists (0.2ms)[0m SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 47750 AND `hubstats_users`.`id` != 47750) LIMIT 1
|
2966311
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2966312
|
+
[1m[35mHubstats::PullRequest Load (0.2ms)[0m SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 7 LIMIT 1
|
2966313
|
+
[1m[36mHubstats::Comment Load (0.1ms)[0m [1mSELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 13978363 LIMIT 1[0m
|
2966314
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2966315
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('Ok if you don\'t want it to be a table thats fine, but don\'t use a table use a collection of div\'s instead.', '994e1ce68f006306936dc3d4fa342821734faa1e', '2014-06-19 16:32:41', '@@ -0,0 +1,7 @@\n+<table class=\"table\">\n+ <% @pull_requests.each do |pull| %>\n+ <tr>\n+ <td><%= link_to pull.title, repo_pull_request_path({:repo => @repo.name, :id => pull.id}) %> by <b> <%= pull.user.login %> </b> <%= distance_of_time_in_words(DateTime.now,pull.closed_at) %> ago </td>', 'https://github.com/sportngin/hubstats/pull/7#discussion_r13978363', 13978363, 'PullRequest', NULL, '49369a865132364a84f4f502d9e7913170184692', 4, 0, NULL, 17306127, 'https://api.github.com/repos/sportngin/hubstats/pulls/7', 20231003, '2014-06-19 17:05:37', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/13978363', 47750)[0m
|
2966316
|
+
[1m[35m (0.4ms)[0m COMMIT
|
2966317
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
2966318
|
+
[1m[35m (0.1ms)[0m UPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 13978363
|
2966319
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2966320
|
+
[1m[35mHubstats::Repo Load (0.2ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
|
2966321
|
+
[1m[36mHubstats::User Load (0.2ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 47750 LIMIT 1[0m
|
2966322
|
+
[1m[35m (0.0ms)[0m BEGIN
|
2966323
|
+
[1m[36mHubstats::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 47750 AND `hubstats_users`.`id` != 47750) LIMIT 1[0m
|
2966324
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2966325
|
+
[1m[36mHubstats::PullRequest Load (0.2ms)[0m [1mSELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 7 LIMIT 1[0m
|
2966326
|
+
[1m[35mHubstats::Comment Load (0.1ms)[0m SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 13979509 LIMIT 1
|
2966327
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2966328
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('you probably don\'t need an h5 here you can just style the th\'s to look similar to the h5', '994e1ce68f006306936dc3d4fa342821734faa1e', '2014-06-19 16:52:42', '@@ -0,0 +1,14 @@\n+<table class=\"table\">\n+ <tr>\n+ <th><h5> Pull Request</h5></th>', 'https://github.com/sportngin/hubstats/pull/7#discussion_r13979509', 13979509, 'PullRequest', NULL, 'f889386c8f6dd921858c2045c240545659ef6e96', 3, 0, NULL, 17306127, 'https://api.github.com/repos/sportngin/hubstats/pulls/7', 20231003, '2014-06-19 17:05:37', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/13979509', 47750)
|
2966329
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2966330
|
+
[1m[35m (0.0ms)[0m BEGIN
|
2966331
|
+
[1m[36m (0.1ms)[0m [1mUPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 13979509[0m
|
2966332
|
+
[1m[35m (0.8ms)[0m COMMIT
|
2966333
|
+
[1m[36mHubstats::Repo Load (0.2ms)[0m [1mSELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1[0m
|
2966334
|
+
[1m[35mHubstats::User Load (0.1ms)[0m SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 47750 LIMIT 1
|
2966335
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2966336
|
+
[1m[35mHubstats::User Exists (0.1ms)[0m SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 47750 AND `hubstats_users`.`id` != 47750) LIMIT 1
|
2966337
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2966338
|
+
[1m[35mHubstats::PullRequest Load (0.2ms)[0m SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 7 LIMIT 1
|
2966339
|
+
[1m[36mHubstats::Comment Load (0.1ms)[0m [1mSELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 13979572 LIMIT 1[0m
|
2966340
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2966341
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('you missed this one, it\'s still a td', '994e1ce68f006306936dc3d4fa342821734faa1e', '2014-06-19 16:53:46', '@@ -0,0 +1,14 @@\n+<table class=\"table\">\n+ <tr>\n+ <td><h5> User </h5></td>', 'https://github.com/sportngin/hubstats/pull/7#discussion_r13979572', 13979572, 'PullRequest', NULL, '49369a865132364a84f4f502d9e7913170184692', 3, 0, NULL, 17306127, 'https://api.github.com/repos/sportngin/hubstats/pulls/7', 20231003, '2014-06-19 17:05:37', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/13979572', 47750)[0m
|
2966342
|
+
[1m[35m (0.4ms)[0m COMMIT
|
2966343
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
2966344
|
+
[1m[35m (0.1ms)[0m UPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 13979572
|
2966345
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2966346
|
+
[1m[35mHubstats::Repo Load (0.2ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
|
2966347
|
+
[1m[36mHubstats::User Load (0.1ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 47750 LIMIT 1[0m
|
2966348
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2966349
|
+
[1m[36mHubstats::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 47750 AND `hubstats_users`.`id` != 47750) LIMIT 1[0m
|
2966350
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2966351
|
+
[1m[36mHubstats::PullRequest Load (0.2ms)[0m [1mSELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 7 LIMIT 1[0m
|
2966352
|
+
[1m[35mHubstats::Comment Load (0.1ms)[0m SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 13979599 LIMIT 1
|
2966353
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2966354
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('this should be indented', '994e1ce68f006306936dc3d4fa342821734faa1e', '2014-06-19 16:54:21', '@@ -0,0 +1,13 @@\n+<div class=\"container\" id=\"header\">\n+ <div class=\"pull-left\">\n+ <div class=\"title\"> <%= link_to \"Hubstats: Github Metrics\", root_path %> </div>', 'https://github.com/sportngin/hubstats/pull/7#discussion_r13979599', 13979599, 'PullRequest', NULL, 'f889386c8f6dd921858c2045c240545659ef6e96', 3, 0, NULL, 17306127, 'https://api.github.com/repos/sportngin/hubstats/pulls/7', 20231003, '2014-06-19 17:05:37', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/13979599', 47750)
|
2966355
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2966356
|
+
[1m[35m (0.0ms)[0m BEGIN
|
2966357
|
+
[1m[36m (0.1ms)[0m [1mUPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 13979599[0m
|
2966358
|
+
[1m[35m (0.4ms)[0m COMMIT
|
2966359
|
+
[1m[36mHubstats::Repo Load (0.2ms)[0m [1mSELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1[0m
|
2966360
|
+
[1m[35mHubstats::User Load (0.1ms)[0m SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1
|
2966361
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2966362
|
+
[1m[35mHubstats::User Exists (0.1ms)[0m SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1
|
2966363
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2966364
|
+
[1m[35mHubstats::PullRequest Load (0.3ms)[0m SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 11 LIMIT 1
|
2966365
|
+
[1m[36mHubstats::Comment Load (0.1ms)[0m [1mSELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 14029004 LIMIT 1[0m
|
2966366
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2966367
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('I actually like how you had these raising `ArgumentError` before, it looked cleaner.', '91da2bb996fec490e2a02632e845dd3a384c33d4', '2014-06-20 16:40:13', '@@ -2,8 +2,8 @@ namespace :populate do\n \n desc \"Pull members from Github saves in database\"\n task :users, [:repo] => :environment do |t, args|\n- raise ArgumentError, \"Must be called with repo argument. [:org/:repo]\" if args[:repo].nil?\n- puts \"Adding contributors to \" + args[:repo]\n+ args[:repo] ? (repo = args[:repo]) : (raise ArgumentError, \"Must be called with repo argument. [:org/:repo]\")', 'https://github.com/sportngin/hubstats/pull/11#discussion_r14029004', 14029004, 'PullRequest', NULL, '62ed09e4a978aa37cc83aecfb449638f300668ee', 6, 0, NULL, 17414868, 'https://api.github.com/repos/sportngin/hubstats/pulls/11', 20231003, '2014-06-20 19:39:34', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/14029004', 174227)[0m
|
2966368
|
+
[1m[35m (0.8ms)[0m COMMIT
|
2966369
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2966370
|
+
[1m[35m (0.1ms)[0m UPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 14029004
|
2966371
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2966372
|
+
[1m[35mHubstats::Repo Load (0.2ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
|
2966373
|
+
[1m[36mHubstats::User Load (0.2ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1[0m
|
2966374
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2966375
|
+
[1m[36mHubstats::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1[0m
|
2966376
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2966377
|
+
[1m[36mHubstats::PullRequest Load (0.2ms)[0m [1mSELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 12 LIMIT 1[0m
|
2966378
|
+
[1m[35mHubstats::Comment Load (0.1ms)[0m SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 14038612 LIMIT 1
|
2966379
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2966380
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('You can also use `render :nothing => true` if you don\'t want to return anything.', 'f2076829d409206eca85692632770020d341bf1e', '2014-06-20 20:02:00', '@@ -0,0 +1,17 @@\n+require_dependency \"hubstats/application_controller\"\n+\n+module Hubstats\n+ class EventsController < ApplicationController\n+\n+ def handler\n+ kind = request.headers[\'X-Github-Event\']\n+ event = params.with_indifferent_access\n+\n+ eventsHandler = Hubstats::EventsHandler.new()\n+ eventsHandler.route(event,kind)\n+\n+ render :text => \"\"', 'https://github.com/sportngin/hubstats/pull/12#discussion_r14038612', 14038612, 'PullRequest', NULL, 'bfcf95e7891a257dbba344308499c5236caa6fcd', 13, 0, NULL, 17423995, 'https://api.github.com/repos/sportngin/hubstats/pulls/12', 20231003, '2014-06-20 21:37:07', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/14038612', 174227)
|
2966381
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2966382
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2966383
|
+
[1m[36m (0.2ms)[0m [1mUPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 14038612[0m
|
2966384
|
+
[1m[35m (0.4ms)[0m COMMIT
|
2966385
|
+
[1m[36mHubstats::Repo Load (0.2ms)[0m [1mSELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1[0m
|
2966386
|
+
[1m[35mHubstats::User Load (0.1ms)[0m SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1
|
2966387
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2966388
|
+
[1m[35mHubstats::User Exists (0.1ms)[0m SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1
|
2966389
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2966390
|
+
[1m[35mHubstats::PullRequest Load (0.3ms)[0m SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 13 LIMIT 1
|
2966391
|
+
[1m[36mHubstats::Comment Load (0.2ms)[0m [1mSELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 14095988 LIMIT 1[0m
|
2966392
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2966393
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('If you\'re doing `update_attributes` here, you don\'t need to `save` on the next line. `update_attributes` performs the save.', 'd9ddb73ca075c540b4b55eea2af203442735053f', '2014-06-23 19:49:19', '@@ -14,16 +14,17 @@ class Repo < ActiveRecord::Base\n has_many :pull_requests\n belongs_to :owner, :class_name => \"User\", :foreign_key => \"id\"\n \n- def self.find_or_create_repo(github_repo)\n+ def self.create_or_update_repo(github_repo)\n github_repo = github_repo.to_h if github_repo.respond_to? :to_h\n repo_data = github_repo.slice(*column_names.map(&:to_sym))\n \n if github_repo[:owner]\n- user = Hubstats::User.find_or_create_user(github_repo[:owner])\n+ user = Hubstats::User.create_or_update_user(github_repo[:owner])\n repo_data[:owner_id] = user[:id]\n end\n \n repo = where(:id => repo_data[:id]).first_or_create(repo_data)\n+ repo.update_attributes(repo_data)', 'https://github.com/sportngin/hubstats/pull/13#discussion_r14095988', 14095988, 'PullRequest', NULL, '0fe3562f371cec03af4a6e85dece127b45ab18fc', 25, 0, NULL, 17479705, 'https://api.github.com/repos/sportngin/hubstats/pulls/13', 20231003, '2014-06-23 21:45:24', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/14095988', 174227)[0m
|
2966394
|
+
[1m[35m (0.4ms)[0m COMMIT
|
2966395
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2966396
|
+
[1m[35m (0.1ms)[0m UPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 14095988
|
2966397
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2966398
|
+
[1m[35mHubstats::Repo Load (0.2ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
|
2966399
|
+
[1m[36mHubstats::User Load (0.1ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1[0m
|
2966400
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2966401
|
+
[1m[36mHubstats::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1[0m
|
2966402
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2966403
|
+
[1m[36mHubstats::PullRequest Load (0.2ms)[0m [1mSELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 13 LIMIT 1[0m
|
2966404
|
+
[1m[35mHubstats::Comment Load (0.1ms)[0m SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 14096004 LIMIT 1
|
2966405
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2966406
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('See https://github.com/sportngin/hubstats/pull/13/files#discussion_r14095988', 'd9ddb73ca075c540b4b55eea2af203442735053f', '2014-06-23 19:49:39', '@@ -17,14 +17,15 @@ class PullRequest < ActiveRecord::Base\n def self.find_or_create_pull(github_pull)\n github_pull = github_pull.to_h if github_pull.respond_to? :to_h\n \n- user = Hubstats::User.find_or_create_user(github_pull[:user])\n- repo = Hubstats::Repo.find_or_create_repo(github_pull[:base][:repo])\n+ user = Hubstats::User.create_or_update_user(github_pull[:user])\n+ github_pull[:user_id] = user.id\n+ repo = Hubstats::Repo.create_or_update_repo(github_pull[:repository])\n+ github_pull[:repo_id] = repo.id\n \n pull_data = github_pull.slice(*column_names.map(&:to_sym))\n- pull_data[:user_id] = user[:id]\n- pull_data[:repo_id] = repo[:id]\n \n pull = where(:id => pull_data[:id]).first_or_create(pull_data)\n+ pull.update_attributes(pull_data)', 'https://github.com/sportngin/hubstats/pull/13#discussion_r14096004', 14096004, 'PullRequest', NULL, '0fe3562f371cec03af4a6e85dece127b45ab18fc', 16, 0, NULL, 17479705, 'https://api.github.com/repos/sportngin/hubstats/pulls/13', 20231003, '2014-06-23 21:45:24', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/14096004', 174227)
|
2966407
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2966408
|
+
[1m[35m (0.0ms)[0m BEGIN
|
2966409
|
+
[1m[36m (0.1ms)[0m [1mUPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 14096004[0m
|
2966410
|
+
[1m[35m (0.4ms)[0m COMMIT
|
2966411
|
+
[1m[36mHubstats::Repo Load (0.2ms)[0m [1mSELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1[0m
|
2966412
|
+
[1m[35mHubstats::User Load (0.1ms)[0m SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1
|
2966413
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2966414
|
+
[1m[35mHubstats::User Exists (0.1ms)[0m SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1
|
2966415
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2966416
|
+
[1m[35mHubstats::PullRequest Load (0.2ms)[0m SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 13 LIMIT 1
|
2966417
|
+
[1m[36mHubstats::Comment Load (0.1ms)[0m [1mSELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 14096014 LIMIT 1[0m
|
2966418
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2966419
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('See https://github.com/sportngin/hubstats/pull/13/files#discussion_r14095988', 'd9ddb73ca075c540b4b55eea2af203442735053f', '2014-06-23 19:49:49', '@@ -46,11 +46,14 @@ class User < ActiveRecord::Base\n has_many :repos, :class_name => \"Repo\"\n has_many :pull_requests\n \n- def self.find_or_create_user(github_user)\n+ def self.create_or_update_user(github_user)\n github_user[:role] = github_user.delete :type ##changing :type in to :role\n github_user = github_user.to_h unless github_user.is_a? Hash\n+\n user_data = github_user.slice(*Hubstats::User.column_names.map(&:to_sym))\n+ \n user = Hubstats::User.where(:id => user_data[:id]).first_or_create(user_data)\n+ user.update_attributes(user_data)', 'https://github.com/sportngin/hubstats/pull/13#discussion_r14096014', 14096014, 'PullRequest', NULL, '0fe3562f371cec03af4a6e85dece127b45ab18fc', 12, 0, NULL, 17479705, 'https://api.github.com/repos/sportngin/hubstats/pulls/13', 20231003, '2014-06-23 21:45:24', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/14096014', 174227)[0m
|
2966420
|
+
[1m[35m (0.5ms)[0m COMMIT
|
2966421
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2966422
|
+
[1m[35m (0.2ms)[0m UPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 14096014
|
2966423
|
+
[1m[36m (0.5ms)[0m [1mCOMMIT[0m
|
2966424
|
+
[1m[35mHubstats::Repo Load (0.2ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
|
2966425
|
+
[1m[36mHubstats::User Load (0.2ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1[0m
|
2966426
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2966427
|
+
[1m[36mHubstats::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1[0m
|
2966428
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2966429
|
+
[1m[36mHubstats::PullRequest Load (0.2ms)[0m [1mSELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 13 LIMIT 1[0m
|
2966430
|
+
[1m[35mHubstats::Comment Load (0.2ms)[0m SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 14096044 LIMIT 1
|
2966431
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2966432
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('Extra `puts` statement.', 'd9ddb73ca075c540b4b55eea2af203442735053f', '2014-06-23 19:50:17', '@@ -9,6 +9,7 @@ def route(payload, type)\n when \"commit_comment\" || \"CommitCommentEvent\"\n comment_processor(payload,\"Commit\")\n when \"pull_request\" || \"PullRequestEvent\"\n+ puts \"Hellow\"', 'https://github.com/sportngin/hubstats/pull/13#discussion_r14096044', 14096044, 'PullRequest', NULL, '0fe3562f371cec03af4a6e85dece127b45ab18fc', 4, 0, NULL, 17479705, 'https://api.github.com/repos/sportngin/hubstats/pulls/13', 20231003, '2014-06-23 21:45:24', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/14096044', 174227)
|
2966433
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2966434
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2966435
|
+
[1m[36m (0.1ms)[0m [1mUPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 14096044[0m
|
2966436
|
+
[1m[35m (0.4ms)[0m COMMIT
|
2966437
|
+
[1m[36mHubstats::Repo Load (0.2ms)[0m [1mSELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1[0m
|
2966438
|
+
[1m[35mHubstats::User Load (0.2ms)[0m SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1
|
2966439
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2966440
|
+
[1m[35mHubstats::User Exists (0.1ms)[0m SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1
|
2966441
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2966442
|
+
[1m[35mHubstats::PullRequest Load (0.3ms)[0m SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 13 LIMIT 1
|
2966443
|
+
[1m[36mHubstats::Comment Load (0.2ms)[0m [1mSELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 14096564 LIMIT 1[0m
|
2966444
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2966445
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('I\'m not sure the logic for this makes sense. Is this a work in progress?', 'd9ddb73ca075c540b4b55eea2af203442735053f', '2014-06-23 20:00:05', '@@ -57,13 +57,34 @@ namespace :populate do\n task :all => :environment do\n client = Hubstats::GithubAPI.client({:auto_paginate => true})\n get_repos.each do |repo|\n- re = Hubstats::Repo.find_or_create_repo(repo)\n+ re = Hubstats::Repo.create_or_update_repo(repo)\n \n Rake::Task[\"app:populate:users\"].execute({repo: \"#{re.full_name}\"})\n Rake::Task[\"app:populate:pulls\"].execute({repo: \"#{re.full_name}\"})\n Rake::Task[\"app:populate:comments\"].execute({repo: \"#{re.full_name}\"})\n- \n end\n+ puts \"Finished with initial population, grabing extra info for pull requests\"\n+ Rake::Task[\"app:populate:update\"].execute()\n+ end\n+\n+ desc \"indivdually gets and updates pull requests\"\n+ task :update => :environment do\n+ client = Hubstats::GithubAPI.client\n+\n+ while Hubstats::PullRequest.where(deletions: nil).where(additions: nil).count() > 0\n+ incomplete = Hubstats::PullRequest.where(deletions: nil).where(additions: nil).limit(client.rate_limit.remaining)\n+ incomplete.each do |pull|\n+ repo = Hubstats::Repo.where(id: pull.repo_id).first\n+ pr = client.pull_request(repo.full_name, pull.number)\n+\n+ Hubstats::PullRequest.find_or_create_pull(pull_setup(pr))\n+ end\n+ if Hubstats::PullRequest.where(deletions: nil).where(additions: nil).count() > 0\n+ puts \"Hit Github rate limit, waiting to get more\"\n+ sleep(5.minutes)', 'https://github.com/sportngin/hubstats/pull/13#discussion_r14096564', 14096564, 'PullRequest', NULL, '0fe3562f371cec03af4a6e85dece127b45ab18fc', 79, 0, NULL, 17479705, 'https://api.github.com/repos/sportngin/hubstats/pulls/13', 20231003, '2014-06-23 21:45:24', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/14096564', 174227)[0m
|
2966446
|
+
[1m[35m (0.4ms)[0m COMMIT
|
2966447
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2966448
|
+
[1m[35m (0.2ms)[0m UPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 14096564
|
2966449
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2966450
|
+
[1m[35mHubstats::Repo Load (0.2ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
|
2966451
|
+
[1m[36mHubstats::User Load (0.2ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1[0m
|
2966452
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2966453
|
+
[1m[36mHubstats::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1[0m
|
2966454
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2966455
|
+
[1m[36mHubstats::PullRequest Load (0.2ms)[0m [1mSELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 13 LIMIT 1[0m
|
2966456
|
+
[1m[35mHubstats::Comment Load (0.1ms)[0m SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 14101520 LIMIT 1
|
2966457
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2966458
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('Can you add `rate_limit.resets_at` here, so it\'s obvious how long it\'s going to sleep for?', 'd9ddb73ca075c540b4b55eea2af203442735053f', '2014-06-23 21:33:40', '@@ -38,5 +38,11 @@ def self.all(repo_url,kind)\n client({:auto_paginate => true }).paginate([repo_url,kind].join(\'/\'))\n end\n \n+ def self.wait_limit(grab_size,rate_limit)\n+ if rate_limit.remaining < grab_size\n+ puts \"Hit Github rate limit, waiting to get more\"', 'https://github.com/sportngin/hubstats/pull/13#discussion_r14101520', 14101520, 'PullRequest', NULL, '06d8534bb048bc39dae4e429c1319884ebbfcf91', 6, 0, NULL, 17479705, 'https://api.github.com/repos/sportngin/hubstats/pulls/13', 20231003, '2014-06-23 21:45:24', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/14101520', 174227)
|
2966459
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2966460
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2966461
|
+
[1m[36m (0.1ms)[0m [1mUPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:29' WHERE `hubstats_comments`.`id` = 14101520[0m
|
2966462
|
+
[1m[35m (0.4ms)[0m COMMIT
|
2966463
|
+
[1m[36mHubstats::Repo Load (0.2ms)[0m [1mSELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1[0m
|
2966464
|
+
[1m[35mHubstats::User Load (0.1ms)[0m SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1
|
2966465
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2966466
|
+
[1m[35mHubstats::User Exists (0.1ms)[0m SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1
|
2966467
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2966468
|
+
[1m[35mHubstats::PullRequest Load (0.2ms)[0m SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 16 LIMIT 1
|
2966469
|
+
[1m[36mHubstats::Comment Load (0.2ms)[0m [1mSELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 14419394 LIMIT 1[0m
|
2966470
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2966471
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('You should rename this file `hub_helper.rb`. There are sometimes load issues because it would expect this file to define `Hubhelper` when you don\'t underscore it.', 'd2b4ffcbfb8d06a86fc07ad86e3ffd7739b32afa', '2014-07-01 18:04:12', '@@ -0,0 +1,25 @@\n+module HubHelper', 'https://github.com/sportngin/hubstats/pull/16#discussion_r14419394', 14419394, 'PullRequest', NULL, '6a151fdd4f431fd0f2b398987d1c3a1c638a0b66', 1, 0, NULL, 17837873, 'https://api.github.com/repos/sportngin/hubstats/pulls/16', 20231003, '2014-07-01 20:37:48', 'https://api.github.com/repos/sportngin/hubstats/pulls/comments/14419394', 174227)[0m
|
2966472
|
+
[1m[35m (0.4ms)[0m COMMIT
|
2966473
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2966474
|
+
[1m[35m (0.1ms)[0m UPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:30' WHERE `hubstats_comments`.`id` = 14419394
|
2966475
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2966476
|
+
[1m[35mHubstats::Repo Load (0.4ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
|
2966477
|
+
[1m[36mHubstats::User Load (0.2ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1[0m
|
2966478
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2966479
|
+
[1m[36mHubstats::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1[0m
|
2966480
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2966481
|
+
[1m[36mHubstats::PullRequest Load (0.2ms)[0m [1mSELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 1 LIMIT 1[0m
|
2966482
|
+
[1m[35mHubstats::Comment Load (0.2ms)[0m SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 44579203 LIMIT 1
|
2966483
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2966484
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('@ehlertij prcr?', NULL, '2014-05-29 20:13:35', NULL, 'https://github.com/sportngin/hubstats/pull/1#issuecomment-44579203', 44579203, 'Issue', NULL, NULL, NULL, NULL, NULL, 16501072, NULL, 20231003, '2014-05-29 20:13:35', 'https://api.github.com/repos/sportngin/hubstats/issues/comments/44579203', 2453875)
|
2966485
|
+
[1m[36m (1.3ms)[0m [1mCOMMIT[0m
|
2966486
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2966487
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2966488
|
+
[1m[35mHubstats::Repo Load (0.3ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
|
2966489
|
+
[1m[36mHubstats::User Load (0.2ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1[0m
|
2966490
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2966491
|
+
[1m[36mHubstats::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1[0m
|
2966492
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2966493
|
+
[1m[36mHubstats::PullRequest Load (0.3ms)[0m [1mSELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 1 LIMIT 1[0m
|
2966494
|
+
[1m[35mHubstats::Comment Load (0.2ms)[0m SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 44590684 LIMIT 1
|
2966495
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2966496
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('I think we should change that spec to not actually hit the GitHub API. Instead, we can do something like:\r\n\r\n```ruby\r\nlet(:client) { double }\r\nlet(:pull1) { double }\r\nlet(:pull2) { double }\r\nlet(:pull_requests) { [pull1, pull2] }\r\n\r\nbefore do\r\n allow(GithubAPI).to receive(:client).and_return(client)\r\n allow(client).to receive(:paginate).and_return(pull_requests)\r\n allow(pull1).to receive(:closed_at).and_return(Time.new(\'2014-05-25\'))\r\n allow(pull2).to receive(:closed_at).and_return(Time.new(\'2014-05-20\'))\r\nend\r\n```\r\n\r\nThen run your `since` call and make sure that it returns only the pull request(s) that you expect given the date.\r\n\r\nThat way the test is not dependent on GitHub\'s API being up, and we\'re just testing our method instead of the API as well.', NULL, '2014-05-29 21:56:11', NULL, 'https://github.com/sportngin/hubstats/pull/1#issuecomment-44590684', 44590684, 'Issue', NULL, NULL, NULL, NULL, NULL, 16501072, NULL, 20231003, '2014-05-29 21:56:11', 'https://api.github.com/repos/sportngin/hubstats/issues/comments/44590684', 174227)
|
2966497
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2966498
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2966499
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2966500
|
+
[1m[35mHubstats::Repo Load (0.2ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
|
2966501
|
+
[1m[36mHubstats::User Load (0.2ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1[0m
|
2966502
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2966503
|
+
[1m[36mHubstats::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1[0m
|
2966504
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2966505
|
+
[1m[36mHubstats::PullRequest Load (0.2ms)[0m [1mSELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 1 LIMIT 1[0m
|
2966506
|
+
[1m[35mHubstats::Comment Load (0.2ms)[0m SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 44879694 LIMIT 1
|
2966507
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2966508
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('There\'s no reason to make this a hidden file. I\'d switch it back to being `octokit.yml` instead.', NULL, '2014-06-02 19:24:19', NULL, 'https://github.com/sportngin/hubstats/pull/1#issuecomment-44879694', 44879694, 'Issue', NULL, NULL, NULL, NULL, NULL, 16501072, NULL, 20231003, '2014-06-02 19:24:19', 'https://api.github.com/repos/sportngin/hubstats/issues/comments/44879694', 174227)
|
2966509
|
+
[1m[36m (0.5ms)[0m [1mCOMMIT[0m
|
2966510
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2966511
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
2966512
|
+
[1m[35mHubstats::Repo Load (0.2ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
|
2966513
|
+
[1m[36mHubstats::User Load (0.2ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1[0m
|
2966514
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2966515
|
+
[1m[36mHubstats::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1[0m
|
2966516
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2966517
|
+
[1m[36mHubstats::PullRequest Load (0.2ms)[0m [1mSELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 1 LIMIT 1[0m
|
2966518
|
+
[1m[35mHubstats::Comment Load (0.1ms)[0m SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 44892937 LIMIT 1
|
2966519
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2966520
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('God damnit, i tried something similar to that (less horrible nesting than I currently have). I kept getting stupid errors because I hadn\'t reset my ENV variables.....', NULL, '2014-06-02 21:20:17', NULL, 'https://github.com/sportngin/hubstats/pull/1#issuecomment-44892937', 44892937, 'Issue', NULL, NULL, NULL, NULL, NULL, 16501072, NULL, 20231003, '2014-06-02 21:20:17', 'https://api.github.com/repos/sportngin/hubstats/issues/comments/44892937', 2453875)
|
2966521
|
+
[1m[36m (0.5ms)[0m [1mCOMMIT[0m
|
2966522
|
+
[1m[35m (0.0ms)[0m BEGIN
|
2966523
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2966524
|
+
[1m[35mHubstats::Repo Load (0.2ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
|
2966525
|
+
[1m[36mHubstats::User Load (0.1ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1[0m
|
2966526
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2966527
|
+
[1m[36mHubstats::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1[0m
|
2966528
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2966529
|
+
[1m[36mHubstats::PullRequest Load (0.2ms)[0m [1mSELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 2 LIMIT 1[0m
|
2966530
|
+
[1m[35mHubstats::Comment Load (0.2ms)[0m SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 44911990 LIMIT 1
|
2966531
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2966532
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('@ehlertij you\'re on pr call right?', NULL, '2014-06-03 01:53:07', NULL, 'https://github.com/sportngin/hubstats/pull/2#issuecomment-44911990', 44911990, 'Issue', NULL, NULL, NULL, NULL, NULL, 16631904, NULL, 20231003, '2014-06-03 01:53:07', 'https://api.github.com/repos/sportngin/hubstats/issues/comments/44911990', 2453875)
|
2966533
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2966534
|
+
[1m[35m (0.0ms)[0m BEGIN
|
2966535
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2966536
|
+
[1m[35mHubstats::Repo Load (0.2ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
|
2966537
|
+
[1m[36mHubstats::User Load (0.1ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1[0m
|
2966538
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2966539
|
+
[1m[36mHubstats::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1[0m
|
2966540
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2966541
|
+
[1m[36mHubstats::PullRequest Load (0.2ms)[0m [1mSELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 2 LIMIT 1[0m
|
2966542
|
+
[1m[35mHubstats::Comment Load (0.1ms)[0m SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 45021967 LIMIT 1
|
2966543
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2966544
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('Looks good @elliothursh :sheep: :it: once the tests pass!', NULL, '2014-06-03 21:19:05', NULL, 'https://github.com/sportngin/hubstats/pull/2#issuecomment-45021967', 45021967, 'Issue', NULL, NULL, NULL, NULL, NULL, 16631904, NULL, 20231003, '2014-06-03 21:19:05', 'https://api.github.com/repos/sportngin/hubstats/issues/comments/45021967', 174227)
|
2966545
|
+
[1m[36m (0.6ms)[0m [1mCOMMIT[0m
|
2966546
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2966547
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2966548
|
+
[1m[35mHubstats::Repo Load (0.2ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
|
2966549
|
+
[1m[36mHubstats::User Load (0.2ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1[0m
|
2966550
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2966551
|
+
[1m[36mHubstats::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1[0m
|
2966552
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2966553
|
+
[1m[36mHubstats::PullRequest Load (0.2ms)[0m [1mSELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 3 LIMIT 1[0m
|
2966554
|
+
[1m[35mHubstats::Comment Load (0.2ms)[0m SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 45368893 LIMIT 1
|
2966555
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2966556
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('@anfleene be gentle... please?', NULL, '2014-06-06 18:23:26', NULL, 'https://github.com/sportngin/hubstats/pull/3#issuecomment-45368893', 45368893, 'Issue', NULL, NULL, NULL, NULL, NULL, 16834687, NULL, 20231003, '2014-06-06 18:23:26', 'https://api.github.com/repos/sportngin/hubstats/issues/comments/45368893', 2453875)
|
2966557
|
+
[1m[36m (0.6ms)[0m [1mCOMMIT[0m
|
2966558
|
+
[1m[35m (0.0ms)[0m BEGIN
|
2966559
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2966560
|
+
[1m[35mHubstats::Repo Load (0.2ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
|
2966561
|
+
[1m[36mHubstats::User Load (0.2ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1[0m
|
2966562
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2966563
|
+
[1m[36mHubstats::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1[0m
|
2966564
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2966565
|
+
[1m[36mHubstats::PullRequest Load (0.2ms)[0m [1mSELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 3 LIMIT 1[0m
|
2966566
|
+
[1m[35mHubstats::Comment Load (0.2ms)[0m SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 45799526 LIMIT 1
|
2966567
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2966568
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('@ehlertij take a look... it\'s in a book.', NULL, '2014-06-11 21:02:08', NULL, 'https://github.com/sportngin/hubstats/pull/3#issuecomment-45799526', 45799526, 'Issue', NULL, NULL, NULL, NULL, NULL, 16834687, NULL, 20231003, '2014-06-11 21:02:08', 'https://api.github.com/repos/sportngin/hubstats/issues/comments/45799526', 2453875)
|
2966569
|
+
[1m[36m (0.7ms)[0m [1mCOMMIT[0m
|
2966570
|
+
[1m[35m (0.0ms)[0m BEGIN
|
2966571
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2966572
|
+
[1m[35mHubstats::Repo Load (0.2ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
|
2966573
|
+
[1m[36mHubstats::User Load (0.1ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1[0m
|
2966574
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2966575
|
+
[1m[36mHubstats::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1[0m
|
2966576
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2966577
|
+
[1m[36mHubstats::PullRequest Load (0.2ms)[0m [1mSELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 3 LIMIT 1[0m
|
2966578
|
+
[1m[35mHubstats::Comment Load (0.1ms)[0m SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 45802189 LIMIT 1
|
2966579
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2966580
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('Your Travis CI build is failing, let\'s try to get that passing before merging this. This should help: http://docs.travis-ci.com/user/database-setup/#MySQL', NULL, '2014-06-11 21:25:32', NULL, 'https://github.com/sportngin/hubstats/pull/3#issuecomment-45802189', 45802189, 'Issue', NULL, NULL, NULL, NULL, NULL, 16834687, NULL, 20231003, '2014-06-11 21:26:28', 'https://api.github.com/repos/sportngin/hubstats/issues/comments/45802189', 174227)
|
2966581
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2966582
|
+
[1m[35m (0.0ms)[0m BEGIN
|
2966583
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2966584
|
+
[1m[35mHubstats::Repo Load (0.2ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
|
2966585
|
+
[1m[36mHubstats::User Load (0.2ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1[0m
|
2966586
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2966587
|
+
[1m[36mHubstats::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1[0m
|
2966588
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2966589
|
+
[1m[36mHubstats::PullRequest Load (0.2ms)[0m [1mSELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 3 LIMIT 1[0m
|
2966590
|
+
[1m[35mHubstats::Comment Load (0.2ms)[0m SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 45804898 LIMIT 1
|
2966591
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2966592
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES (':shipit: ', NULL, '2014-06-11 21:50:40', NULL, 'https://github.com/sportngin/hubstats/pull/3#issuecomment-45804898', 45804898, 'Issue', NULL, NULL, NULL, NULL, NULL, 16834687, NULL, 20231003, '2014-06-11 21:50:40', 'https://api.github.com/repos/sportngin/hubstats/issues/comments/45804898', 174227)
|
2966593
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2966594
|
+
[1m[35m (0.0ms)[0m BEGIN
|
2966595
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2966596
|
+
[1m[35mHubstats::Repo Load (0.2ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
|
2966597
|
+
[1m[36mHubstats::User Load (0.2ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1[0m
|
2966598
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2966599
|
+
[1m[36mHubstats::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1[0m
|
2966600
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2966601
|
+
[1m[36mHubstats::PullRequest Load (0.2ms)[0m [1mSELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 3 LIMIT 1[0m
|
2966602
|
+
[1m[35mHubstats::Comment Load (0.1ms)[0m SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 45805134 LIMIT 1
|
2966603
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2966604
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES (':book: :rainbow: ', NULL, '2014-06-11 21:53:07', NULL, 'https://github.com/sportngin/hubstats/pull/3#issuecomment-45805134', 45805134, 'Issue', NULL, NULL, NULL, NULL, NULL, 16834687, NULL, 20231003, '2014-06-11 21:53:07', 'https://api.github.com/repos/sportngin/hubstats/issues/comments/45805134', 174227)
|
2966605
|
+
[1m[36m (1.1ms)[0m [1mCOMMIT[0m
|
2966606
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2966607
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2966608
|
+
[1m[35mHubstats::Repo Load (0.3ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
|
2966609
|
+
[1m[36mHubstats::User Load (0.2ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1[0m
|
2966610
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2966611
|
+
[1m[36mHubstats::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1[0m
|
2966612
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2966613
|
+
[1m[36mHubstats::PullRequest Load (0.2ms)[0m [1mSELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 4 LIMIT 1[0m
|
2966614
|
+
[1m[35mHubstats::Comment Load (0.2ms)[0m SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 45930581 LIMIT 1
|
2966615
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2966616
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('@NickLaMuro will you look at this when you get a chance?\r\n', NULL, '2014-06-12 18:35:28', NULL, 'https://github.com/sportngin/hubstats/pull/4#issuecomment-45930581', 45930581, 'Issue', NULL, NULL, NULL, NULL, NULL, 17071619, NULL, 20231003, '2014-06-12 18:35:28', 'https://api.github.com/repos/sportngin/hubstats/issues/comments/45930581', 2453875)
|
2966617
|
+
[1m[36m (0.5ms)[0m [1mCOMMIT[0m
|
2966618
|
+
[1m[35m (0.0ms)[0m BEGIN
|
2966619
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2966620
|
+
[1m[35mHubstats::Repo Load (0.2ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
|
2966621
|
+
[1m[36mHubstats::User Load (0.1ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1[0m
|
2966622
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2966623
|
+
[1m[36mHubstats::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1[0m
|
2966624
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2966625
|
+
[1m[36mHubstats::PullRequest Load (0.2ms)[0m [1mSELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 4 LIMIT 1[0m
|
2966626
|
+
[1m[35mHubstats::Comment Load (0.1ms)[0m SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 46201181 LIMIT 1
|
2966627
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2966628
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('@ehlertij ', NULL, '2014-06-16 16:29:33', NULL, 'https://github.com/sportngin/hubstats/pull/4#issuecomment-46201181', 46201181, 'Issue', NULL, NULL, NULL, NULL, NULL, 17071619, NULL, 20231003, '2014-06-16 16:29:33', 'https://api.github.com/repos/sportngin/hubstats/issues/comments/46201181', 2453875)
|
2966629
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2966630
|
+
[1m[35m (0.0ms)[0m BEGIN
|
2966631
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2966632
|
+
[1m[35mHubstats::Repo Load (0.2ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
|
2966633
|
+
[1m[36mHubstats::User Load (0.2ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1[0m
|
2966634
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2966635
|
+
[1m[36mHubstats::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1[0m
|
2966636
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2966637
|
+
[1m[36mHubstats::PullRequest Load (0.2ms)[0m [1mSELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 4 LIMIT 1[0m
|
2966638
|
+
[1m[35mHubstats::Comment Load (0.2ms)[0m SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 46220735 LIMIT 1
|
2966639
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2966640
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('Large parts of those views should be moved into partials that can be shared. That can be done in future PRs, but should be kept in mind.', NULL, '2014-06-16 19:07:06', NULL, 'https://github.com/sportngin/hubstats/pull/4#issuecomment-46220735', 46220735, 'Issue', NULL, NULL, NULL, NULL, NULL, 17071619, NULL, 20231003, '2014-06-16 19:07:06', 'https://api.github.com/repos/sportngin/hubstats/issues/comments/46220735', 174227)
|
2966641
|
+
[1m[36m (0.5ms)[0m [1mCOMMIT[0m
|
2966642
|
+
[1m[35m (0.0ms)[0m BEGIN
|
2966643
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2966644
|
+
[1m[35mHubstats::Repo Load (0.2ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
|
2966645
|
+
[1m[36mHubstats::User Load (0.1ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1[0m
|
2966646
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2966647
|
+
[1m[36mHubstats::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1[0m
|
2966648
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2966649
|
+
[1m[36mHubstats::PullRequest Load (0.2ms)[0m [1mSELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 4 LIMIT 1[0m
|
2966650
|
+
[1m[35mHubstats::Comment Load (0.4ms)[0m SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 46243056 LIMIT 1
|
2966651
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2966652
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('Looks good! Let\'s keep the next PR\'s smaller! :shipit: ', NULL, '2014-06-16 21:53:41', NULL, 'https://github.com/sportngin/hubstats/pull/4#issuecomment-46243056', 46243056, 'Issue', NULL, NULL, NULL, NULL, NULL, 17071619, NULL, 20231003, '2014-06-16 21:53:41', 'https://api.github.com/repos/sportngin/hubstats/issues/comments/46243056', 174227)
|
2966653
|
+
[1m[36m (0.5ms)[0m [1mCOMMIT[0m
|
2966654
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2966655
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2966656
|
+
[1m[35mHubstats::Repo Load (0.2ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
|
2966657
|
+
[1m[36mHubstats::User Load (0.1ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1[0m
|
2966658
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2966659
|
+
[1m[36mHubstats::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1[0m
|
2966660
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2966661
|
+
[1m[36mHubstats::PullRequest Load (0.2ms)[0m [1mSELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 5 LIMIT 1[0m
|
2966662
|
+
[1m[35mHubstats::Comment Load (0.1ms)[0m SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 46320884 LIMIT 1
|
2966663
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2966664
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('@ehlertij look at this quick? hopefully its small enough.', NULL, '2014-06-17 15:14:57', NULL, 'https://github.com/sportngin/hubstats/pull/5#issuecomment-46320884', 46320884, 'Issue', NULL, NULL, NULL, NULL, NULL, 17237179, NULL, 20231003, '2014-06-17 15:14:57', 'https://api.github.com/repos/sportngin/hubstats/issues/comments/46320884', 2453875)
|
2966665
|
+
[1m[36m (0.5ms)[0m [1mCOMMIT[0m
|
2966666
|
+
[1m[35m (0.0ms)[0m BEGIN
|
2966667
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2966668
|
+
[1m[35mHubstats::Repo Load (0.2ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
|
2966669
|
+
[1m[36mHubstats::User Load (0.1ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1[0m
|
2966670
|
+
[1m[35m (0.0ms)[0m BEGIN
|
2966671
|
+
[1m[36mHubstats::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1[0m
|
2966672
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2966673
|
+
[1m[36mHubstats::PullRequest Load (0.2ms)[0m [1mSELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 5 LIMIT 1[0m
|
2966674
|
+
[1m[35mHubstats::Comment Load (0.2ms)[0m SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 46354706 LIMIT 1
|
2966675
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2966676
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('@ehlertij check this if you get a minute?', NULL, '2014-06-17 19:37:25', NULL, 'https://github.com/sportngin/hubstats/pull/5#issuecomment-46354706', 46354706, 'Issue', NULL, NULL, NULL, NULL, NULL, 17237179, NULL, 20231003, '2014-06-17 19:37:25', 'https://api.github.com/repos/sportngin/hubstats/issues/comments/46354706', 2453875)
|
2966677
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2966678
|
+
[1m[35m (0.0ms)[0m BEGIN
|
2966679
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2966680
|
+
[1m[35mHubstats::Repo Load (0.2ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
|
2966681
|
+
[1m[36mHubstats::User Load (0.2ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1[0m
|
2966682
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2966683
|
+
[1m[36mHubstats::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1[0m
|
2966684
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2966685
|
+
[1m[36mHubstats::PullRequest Load (0.2ms)[0m [1mSELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 6 LIMIT 1[0m
|
2966686
|
+
[1m[35mHubstats::Comment Load (0.1ms)[0m SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 46354749 LIMIT 1
|
2966687
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2966688
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('@ehlertij ditto with this one?', NULL, '2014-06-17 19:37:48', NULL, 'https://github.com/sportngin/hubstats/pull/6#issuecomment-46354749', 46354749, 'Issue', NULL, NULL, NULL, NULL, NULL, 17256454, NULL, 20231003, '2014-06-17 19:37:48', 'https://api.github.com/repos/sportngin/hubstats/issues/comments/46354749', 2453875)
|
2966689
|
+
[1m[36m (0.5ms)[0m [1mCOMMIT[0m
|
2966690
|
+
[1m[35m (0.0ms)[0m BEGIN
|
2966691
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2966692
|
+
[1m[35mHubstats::Repo Load (0.2ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
|
2966693
|
+
[1m[36mHubstats::User Load (0.2ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1[0m
|
2966694
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2966695
|
+
[1m[36mHubstats::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1[0m
|
2966696
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2966697
|
+
[1m[36mHubstats::PullRequest Load (0.2ms)[0m [1mSELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 5 LIMIT 1[0m
|
2966698
|
+
[1m[35mHubstats::Comment Load (0.2ms)[0m SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 46355189 LIMIT 1
|
2966699
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2966700
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('This looks much better! Nice use of scopes!', NULL, '2014-06-17 19:41:35', NULL, 'https://github.com/sportngin/hubstats/pull/5#issuecomment-46355189', 46355189, 'Issue', NULL, NULL, NULL, NULL, NULL, 17237179, NULL, 20231003, '2014-06-17 19:41:35', 'https://api.github.com/repos/sportngin/hubstats/issues/comments/46355189', 174227)
|
2966701
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2966702
|
+
[1m[35m (0.0ms)[0m BEGIN
|
2966703
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2966704
|
+
[1m[35mHubstats::Repo Load (0.2ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
|
2966705
|
+
[1m[36mHubstats::User Load (0.2ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1[0m
|
2966706
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2966707
|
+
[1m[36mHubstats::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1[0m
|
2966708
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2966709
|
+
[1m[36mHubstats::PullRequest Load (0.2ms)[0m [1mSELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 6 LIMIT 1[0m
|
2966710
|
+
[1m[35mHubstats::Comment Load (0.1ms)[0m SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 46355465 LIMIT 1
|
2966711
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2966712
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('Looks good :+1: ', NULL, '2014-06-17 19:43:53', NULL, 'https://github.com/sportngin/hubstats/pull/6#issuecomment-46355465', 46355465, 'Issue', NULL, NULL, NULL, NULL, NULL, 17256454, NULL, 20231003, '2014-06-17 19:43:53', 'https://api.github.com/repos/sportngin/hubstats/issues/comments/46355465', 174227)
|
2966713
|
+
[1m[36m (1.3ms)[0m [1mCOMMIT[0m
|
2966714
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2966715
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2966716
|
+
[1m[35mHubstats::Repo Load (0.3ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
|
2966717
|
+
[1m[36mHubstats::User Load (0.2ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1[0m
|
2966718
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2966719
|
+
[1m[36mHubstats::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1[0m
|
2966720
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2966721
|
+
[1m[36mHubstats::PullRequest Load (0.2ms)[0m [1mSELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 5 LIMIT 1[0m
|
2966722
|
+
[1m[35mHubstats::Comment Load (0.1ms)[0m SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 46357254 LIMIT 1
|
2966723
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2966724
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES (':shipit: ', NULL, '2014-06-17 19:59:33', NULL, 'https://github.com/sportngin/hubstats/pull/5#issuecomment-46357254', 46357254, 'Issue', NULL, NULL, NULL, NULL, NULL, 17237179, NULL, 20231003, '2014-06-17 19:59:33', 'https://api.github.com/repos/sportngin/hubstats/issues/comments/46357254', 174227)
|
2966725
|
+
[1m[36m (0.7ms)[0m [1mCOMMIT[0m
|
2966726
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2966727
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2966728
|
+
[1m[35mHubstats::Repo Load (0.2ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
|
2966729
|
+
[1m[36mHubstats::User Load (0.3ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1[0m
|
2966730
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2966731
|
+
[1m[36mHubstats::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1[0m
|
2966732
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2966733
|
+
[1m[36mHubstats::PullRequest Load (0.2ms)[0m [1mSELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 7 LIMIT 1[0m
|
2966734
|
+
[1m[35mHubstats::Comment Load (0.2ms)[0m SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 46464939 LIMIT 1
|
2966735
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2966736
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('@ehlertij Hey sorry for the length, I marked the files where actual stuff happens. The rest of it is just changing the controllers to use \"timespan\" instead of 2.weeks.ago and updating the views accordingly...', NULL, '2014-06-18 17:13:16', NULL, 'https://github.com/sportngin/hubstats/pull/7#issuecomment-46464939', 46464939, 'Issue', NULL, NULL, NULL, NULL, NULL, 17306127, NULL, 20231003, '2014-06-18 17:13:16', 'https://api.github.com/repos/sportngin/hubstats/issues/comments/46464939', 2453875)
|
2966737
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2966738
|
+
[1m[35m (0.0ms)[0m BEGIN
|
2966739
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2966740
|
+
[1m[35mHubstats::Repo Load (0.2ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
|
2966741
|
+
[1m[36mHubstats::User Load (0.2ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1[0m
|
2966742
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2966743
|
+
[1m[36mHubstats::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1[0m
|
2966744
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2966745
|
+
[1m[36mHubstats::PullRequest Load (0.2ms)[0m [1mSELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 8 LIMIT 1[0m
|
2966746
|
+
[1m[35mHubstats::Comment Load (0.1ms)[0m SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 46479740 LIMIT 1
|
2966747
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2966748
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('SHOW UP!!!\r\n\r\nGET /repos/:owner/:repo/comments repo\r\n\r\nGET /repos/:owner/:repo/pulls/:number/comments comments from pull_request with line\r\n\r\nGET /repos/:owner/:repo/pulls/comments gets comment from entire repo use direct = desc\r\n\r\nGET /repos/:owner/:repo/issues/:number/comments comments from pull_request\r\n', NULL, '2014-06-18 19:08:29', NULL, 'https://github.com/sportngin/hubstats/issues/8#issuecomment-46479740', 46479740, 'Issue', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 20231003, '2014-06-20 15:57:10', 'https://api.github.com/repos/sportngin/hubstats/issues/comments/46479740', 2453875)
|
2966749
|
+
[1m[36m (0.6ms)[0m [1mCOMMIT[0m
|
2966750
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2966751
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2966752
|
+
[1m[35mHubstats::Repo Load (0.2ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
|
2966753
|
+
[1m[36mHubstats::User Load (0.2ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1[0m
|
2966754
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2966755
|
+
[1m[36mHubstats::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1[0m
|
2966756
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2966757
|
+
[1m[36mHubstats::PullRequest Load (0.2ms)[0m [1mSELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 7 LIMIT 1[0m
|
2966758
|
+
[1m[35mHubstats::Comment Load (0.1ms)[0m SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 46494062 LIMIT 1
|
2966759
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2966760
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('You should prefix your cookies with `hubstats_` to make sure you don\'t conflict with application cookies (since this is an engine).', NULL, '2014-06-18 21:05:43', NULL, 'https://github.com/sportngin/hubstats/pull/7#issuecomment-46494062', 46494062, 'Issue', NULL, NULL, NULL, NULL, NULL, 17306127, NULL, 20231003, '2014-06-18 21:05:43', 'https://api.github.com/repos/sportngin/hubstats/issues/comments/46494062', 174227)
|
2966761
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2966762
|
+
[1m[35m (0.0ms)[0m BEGIN
|
2966763
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2966764
|
+
[1m[35mHubstats::Repo Load (0.2ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
|
2966765
|
+
[1m[36mHubstats::User Load (0.2ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1[0m
|
2966766
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2966767
|
+
[1m[36mHubstats::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1[0m
|
2966768
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2966769
|
+
[1m[36mHubstats::PullRequest Load (0.3ms)[0m [1mSELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 9 LIMIT 1[0m
|
2966770
|
+
[1m[35mHubstats::Comment Load (0.2ms)[0m SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 46564750 LIMIT 1
|
2966771
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2966772
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('@ehlertij check this out?', NULL, '2014-06-19 14:10:47', NULL, 'https://github.com/sportngin/hubstats/pull/9#issuecomment-46564750', 46564750, 'Issue', NULL, NULL, NULL, NULL, NULL, 17313123, NULL, 20231003, '2014-06-19 14:10:47', 'https://api.github.com/repos/sportngin/hubstats/issues/comments/46564750', 2453875)
|
2966773
|
+
[1m[36m (0.5ms)[0m [1mCOMMIT[0m
|
2966774
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2966775
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2966776
|
+
[1m[35mHubstats::Repo Load (0.2ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
|
2966777
|
+
[1m[36mHubstats::User Load (0.2ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1[0m
|
2966778
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2966779
|
+
[1m[36mHubstats::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1[0m
|
2966780
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2966781
|
+
[1m[36mHubstats::PullRequest Load (0.3ms)[0m [1mSELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 7 LIMIT 1[0m
|
2966782
|
+
[1m[35mHubstats::Comment Load (0.2ms)[0m SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 46581039 LIMIT 1
|
2966783
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2966784
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('@anfleene ?', NULL, '2014-06-19 16:08:18', NULL, 'https://github.com/sportngin/hubstats/pull/7#issuecomment-46581039', 46581039, 'Issue', NULL, NULL, NULL, NULL, NULL, 17306127, NULL, 20231003, '2014-06-19 16:08:18', 'https://api.github.com/repos/sportngin/hubstats/issues/comments/46581039', 2453875)
|
2966785
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2966786
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2966787
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2966788
|
+
[1m[35mHubstats::Repo Load (0.2ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
|
2966789
|
+
[1m[36mHubstats::User Load (0.2ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 47750 LIMIT 1[0m
|
2966790
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2966791
|
+
[1m[36mHubstats::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 47750 AND `hubstats_users`.`id` != 47750) LIMIT 1[0m
|
2966792
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2966793
|
+
[1m[36mHubstats::PullRequest Load (0.2ms)[0m [1mSELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 7 LIMIT 1[0m
|
2966794
|
+
[1m[35mHubstats::Comment Load (0.2ms)[0m SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 46582885 LIMIT 1
|
2966795
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2966796
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('For the most part this looks good. Just need a few markup changes to make tables more tabley.', NULL, '2014-06-19 16:22:54', NULL, 'https://github.com/sportngin/hubstats/pull/7#issuecomment-46582885', 46582885, 'Issue', NULL, NULL, NULL, NULL, NULL, 17306127, NULL, 20231003, '2014-06-19 16:22:54', 'https://api.github.com/repos/sportngin/hubstats/issues/comments/46582885', 47750)
|
2966797
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2966798
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2966799
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2966800
|
+
[1m[35mHubstats::Repo Load (0.2ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
|
2966801
|
+
[1m[36mHubstats::User Load (0.1ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 47750 LIMIT 1[0m
|
2966802
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2966803
|
+
[1m[36mHubstats::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 47750 AND `hubstats_users`.`id` != 47750) LIMIT 1[0m
|
2966804
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2966805
|
+
[1m[36mHubstats::PullRequest Load (0.2ms)[0m [1mSELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 7 LIMIT 1[0m
|
2966806
|
+
[1m[35mHubstats::Comment Load (0.2ms)[0m SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 46588341 LIMIT 1
|
2966807
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2966808
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('Changes look good :sheep: :it: ', NULL, '2014-06-19 17:06:28', NULL, 'https://github.com/sportngin/hubstats/pull/7#issuecomment-46588341', 46588341, 'Issue', NULL, NULL, NULL, NULL, NULL, 17306127, NULL, 20231003, '2014-06-19 17:06:28', 'https://api.github.com/repos/sportngin/hubstats/issues/comments/46588341', 47750)
|
2966809
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2966810
|
+
[1m[35m (0.0ms)[0m BEGIN
|
2966811
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
2966812
|
+
[1m[35mHubstats::Repo Load (0.2ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
|
2966813
|
+
[1m[36mHubstats::User Load (0.1ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1[0m
|
2966814
|
+
[1m[35m (0.0ms)[0m BEGIN
|
2966815
|
+
[1m[36mHubstats::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1[0m
|
2966816
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2966817
|
+
[1m[36mHubstats::PullRequest Load (0.2ms)[0m [1mSELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 9 LIMIT 1[0m
|
2966818
|
+
[1m[35mHubstats::Comment Load (0.1ms)[0m SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 46596642 LIMIT 1
|
2966819
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2966820
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('Changes look good to me :+1: ', NULL, '2014-06-19 18:13:55', NULL, 'https://github.com/sportngin/hubstats/pull/9#issuecomment-46596642', 46596642, 'Issue', NULL, NULL, NULL, NULL, NULL, 17313123, NULL, 20231003, '2014-06-19 18:13:55', 'https://api.github.com/repos/sportngin/hubstats/issues/comments/46596642', 174227)
|
2966821
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2966822
|
+
[1m[35m (0.0ms)[0m BEGIN
|
2966823
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2966824
|
+
[1m[35mHubstats::Repo Load (0.2ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
|
2966825
|
+
[1m[36mHubstats::User Load (0.1ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1[0m
|
2966826
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2966827
|
+
[1m[36mHubstats::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1[0m
|
2966828
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2966829
|
+
[1m[36mHubstats::PullRequest Load (0.2ms)[0m [1mSELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 10 LIMIT 1[0m
|
2966830
|
+
[1m[35mHubstats::Comment Load (0.1ms)[0m SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 46682903 LIMIT 1
|
2966831
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2966832
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('@ehlertij take a look please?', NULL, '2014-06-20 14:19:08', NULL, 'https://github.com/sportngin/hubstats/pull/10#issuecomment-46682903', 46682903, 'Issue', NULL, NULL, NULL, NULL, NULL, 17407567, NULL, 20231003, '2014-06-20 14:19:08', 'https://api.github.com/repos/sportngin/hubstats/issues/comments/46682903', 2453875)
|
2966833
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2966834
|
+
[1m[35m (0.0ms)[0m BEGIN
|
2966835
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2966836
|
+
[1m[35mHubstats::Repo Load (0.2ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
|
2966837
|
+
[1m[36mHubstats::User Load (0.1ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1[0m
|
2966838
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2966839
|
+
[1m[36mHubstats::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1[0m
|
2966840
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2966841
|
+
[1m[36mHubstats::PullRequest Load (0.2ms)[0m [1mSELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 10 LIMIT 1[0m
|
2966842
|
+
[1m[35mHubstats::Comment Load (0.2ms)[0m SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 46686756 LIMIT 1
|
2966843
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2966844
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('I think this is a good start. Remember to remove any code that is just for testing when you\'re done working on this.', NULL, '2014-06-20 14:49:58', NULL, 'https://github.com/sportngin/hubstats/pull/10#issuecomment-46686756', 46686756, 'Issue', NULL, NULL, NULL, NULL, NULL, 17407567, NULL, 20231003, '2014-06-20 14:49:58', 'https://api.github.com/repos/sportngin/hubstats/issues/comments/46686756', 174227)
|
2966845
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2966846
|
+
[1m[35m (0.0ms)[0m BEGIN
|
2966847
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2966848
|
+
[1m[35mHubstats::Repo Load (0.2ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
|
2966849
|
+
[1m[36mHubstats::User Load (0.1ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1[0m
|
2966850
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2966851
|
+
[1m[36mHubstats::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1[0m
|
2966852
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2966853
|
+
[1m[36mHubstats::PullRequest Load (0.2ms)[0m [1mSELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 11 LIMIT 1[0m
|
2966854
|
+
[1m[35mHubstats::Comment Load (0.2ms)[0m SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 46699010 LIMIT 1
|
2966855
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2966856
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('@ehlertij this probably would\'ve have made sense to include in the last one.... at least its small', NULL, '2014-06-20 16:33:24', NULL, 'https://github.com/sportngin/hubstats/pull/11#issuecomment-46699010', 46699010, 'Issue', NULL, NULL, NULL, NULL, NULL, 17414868, NULL, 20231003, '2014-06-20 16:33:24', 'https://api.github.com/repos/sportngin/hubstats/issues/comments/46699010', 2453875)
|
2966857
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2966858
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2966859
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2966860
|
+
[1m[35mHubstats::Repo Load (0.2ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
|
2966861
|
+
[1m[36mHubstats::User Load (0.1ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1[0m
|
2966862
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2966863
|
+
[1m[36mHubstats::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1[0m
|
2966864
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2966865
|
+
[1m[36mHubstats::PullRequest Load (0.5ms)[0m [1mSELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 11 LIMIT 1[0m
|
2966866
|
+
[1m[35mHubstats::Comment Load (0.2ms)[0m SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 46707633 LIMIT 1
|
2966867
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2966868
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('i\'ll switch it back, sure...', NULL, '2014-06-20 17:57:20', NULL, 'https://github.com/sportngin/hubstats/pull/11#issuecomment-46707633', 46707633, 'Issue', NULL, NULL, NULL, NULL, NULL, 17414868, NULL, 20231003, '2014-06-20 18:00:07', 'https://api.github.com/repos/sportngin/hubstats/issues/comments/46707633', 2453875)
|
2966869
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2966870
|
+
[1m[35m (0.0ms)[0m BEGIN
|
2966871
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2966872
|
+
[1m[35mHubstats::Repo Load (0.2ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
|
2966873
|
+
[1m[36mHubstats::User Load (0.1ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1[0m
|
2966874
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2966875
|
+
[1m[36mHubstats::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1[0m
|
2966876
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2966877
|
+
[1m[36mHubstats::PullRequest Load (0.2ms)[0m [1mSELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 11 LIMIT 1[0m
|
2966878
|
+
[1m[35mHubstats::Comment Load (0.1ms)[0m SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 46708026 LIMIT 1
|
2966879
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2966880
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('test.', NULL, '2014-06-20 18:00:48', NULL, 'https://github.com/sportngin/hubstats/pull/11#issuecomment-46708026', 46708026, 'Issue', NULL, NULL, NULL, NULL, NULL, 17414868, NULL, 20231003, '2014-06-20 18:00:48', 'https://api.github.com/repos/sportngin/hubstats/issues/comments/46708026', 2453875)
|
2966881
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2966882
|
+
[1m[35m (0.0ms)[0m BEGIN
|
2966883
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
2966884
|
+
[1m[35mHubstats::Repo Load (0.2ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
|
2966885
|
+
[1m[36mHubstats::User Load (0.1ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1[0m
|
2966886
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2966887
|
+
[1m[36mHubstats::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1[0m
|
2966888
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2966889
|
+
[1m[36mHubstats::PullRequest Load (0.2ms)[0m [1mSELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 10 LIMIT 1[0m
|
2966890
|
+
[1m[35mHubstats::Comment Load (0.2ms)[0m SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 46712309 LIMIT 1
|
2966891
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2966892
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('this better work!', NULL, '2014-06-20 18:39:41', NULL, 'https://github.com/sportngin/hubstats/pull/10#issuecomment-46712309', 46712309, 'Issue', NULL, NULL, NULL, NULL, NULL, 17407567, NULL, 20231003, '2014-06-20 18:39:41', 'https://api.github.com/repos/sportngin/hubstats/issues/comments/46712309', 2453875)
|
2966893
|
+
[1m[36m (0.6ms)[0m [1mCOMMIT[0m
|
2966894
|
+
[1m[35m (0.0ms)[0m BEGIN
|
2966895
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2966896
|
+
[1m[35mHubstats::Repo Load (0.2ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
|
2966897
|
+
[1m[36mHubstats::User Load (0.1ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1[0m
|
2966898
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2966899
|
+
[1m[36mHubstats::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1[0m
|
2966900
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2966901
|
+
[1m[36mHubstats::PullRequest Load (0.2ms)[0m [1mSELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 10 LIMIT 1[0m
|
2966902
|
+
[1m[35mHubstats::Comment Load (0.2ms)[0m SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 46712465 LIMIT 1
|
2966903
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2966904
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('this one has to work.', NULL, '2014-06-20 18:40:59', NULL, 'https://github.com/sportngin/hubstats/pull/10#issuecomment-46712465', 46712465, 'Issue', NULL, NULL, NULL, NULL, NULL, 17407567, NULL, 20231003, '2014-06-20 18:40:59', 'https://api.github.com/repos/sportngin/hubstats/issues/comments/46712465', 2453875)
|
2966905
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2966906
|
+
[1m[35m (0.0ms)[0m BEGIN
|
2966907
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
2966908
|
+
[1m[35mHubstats::Repo Load (0.2ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
|
2966909
|
+
[1m[36mHubstats::User Load (0.1ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1[0m
|
2966910
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2966911
|
+
[1m[36mHubstats::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1[0m
|
2966912
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2966913
|
+
[1m[36mHubstats::PullRequest Load (0.2ms)[0m [1mSELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 11 LIMIT 1[0m
|
2966914
|
+
[1m[35mHubstats::Comment Load (0.2ms)[0m SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 46715675 LIMIT 1
|
2966915
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2966916
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('test1', NULL, '2014-06-20 19:10:36', NULL, 'https://github.com/sportngin/hubstats/pull/11#issuecomment-46715675', 46715675, 'Issue', NULL, NULL, NULL, NULL, NULL, 17414868, NULL, 20231003, '2014-06-20 19:10:36', 'https://api.github.com/repos/sportngin/hubstats/issues/comments/46715675', 2453875)
|
2966917
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2966918
|
+
[1m[35m (0.0ms)[0m BEGIN
|
2966919
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2966920
|
+
[1m[35mHubstats::Repo Load (0.2ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
|
2966921
|
+
[1m[36mHubstats::User Load (0.2ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1[0m
|
2966922
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2966923
|
+
[1m[36mHubstats::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1[0m
|
2966924
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2966925
|
+
[1m[36mHubstats::PullRequest Load (0.2ms)[0m [1mSELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 11 LIMIT 1[0m
|
2966926
|
+
[1m[35mHubstats::Comment Load (0.1ms)[0m SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 46715783 LIMIT 1
|
2966927
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
2966928
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('test2', NULL, '2014-06-20 19:11:44', NULL, 'https://github.com/sportngin/hubstats/pull/11#issuecomment-46715783', 46715783, 'Issue', NULL, NULL, NULL, NULL, NULL, 17414868, NULL, 20231003, '2014-06-20 19:11:44', 'https://api.github.com/repos/sportngin/hubstats/issues/comments/46715783', 2453875)
|
2966929
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2966930
|
+
[1m[35m (0.0ms)[0m BEGIN
|
2966931
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2966932
|
+
[1m[35mHubstats::Repo Load (0.2ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
|
2966933
|
+
[1m[36mHubstats::User Load (0.2ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1[0m
|
2966934
|
+
[1m[35m (0.0ms)[0m BEGIN
|
2966935
|
+
[1m[36mHubstats::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1[0m
|
2966936
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2966937
|
+
[1m[36mHubstats::PullRequest Load (0.2ms)[0m [1mSELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 8 LIMIT 1[0m
|
2966938
|
+
[1m[35mHubstats::Comment Load (0.2ms)[0m SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 46716648 LIMIT 1
|
2966939
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2966940
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('test5', NULL, '2014-06-20 19:20:32', NULL, 'https://github.com/sportngin/hubstats/issues/8#issuecomment-46716648', 46716648, 'Issue', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 20231003, '2014-06-20 19:20:32', 'https://api.github.com/repos/sportngin/hubstats/issues/comments/46716648', 2453875)
|
2966941
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2966942
|
+
[1m[35m (0.0ms)[0m BEGIN
|
2966943
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2966944
|
+
[1m[35mHubstats::Repo Load (0.2ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
|
2966945
|
+
[1m[36mHubstats::User Load (0.2ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1[0m
|
2966946
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2966947
|
+
[1m[36mHubstats::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1[0m
|
2966948
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2966949
|
+
[1m[36mHubstats::PullRequest Load (0.2ms)[0m [1mSELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 8 LIMIT 1[0m
|
2966950
|
+
[1m[35mHubstats::Comment Load (0.1ms)[0m SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 46716716 LIMIT 1
|
2966951
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
2966952
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('test6', NULL, '2014-06-20 19:21:14', NULL, 'https://github.com/sportngin/hubstats/issues/8#issuecomment-46716716', 46716716, 'Issue', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 20231003, '2014-06-20 19:21:14', 'https://api.github.com/repos/sportngin/hubstats/issues/comments/46716716', 2453875)
|
2966953
|
+
[1m[36m (0.7ms)[0m [1mCOMMIT[0m
|
2966954
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2966955
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2966956
|
+
[1m[35mHubstats::Repo Load (0.2ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
|
2966957
|
+
[1m[36mHubstats::User Load (0.1ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1[0m
|
2966958
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2966959
|
+
[1m[36mHubstats::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1[0m
|
2966960
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2966961
|
+
[1m[36mHubstats::PullRequest Load (0.2ms)[0m [1mSELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 8 LIMIT 1[0m
|
2966962
|
+
[1m[35mHubstats::Comment Load (0.1ms)[0m SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 46716821 LIMIT 1
|
2966963
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2966964
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('test 7', NULL, '2014-06-20 19:22:26', NULL, 'https://github.com/sportngin/hubstats/issues/8#issuecomment-46716821', 46716821, 'Issue', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 20231003, '2014-06-20 19:22:26', 'https://api.github.com/repos/sportngin/hubstats/issues/comments/46716821', 2453875)
|
2966965
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2966966
|
+
[1m[35m (0.0ms)[0m BEGIN
|
2966967
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
2966968
|
+
[1m[35mHubstats::Repo Load (0.2ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
|
2966969
|
+
[1m[36mHubstats::User Load (0.1ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1[0m
|
2966970
|
+
[1m[35m (0.0ms)[0m BEGIN
|
2966971
|
+
[1m[36mHubstats::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1[0m
|
2966972
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2966973
|
+
[1m[36mHubstats::PullRequest Load (0.2ms)[0m [1mSELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 10 LIMIT 1[0m
|
2966974
|
+
[1m[35mHubstats::Comment Load (0.2ms)[0m SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 46717044 LIMIT 1
|
2966975
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2966976
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('Testing, One Two Three!!!!', NULL, '2014-06-20 19:24:24', NULL, 'https://github.com/sportngin/hubstats/pull/10#issuecomment-46717044', 46717044, 'Issue', NULL, NULL, NULL, NULL, NULL, 17407567, NULL, 20231003, '2014-06-20 19:24:24', 'https://api.github.com/repos/sportngin/hubstats/issues/comments/46717044', 2453875)
|
2966977
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2966978
|
+
[1m[35m (0.0ms)[0m BEGIN
|
2966979
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
2966980
|
+
[1m[35mHubstats::Repo Load (0.2ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
|
2966981
|
+
[1m[36mHubstats::User Load (0.2ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1[0m
|
2966982
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2966983
|
+
[1m[36mHubstats::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1[0m
|
2966984
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2966985
|
+
[1m[36mHubstats::PullRequest Load (0.2ms)[0m [1mSELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 12 LIMIT 1[0m
|
2966986
|
+
[1m[35mHubstats::Comment Load (0.1ms)[0m SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 46718705 LIMIT 1
|
2966987
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
2966988
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('@ehlertij much changes, review please?', NULL, '2014-06-20 19:43:10', NULL, 'https://github.com/sportngin/hubstats/pull/12#issuecomment-46718705', 46718705, 'Issue', NULL, NULL, NULL, NULL, NULL, 17423995, NULL, 20231003, '2014-06-20 19:43:10', 'https://api.github.com/repos/sportngin/hubstats/issues/comments/46718705', 2453875)
|
2966989
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2966990
|
+
[1m[35m (0.0ms)[0m BEGIN
|
2966991
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2966992
|
+
[1m[35mHubstats::Repo Load (0.2ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
|
2966993
|
+
[1m[36mHubstats::User Load (0.2ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1[0m
|
2966994
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2966995
|
+
[1m[36mHubstats::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1[0m
|
2966996
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2966997
|
+
[1m[36mHubstats::PullRequest Load (0.2ms)[0m [1mSELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 10 LIMIT 1[0m
|
2966998
|
+
[1m[35mHubstats::Comment Load (0.1ms)[0m SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 46719809 LIMIT 1
|
2966999
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2967000
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('Thing', NULL, '2014-06-20 19:55:15', NULL, 'https://github.com/sportngin/hubstats/pull/10#issuecomment-46719809', 46719809, 'Issue', NULL, NULL, NULL, NULL, NULL, 17407567, NULL, 20231003, '2014-06-20 19:55:15', 'https://api.github.com/repos/sportngin/hubstats/issues/comments/46719809', 174227)
|
2967001
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2967002
|
+
[1m[35m (0.0ms)[0m BEGIN
|
2967003
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2967004
|
+
[1m[35mHubstats::Repo Load (0.2ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
|
2967005
|
+
[1m[36mHubstats::User Load (0.1ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1[0m
|
2967006
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2967007
|
+
[1m[36mHubstats::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1[0m
|
2967008
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2967009
|
+
[1m[36mHubstats::PullRequest Load (0.2ms)[0m [1mSELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 10 LIMIT 1[0m
|
2967010
|
+
[1m[35mHubstats::Comment Load (0.1ms)[0m SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 46720097 LIMIT 1
|
2967011
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2967012
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('fingers crossed>', NULL, '2014-06-20 19:58:22', NULL, 'https://github.com/sportngin/hubstats/pull/10#issuecomment-46720097', 46720097, 'Issue', NULL, NULL, NULL, NULL, NULL, 17407567, NULL, 20231003, '2014-06-20 19:58:22', 'https://api.github.com/repos/sportngin/hubstats/issues/comments/46720097', 2453875)
|
2967013
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2967014
|
+
[1m[35m (0.0ms)[0m BEGIN
|
2967015
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2967016
|
+
[1m[35mHubstats::Repo Load (0.2ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
|
2967017
|
+
[1m[36mHubstats::User Load (0.1ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1[0m
|
2967018
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2967019
|
+
[1m[36mHubstats::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1[0m
|
2967020
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2967021
|
+
[1m[36mHubstats::PullRequest Load (0.2ms)[0m [1mSELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 11 LIMIT 1[0m
|
2967022
|
+
[1m[35mHubstats::Comment Load (0.1ms)[0m SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 46720427 LIMIT 1
|
2967023
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
2967024
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES (':shipit: ', NULL, '2014-06-20 20:01:22', NULL, 'https://github.com/sportngin/hubstats/pull/11#issuecomment-46720427', 46720427, 'Issue', NULL, NULL, NULL, NULL, NULL, 17414868, NULL, 20231003, '2014-06-20 20:01:22', 'https://api.github.com/repos/sportngin/hubstats/issues/comments/46720427', 174227)
|
2967025
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2967026
|
+
[1m[35m (0.0ms)[0m BEGIN
|
2967027
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
2967028
|
+
[1m[35mHubstats::Repo Load (0.2ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
|
2967029
|
+
[1m[36mHubstats::User Load (0.2ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1[0m
|
2967030
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2967031
|
+
[1m[36mHubstats::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1[0m
|
2967032
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2967033
|
+
[1m[36mHubstats::PullRequest Load (0.3ms)[0m [1mSELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 12 LIMIT 1[0m
|
2967034
|
+
[1m[35mHubstats::Comment Load (0.2ms)[0m SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 46724873 LIMIT 1
|
2967035
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2967036
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES (':+1: ', NULL, '2014-06-20 20:48:07', NULL, 'https://github.com/sportngin/hubstats/pull/12#issuecomment-46724873', 46724873, 'Issue', NULL, NULL, NULL, NULL, NULL, 17423995, NULL, 20231003, '2014-06-20 20:48:07', 'https://api.github.com/repos/sportngin/hubstats/issues/comments/46724873', 174227)
|
2967037
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2967038
|
+
[1m[35m (0.0ms)[0m BEGIN
|
2967039
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2967040
|
+
[1m[35mHubstats::Repo Load (0.2ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
|
2967041
|
+
[1m[36mHubstats::User Load (0.1ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1[0m
|
2967042
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2967043
|
+
[1m[36mHubstats::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1[0m
|
2967044
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2967045
|
+
[1m[36mHubstats::PullRequest Load (0.2ms)[0m [1mSELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 12 LIMIT 1[0m
|
2967046
|
+
[1m[35mHubstats::Comment Load (0.1ms)[0m SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 46733625 LIMIT 1
|
2967047
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2967048
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('Hello World', NULL, '2014-06-20 22:33:18', NULL, 'https://github.com/sportngin/hubstats/pull/12#issuecomment-46733625', 46733625, 'Issue', NULL, NULL, NULL, NULL, NULL, 17423995, NULL, 20231003, '2014-06-20 22:33:18', 'https://api.github.com/repos/sportngin/hubstats/issues/comments/46733625', 2453875)
|
2967049
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2967050
|
+
[1m[35m (0.0ms)[0m BEGIN
|
2967051
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2967052
|
+
[1m[35mHubstats::Repo Load (0.2ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
|
2967053
|
+
[1m[36mHubstats::User Load (0.3ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1[0m
|
2967054
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2967055
|
+
[1m[36mHubstats::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1[0m
|
2967056
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2967057
|
+
[1m[36mHubstats::PullRequest Load (0.3ms)[0m [1mSELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 13 LIMIT 1[0m
|
2967058
|
+
[1m[35mHubstats::Comment Load (0.2ms)[0m SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 46860648 LIMIT 1
|
2967059
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2967060
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('@ehlertij ?', NULL, '2014-06-23 15:30:15', NULL, 'https://github.com/sportngin/hubstats/pull/13#issuecomment-46860648', 46860648, 'Issue', NULL, NULL, NULL, NULL, NULL, 17479705, NULL, 20231003, '2014-06-23 15:30:15', 'https://api.github.com/repos/sportngin/hubstats/issues/comments/46860648', 2453875)
|
2967061
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2967062
|
+
[1m[35m (0.0ms)[0m BEGIN
|
2967063
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2967064
|
+
[1m[35mHubstats::Repo Load (0.2ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
|
2967065
|
+
[1m[36mHubstats::User Load (0.1ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1[0m
|
2967066
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2967067
|
+
[1m[36mHubstats::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1[0m
|
2967068
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2967069
|
+
[1m[36mHubstats::PullRequest Load (0.2ms)[0m [1mSELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 13 LIMIT 1[0m
|
2967070
|
+
[1m[35mHubstats::Comment Load (0.2ms)[0m SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 46906519 LIMIT 1
|
2967071
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2967072
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES (':sheep: :it: ', NULL, '2014-06-23 21:46:03', NULL, 'https://github.com/sportngin/hubstats/pull/13#issuecomment-46906519', 46906519, 'Issue', NULL, NULL, NULL, NULL, NULL, 17479705, NULL, 20231003, '2014-06-23 21:46:03', 'https://api.github.com/repos/sportngin/hubstats/issues/comments/46906519', 174227)
|
2967073
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2967074
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2967075
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2967076
|
+
[1m[35mHubstats::Repo Load (0.2ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
|
2967077
|
+
[1m[36mHubstats::User Load (0.1ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1[0m
|
2967078
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2967079
|
+
[1m[36mHubstats::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1[0m
|
2967080
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2967081
|
+
[1m[36mHubstats::PullRequest Load (0.2ms)[0m [1mSELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 14 LIMIT 1[0m
|
2967082
|
+
[1m[35mHubstats::Comment Load (0.1ms)[0m SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 46981805 LIMIT 1
|
2967083
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2967084
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('@ehlertij ', NULL, '2014-06-24 14:56:37', NULL, 'https://github.com/sportngin/hubstats/pull/14#issuecomment-46981805', 46981805, 'Issue', NULL, NULL, NULL, NULL, NULL, 17536385, NULL, 20231003, '2014-06-24 14:56:37', 'https://api.github.com/repos/sportngin/hubstats/issues/comments/46981805', 2453875)
|
2967085
|
+
[1m[36m (0.5ms)[0m [1mCOMMIT[0m
|
2967086
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2967087
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2967088
|
+
[1m[35mHubstats::Repo Load (0.2ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
|
2967089
|
+
[1m[36mHubstats::User Load (0.2ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1[0m
|
2967090
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2967091
|
+
[1m[36mHubstats::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1[0m
|
2967092
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2967093
|
+
[1m[36mHubstats::PullRequest Load (0.3ms)[0m [1mSELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 14 LIMIT 1[0m
|
2967094
|
+
[1m[35mHubstats::Comment Load (0.2ms)[0m SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 46986193 LIMIT 1
|
2967095
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2967096
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES (':+1: ', NULL, '2014-06-24 15:25:19', NULL, 'https://github.com/sportngin/hubstats/pull/14#issuecomment-46986193', 46986193, 'Issue', NULL, NULL, NULL, NULL, NULL, 17536385, NULL, 20231003, '2014-06-24 15:25:19', 'https://api.github.com/repos/sportngin/hubstats/issues/comments/46986193', 174227)
|
2967097
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2967098
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2967099
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2967100
|
+
[1m[35mHubstats::Repo Load (0.2ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
|
2967101
|
+
[1m[36mHubstats::User Load (0.1ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1[0m
|
2967102
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2967103
|
+
[1m[36mHubstats::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1[0m
|
2967104
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2967105
|
+
[1m[36mHubstats::PullRequest Load (0.2ms)[0m [1mSELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 15 LIMIT 1[0m
|
2967106
|
+
[1m[35mHubstats::Comment Load (0.1ms)[0m SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 47555924 LIMIT 1
|
2967107
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
2967108
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('@ehlertij ', NULL, '2014-06-30 16:50:39', NULL, 'https://github.com/sportngin/hubstats/pull/15#issuecomment-47555924', 47555924, 'Issue', NULL, NULL, NULL, NULL, NULL, 17784161, NULL, 20231003, '2014-06-30 16:50:39', 'https://api.github.com/repos/sportngin/hubstats/issues/comments/47555924', 2453875)
|
2967109
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2967110
|
+
[1m[35m (0.0ms)[0m BEGIN
|
2967111
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2967112
|
+
[1m[35mHubstats::Repo Load (0.2ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
|
2967113
|
+
[1m[36mHubstats::User Load (0.2ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1[0m
|
2967114
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2967115
|
+
[1m[36mHubstats::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1[0m
|
2967116
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2967117
|
+
[1m[36mHubstats::PullRequest Load (0.2ms)[0m [1mSELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 15 LIMIT 1[0m
|
2967118
|
+
[1m[35mHubstats::Comment Load (0.2ms)[0m SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 47573040 LIMIT 1
|
2967119
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2967120
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('Much fast! So speed! :shipit: ', NULL, '2014-06-30 19:08:54', NULL, 'https://github.com/sportngin/hubstats/pull/15#issuecomment-47573040', 47573040, 'Issue', NULL, NULL, NULL, NULL, NULL, 17784161, NULL, 20231003, '2014-06-30 19:08:54', 'https://api.github.com/repos/sportngin/hubstats/issues/comments/47573040', 174227)
|
2967121
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2967122
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2967123
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2967124
|
+
[1m[35mHubstats::Repo Load (0.2ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
|
2967125
|
+
[1m[36mHubstats::User Load (0.1ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1[0m
|
2967126
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2967127
|
+
[1m[36mHubstats::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1[0m
|
2967128
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2967129
|
+
[1m[36mHubstats::PullRequest Load (0.2ms)[0m [1mSELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 16 LIMIT 1[0m
|
2967130
|
+
[1m[35mHubstats::Comment Load (0.1ms)[0m SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 47673831 LIMIT 1
|
2967131
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2967132
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('@ehlertij if you get a chance?', NULL, '2014-07-01 15:52:10', NULL, 'https://github.com/sportngin/hubstats/pull/16#issuecomment-47673831', 47673831, 'Issue', NULL, NULL, NULL, NULL, NULL, 17837873, NULL, 20231003, '2014-07-01 15:52:10', 'https://api.github.com/repos/sportngin/hubstats/issues/comments/47673831', 2453875)
|
2967133
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2967134
|
+
[1m[35m (0.0ms)[0m BEGIN
|
2967135
|
+
[1m[36m (0.0ms)[0m [1mCOMMIT[0m
|
2967136
|
+
[1m[35mHubstats::Repo Load (0.2ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
|
2967137
|
+
[1m[36mHubstats::User Load (0.2ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1[0m
|
2967138
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2967139
|
+
[1m[36mHubstats::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1[0m
|
2967140
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2967141
|
+
[1m[36mHubstats::PullRequest Load (0.2ms)[0m [1mSELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 17 LIMIT 1[0m
|
2967142
|
+
[1m[35mHubstats::Comment Load (0.2ms)[0m SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 47698861 LIMIT 1
|
2967143
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2967144
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('@ehlertij', NULL, '2014-07-01 19:23:17', NULL, 'https://github.com/sportngin/hubstats/pull/17#issuecomment-47698861', 47698861, 'Issue', NULL, NULL, NULL, NULL, NULL, 17849812, NULL, 20231003, '2014-07-01 19:23:17', 'https://api.github.com/repos/sportngin/hubstats/issues/comments/47698861', 2453875)
|
2967145
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2967146
|
+
[1m[35m (0.0ms)[0m BEGIN
|
2967147
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2967148
|
+
[1m[35mHubstats::Repo Load (0.2ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
|
2967149
|
+
[1m[36mHubstats::User Load (0.1ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1[0m
|
2967150
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2967151
|
+
[1m[36mHubstats::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1[0m
|
2967152
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2967153
|
+
[1m[36mHubstats::PullRequest Load (0.2ms)[0m [1mSELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 17 LIMIT 1[0m
|
2967154
|
+
[1m[35mHubstats::Comment Load (0.2ms)[0m SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 47701450 LIMIT 1
|
2967155
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
2967156
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('I think you should add a `.to_i` to all of the places you\'re using `round` in the `repos_controller`.', NULL, '2014-07-01 19:46:17', NULL, 'https://github.com/sportngin/hubstats/pull/17#issuecomment-47701450', 47701450, 'Issue', NULL, NULL, NULL, NULL, NULL, 17849812, NULL, 20231003, '2014-07-01 19:46:17', 'https://api.github.com/repos/sportngin/hubstats/issues/comments/47701450', 174227)
|
2967157
|
+
[1m[36m (0.5ms)[0m [1mCOMMIT[0m
|
2967158
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2967159
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2967160
|
+
[1m[35mHubstats::Repo Load (0.3ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
|
2967161
|
+
[1m[36mHubstats::User Load (0.2ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1[0m
|
2967162
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2967163
|
+
[1m[36mHubstats::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1[0m
|
2967164
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2967165
|
+
[1m[36mHubstats::PullRequest Load (0.2ms)[0m [1mSELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`repo_id` = 20231003 AND `hubstats_pull_requests`.`number` = 17 LIMIT 1[0m
|
2967166
|
+
[1m[35mHubstats::Comment Load (0.2ms)[0m SELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 47707526 LIMIT 1
|
2967167
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2967168
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES (':shipit: ', NULL, '2014-07-01 20:43:52', NULL, 'https://github.com/sportngin/hubstats/pull/17#issuecomment-47707526', 47707526, 'Issue', NULL, NULL, NULL, NULL, NULL, 17849812, NULL, 20231003, '2014-07-01 20:43:52', 'https://api.github.com/repos/sportngin/hubstats/issues/comments/47707526', 174227)
|
2967169
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
2967170
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2967171
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2967172
|
+
[1m[35mHubstats::Repo Load (0.4ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
|
2967173
|
+
[1m[36mHubstats::User Load (0.2ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1[0m
|
2967174
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2967175
|
+
[1m[36mHubstats::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1[0m
|
2967176
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2967177
|
+
[1m[36mHubstats::Comment Load (0.2ms)[0m [1mSELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 6524565 LIMIT 1[0m
|
2967178
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2967179
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('You don\'t want to commit this, and you should probably generate a new one now that it\'s in github.', '2190b28738d5e63658efd706543de293f1c2a29a', '2014-06-02 15:38:08', NULL, 'https://github.com/sportngin/hubstats/commit/2190b28738d5e63658efd706543de293f1c2a29a#commitcomment-6524565', 6524565, 'Commit', 1, NULL, NULL, 0, 1, NULL, NULL, 20231003, '2014-06-02 15:38:08', 'https://api.github.com/repos/sportngin/hubstats/comments/6524565', 174227)[0m
|
2967180
|
+
[1m[35m (0.5ms)[0m COMMIT
|
2967181
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2967182
|
+
[1m[35m (0.2ms)[0m UPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:35' WHERE `hubstats_comments`.`id` = 6524565
|
2967183
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2967184
|
+
[1m[35mHubstats::Repo Load (0.2ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
|
2967185
|
+
[1m[36mHubstats::User Load (0.2ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1[0m
|
2967186
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2967187
|
+
[1m[36mHubstats::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1[0m
|
2967188
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2967189
|
+
[1m[36mHubstats::Comment Load (0.1ms)[0m [1mSELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 6524575 LIMIT 1[0m
|
2967190
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2967191
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('This should be using the config file.', '2190b28738d5e63658efd706543de293f1c2a29a', '2014-06-02 15:38:44', NULL, 'https://github.com/sportngin/hubstats/commit/2190b28738d5e63658efd706543de293f1c2a29a#commitcomment-6524575', 6524575, 'Commit', 5, NULL, NULL, 0, 5, NULL, NULL, 20231003, '2014-06-02 15:38:44', 'https://api.github.com/repos/sportngin/hubstats/comments/6524575', 174227)[0m
|
2967192
|
+
[1m[35m (0.4ms)[0m COMMIT
|
2967193
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
2967194
|
+
[1m[35m (0.2ms)[0m UPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:35' WHERE `hubstats_comments`.`id` = 6524575
|
2967195
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2967196
|
+
[1m[35mHubstats::Repo Load (40.6ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
|
2967197
|
+
[1m[36mHubstats::User Load (0.3ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1[0m
|
2967198
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2967199
|
+
[1m[36mHubstats::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1[0m
|
2967200
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2967201
|
+
[1m[36mHubstats::Comment Load (0.1ms)[0m [1mSELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 6524639 LIMIT 1[0m
|
2967202
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2967203
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('You don\'t need to redefine `:client`, `:pull1`, or `:pull2` here. They\'ll be the same as what you defined above since this context is nested inside the `.since` context.', '2190b28738d5e63658efd706543de293f1c2a29a', '2014-06-02 15:42:35', NULL, 'https://github.com/sportngin/hubstats/commit/2190b28738d5e63658efd706543de293f1c2a29a#commitcomment-6524639', 6524639, 'Commit', 38, NULL, NULL, 0, 41, NULL, NULL, 20231003, '2014-06-02 15:42:35', 'https://api.github.com/repos/sportngin/hubstats/comments/6524639', 174227)[0m
|
2967204
|
+
[1m[35m (0.5ms)[0m COMMIT
|
2967205
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2967206
|
+
[1m[35m (0.2ms)[0m UPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:35' WHERE `hubstats_comments`.`id` = 6524639
|
2967207
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2967208
|
+
[1m[35mHubstats::Repo Load (0.2ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
|
2967209
|
+
[1m[36mHubstats::User Load (0.1ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1[0m
|
2967210
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2967211
|
+
[1m[36mHubstats::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1[0m
|
2967212
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2967213
|
+
[1m[36mHubstats::Comment Load (0.2ms)[0m [1mSELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 6524657 LIMIT 1[0m
|
2967214
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2967215
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('You also don\'t need to redefine these `allow` statements for the ones that are already defined above.', '2190b28738d5e63658efd706543de293f1c2a29a', '2014-06-02 15:43:31', NULL, 'https://github.com/sportngin/hubstats/commit/2190b28738d5e63658efd706543de293f1c2a29a#commitcomment-6524657', 6524657, 'Commit', 45, NULL, NULL, 0, 48, NULL, NULL, 20231003, '2014-06-02 15:43:31', 'https://api.github.com/repos/sportngin/hubstats/comments/6524657', 174227)[0m
|
2967216
|
+
[1m[35m (0.7ms)[0m COMMIT
|
2967217
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2967218
|
+
[1m[35m (0.2ms)[0m UPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:35' WHERE `hubstats_comments`.`id` = 6524657
|
2967219
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2967220
|
+
[1m[35mHubstats::Repo Load (0.2ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
|
2967221
|
+
[1m[36mHubstats::User Load (0.2ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1[0m
|
2967222
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2967223
|
+
[1m[36mHubstats::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1[0m
|
2967224
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2967225
|
+
[1m[36mHubstats::Comment Load (0.2ms)[0m [1mSELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 6527711 LIMIT 1[0m
|
2967226
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2967227
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('If no date is passed in here, we should throw an exception and print out a message instead.', '25e59e6c3076a28f80270d4dd7fb224748f3179e', '2014-06-02 19:25:17', NULL, 'https://github.com/sportngin/hubstats/commit/25e59e6c3076a28f80270d4dd7fb224748f3179e#commitcomment-6527711', 6527711, 'Commit', 31, NULL, NULL, 0, 7, NULL, NULL, 20231003, '2014-06-02 19:25:17', 'https://api.github.com/repos/sportngin/hubstats/comments/6527711', 174227)[0m
|
2967228
|
+
[1m[35m (0.4ms)[0m COMMIT
|
2967229
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2967230
|
+
[1m[35m (0.2ms)[0m UPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:35' WHERE `hubstats_comments`.`id` = 6527711
|
2967231
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2967232
|
+
[1m[35mHubstats::Repo Load (0.2ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
|
2967233
|
+
[1m[36mHubstats::User Load (0.2ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 2453875 LIMIT 1[0m
|
2967234
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2967235
|
+
[1m[36mHubstats::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 2453875 AND `hubstats_users`.`id` != 2453875) LIMIT 1[0m
|
2967236
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2967237
|
+
[1m[36mHubstats::Comment Load (0.2ms)[0m [1mSELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 6529152 LIMIT 1[0m
|
2967238
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2967239
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('Yeah, this isn\'t pretty but it works and i\'ve had enough of it for now...', '0a4360418a9ab50d109d327f3e767a190751fe8a', '2014-06-02 21:01:37', NULL, 'https://github.com/sportngin/hubstats/commit/0a4360418a9ab50d109d327f3e767a190751fe8a#commitcomment-6529152', 6529152, 'Commit', 3, NULL, NULL, 0, 2, NULL, NULL, 20231003, '2014-06-02 21:01:37', 'https://api.github.com/repos/sportngin/hubstats/comments/6529152', 2453875)[0m
|
2967240
|
+
[1m[35m (0.4ms)[0m COMMIT
|
2967241
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
2967242
|
+
[1m[35m (0.1ms)[0m UPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:35' WHERE `hubstats_comments`.`id` = 6529152
|
2967243
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2967244
|
+
[1m[35mHubstats::Repo Load (0.2ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/hubstats' LIMIT 1
|
2967245
|
+
[1m[36mHubstats::User Load (0.2ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1[0m
|
2967246
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2967247
|
+
[1m[36mHubstats::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1[0m
|
2967248
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2967249
|
+
[1m[36mHubstats::Comment Load (0.1ms)[0m [1mSELECT `hubstats_comments`.* FROM `hubstats_comments` WHERE `hubstats_comments`.`id` = 6529246 LIMIT 1[0m
|
2967250
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2967251
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO `hubstats_comments` (`body`, `commit_id`, `created_at`, `diff_hunk`, `html_url`, `id`, `kind`, `line`, `original_commit_id`, `original_position`, `path`, `position`, `pull_request_id`, `pull_request_url`, `repo_id`, `updated_at`, `url`, `user_id`) VALUES ('What about something like:\r\n\r\n```ruby\r\ndef self.configure(options={})\r\n if access_token = ENV[\'GITHUB_API_TOKEN\'] || options[\"access_token\"]\r\n @client = Octokit::Client.new(access_token: access_token)\r\n else\r\n @client = Octokit::Client.new(\r\n login: ENV[\'GITHUB_LOGIN\'] || options[\"login\"], \r\n password: ENV[\'GITHUB_PASSWORD\'] || options[\"password\"]\r\n )\r\n end\r\nrescue StandardError\r\n puts \"Invalid GitHub credentials. See README for usage instructions.\"\r\n exit(1)\r\nend\r\n```', '0a4360418a9ab50d109d327f3e767a190751fe8a', '2014-06-02 21:09:55', NULL, 'https://github.com/sportngin/hubstats/commit/0a4360418a9ab50d109d327f3e767a190751fe8a#commitcomment-6529246', 6529246, 'Commit', 3, NULL, NULL, 0, 2, NULL, NULL, 20231003, '2014-06-02 21:09:55', 'https://api.github.com/repos/sportngin/hubstats/comments/6529246', 174227)[0m
|
2967252
|
+
[1m[35m (0.4ms)[0m COMMIT
|
2967253
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
2967254
|
+
[1m[35m (0.1ms)[0m UPDATE `hubstats_comments` SET `path` = 0, `updated_at` = '2014-07-02 14:36:35' WHERE `hubstats_comments`.`id` = 6529246
|
2967255
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2967256
|
+
[1m[35mHubstats::User Load (0.2ms)[0m SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1
|
2967257
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2967258
|
+
[1m[35mHubstats::User Exists (0.1ms)[0m SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1
|
2967259
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2967260
|
+
[1m[35mHubstats::Repo Load (0.2ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 16285416 LIMIT 1
|
2967261
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2967262
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `hubstats_repos` (`clone_url`, `contributors_url`, `created_at`, `default_branch`, `description`, `events_url`, `fork`, `forks_count`, `full_name`, `git_commits_url`, `git_url`, `has_downloads`, `has_issues`, `has_wiki`, `homepage`, `hooks_url`, `html_url`, `id`, `issue_comment_url`, `issue_events_url`, `issues_url`, `labels_url`, `language`, `merges_url`, `mirror_url`, `name`, `open_issues_count`, `owner_id`, `private`, `pulls_url`, `pushed_at`, `size`, `ssh_url`, `stargazers_count`, `svn_url`, `updated_at`, `url`, `watches_count`) VALUES ('https://github.com/sportngin/soyuz.git', 'https://api.github.com/repos/sportngin/soyuz/contributors', '2014-01-27 16:50:50', 'master', 'The old trusty deployment toolkit', 'https://api.github.com/repos/sportngin/soyuz/events', 0, 0, 'sportngin/soyuz', 'https://api.github.com/repos/sportngin/soyuz/git/commits{/sha}', 'git://github.com/sportngin/soyuz.git', 1, 1, 1, NULL, 'https://api.github.com/repos/sportngin/soyuz/hooks', 'https://github.com/sportngin/soyuz', 16285416, 'https://api.github.com/repos/sportngin/soyuz/issues/comments/{number}', 'https://api.github.com/repos/sportngin/soyuz/issues/events{/number}', 'https://api.github.com/repos/sportngin/soyuz/issues{/number}', 'https://api.github.com/repos/sportngin/soyuz/labels{/name}', 'Ruby', 'https://api.github.com/repos/sportngin/soyuz/merges', NULL, 'soyuz', 2, 3728684, 0, 'https://api.github.com/repos/sportngin/soyuz/pulls{/number}', '2014-06-21 17:28:12', 604, 'git@github.com:sportngin/soyuz.git', 0, 'https://github.com/sportngin/soyuz', '2014-06-21 17:28:12', 'https://api.github.com/repos/sportngin/soyuz', NULL)
|
2967263
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2967264
|
+
[1m[35m (0.0ms)[0m BEGIN
|
2967265
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2967266
|
+
[1m[35mHubstats::User Load (0.4ms)[0m SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 47750 LIMIT 1
|
2967267
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2967268
|
+
[1m[35mHubstats::User Exists (0.2ms)[0m SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 47750 AND `hubstats_users`.`id` != 47750) LIMIT 1
|
2967269
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2967270
|
+
[1m[35mHubstats::User Load (0.2ms)[0m SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1
|
2967271
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2967272
|
+
[1m[35mHubstats::User Exists (0.2ms)[0m SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1
|
2967273
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2967274
|
+
[1m[35mHubstats::Repo Load (0.2ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`full_name` = 'sportngin/soyuz' LIMIT 1
|
2967275
|
+
[1m[36mHubstats::User Load (0.4ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 314014 LIMIT 1[0m
|
2967276
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2967277
|
+
[1m[36mHubstats::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 314014 AND `hubstats_users`.`id` != 314014) LIMIT 1[0m
|
2967278
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2967279
|
+
[1m[36mHubstats::User Load (0.2ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1[0m
|
2967280
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2967281
|
+
[1m[36mHubstats::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1[0m
|
2967282
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2967283
|
+
[1m[36mHubstats::Repo Load (0.3ms)[0m [1mSELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 16285416 LIMIT 1[0m
|
2967284
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2967285
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2967286
|
+
[1m[35mHubstats::PullRequest Load (0.2ms)[0m SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 16856386 LIMIT 1
|
2967287
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2967288
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `hubstats_pull_requests` (`additions`, `body`, `changed_files`, `closed_at`, `comments`, `comments_url`, `commits`, `commits_url`, `created_at`, `deletions`, `diff_url`, `html_url`, `id`, `issue_url`, `merge_commit_sha`, `mergeable`, `merged`, `merged_at`, `number`, `patch_url`, `repo_id`, `review_comment_url`, `review_comments_url`, `state`, `statuses_url`, `title`, `updated_at`, `url`, `user_id`) VALUES (NULL, 'Adds a `Soyuz::Support` class that abstracts the `symbolize_keys` method into it\'s own module that can be used throughout the app.\r\n\r\nAlso includes this module in the `Soyuz::CommandChoice` so that the following is possible:\r\n\r\n```yaml\r\ndefaults:\r\n deploy_cmd: \'echo default deploy $SOYUZ_ENVIRONMENT\'\r\n\r\nenvironments:\r\n -\r\n production:\r\n before_deploy_cmds:\r\n - \r\n -\r\n display: \"Run migrations\"\r\n cmd: \"echo run migrations\"\r\n -\r\n display: \"Skip migrations\"\r\n cmd: \"echo skipping migrations\"\r\n after_deploy_cmds:\r\n - \"echo after deploy callback\"\r\n -\r\n staging: {}\r\n```', NULL, NULL, NULL, 'https://api.github.com/repos/sportngin/soyuz/issues/10/comments', NULL, 'https://api.github.com/repos/sportngin/soyuz/pulls/10/commits', '2014-06-07 18:20:42', NULL, 'https://github.com/sportngin/soyuz/pull/10.diff', 'https://github.com/sportngin/soyuz/pull/10', 16856386, 'https://api.github.com/repos/sportngin/soyuz/issues/10', 'c2658d8e23c125575a28cab0c403dc49cfadf3c2', NULL, NULL, NULL, 10, 'https://github.com/sportngin/soyuz/pull/10.patch', 16285416, 'https://api.github.com/repos/sportngin/soyuz/pulls/comments/{number}', 'https://api.github.com/repos/sportngin/soyuz/pulls/10/comments', 'open', 'https://api.github.com/repos/sportngin/soyuz/statuses/2d8876ebec4b9743036430fb392b2e554294181d', 'Soyuz support', '2014-06-21 17:28:12', 'https://api.github.com/repos/sportngin/soyuz/pulls/10', 314014)
|
2967289
|
+
[1m[36m (0.5ms)[0m [1mCOMMIT[0m
|
2967290
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2967291
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2967292
|
+
[1m[35mHubstats::User Load (0.2ms)[0m SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 47750 LIMIT 1
|
2967293
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2967294
|
+
[1m[35mHubstats::User Exists (0.2ms)[0m SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 47750 AND `hubstats_users`.`id` != 47750) LIMIT 1
|
2967295
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2967296
|
+
[1m[35mHubstats::User Load (0.2ms)[0m SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1
|
2967297
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2967298
|
+
[1m[35mHubstats::User Exists (0.2ms)[0m SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1
|
2967299
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2967300
|
+
[1m[35mHubstats::Repo Load (0.2ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 16285416 LIMIT 1
|
2967301
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2967302
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2967303
|
+
[1m[36mHubstats::PullRequest Load (0.2ms)[0m [1mSELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 16563110 LIMIT 1[0m
|
2967304
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2967305
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `hubstats_pull_requests` (`additions`, `body`, `changed_files`, `closed_at`, `comments`, `comments_url`, `commits`, `commits_url`, `created_at`, `deletions`, `diff_url`, `html_url`, `id`, `issue_url`, `merge_commit_sha`, `mergeable`, `merged`, `merged_at`, `number`, `patch_url`, `repo_id`, `review_comment_url`, `review_comments_url`, `state`, `statuses_url`, `title`, `updated_at`, `url`, `user_id`) VALUES (NULL, 'Closes #6 ', NULL, '2014-06-02 18:53:17', NULL, 'https://api.github.com/repos/sportngin/soyuz/issues/9/comments', NULL, 'https://api.github.com/repos/sportngin/soyuz/pulls/9/commits', '2014-05-31 03:01:45', NULL, 'https://github.com/sportngin/soyuz/pull/9.diff', 'https://github.com/sportngin/soyuz/pull/9', 16563110, 'https://api.github.com/repos/sportngin/soyuz/issues/9', '3c8b3df8336f757a60d1044671674034f2bfd7d6', NULL, NULL, '2014-06-02 18:53:17', 9, 'https://github.com/sportngin/soyuz/pull/9.patch', 16285416, 'https://api.github.com/repos/sportngin/soyuz/pulls/comments/{number}', 'https://api.github.com/repos/sportngin/soyuz/pulls/9/comments', 'closed', 'https://api.github.com/repos/sportngin/soyuz/statuses/a58c1d7c7ab0d387107d049a5e20df3e71384b63', 'Switch from commander framework to gli because it\'s more full featured and does more work for you', '2014-06-19 14:17:35', 'https://api.github.com/repos/sportngin/soyuz/pulls/9', 47750)[0m
|
2967306
|
+
[1m[35m (0.4ms)[0m COMMIT
|
2967307
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2967308
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2967309
|
+
[1m[36mHubstats::User Load (0.2ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 47750 LIMIT 1[0m
|
2967310
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2967311
|
+
[1m[36mHubstats::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 47750 AND `hubstats_users`.`id` != 47750) LIMIT 1[0m
|
2967312
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2967313
|
+
[1m[36mHubstats::User Load (0.2ms)[0m [1mSELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1[0m
|
2967314
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2967315
|
+
[1m[36mHubstats::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1[0m
|
2967316
|
+
[1m[35m (0.1ms)[0m COMMIT
|
2967317
|
+
[1m[36mHubstats::Repo Load (0.2ms)[0m [1mSELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 16285416 LIMIT 1[0m
|
2967318
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2967319
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2967320
|
+
[1m[35mHubstats::PullRequest Load (0.2ms)[0m SELECT `hubstats_pull_requests`.* FROM `hubstats_pull_requests` WHERE `hubstats_pull_requests`.`id` = 16562887 LIMIT 1
|
2967321
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2967322
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `hubstats_pull_requests` (`additions`, `body`, `changed_files`, `closed_at`, `comments`, `comments_url`, `commits`, `commits_url`, `created_at`, `deletions`, `diff_url`, `html_url`, `id`, `issue_url`, `merge_commit_sha`, `mergeable`, `merged`, `merged_at`, `number`, `patch_url`, `repo_id`, `review_comment_url`, `review_comments_url`, `state`, `statuses_url`, `title`, `updated_at`, `url`, `user_id`) VALUES (NULL, 'Closes #4 ', NULL, '2014-06-02 13:55:33', NULL, 'https://api.github.com/repos/sportngin/soyuz/issues/8/comments', NULL, 'https://api.github.com/repos/sportngin/soyuz/pulls/8/commits', '2014-05-31 02:33:43', NULL, 'https://github.com/sportngin/soyuz/pull/8.diff', 'https://github.com/sportngin/soyuz/pull/8', 16562887, 'https://api.github.com/repos/sportngin/soyuz/issues/8', '3484f9932beef1e26b8fb69ca17450574dd8b79b', NULL, NULL, '2014-06-02 13:55:33', 8, 'https://github.com/sportngin/soyuz/pull/8.patch', 16285416, 'https://api.github.com/repos/sportngin/soyuz/pulls/comments/{number}', 'https://api.github.com/repos/sportngin/soyuz/pulls/8/comments', 'closed', 'https://api.github.com/repos/sportngin/soyuz/statuses/20c5c36159db85f81f5c84455c6eecaafcac2b02', 'Add psych greater than 2.0.5 as a hard dependency to ensure libyaml 1.6 or higher is used.', '2014-06-19 14:18:02', 'https://api.github.com/repos/sportngin/soyuz/pulls/8', 47750)
|
2967323
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2967324
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2967325
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2967326
|
+
[1m[35mHubstats::User Load (0.2ms)[0m SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 174227 LIMIT 1
|
2967327
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2967328
|
+
[1m[35mHubstats::User Exists (0.1ms)[0m SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 174227 AND `hubstats_users`.`id` != 174227) LIMIT 1
|
2967329
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2967330
|
+
[1m[35mHubstats::User Load (0.2ms)[0m SELECT `hubstats_users`.* FROM `hubstats_users` WHERE `hubstats_users`.`id` = 3728684 LIMIT 1
|
2967331
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2967332
|
+
[1m[35mHubstats::User Exists (0.1ms)[0m SELECT 1 AS one FROM `hubstats_users` WHERE (`hubstats_users`.`id` = BINARY 3728684 AND `hubstats_users`.`id` != 3728684) LIMIT 1
|
2967333
|
+
[1m[36m (0.1ms)[0m [1mCOMMIT[0m
|
2967334
|
+
[1m[35mHubstats::Repo Load (0.2ms)[0m SELECT `hubstats_repos`.* FROM `hubstats_repos` WHERE `hubstats_repos`.`id` = 16285416 LIMIT 1
|
2967335
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2967336
|
+
[1m[35m (0.1ms)[0m COMMIT
|