{"action":"created","issue":{"url":"https://api.github.com/repos/mesonbuild/meson/issues/860","repository_url":"https://api.github.com/repos/mesonbuild/meson","labels_url":"https://api.github.com/repos/mesonbuild/meson/issues/860/labels{/name}","comments_url":"https://api.github.com/repos/mesonbuild/meson/issues/860/comments","events_url":"https://api.github.com/repos/mesonbuild/meson/issues/860/events","html_url":"https://github.com/mesonbuild/meson/issues/860","id":181445824,"number":860,"title":"add support for copying files from srcdir to builddir","user":{"login":"ignatenkobrain","id":2866862,"avatar_url":"https://avatars.githubusercontent.com/u/2866862?v=3","gravatar_id":"","url":"https://api.github.com/users/ignatenkobrain","html_url":"https://github.com/ignatenkobrain","followers_url":"https://api.github.com/users/ignatenkobrain/followers","following_url":"https://api.github.com/users/ignatenkobrain/following{/other_user}","gists_url":"https://api.github.com/users/ignatenkobrain/gists{/gist_id}","starred_url":"https://api.github.com/users/ignatenkobrain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ignatenkobrain/subscriptions","organizations_url":"https://api.github.com/users/ignatenkobrain/orgs","repos_url":"https://api.github.com/users/ignatenkobrain/repos","events_url":"https://api.github.com/users/ignatenkobrain/events{/privacy}","received_events_url":"https://api.github.com/users/ignatenkobrain/received_events","type":"User","site_admin":false},"labels":[{"id":99546087,"url":"https://api.github.com/repos/mesonbuild/meson/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/mesonbuild/meson/milestones/4","html_url":"https://github.com/mesonbuild/meson/milestones/0.37.0","labels_url":"https://api.github.com/repos/mesonbuild/meson/milestones/4/labels","id":2123263,"number":4,"title":"0.37.0","description":"","creator":{"login":"nirbheek","id":75801,"avatar_url":"https://avatars.githubusercontent.com/u/75801?v=3","gravatar_id":"","url":"https://api.github.com/users/nirbheek","html_url":"https://github.com/nirbheek","followers_url":"https://api.github.com/users/nirbheek/followers","following_url":"https://api.github.com/users/nirbheek/following{/other_user}","gists_url":"https://api.github.com/users/nirbheek/gists{/gist_id}","starred_url":"https://api.github.com/users/nirbheek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nirbheek/subscriptions","organizations_url":"https://api.github.com/users/nirbheek/orgs","repos_url":"https://api.github.com/users/nirbheek/repos","events_url":"https://api.github.com/users/nirbheek/events{/privacy}","received_events_url":"https://api.github.com/users/nirbheek/received_events","type":"User","site_admin":false},"open_issues":37,"closed_issues":3,"state":"open","created_at":"2016-11-08T21:41:51Z","updated_at":"2016-11-23T15:35:29Z","due_on":null,"closed_at":null},"comments":5,"created_at":"2016-10-06T15:21:07Z","updated_at":"2016-11-23T15:36:53Z","closed_at":null,"body":"sometimes it's necessary to copy some files from srcdir to builddir...\n\nAt least in cmake in `configure_file()` parameter named as `COPYONLY`.\n"},"comment":{"url":"https://api.github.com/repos/mesonbuild/meson/issues/comments/262548787","html_url":"https://github.com/mesonbuild/meson/issues/860#issuecomment-262548787","issue_url":"https://api.github.com/repos/mesonbuild/meson/issues/860","id":262548787,"user":{"login":"nirbheek","id":75801,"avatar_url":"https://avatars.githubusercontent.com/u/75801?v=3","gravatar_id":"","url":"https://api.github.com/users/nirbheek","html_url":"https://github.com/nirbheek","followers_url":"https://api.github.com/users/nirbheek/followers","following_url":"https://api.github.com/users/nirbheek/following{/other_user}","gists_url":"https://api.github.com/users/nirbheek/gists{/gist_id}","starred_url":"https://api.github.com/users/nirbheek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nirbheek/subscriptions","organizations_url":"https://api.github.com/users/nirbheek/orgs","repos_url":"https://api.github.com/users/nirbheek/repos","events_url":"https://api.github.com/users/nirbheek/events{/privacy}","received_events_url":"https://api.github.com/users/nirbheek/received_events","type":"User","site_admin":false},"created_at":"2016-11-23T15:36:53Z","updated_at":"2016-11-23T15:36:53Z","body":"Till this is fixed, the official workaround is:\r\n\r\n```\r\nconfigure_file(input : 'from.txt',\r\n  output : 'to.txt',\r\n  configuration : configuration_data())\r\n```\r\n\r\nThis will read `from.txt` and copy the contents to `to.txt` while preserving permissions."}}
{"actor":{"display_login":"nirbheek"}}