{"action":"created","issue":{"url":"https://api.github.com/repos/cweagans/composer-patches/issues/159","repository_url":"https://api.github.com/repos/cweagans/composer-patches","labels_url":"https://api.github.com/repos/cweagans/composer-patches/issues/159/labels{/name}","comments_url":"https://api.github.com/repos/cweagans/composer-patches/issues/159/comments","events_url":"https://api.github.com/repos/cweagans/composer-patches/issues/159/events","html_url":"https://github.com/cweagans/composer-patches/issues/159","id":260874634,"number":159,"title":"Issue on FreeBSD","user":{"login":"RalfEisler","id":3639058,"avatar_url":"https://avatars1.githubusercontent.com/u/3639058?v=4","gravatar_id":"","url":"https://api.github.com/users/RalfEisler","html_url":"https://github.com/RalfEisler","followers_url":"https://api.github.com/users/RalfEisler/followers","following_url":"https://api.github.com/users/RalfEisler/following{/other_user}","gists_url":"https://api.github.com/users/RalfEisler/gists{/gist_id}","starred_url":"https://api.github.com/users/RalfEisler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RalfEisler/subscriptions","organizations_url":"https://api.github.com/users/RalfEisler/orgs","repos_url":"https://api.github.com/users/RalfEisler/repos","events_url":"https://api.github.com/users/RalfEisler/events{/privacy}","received_events_url":"https://api.github.com/users/RalfEisler/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2017-09-27T07:33:22Z","updated_at":"2018-02-24T11:31:12Z","closed_at":null,"author_association":"NONE","body":"--no-backup-if-mismatch\r\nDo not back up a file if the patch does not match the file exactly and if backups are not otherwise requested. This is the default if patch is conforming to POSIX.\r\n\r\n```\r\ncomposer update -vvv\r\nRunning 1.5.2 (2017-09-11 16:59:25) with PHP 7.1.9 on FreeBSD / 10.3-RELEASE-p20\r\n\r\nExecuting command (CWD): patch '-p4' --no-backup-if-mismatch -d 'docroot/core' < '/tmp//59ca7004e02cf.patch'\r\npatch: unrecognized option `--no-backup-if-mismatch'\r\nusage: patch [-bCcEeflNnRstuv] [-B backup-prefix] [-D symbol] [-d directory]\r\n             [-F max-fuzz] [-i patchfile] [-o out-file] [-p strip-count]\r\n             [-r rej-name] [-V t | nil | never] [-x number] [-z backup-ext]\r\n             [--posix] [origfile [patchfile]]\r\n       patch <patchfile\r\n\r\n   Could not apply patch! Skipping. The error was: Cannot apply patch \r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/cweagans/composer-patches/issues/comments/368222099","html_url":"https://github.com/cweagans/composer-patches/issues/159#issuecomment-368222099","issue_url":"https://api.github.com/repos/cweagans/composer-patches/issues/159","id":368222099,"user":{"login":"gambry","id":11092878,"avatar_url":"https://avatars3.githubusercontent.com/u/11092878?v=4","gravatar_id":"","url":"https://api.github.com/users/gambry","html_url":"https://github.com/gambry","followers_url":"https://api.github.com/users/gambry/followers","following_url":"https://api.github.com/users/gambry/following{/other_user}","gists_url":"https://api.github.com/users/gambry/gists{/gist_id}","starred_url":"https://api.github.com/users/gambry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gambry/subscriptions","organizations_url":"https://api.github.com/users/gambry/orgs","repos_url":"https://api.github.com/users/gambry/repos","events_url":"https://api.github.com/users/gambry/events{/privacy}","received_events_url":"https://api.github.com/users/gambry/received_events","type":"User","site_admin":false},"created_at":"2018-02-24T11:31:12Z","updated_at":"2018-02-24T11:31:12Z","author_association":"NONE","body":"In the meanwhile to fix the issue mentioned above with docker composer official image I've create a POC image [gambry/composer](https://hub.docker.com/r/gambry/composer/).\r\nI'm going to test it a bit and if fixes the problem for running composer/patches through docker composer I will create a proper reliable docker repository, with test coverage."}}
{"actor":{"display_login":"gambry"}}