{"action":"created","issue":{"url":"https://api.github.com/repos/unixorn/autoupdate-zgen/issues/3","labels_url":"https://api.github.com/repos/unixorn/autoupdate-zgen/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/unixorn/autoupdate-zgen/issues/3/comments","events_url":"https://api.github.com/repos/unixorn/autoupdate-zgen/issues/3/events","html_url":"https://github.com/unixorn/autoupdate-zgen/pull/3","id":104665562,"number":3,"title":"prevent multiple shell instances to try updating at the same time","user":{"login":"hcgraf","id":10207468,"avatar_url":"https://avatars.githubusercontent.com/u/10207468?v=3","gravatar_id":"","url":"https://api.github.com/users/hcgraf","html_url":"https://github.com/hcgraf","followers_url":"https://api.github.com/users/hcgraf/followers","following_url":"https://api.github.com/users/hcgraf/following{/other_user}","gists_url":"https://api.github.com/users/hcgraf/gists{/gist_id}","starred_url":"https://api.github.com/users/hcgraf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hcgraf/subscriptions","organizations_url":"https://api.github.com/users/hcgraf/orgs","repos_url":"https://api.github.com/users/hcgraf/repos","events_url":"https://api.github.com/users/hcgraf/events{/privacy}","received_events_url":"https://api.github.com/users/hcgraf/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-09-03T10:38:53Z","updated_at":"2015-09-03T14:49:41Z","closed_at":"2015-09-03T14:37:17Z","pull_request":{"url":"https://api.github.com/repos/unixorn/autoupdate-zgen/pulls/3","html_url":"https://github.com/unixorn/autoupdate-zgen/pull/3","diff_url":"https://github.com/unixorn/autoupdate-zgen/pull/3.diff","patch_url":"https://github.com/unixorn/autoupdate-zgen/pull/3.patch"},"body":"In my case, when I log into my computer, several terminals are started and my tmux sessions with several shell windows are restored automatically.\r\nEvery week, autoupdate-zgen tried to perform the update on every single shell, which of course caused some problems (luckily, nothing very serious, as git seems to be rather good with avoiding multiple pulls running at the same time).\r\nHowever, it's annoying, because you see a lot of error messages (failed git pull).\r\n\r\nThis commit only performs the update check & actual update in a single shell instance."},"comment":{"url":"https://api.github.com/repos/unixorn/autoupdate-zgen/issues/comments/137474364","html_url":"https://github.com/unixorn/autoupdate-zgen/pull/3#issuecomment-137474364","issue_url":"https://api.github.com/repos/unixorn/autoupdate-zgen/issues/3","id":137474364,"user":{"login":"hcgraf","id":10207468,"avatar_url":"https://avatars.githubusercontent.com/u/10207468?v=3","gravatar_id":"","url":"https://api.github.com/users/hcgraf","html_url":"https://github.com/hcgraf","followers_url":"https://api.github.com/users/hcgraf/followers","following_url":"https://api.github.com/users/hcgraf/following{/other_user}","gists_url":"https://api.github.com/users/hcgraf/gists{/gist_id}","starred_url":"https://api.github.com/users/hcgraf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hcgraf/subscriptions","organizations_url":"https://api.github.com/users/hcgraf/orgs","repos_url":"https://api.github.com/users/hcgraf/repos","events_url":"https://api.github.com/users/hcgraf/events{/privacy}","received_events_url":"https://api.github.com/users/hcgraf/received_events","type":"User","site_admin":false},"created_at":"2015-09-03T14:49:41Z","updated_at":"2015-09-03T14:49:41Z","body":"Thanks for already merging!\r\nI was just fixing the case of an older version of ZSH without the zsystem builtin. The version you merged still includes a bug such that we will NEVER check for updates on older zsh versions.\r\nI inverted the corresponding condition in my newest commit… Sorry for the little mess ;)"}}