{"action":"created","issue":{"url":"https://api.github.com/repos/scopatz/xonsh/issues/887","repository_url":"https://api.github.com/repos/scopatz/xonsh","labels_url":"https://api.github.com/repos/scopatz/xonsh/issues/887/labels{/name}","comments_url":"https://api.github.com/repos/scopatz/xonsh/issues/887/comments","events_url":"https://api.github.com/repos/scopatz/xonsh/issues/887/events","html_url":"https://github.com/scopatz/xonsh/pull/887","id":154739150,"number":887,"title":"Add a docker image for easier devlopment","user":{"login":"GuillaumeLeclerc","id":2017051,"avatar_url":"https://avatars.githubusercontent.com/u/2017051?v=3","gravatar_id":"","url":"https://api.github.com/users/GuillaumeLeclerc","html_url":"https://github.com/GuillaumeLeclerc","followers_url":"https://api.github.com/users/GuillaumeLeclerc/followers","following_url":"https://api.github.com/users/GuillaumeLeclerc/following{/other_user}","gists_url":"https://api.github.com/users/GuillaumeLeclerc/gists{/gist_id}","starred_url":"https://api.github.com/users/GuillaumeLeclerc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GuillaumeLeclerc/subscriptions","organizations_url":"https://api.github.com/users/GuillaumeLeclerc/orgs","repos_url":"https://api.github.com/users/GuillaumeLeclerc/repos","events_url":"https://api.github.com/users/GuillaumeLeclerc/events{/privacy}","received_events_url":"https://api.github.com/users/GuillaumeLeclerc/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/scopatz/xonsh/labels/feature","name":"feature","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/scopatz/xonsh/milestones/2","html_url":"https://github.com/scopatz/xonsh/milestones/v0.3","labels_url":"https://api.github.com/repos/scopatz/xonsh/milestones/2/labels","id":1302567,"number":2,"title":"v0.3","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":102,"closed_issues":376,"state":"open","created_at":"2015-09-12T18:28:59Z","updated_at":"2016-05-15T20:14:59Z","due_on":null,"closed_at":null},"comments":17,"created_at":"2016-05-13T15:30:19Z","updated_at":"2016-05-15T21:38:47Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/scopatz/xonsh/pulls/887","html_url":"https://github.com/scopatz/xonsh/pull/887","diff_url":"https://github.com/scopatz/xonsh/pull/887.diff","patch_url":"https://github.com/scopatz/xonsh/pull/887.patch"},"body":"Hello,\r\n\r\nI'm not sure if it's a good idea nor if the doc is in the correct place. But I found it easier than using conda or stuff like this to work on xonsh, so I share it.\r\n\r\nTell me what you think"},"comment":{"url":"https://api.github.com/repos/scopatz/xonsh/issues/comments/219312261","html_url":"https://github.com/scopatz/xonsh/pull/887#issuecomment-219312261","issue_url":"https://api.github.com/repos/scopatz/xonsh/issues/887","id":219312261,"user":{"login":"funkyfuture","id":2004405,"avatar_url":"https://avatars.githubusercontent.com/u/2004405?v=3","gravatar_id":"","url":"https://api.github.com/users/funkyfuture","html_url":"https://github.com/funkyfuture","followers_url":"https://api.github.com/users/funkyfuture/followers","following_url":"https://api.github.com/users/funkyfuture/following{/other_user}","gists_url":"https://api.github.com/users/funkyfuture/gists{/gist_id}","starred_url":"https://api.github.com/users/funkyfuture/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/funkyfuture/subscriptions","organizations_url":"https://api.github.com/users/funkyfuture/orgs","repos_url":"https://api.github.com/users/funkyfuture/repos","events_url":"https://api.github.com/users/funkyfuture/events{/privacy}","received_events_url":"https://api.github.com/users/funkyfuture/received_events","type":"User","site_admin":false},"created_at":"2016-05-15T21:38:47Z","updated_at":"2016-05-15T21:38:47Z","body":"``` python\r\n\r\n\r\ndef splitargs_by_double_dashes(args):\r\n    line = ' '.join(args)\r\n    buffer, result, quoted = '', [], False\r\n\r\n    while line:\r\n        if not quoted and len(line) > 3 and line[:4] == ' -- ':\r\n            result.append(buffer.strip().split(' '))\r\n            buffer = ''\r\n            line = line[4:]\r\n            continue\r\n\r\n        char = line[0]\r\n        if char in ('\"', \"'\"):\r\n            quoted = not quoted\r\n        buffer += char\r\n        line = line[1:]\r\n\r\n    result.append(buffer.strip().split(' '))\r\n    while len(result) < 3:\r\n        result.insert(0, '')\r\n\r\n    return result\r\n```"}}