{"action":"created","issue":{"url":"https://api.github.com/repos/Sandra/Sandra.Snow/issues/130","labels_url":"https://api.github.com/repos/Sandra/Sandra.Snow/issues/130/labels{/name}","comments_url":"https://api.github.com/repos/Sandra/Sandra.Snow/issues/130/comments","events_url":"https://api.github.com/repos/Sandra/Sandra.Snow/issues/130/events","html_url":"https://github.com/Sandra/Sandra.Snow/pull/130","id":46857434,"number":130,"title":"Allow ignorables to be configured in snow.config","user":{"login":"sgrassie","id":194140,"avatar_url":"https://avatars.githubusercontent.com/u/194140?v=3","gravatar_id":"","url":"https://api.github.com/users/sgrassie","html_url":"https://github.com/sgrassie","followers_url":"https://api.github.com/users/sgrassie/followers","following_url":"https://api.github.com/users/sgrassie/following{/other_user}","gists_url":"https://api.github.com/users/sgrassie/gists{/gist_id}","starred_url":"https://api.github.com/users/sgrassie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sgrassie/subscriptions","organizations_url":"https://api.github.com/users/sgrassie/orgs","repos_url":"https://api.github.com/users/sgrassie/repos","events_url":"https://api.github.com/users/sgrassie/events{/privacy}","received_events_url":"https://api.github.com/users/sgrassie/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2014-10-26T22:38:20Z","updated_at":"2015-03-28T14:41:50Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Sandra/Sandra.Snow/pulls/130","html_url":"https://github.com/Sandra/Sandra.Snow/pull/130","diff_url":"https://github.com/Sandra/Sandra.Snow/pull/130.diff","patch_url":"https://github.com/Sandra/Sandra.Snow/pull/130.patch"},"body":"I wanted more control over ignoring certain files and folders in my blog repo, e.g. the readme.md. I didn't much like the recommended way of specifying a directory to copy stuff into the root from, and that also seemed a little unwieldy to me, as opposed to being able to explicitly specify in a config file \"don't delete this file, man\".\r\n\r\n### I have\r\nRemoved all hard coded ignore strings from IoExtensions.cs, in favour of allowing a user configurable section of snow.config to be the source of ignores.\r\n\r\n- Removed static hard coded string arrays\r\n- Added a func factory to Empty() which defaults to null.\r\n- Extended snow settings with ignorables property.\r\n\r\n## Still to do\r\n- [x] Update PR with discussed changes\r\n- [x] ~~Update sample snow.config in 'snowsite'~~ (not required based on discussion)\r\n- [ ] Update wiki with new documentation\r\n\r\n## Example snow.config\r\n```\r\n# somewhere in snow.config\r\n  \"ignorables\": [\r\n    \"cname\",\r\n    \"compile.snow.bat\",\r\n    \"snow.config\",\r\n    \".nojekyll\",\r\n    \".gitignore\",\r\n    \".deployment\",\r\n    \".git\",\r\n    \".svn\",\r\n    \"svn\",\r\n    \"snow\",\r\n    \"readme.md\"\r\n  ]\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/Sandra/Sandra.Snow/issues/comments/87237150","html_url":"https://github.com/Sandra/Sandra.Snow/pull/130#issuecomment-87237150","issue_url":"https://api.github.com/repos/Sandra/Sandra.Snow/issues/130","id":87237150,"user":{"login":"phillip-haydon","id":895629,"avatar_url":"https://avatars.githubusercontent.com/u/895629?v=3","gravatar_id":"","url":"https://api.github.com/users/phillip-haydon","html_url":"https://github.com/phillip-haydon","followers_url":"https://api.github.com/users/phillip-haydon/followers","following_url":"https://api.github.com/users/phillip-haydon/following{/other_user}","gists_url":"https://api.github.com/users/phillip-haydon/gists{/gist_id}","starred_url":"https://api.github.com/users/phillip-haydon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phillip-haydon/subscriptions","organizations_url":"https://api.github.com/users/phillip-haydon/orgs","repos_url":"https://api.github.com/users/phillip-haydon/repos","events_url":"https://api.github.com/users/phillip-haydon/events{/privacy}","received_events_url":"https://api.github.com/users/phillip-haydon/received_events","type":"User","site_admin":false},"created_at":"2015-03-28T14:41:50Z","updated_at":"2015-03-28T14:41:50Z","body":"@sgrassie awesome, just trying to fix a build bug then I'll merge."}}