{"action":"created","issue":{"url":"https://api.github.com/repos/GracepointMinistries/GraceTunes/issues/10","repository_url":"https://api.github.com/repos/GracepointMinistries/GraceTunes","labels_url":"https://api.github.com/repos/GracepointMinistries/GraceTunes/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/GracepointMinistries/GraceTunes/issues/10/comments","events_url":"https://api.github.com/repos/GracepointMinistries/GraceTunes/issues/10/events","html_url":"https://github.com/GracepointMinistries/GraceTunes/pull/10","id":171083542,"number":10,"title":"Lt/songsheet parsing","user":{"login":"leethomas","id":5622404,"avatar_url":"https://avatars.githubusercontent.com/u/5622404?v=3","gravatar_id":"","url":"https://api.github.com/users/leethomas","html_url":"https://github.com/leethomas","followers_url":"https://api.github.com/users/leethomas/followers","following_url":"https://api.github.com/users/leethomas/following{/other_user}","gists_url":"https://api.github.com/users/leethomas/gists{/gist_id}","starred_url":"https://api.github.com/users/leethomas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leethomas/subscriptions","organizations_url":"https://api.github.com/users/leethomas/orgs","repos_url":"https://api.github.com/users/leethomas/repos","events_url":"https://api.github.com/users/leethomas/events{/privacy}","received_events_url":"https://api.github.com/users/leethomas/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-08-14T22:53:57Z","updated_at":"2016-08-19T06:24:58Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/GracepointMinistries/GraceTunes/pulls/10","html_url":"https://github.com/GracepointMinistries/GraceTunes/pull/10","diff_url":"https://github.com/GracepointMinistries/GraceTunes/pull/10.diff","patch_url":"https://github.com/GracepointMinistries/GraceTunes/pull/10.patch"},"body":"~~Incomplete, but getting there. I'll explain further when I get the chance & add some comments.~~\r\n\r\n1. You'll first need to install the tesseract C lib. You'll want version `3.02.X` because the tesseract-ocr gem has not yet updated their API wrapper to be compatible with the newest version of the C lib. If you're using OS X you can install it with brew by running this `brew install https://raw.githubusercontent.com/Homebrew/homebrew/8ba134eda537d2cee7daa7ebdd9f728389d9c53e/Library/Formula/tesseract.rb`\r\n\r\n2. `bundle install`\r\n3. Run the delete task with `bundle exec rake songs:delete_dupes  dir=\"YOUR_DIRECTORY\"`\r\n4. A new copy of the old directory with some duplicates removed will be created called YOUR_DIRECTORY.new. Run the DB import task: `bundle exec rake songs:import  dir=\"YOUR_DIRECTORY.new\"`\r\n"},"comment":{"url":"https://api.github.com/repos/GracepointMinistries/GraceTunes/issues/comments/240938333","html_url":"https://github.com/GracepointMinistries/GraceTunes/pull/10#issuecomment-240938333","issue_url":"https://api.github.com/repos/GracepointMinistries/GraceTunes/issues/10","id":240938333,"user":{"login":"patrickf3139","id":1967248,"avatar_url":"https://avatars.githubusercontent.com/u/1967248?v=3","gravatar_id":"","url":"https://api.github.com/users/patrickf3139","html_url":"https://github.com/patrickf3139","followers_url":"https://api.github.com/users/patrickf3139/followers","following_url":"https://api.github.com/users/patrickf3139/following{/other_user}","gists_url":"https://api.github.com/users/patrickf3139/gists{/gist_id}","starred_url":"https://api.github.com/users/patrickf3139/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/patrickf3139/subscriptions","organizations_url":"https://api.github.com/users/patrickf3139/orgs","repos_url":"https://api.github.com/users/patrickf3139/repos","events_url":"https://api.github.com/users/patrickf3139/events{/privacy}","received_events_url":"https://api.github.com/users/patrickf3139/received_events","type":"User","site_admin":false},"created_at":"2016-08-19T06:24:58Z","updated_at":"2016-08-19T06:24:58Z","body":"I totally agree with everything @natyconnor said, since it was pretty hard to read even when you were reviewing it with me in person. And yeah, the context could definitely be improved if these big blocks of code were refactored into their own methods and classes. However, since this is also a one-off thing, and since we already reviewed it in person, I am fine with merging it as is after making sure the deletion script doesn't over delete."}}
{"actor":{"display_login":"patrickf3139"}}