{"action":"created","issue":{"url":"https://api.github.com/repos/pre-commit/pre-commit/issues/839","repository_url":"https://api.github.com/repos/pre-commit/pre-commit","labels_url":"https://api.github.com/repos/pre-commit/pre-commit/issues/839/labels{/name}","comments_url":"https://api.github.com/repos/pre-commit/pre-commit/issues/839/comments","events_url":"https://api.github.com/repos/pre-commit/pre-commit/issues/839/events","html_url":"https://github.com/pre-commit/pre-commit/pull/839","id":367252335,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIwNzMzODcz","number":839,"title":"Update xargs.partition with platform information","user":{"login":"georgeyk","id":247603,"node_id":"MDQ6VXNlcjI0NzYwMw==","avatar_url":"https://avatars1.githubusercontent.com/u/247603?v=4","gravatar_id":"","url":"https://api.github.com/users/georgeyk","html_url":"https://github.com/georgeyk","followers_url":"https://api.github.com/users/georgeyk/followers","following_url":"https://api.github.com/users/georgeyk/following{/other_user}","gists_url":"https://api.github.com/users/georgeyk/gists{/gist_id}","starred_url":"https://api.github.com/users/georgeyk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/georgeyk/subscriptions","organizations_url":"https://api.github.com/users/georgeyk/orgs","repos_url":"https://api.github.com/users/georgeyk/repos","events_url":"https://api.github.com/users/georgeyk/events{/privacy}","received_events_url":"https://api.github.com/users/georgeyk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-10-05T15:08:12Z","updated_at":"2018-10-09T00:15:43Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/pre-commit/pre-commit/pulls/839","html_url":"https://github.com/pre-commit/pre-commit/pull/839","diff_url":"https://github.com/pre-commit/pre-commit/pull/839.diff","patch_url":"https://github.com/pre-commit/pre-commit/pull/839.patch"},"body":"Changes how `xargs.partition` computes the command length (including arguments) depending on the plataform.\r\nMore specifically, 'win32' uses the amount of characters while posix system uses the byte count.\r\n\r\nI'm splitting what was discussed in https://github.com/pre-commit/pre-commit/issues/691 in two parts (the next one implements upper limit length).\r\n\r\nSince I have no resource to test this under windows, it might be good to ask for help from other developers/users to help validate the change."},"comment":{"url":"https://api.github.com/repos/pre-commit/pre-commit/issues/comments/428018752","html_url":"https://github.com/pre-commit/pre-commit/pull/839#issuecomment-428018752","issue_url":"https://api.github.com/repos/pre-commit/pre-commit/issues/839","id":428018752,"node_id":"MDEyOklzc3VlQ29tbWVudDQyODAxODc1Mg==","user":{"login":"georgeyk","id":247603,"node_id":"MDQ6VXNlcjI0NzYwMw==","avatar_url":"https://avatars1.githubusercontent.com/u/247603?v=4","gravatar_id":"","url":"https://api.github.com/users/georgeyk","html_url":"https://github.com/georgeyk","followers_url":"https://api.github.com/users/georgeyk/followers","following_url":"https://api.github.com/users/georgeyk/following{/other_user}","gists_url":"https://api.github.com/users/georgeyk/gists{/gist_id}","starred_url":"https://api.github.com/users/georgeyk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/georgeyk/subscriptions","organizations_url":"https://api.github.com/users/georgeyk/orgs","repos_url":"https://api.github.com/users/georgeyk/repos","events_url":"https://api.github.com/users/georgeyk/events{/privacy}","received_events_url":"https://api.github.com/users/georgeyk/received_events","type":"User","site_admin":false},"created_at":"2018-10-09T00:15:43Z","updated_at":"2018-10-09T00:15:43Z","author_association":"CONTRIBUTOR","body":"Yea, noticed.\r\nIt's ok to use half of limit when on win32 + narrow unicode ?\r\nIn that case, probably I just need to increase `_max_length=30` (failing test)."}}
{"actor":{"display_login":"georgeyk"}}