{"action":"created","issue":{"url":"https://api.github.com/repos/seapagan/update_repo/issues/25","repository_url":"https://api.github.com/repos/seapagan/update_repo","labels_url":"https://api.github.com/repos/seapagan/update_repo/issues/25/labels{/name}","comments_url":"https://api.github.com/repos/seapagan/update_repo/issues/25/comments","events_url":"https://api.github.com/repos/seapagan/update_repo/issues/25/events","html_url":"https://github.com/seapagan/update_repo/pull/25","id":188068991,"number":25,"title":"Refactor the whole repo update logic.","user":{"login":"seapagan","id":2479095,"avatar_url":"https://avatars.githubusercontent.com/u/2479095?v=3","gravatar_id":"","url":"https://api.github.com/users/seapagan","html_url":"https://github.com/seapagan","followers_url":"https://api.github.com/users/seapagan/followers","following_url":"https://api.github.com/users/seapagan/following{/other_user}","gists_url":"https://api.github.com/users/seapagan/gists{/gist_id}","starred_url":"https://api.github.com/users/seapagan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seapagan/subscriptions","organizations_url":"https://api.github.com/users/seapagan/orgs","repos_url":"https://api.github.com/users/seapagan/repos","events_url":"https://api.github.com/users/seapagan/events{/privacy}","received_events_url":"https://api.github.com/users/seapagan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2016-11-08T18:33:28Z","updated_at":"2016-11-08T20:27:13Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/seapagan/update_repo/pulls/25","html_url":"https://github.com/seapagan/update_repo/pull/25","diff_url":"https://github.com/seapagan/update_repo/pull/25.diff","patch_url":"https://github.com/seapagan/update_repo/pull/25.patch"},"body":"Now the script will not change directory before each git operation, we instead\r\ntake advantage of the Git '-C' flag that allows us to perform the operation on\r\na repo in a completely different directory. Note however that this needs Git\r\nversion >= 1.8.5. We still need to check for this at script start up and fail\r\ngracefully if the version is too low. Should not be too much of an issue since\r\nmost systems have a more recent version.\r\nAs a result of this, we no longer get thread race conditions where the local\r\ndirectory may have been changed by a separate thread causing erroneus directories\r\nto be reported in the fail list.\r\n\r\nThis commit also fixes a bug introduced by a previous commit that caused the\r\n--dump and --dump-remotes to fail.\r\n\r\nSigned-off-by: Grant Ramsay <seapagan@gmail.com>"},"comment":{"url":"https://api.github.com/repos/seapagan/update_repo/issues/comments/259249795","html_url":"https://github.com/seapagan/update_repo/pull/25#issuecomment-259249795","issue_url":"https://api.github.com/repos/seapagan/update_repo/issues/25","id":259249795,"user":{"login":"seapagan","id":2479095,"avatar_url":"https://avatars.githubusercontent.com/u/2479095?v=3","gravatar_id":"","url":"https://api.github.com/users/seapagan","html_url":"https://github.com/seapagan","followers_url":"https://api.github.com/users/seapagan/followers","following_url":"https://api.github.com/users/seapagan/following{/other_user}","gists_url":"https://api.github.com/users/seapagan/gists{/gist_id}","starred_url":"https://api.github.com/users/seapagan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seapagan/subscriptions","organizations_url":"https://api.github.com/users/seapagan/orgs","repos_url":"https://api.github.com/users/seapagan/repos","events_url":"https://api.github.com/users/seapagan/events{/privacy}","received_events_url":"https://api.github.com/users/seapagan/received_events","type":"User","site_admin":false},"created_at":"2016-11-08T20:27:13Z","updated_at":"2016-11-08T20:27:13Z","body":"[![PullReview](https://avatars2.githubusercontent.com/u/4373617?v=2&s=52)](https://www.pullreview.com/github/seapagan/update_repo/reviews/hotfix-issue-24?to_sha=4f46884438234c28624ba821494746817d57b086) **[1 to go.](https://www.pullreview.com/github/seapagan/update_repo/reviews/hotfix-issue-24)**\n"}}
{"actor":{"display_login":"seapagan"}}