-
Notifications
You must be signed in to change notification settings - Fork 107
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comment reactions #53
base: master
Are you sure you want to change the base?
Conversation
lib/ghtorrent/ghtorrent.rb
Outdated
) | ||
|
||
info "Added issue_comment #{issue_comment_str}" | ||
db[:issue_comments].first(:issue_id => issue[:id], | ||
:comment_id => comment_id) | ||
else | ||
debug "Issue comment #{issue_comment_str} exists" | ||
if ! (curcomment[:like] == reactions['+1'] or |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i'm having a lot of trouble testing this code block because of the constraint violations mentioned in #52
more changes: WARN, 2017-11-03T15:30:21-04:00, ghtorrent -- full_repo_retriever.rb: Error processing event. Type: PushEvent, ID: 6752855107. /Users/acolello/.rvm/gems/ruby-2.1.10/gems/sequel-4.49.0/lib/sequel/adapters/postgres.rb:166:in |
still awaiting resolution of #52 before able to fully test |
Hi @colelloa, thanks for fixing the bug in |
The |
Add reactions to issue comments
-change data model, add reaction fields to issue_comments table
-alter paged_api_request in api_client.rb so that it can handle different media types
-alter ensure_issue_comment in ghtorrent.rb so that it inserts new fields or updates fields if necessary
-alter retrieve_issue_comment in retriever.rb so that it uses the media type necessary to get the reaction fields