{"action":"created","issue":{"url":"https://api.github.com/repos/yegor256/0pdd/issues/72","repository_url":"https://api.github.com/repos/yegor256/0pdd","labels_url":"https://api.github.com/repos/yegor256/0pdd/issues/72/labels{/name}","comments_url":"https://api.github.com/repos/yegor256/0pdd/issues/72/comments","events_url":"https://api.github.com/repos/yegor256/0pdd/issues/72/events","html_url":"https://github.com/yegor256/0pdd/issues/72","id":221297667,"number":72,"title":"0pdd doesn't handle force pushes","user":{"login":"extsoft","id":5806627,"avatar_url":"https://avatars0.githubusercontent.com/u/5806627?v=3","gravatar_id":"","url":"https://api.github.com/users/extsoft","html_url":"https://github.com/extsoft","followers_url":"https://api.github.com/users/extsoft/followers","following_url":"https://api.github.com/users/extsoft/following{/other_user}","gists_url":"https://api.github.com/users/extsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/extsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/extsoft/subscriptions","organizations_url":"https://api.github.com/users/extsoft/orgs","repos_url":"https://api.github.com/users/extsoft/repos","events_url":"https://api.github.com/users/extsoft/events{/privacy}","received_events_url":"https://api.github.com/users/extsoft/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-04-12T15:17:53Z","updated_at":"2017-04-12T15:17:57Z","closed_at":null,"body":"Repository - [https://github.com/extsoft/insight](https://github.com/extsoft/insight).\r\n\r\nSteps to reproduce:\r\n1. Push new commit\r\n2. Amend (`git commit --amend`) and push again (`git push -f`)\r\n\r\nActual:\r\nEmail subject: ` [extsoft/insight] test 0pdd (23420d6)`\r\nBody: \r\n```\r\nI wasn't able to retrieve PDD puzzles from the code base (if you think that it's a bug on your our side, please submit it to yegor256/0pdd:\r\n\r\ncd /tmp/0pdd/extsoft/insight && git reset --hard --quiet && git clean --force -d && git pull --quiet: 256 (not zero):\r\nAuto-merging git/git-utils.bash\r\nCONFLICT (add/add): Merge conflict in git/git-utils.bash\r\nAutomatic merge failed; fix conflicts and then commit the result.\r\n\r\n/app/objects/exec.rb:38:in `run'\r\n/app/objects/git_repo.rb:89:in `pull'\r\n/app/objects/git_repo.rb:67:in `push'\r\n/app/objects/job.rb:41:in `proceed'\r\n/app/objects/job_starred.rb:35:in `proceed'\r\n/app/objects/job_recorded.rb:33:in `proceed'\r\n/app/objects/job_emailed.rb:36:in `proceed'\r\n/app/objects/job_commiterrors.rb:36:in `proceed'\r\n/app/objects/job_detached.rb:51:in `block in exclusive'\r\n/app/vendor/ruby-2.2.2/lib/ruby/2.2.0/timeout.rb:89:in `block in timeout'\r\n/app/vendor/ruby-2.2.2/lib/ruby/2.2.0/timeout.rb:34:in `block in catch'\r\n/app/vendor/ruby-2.2.2/lib/ruby/2.2.0/timeout.rb:34:in `catch'\r\n/app/vendor/ruby-2.2.2/lib/ruby/2.2.0/timeout.rb:34:in `catch'\r\n/app/vendor/ruby-2.2.2/lib/ruby/2.2.0/timeout.rb:104:in `timeout'\r\n/app/objects/job_detached.rb:49:in `exclusive'\r\n/app/objects/job_detached.rb:39:in `block in proceed'\r\n/app/objects/job_detached.rb:39:in `fork'\r\n/app/objects/job_detached.rb:39:in `proceed'\r\n/app/0pdd.rb:201:in `block in <top (required)>'\r\n/app/vendor/bundle/ruby/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:1611:in `call'\r\n/app/vendor/bundle/ruby/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:1611:in `block in compile!'\r\n/app/vendor/bundle/ruby/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:975:in `[]'\r\n/app/vendor/bundle/ruby/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:975:in `block (3 levels) in route!'\r\n/app/vendor/bundle/ruby/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:994:in `route_eval'\r\n/app/vendor/bundle/ruby/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:975:in `block (2 levels) in route!'\r\n/app/vendor/bundle/ruby/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:1015:in `block in process_route'\r\n/app/vendor/bundle/ruby/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:1013:in `catch'\r\n/app/vendor/bundle/ruby/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:1013:in `process_route'\r\n/app/vendor/bundle/ruby/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:973:in `block in route!'\r\n/app/vendor/bundle/ruby/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:972:in `each'\r\n/app/vendor/bundle/ruby/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:972:in `route!'\r\n/app/vendor/bundle/ruby/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:1085:in `block in dispatch!'\r\n/app/vendor/bundle/ruby/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:1067:in `block in invoke'\r\n/app/vendor/bundle/ruby/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:1067:in `catch'\r\n/app/vendor/bundle/ruby/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:1067:in `invoke'\r\n/app/vendor/bundle/ruby/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:1082:in `dispatch!'\r\n/app/vendor/bundle/ruby/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:907:in `block in call!'\r\n/app/vendor/bundle/ruby/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:1067:in `block in invoke'\r\n/app/vendor/bundle/ruby/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:1067:in `catch'\r\n/app/vendor/bundle/ruby/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:1067:in `invoke'\r\n/app/vendor/bundle/ruby/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:907:in `call!'\r\n/app/vendor/bundle/ruby/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:895:in `call'\r\n/app/vendor/bundle/ruby/2.2.0/gems/rack-protection-1.5.3/lib/rack/protection/xss_header.rb:18:in `call'\r\n/app/vendor/bundle/ruby/2.2.0/gems/rack-protection-1.5.3/lib/rack/protection/path_traversal.rb:16:in `call'\r\n/app/vendor/bundle/ruby/2.2.0/gems/rack-protection-1.5.3/lib/rack/protection/json_csrf.rb:18:in `call'\r\n/app/vendor/bundle/ruby/2.2.0/gems/rack-protection-1.5.3/lib/rack/protection/base.rb:49:in `call'\r\n/app/vendor/bundle/ruby/2.2.0/gems/rack-protection-1.5.3/lib/rack/protection/base.rb:49:in `call'\r\n/app/vendor/bundle/ruby/2.2.0/gems/rack-protection-1.5.3/lib/rack/protection/frame_options.rb:31:in `call'\r\n/app/vendor/bundle/ruby/2.2.0/gems/rack-1.6.5/lib/rack/logger.rb:15:in `call'\r\n/app/vendor/bundle/ruby/2.2.0/gems/rack-1.6.5/lib/rack/commonlogger.rb:33:in `call'\r\n/app/vendor/bundle/ruby/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:219:in `call'\r\n/app/vendor/bundle/ruby/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:212:in `call'\r\n/app/vendor/bundle/ruby/2.2.0/gems/rack-1.6.5/lib/rack/head.rb:13:in `call'\r\n/app/vendor/bundle/ruby/2.2.0/gems/rack-1.6.5/lib/rack/methodoverride.rb:22:in `call'\r\n/app/vendor/bundle/ruby/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:182:in `call'\r\n/app/vendor/bundle/ruby/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:2013:in `call'\r\n/app/vendor/bundle/ruby/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:1487:in `block in call'\r\n/app/vendor/bundle/ruby/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:1787:in `synchronize'\r\n/app/vendor/bundle/ruby/2.2.0/gems/sinatra-1.4.7/lib/sinatra/base.rb:1487:in `call'\r\n/app/vendor/bundle/ruby/2.2.0/gems/rack-1.6.5/lib/rack/handler/webrick.rb:88:in `service'\r\n/app/vendor/ruby-2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service'\r\n/app/vendor/ruby-2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run'\r\n/app/vendor/ruby-2.2.2/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread'\r\n—\r\n```"},"comment":{"url":"https://api.github.com/repos/yegor256/0pdd/issues/comments/293611322","html_url":"https://github.com/yegor256/0pdd/issues/72#issuecomment-293611322","issue_url":"https://api.github.com/repos/yegor256/0pdd/issues/72","id":293611322,"user":{"login":"0crat","id":24387511,"avatar_url":"https://avatars2.githubusercontent.com/u/24387511?v=3","gravatar_id":"","url":"https://api.github.com/users/0crat","html_url":"https://github.com/0crat","followers_url":"https://api.github.com/users/0crat/followers","following_url":"https://api.github.com/users/0crat/following{/other_user}","gists_url":"https://api.github.com/users/0crat/gists{/gist_id}","starred_url":"https://api.github.com/users/0crat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/0crat/subscriptions","organizations_url":"https://api.github.com/users/0crat/orgs","repos_url":"https://api.github.com/users/0crat/repos","events_url":"https://api.github.com/users/0crat/events{/privacy}","received_events_url":"https://api.github.com/users/0crat/received_events","type":"User","site_admin":false},"created_at":"2017-04-12T15:17:57Z","updated_at":"2017-04-12T15:17:57Z","body":"@yegor256 please, pay attention to this issue"}}
{"actor":{"display_login":"0crat"}}