{"action":"created","comment":{"url":"https://api.github.com/repos/sbt/sbt-header/pulls/comments/74699679","id":74699679,"diff_hunk":"@@ -0,0 +1,34 @@\n+/*\n+ * Copyright 2015 Heiko Seeberger\n+ *\n+ * Licensed under the Apache License, Version 2.0 (the \"License\");\n+ * you may not use this file except in compliance with the License.\n+ * You may obtain a copy of the License at\n+ *\n+ *     http://www.apache.org/licenses/LICENSE-2.0\n+ *\n+ * Unless required by applicable law or agreed to in writing, software\n+ * distributed under the License is distributed on an \"AS IS\" BASIS,\n+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n+ * See the License for the specific language governing permissions and\n+ * limitations under the License.\n+ */\n+\n+package de.heikoseeberger.sbtheader\n+\n+import java.io.File\n+import java.nio.file.FileSystems\n+\n+object FileFilter {\n+  def apply(excludes: Seq[String]): FileFilter = new FileFilter(excludes)\n+}\n+\n+class FileFilter(val excludes: Seq[String]) {","path":"src/main/scala/de/heikoseeberger/sbtheader/FileFilter.scala","position":26,"original_position":26,"commit_id":"b052e6fbb790c5a7fa95e838c3f6c286ee8269ef","original_commit_id":"b052e6fbb790c5a7fa95e838c3f6c286ee8269ef","user":{"login":"fommil","id":1914041,"avatar_url":"https://avatars.githubusercontent.com/u/1914041?v=3","gravatar_id":"","url":"https://api.github.com/users/fommil","html_url":"https://github.com/fommil","followers_url":"https://api.github.com/users/fommil/followers","following_url":"https://api.github.com/users/fommil/following{/other_user}","gists_url":"https://api.github.com/users/fommil/gists{/gist_id}","starred_url":"https://api.github.com/users/fommil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fommil/subscriptions","organizations_url":"https://api.github.com/users/fommil/orgs","repos_url":"https://api.github.com/users/fommil/repos","events_url":"https://api.github.com/users/fommil/events{/privacy}","received_events_url":"https://api.github.com/users/fommil/received_events","type":"User","site_admin":false},"body":"just make this a case class and avoid the need to create a companion.","created_at":"2016-08-14T10:44:13Z","updated_at":"2016-08-14T10:44:13Z","html_url":"https://github.com/sbt/sbt-header/pull/53#discussion_r74699679","pull_request_url":"https://api.github.com/repos/sbt/sbt-header/pulls/53","_links":{"self":{"href":"https://api.github.com/repos/sbt/sbt-header/pulls/comments/74699679"},"html":{"href":"https://github.com/sbt/sbt-header/pull/53#discussion_r74699679"},"pull_request":{"href":"https://api.github.com/repos/sbt/sbt-header/pulls/53"}}},"pull_request":{"url":"https://api.github.com/repos/sbt/sbt-header/pulls/53","id":79486382,"html_url":"https://github.com/sbt/sbt-header/pull/53","diff_url":"https://github.com/sbt/sbt-header/pull/53.diff","patch_url":"https://github.com/sbt/sbt-header/pull/53.patch","issue_url":"https://api.github.com/repos/sbt/sbt-header/issues/53","number":53,"state":"open","locked":false,"title":"Fix #30: ability to ignore some files","user":{"login":"britter","id":1327662,"avatar_url":"https://avatars.githubusercontent.com/u/1327662?v=3","gravatar_id":"","url":"https://api.github.com/users/britter","html_url":"https://github.com/britter","followers_url":"https://api.github.com/users/britter/followers","following_url":"https://api.github.com/users/britter/following{/other_user}","gists_url":"https://api.github.com/users/britter/gists{/gist_id}","starred_url":"https://api.github.com/users/britter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/britter/subscriptions","organizations_url":"https://api.github.com/users/britter/orgs","repos_url":"https://api.github.com/users/britter/repos","events_url":"https://api.github.com/users/britter/events{/privacy}","received_events_url":"https://api.github.com/users/britter/received_events","type":"User","site_admin":false},"body":"This is a fix for #30. It introduces a new settings key: `excludes` which is a Seq of strings denoting the file patterns to exclude. Users can specify glob patterns to exclude files form header creation. patterns may be relative to the project root.","created_at":"2016-07-31T14:28:03Z","updated_at":"2016-08-14T10:44:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":"52da7d1fe18faa0fca48a558eb14b08a32cf5568","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/sbt/sbt-header/pulls/53/commits","review_comments_url":"https://api.github.com/repos/sbt/sbt-header/pulls/53/comments","review_comment_url":"https://api.github.com/repos/sbt/sbt-header/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sbt/sbt-header/issues/53/comments","statuses_url":"https://api.github.com/repos/sbt/sbt-header/statuses/b052e6fbb790c5a7fa95e838c3f6c286ee8269ef","head":{"label":"britter:exclude-files","ref":"exclude-files","sha":"b052e6fbb790c5a7fa95e838c3f6c286ee8269ef","user":{"login":"britter","id":1327662,"avatar_url":"https://avatars.githubusercontent.com/u/1327662?v=3","gravatar_id":"","url":"https://api.github.com/users/britter","html_url":"https://github.com/britter","followers_url":"https://api.github.com/users/britter/followers","following_url":"https://api.github.com/users/britter/following{/other_user}","gists_url":"https://api.github.com/users/britter/gists{/gist_id}","starred_url":"https://api.github.com/users/britter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/britter/subscriptions","organizations_url":"https://api.github.com/users/britter/orgs","repos_url":"https://api.github.com/users/britter/repos","events_url":"https://api.github.com/users/britter/events{/privacy}","received_events_url":"https://api.github.com/users/britter/received_events","type":"User","site_admin":false},"repo":{"id":50375711,"name":"sbt-header","full_name":"britter/sbt-header","owner":{"login":"britter","id":1327662,"avatar_url":"https://avatars.githubusercontent.com/u/1327662?v=3","gravatar_id":"","url":"https://api.github.com/users/britter","html_url":"https://github.com/britter","followers_url":"https://api.github.com/users/britter/followers","following_url":"https://api.github.com/users/britter/following{/other_user}","gists_url":"https://api.github.com/users/britter/gists{/gist_id}","starred_url":"https://api.github.com/users/britter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/britter/subscriptions","organizations_url":"https://api.github.com/users/britter/orgs","repos_url":"https://api.github.com/users/britter/repos","events_url":"https://api.github.com/users/britter/events{/privacy}","received_events_url":"https://api.github.com/users/britter/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/britter/sbt-header","description":"sbt-header is an sbt plugin for creating file headers, e.g. copyright headers","fork":true,"url":"https://api.github.com/repos/britter/sbt-header","forks_url":"https://api.github.com/repos/britter/sbt-header/forks","keys_url":"https://api.github.com/repos/britter/sbt-header/keys{/key_id}","collaborators_url":"https://api.github.com/repos/britter/sbt-header/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/britter/sbt-header/teams","hooks_url":"https://api.github.com/repos/britter/sbt-header/hooks","issue_events_url":"https://api.github.com/repos/britter/sbt-header/issues/events{/number}","events_url":"https://api.github.com/repos/britter/sbt-header/events","assignees_url":"https://api.github.com/repos/britter/sbt-header/assignees{/user}","branches_url":"https://api.github.com/repos/britter/sbt-header/branches{/branch}","tags_url":"https://api.github.com/repos/britter/sbt-header/tags","blobs_url":"https://api.github.com/repos/britter/sbt-header/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/britter/sbt-header/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/britter/sbt-header/git/refs{/sha}","trees_url":"https://api.github.com/repos/britter/sbt-header/git/trees{/sha}","statuses_url":"https://api.github.com/repos/britter/sbt-header/statuses/{sha}","languages_url":"https://api.github.com/repos/britter/sbt-header/languages","stargazers_url":"https://api.github.com/repos/britter/sbt-header/stargazers","contributors_url":"https://api.github.com/repos/britter/sbt-header/contributors","subscribers_url":"https://api.github.com/repos/britter/sbt-header/subscribers","subscription_url":"https://api.github.com/repos/britter/sbt-header/subscription","commits_url":"https://api.github.com/repos/britter/sbt-header/commits{/sha}","git_commits_url":"https://api.github.com/repos/britter/sbt-header/git/commits{/sha}","comments_url":"https://api.github.com/repos/britter/sbt-header/comments{/number}","issue_comment_url":"https://api.github.com/repos/britter/sbt-header/issues/comments{/number}","contents_url":"https://api.github.com/repos/britter/sbt-header/contents/{+path}","compare_url":"https://api.github.com/repos/britter/sbt-header/compare/{base}...{head}","merges_url":"https://api.github.com/repos/britter/sbt-header/merges","archive_url":"https://api.github.com/repos/britter/sbt-header/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/britter/sbt-header/downloads","issues_url":"https://api.github.com/repos/britter/sbt-header/issues{/number}","pulls_url":"https://api.github.com/repos/britter/sbt-header/pulls{/number}","milestones_url":"https://api.github.com/repos/britter/sbt-header/milestones{/number}","notifications_url":"https://api.github.com/repos/britter/sbt-header/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/britter/sbt-header/labels{/name}","releases_url":"https://api.github.com/repos/britter/sbt-header/releases{/id}","deployments_url":"https://api.github.com/repos/britter/sbt-header/deployments","created_at":"2016-01-25T19:37:40Z","updated_at":"2016-01-25T19:37:41Z","pushed_at":"2016-07-31T14:31:28Z","git_url":"git://github.com/britter/sbt-header.git","ssh_url":"git@github.com:britter/sbt-header.git","clone_url":"https://github.com/britter/sbt-header.git","svn_url":"https://github.com/britter/sbt-header","homepage":null,"size":118,"stargazers_count":0,"watchers_count":0,"language":"Scala","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"sbt:master","ref":"master","sha":"1dbccee5b970eef0b13c16ad6486adc3a585ba02","user":{"login":"sbt","id":1158012,"avatar_url":"https://avatars.githubusercontent.com/u/1158012?v=3","gravatar_id":"","url":"https://api.github.com/users/sbt","html_url":"https://github.com/sbt","followers_url":"https://api.github.com/users/sbt/followers","following_url":"https://api.github.com/users/sbt/following{/other_user}","gists_url":"https://api.github.com/users/sbt/gists{/gist_id}","starred_url":"https://api.github.com/users/sbt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sbt/subscriptions","organizations_url":"https://api.github.com/users/sbt/orgs","repos_url":"https://api.github.com/users/sbt/repos","events_url":"https://api.github.com/users/sbt/events{/privacy}","received_events_url":"https://api.github.com/users/sbt/received_events","type":"Organization","site_admin":false},"repo":{"id":30365481,"name":"sbt-header","full_name":"sbt/sbt-header","owner":{"login":"sbt","id":1158012,"avatar_url":"https://avatars.githubusercontent.com/u/1158012?v=3","gravatar_id":"","url":"https://api.github.com/users/sbt","html_url":"https://github.com/sbt","followers_url":"https://api.github.com/users/sbt/followers","following_url":"https://api.github.com/users/sbt/following{/other_user}","gists_url":"https://api.github.com/users/sbt/gists{/gist_id}","starred_url":"https://api.github.com/users/sbt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sbt/subscriptions","organizations_url":"https://api.github.com/users/sbt/orgs","repos_url":"https://api.github.com/users/sbt/repos","events_url":"https://api.github.com/users/sbt/events{/privacy}","received_events_url":"https://api.github.com/users/sbt/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sbt/sbt-header","description":"sbt-header is an sbt plugin for creating file headers, e.g. copyright headers","fork":false,"url":"https://api.github.com/repos/sbt/sbt-header","forks_url":"https://api.github.com/repos/sbt/sbt-header/forks","keys_url":"https://api.github.com/repos/sbt/sbt-header/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sbt/sbt-header/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sbt/sbt-header/teams","hooks_url":"https://api.github.com/repos/sbt/sbt-header/hooks","issue_events_url":"https://api.github.com/repos/sbt/sbt-header/issues/events{/number}","events_url":"https://api.github.com/repos/sbt/sbt-header/events","assignees_url":"https://api.github.com/repos/sbt/sbt-header/assignees{/user}","branches_url":"https://api.github.com/repos/sbt/sbt-header/branches{/branch}","tags_url":"https://api.github.com/repos/sbt/sbt-header/tags","blobs_url":"https://api.github.com/repos/sbt/sbt-header/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sbt/sbt-header/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sbt/sbt-header/git/refs{/sha}","trees_url":"https://api.github.com/repos/sbt/sbt-header/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sbt/sbt-header/statuses/{sha}","languages_url":"https://api.github.com/repos/sbt/sbt-header/languages","stargazers_url":"https://api.github.com/repos/sbt/sbt-header/stargazers","contributors_url":"https://api.github.com/repos/sbt/sbt-header/contributors","subscribers_url":"https://api.github.com/repos/sbt/sbt-header/subscribers","subscription_url":"https://api.github.com/repos/sbt/sbt-header/subscription","commits_url":"https://api.github.com/repos/sbt/sbt-header/commits{/sha}","git_commits_url":"https://api.github.com/repos/sbt/sbt-header/git/commits{/sha}","comments_url":"https://api.github.com/repos/sbt/sbt-header/comments{/number}","issue_comment_url":"https://api.github.com/repos/sbt/sbt-header/issues/comments{/number}","contents_url":"https://api.github.com/repos/sbt/sbt-header/contents/{+path}","compare_url":"https://api.github.com/repos/sbt/sbt-header/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sbt/sbt-header/merges","archive_url":"https://api.github.com/repos/sbt/sbt-header/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sbt/sbt-header/downloads","issues_url":"https://api.github.com/repos/sbt/sbt-header/issues{/number}","pulls_url":"https://api.github.com/repos/sbt/sbt-header/pulls{/number}","milestones_url":"https://api.github.com/repos/sbt/sbt-header/milestones{/number}","notifications_url":"https://api.github.com/repos/sbt/sbt-header/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sbt/sbt-header/labels{/name}","releases_url":"https://api.github.com/repos/sbt/sbt-header/releases{/id}","deployments_url":"https://api.github.com/repos/sbt/sbt-header/deployments","created_at":"2015-02-05T16:25:45Z","updated_at":"2016-08-09T22:31:07Z","pushed_at":"2016-07-31T14:28:03Z","git_url":"git://github.com/sbt/sbt-header.git","ssh_url":"git@github.com:sbt/sbt-header.git","clone_url":"https://github.com/sbt/sbt-header.git","svn_url":"https://github.com/sbt/sbt-header","homepage":null,"size":120,"stargazers_count":81,"watchers_count":81,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":18,"mirror_url":null,"open_issues_count":8,"forks":18,"open_issues":8,"watchers":81,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sbt/sbt-header/pulls/53"},"html":{"href":"https://github.com/sbt/sbt-header/pull/53"},"issue":{"href":"https://api.github.com/repos/sbt/sbt-header/issues/53"},"comments":{"href":"https://api.github.com/repos/sbt/sbt-header/issues/53/comments"},"review_comments":{"href":"https://api.github.com/repos/sbt/sbt-header/pulls/53/comments"},"review_comment":{"href":"https://api.github.com/repos/sbt/sbt-header/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sbt/sbt-header/pulls/53/commits"},"statuses":{"href":"https://api.github.com/repos/sbt/sbt-header/statuses/b052e6fbb790c5a7fa95e838c3f6c286ee8269ef"}}}}
{"actor":{"display_login":"fommil"}}