{"action":"created","issue":{"url":"https://api.github.com/repos/karen-irc/popuko/issues/129","repository_url":"https://api.github.com/repos/karen-irc/popuko","labels_url":"https://api.github.com/repos/karen-irc/popuko/issues/129/labels{/name}","comments_url":"https://api.github.com/repos/karen-irc/popuko/issues/129/comments","events_url":"https://api.github.com/repos/karen-irc/popuko/issues/129/events","html_url":"https://github.com/karen-irc/popuko/pull/129","id":198750971,"number":129,"title":"Create the backup file on writing a queue to the file","user":{"login":"saneyuki","id":180104,"avatar_url":"https://avatars.githubusercontent.com/u/180104?v=3","gravatar_id":"","url":"https://api.github.com/users/saneyuki","html_url":"https://github.com/saneyuki","followers_url":"https://api.github.com/users/saneyuki/followers","following_url":"https://api.github.com/users/saneyuki/following{/other_user}","gists_url":"https://api.github.com/users/saneyuki/gists{/gist_id}","starred_url":"https://api.github.com/users/saneyuki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saneyuki/subscriptions","organizations_url":"https://api.github.com/users/saneyuki/orgs","repos_url":"https://api.github.com/users/saneyuki/repos","events_url":"https://api.github.com/users/saneyuki/events{/privacy}","received_events_url":"https://api.github.com/users/saneyuki/received_events","type":"User","site_admin":false},"labels":[{"id":504606640,"url":"https://api.github.com/repos/karen-irc/popuko/labels/A-app/auto-merge","name":"A-app/auto-merge","color":"d7e102","default":false},{"id":469805455,"url":"https://api.github.com/repos/karen-irc/popuko/labels/I-enhancement","name":"I-enhancement","color":"207de5","default":false},{"id":477546142,"url":"https://api.github.com/repos/karen-irc/popuko/labels/S-awaiting-merge","name":"S-awaiting-merge","color":"d4c5f9","default":false}],"state":"open","locked":false,"assignee":{"login":"nekoya","id":74617,"avatar_url":"https://avatars.githubusercontent.com/u/74617?v=3","gravatar_id":"","url":"https://api.github.com/users/nekoya","html_url":"https://github.com/nekoya","followers_url":"https://api.github.com/users/nekoya/followers","following_url":"https://api.github.com/users/nekoya/following{/other_user}","gists_url":"https://api.github.com/users/nekoya/gists{/gist_id}","starred_url":"https://api.github.com/users/nekoya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nekoya/subscriptions","organizations_url":"https://api.github.com/users/nekoya/orgs","repos_url":"https://api.github.com/users/nekoya/repos","events_url":"https://api.github.com/users/nekoya/events{/privacy}","received_events_url":"https://api.github.com/users/nekoya/received_events","type":"User","site_admin":false},"assignees":[{"login":"nekoya","id":74617,"avatar_url":"https://avatars.githubusercontent.com/u/74617?v=3","gravatar_id":"","url":"https://api.github.com/users/nekoya","html_url":"https://github.com/nekoya","followers_url":"https://api.github.com/users/nekoya/followers","following_url":"https://api.github.com/users/nekoya/following{/other_user}","gists_url":"https://api.github.com/users/nekoya/gists{/gist_id}","starred_url":"https://api.github.com/users/nekoya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nekoya/subscriptions","organizations_url":"https://api.github.com/users/nekoya/orgs","repos_url":"https://api.github.com/users/nekoya/repos","events_url":"https://api.github.com/users/nekoya/events{/privacy}","received_events_url":"https://api.github.com/users/nekoya/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/karen-irc/popuko/milestones/1","html_url":"https://github.com/karen-irc/popuko/milestone/1","labels_url":"https://api.github.com/repos/karen-irc/popuko/milestones/1/labels","id":2209037,"number":1,"title":"Check all test cases before merging into upstream","description":"https://github.com/karen-irc/popuko/issues/45","creator":{"login":"saneyuki","id":180104,"avatar_url":"https://avatars.githubusercontent.com/u/180104?v=3","gravatar_id":"","url":"https://api.github.com/users/saneyuki","html_url":"https://github.com/saneyuki","followers_url":"https://api.github.com/users/saneyuki/followers","following_url":"https://api.github.com/users/saneyuki/following{/other_user}","gists_url":"https://api.github.com/users/saneyuki/gists{/gist_id}","starred_url":"https://api.github.com/users/saneyuki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saneyuki/subscriptions","organizations_url":"https://api.github.com/users/saneyuki/orgs","repos_url":"https://api.github.com/users/saneyuki/repos","events_url":"https://api.github.com/users/saneyuki/events{/privacy}","received_events_url":"https://api.github.com/users/saneyuki/received_events","type":"User","site_admin":false},"open_issues":5,"closed_issues":8,"state":"open","created_at":"2016-12-21T05:52:22Z","updated_at":"2017-01-05T06:32:09Z","due_on":null,"closed_at":null},"comments":6,"created_at":"2017-01-04T16:33:54Z","updated_at":"2017-01-05T08:42:55Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/karen-irc/popuko/pulls/129","html_url":"https://github.com/karen-irc/popuko/pull/129","diff_url":"https://github.com/karen-irc/popuko/pull/129.diff","patch_url":"https://github.com/karen-irc/popuko/pull/129.patch"},"body":"If the application fails down when it is writing to the file, the content of its file may be wrecked.\r\n\r\nTo resolve it, we use the following steps when we write a content to the\r\nfile:\r\n\r\n1. Creare the backup file by renaming the file to `***.old`.\r\n2. Write a content to the file.\r\n3. Remove the file created in steps 1).\r\n\r\nAs alternative approach, we could implement a graceful shutdown for this.  But we thought it is hard to implement it correctly. So we don't accept its approach at this moment.\r\n\r\n## Related Issues\r\n\r\n- Depend on https://github.com/karen-irc/popuko/pull/126\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/karen-irc/popuko/issues/comments/270591934","html_url":"https://github.com/karen-irc/popuko/pull/129#issuecomment-270591934","issue_url":"https://api.github.com/repos/karen-irc/popuko/issues/129","id":270591934,"user":{"login":"popuko","id":23116246,"avatar_url":"https://avatars.githubusercontent.com/u/23116246?v=3","gravatar_id":"","url":"https://api.github.com/users/popuko","html_url":"https://github.com/popuko","followers_url":"https://api.github.com/users/popuko/followers","following_url":"https://api.github.com/users/popuko/following{/other_user}","gists_url":"https://api.github.com/users/popuko/gists{/gist_id}","starred_url":"https://api.github.com/users/popuko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/popuko/subscriptions","organizations_url":"https://api.github.com/users/popuko/orgs","repos_url":"https://api.github.com/users/popuko/repos","events_url":"https://api.github.com/users/popuko/events{/privacy}","received_events_url":"https://api.github.com/users/popuko/received_events","type":"User","site_admin":false},"created_at":"2017-01-05T08:42:55Z","updated_at":"2017-01-05T08:42:55Z","body":":pushpin: Commit cf9d03b4b1753039a5db4aab2441f28f2421d07d has been approved by `saneyuki`"}}
{"actor":{"display_login":"popuko"}}