{"action":"created","issue":{"url":"https://api.github.com/repos/xonsh/xonsh/issues/1166","repository_url":"https://api.github.com/repos/xonsh/xonsh","labels_url":"https://api.github.com/repos/xonsh/xonsh/issues/1166/labels{/name}","comments_url":"https://api.github.com/repos/xonsh/xonsh/issues/1166/comments","events_url":"https://api.github.com/repos/xonsh/xonsh/issues/1166/events","html_url":"https://github.com/xonsh/xonsh/pull/1166","id":159081794,"number":1166,"title":"Version control branch info speedups","user":{"login":"scopatz","id":320553,"avatar_url":"https://avatars.githubusercontent.com/u/320553?v=3","gravatar_id":"","url":"https://api.github.com/users/scopatz","html_url":"https://github.com/scopatz","followers_url":"https://api.github.com/users/scopatz/followers","following_url":"https://api.github.com/users/scopatz/following{/other_user}","gists_url":"https://api.github.com/users/scopatz/gists{/gist_id}","starred_url":"https://api.github.com/users/scopatz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scopatz/subscriptions","organizations_url":"https://api.github.com/users/scopatz/orgs","repos_url":"https://api.github.com/users/scopatz/repos","events_url":"https://api.github.com/users/scopatz/events{/privacy}","received_events_url":"https://api.github.com/users/scopatz/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/xonsh/xonsh/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/xonsh/xonsh/labels/feature","name":"feature","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/xonsh/xonsh/milestones/4","html_url":"https://github.com/xonsh/xonsh/milestones/v0.4.0","labels_url":"https://api.github.com/repos/xonsh/xonsh/milestones/4/labels","id":1779851,"number":4,"title":"v0.4.0","description":"","creator":{"login":"scopatz","id":320553,"avatar_url":"https://avatars.githubusercontent.com/u/320553?v=3","gravatar_id":"","url":"https://api.github.com/users/scopatz","html_url":"https://github.com/scopatz","followers_url":"https://api.github.com/users/scopatz/followers","following_url":"https://api.github.com/users/scopatz/following{/other_user}","gists_url":"https://api.github.com/users/scopatz/gists{/gist_id}","starred_url":"https://api.github.com/users/scopatz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scopatz/subscriptions","organizations_url":"https://api.github.com/users/scopatz/orgs","repos_url":"https://api.github.com/users/scopatz/repos","events_url":"https://api.github.com/users/scopatz/events{/privacy}","received_events_url":"https://api.github.com/users/scopatz/received_events","type":"User","site_admin":false},"open_issues":161,"closed_issues":97,"state":"open","created_at":"2016-05-20T22:54:44Z","updated_at":"2016-06-08T05:24:12Z","due_on":"2016-06-30T04:00:00Z","closed_at":null},"comments":16,"created_at":"2016-06-08T05:24:12Z","updated_at":"2016-06-08T20:18:39Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/xonsh/xonsh/pulls/1166","html_url":"https://github.com/xonsh/xonsh/pull/1166","diff_url":"https://github.com/xonsh/xonsh/pull/1166.diff","patch_url":"https://github.com/xonsh/xonsh/pull/1166.patch"},"body":"This cleans up the version control branch information handling code to make sure that it is snappy. \r\n\r\nAs such this does a few things:\r\n\r\n1. Doesn't try to make sure that we have the VC system installed, unless we have already generated cache entries.\r\n2. Adds timeouts to everything, and makes sure that the time out is small (0.01 sec)\r\n3. Timeout yield noticeable differences.  Branch names become `<branch-timeout>` and branch colors become yellow.\r\n\r\nAll in all, in my testing with large repos in both mercurial and git, I think that this is fast enough.  On my desktop, it drops startup times by about 20-25%.  Since my desktop is relatively fast, I believe that this will have an even great benefit on most other boxes."},"comment":{"url":"https://api.github.com/repos/xonsh/xonsh/issues/comments/224714662","html_url":"https://github.com/xonsh/xonsh/pull/1166#issuecomment-224714662","issue_url":"https://api.github.com/repos/xonsh/xonsh/issues/1166","id":224714662,"user":{"login":"adqm","id":549404,"avatar_url":"https://avatars.githubusercontent.com/u/549404?v=3","gravatar_id":"","url":"https://api.github.com/users/adqm","html_url":"https://github.com/adqm","followers_url":"https://api.github.com/users/adqm/followers","following_url":"https://api.github.com/users/adqm/following{/other_user}","gists_url":"https://api.github.com/users/adqm/gists{/gist_id}","starred_url":"https://api.github.com/users/adqm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adqm/subscriptions","organizations_url":"https://api.github.com/users/adqm/orgs","repos_url":"https://api.github.com/users/adqm/repos","events_url":"https://api.github.com/users/adqm/events{/privacy}","received_events_url":"https://api.github.com/users/adqm/received_events","type":"User","site_admin":false},"created_at":"2016-06-08T20:18:39Z","updated_at":"2016-06-08T20:18:39Z","body":"> I better check this on slower machines as well. \r\n\r\nMy main machine is pretty old (and the Windows VM on it is _really_ slow), so I can help test here, too."}}
{"actor":{"display_login":"adqm"}}