{"action":"created","issue":{"url":"https://api.github.com/repos/conda/conda-build/issues/301","labels_url":"https://api.github.com/repos/conda/conda-build/issues/301/labels{/name}","comments_url":"https://api.github.com/repos/conda/conda-build/issues/301/comments","events_url":"https://api.github.com/repos/conda/conda-build/issues/301/events","html_url":"https://github.com/conda/conda-build/pull/301","id":54379116,"number":301,"title":"Added path_ignore to meta.yaml for copying source files","user":{"login":"bchapman","id":332384,"avatar_url":"https://avatars.githubusercontent.com/u/332384?v=3","gravatar_id":"","url":"https://api.github.com/users/bchapman","html_url":"https://github.com/bchapman","followers_url":"https://api.github.com/users/bchapman/followers","following_url":"https://api.github.com/users/bchapman/following{/other_user}","gists_url":"https://api.github.com/users/bchapman/gists{/gist_id}","starred_url":"https://api.github.com/users/bchapman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bchapman/subscriptions","organizations_url":"https://api.github.com/users/bchapman/orgs","repos_url":"https://api.github.com/users/bchapman/repos","events_url":"https://api.github.com/users/bchapman/events{/privacy}","received_events_url":"https://api.github.com/users/bchapman/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-14T21:28:59Z","updated_at":"2015-01-15T18:37:55Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/conda/conda-build/pulls/301","html_url":"https://github.com/conda/conda-build/pull/301","diff_url":"https://github.com/conda/conda-build/pull/301.diff","patch_url":"https://github.com/conda/conda-build/pull/301.patch"},"body":"Allows you to ignore a list of files/folders that should not be copied from the source path.\r\n\r\nEx meta.yaml\r\n```\r\npath: ../\r\npath_ignore: ../build\r\n```\r\n\r\nYou can also use a list of patterns to exclude:\r\n```\r\npath_ignore:\r\n    - ../build\r\n    - ../dist\r\n    - ../extra*\r\n```\r\n\r\nI'm currently working in an environment where my conda recipes are stored in the same repo as my source code.\r\nWith this, I want to be able to build my conda package in this same folder, just like python setuptools does.\r\nThis creates a build/conda folder in the root of my repo.\r\nWithout the ability to ignore this build folder, when conda copies the source files, it will include the build folder, creating a recursive loop.\r\n"},"comment":{"url":"https://api.github.com/repos/conda/conda-build/issues/comments/70136862","html_url":"https://github.com/conda/conda-build/pull/301#issuecomment-70136862","issue_url":"https://api.github.com/repos/conda/conda-build/issues/301","id":70136862,"user":{"login":"asmeurer","id":71486,"avatar_url":"https://avatars.githubusercontent.com/u/71486?v=3","gravatar_id":"","url":"https://api.github.com/users/asmeurer","html_url":"https://github.com/asmeurer","followers_url":"https://api.github.com/users/asmeurer/followers","following_url":"https://api.github.com/users/asmeurer/following{/other_user}","gists_url":"https://api.github.com/users/asmeurer/gists{/gist_id}","starred_url":"https://api.github.com/users/asmeurer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asmeurer/subscriptions","organizations_url":"https://api.github.com/users/asmeurer/orgs","repos_url":"https://api.github.com/users/asmeurer/repos","events_url":"https://api.github.com/users/asmeurer/events{/privacy}","received_events_url":"https://api.github.com/users/asmeurer/received_events","type":"User","site_admin":false},"created_at":"2015-01-15T18:37:55Z","updated_at":"2015-01-15T18:37:55Z","body":"I recommend using `git_url:../`, which will do a local clone of the repo, preventing you from getting anything that isn't tracked by git. "}}