{"action":"created","issue":{"url":"https://api.github.com/repos/syncthing/syncthing/issues/1775","labels_url":"https://api.github.com/repos/syncthing/syncthing/issues/1775/labels{/name}","comments_url":"https://api.github.com/repos/syncthing/syncthing/issues/1775/comments","events_url":"https://api.github.com/repos/syncthing/syncthing/issues/1775/events","html_url":"https://github.com/syncthing/syncthing/pull/1775","id":74123315,"number":1775,"title":"Trigger pull check on remote index updates (fixes #1765)","user":{"login":"calmh","id":125426,"avatar_url":"https://avatars.githubusercontent.com/u/125426?v=3","gravatar_id":"","url":"https://api.github.com/users/calmh","html_url":"https://github.com/calmh","followers_url":"https://api.github.com/users/calmh/followers","following_url":"https://api.github.com/users/calmh/following{/other_user}","gists_url":"https://api.github.com/users/calmh/gists{/gist_id}","starred_url":"https://api.github.com/users/calmh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/calmh/subscriptions","organizations_url":"https://api.github.com/users/calmh/orgs","repos_url":"https://api.github.com/users/calmh/repos","events_url":"https://api.github.com/users/calmh/events{/privacy}","received_events_url":"https://api.github.com/users/calmh/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/syncthing/syncthing/labels/pr-bugfix","name":"pr-bugfix","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-07T20:48:15Z","updated_at":"2015-05-07T21:02:00Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/syncthing/syncthing/pulls/1775","html_url":"https://github.com/syncthing/syncthing/pull/1775","diff_url":"https://github.com/syncthing/syncthing/pull/1775.diff","patch_url":"https://github.com/syncthing/syncthing/pull/1775.patch"},"body":"Without this, when an index update comes in we only do a new pull if the\r\nremote `localVersion` was increased. But it may not be, because the\r\nindex is sent alphabetically and the file with the highest local version\r\nmay come first. In that case we'll never do a new pull when the rest of\r\nthe index comes in, and we'll be stuck in idle but with lots of out of\r\nsync data.\r\n\r\nA serious person might write a test for this..."},"comment":{"url":"https://api.github.com/repos/syncthing/syncthing/issues/comments/100018164","html_url":"https://github.com/syncthing/syncthing/pull/1775#issuecomment-100018164","issue_url":"https://api.github.com/repos/syncthing/syncthing/issues/1775","id":100018164,"user":{"login":"calmh","id":125426,"avatar_url":"https://avatars.githubusercontent.com/u/125426?v=3","gravatar_id":"","url":"https://api.github.com/users/calmh","html_url":"https://github.com/calmh","followers_url":"https://api.github.com/users/calmh/followers","following_url":"https://api.github.com/users/calmh/following{/other_user}","gists_url":"https://api.github.com/users/calmh/gists{/gist_id}","starred_url":"https://api.github.com/users/calmh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/calmh/subscriptions","organizations_url":"https://api.github.com/users/calmh/orgs","repos_url":"https://api.github.com/users/calmh/repos","events_url":"https://api.github.com/users/calmh/events{/privacy}","received_events_url":"https://api.github.com/users/calmh/received_events","type":"User","site_admin":false},"created_at":"2015-05-07T21:01:59Z","updated_at":"2015-05-07T21:01:59Z","body":"@st-jenkins run integration tests"}}