{"action":"created","issue":{"url":"https://api.github.com/repos/zcaudate/lein-repack/issues/9","labels_url":"https://api.github.com/repos/zcaudate/lein-repack/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/zcaudate/lein-repack/issues/9/comments","events_url":"https://api.github.com/repos/zcaudate/lein-repack/issues/9/events","html_url":"https://github.com/zcaudate/lein-repack/issues/9","id":53010466,"number":9,"title":"Non-source files in source directory produce unwanted branches","user":{"login":"RyanMcG","id":272939,"avatar_url":"https://avatars.githubusercontent.com/u/272939?v=3","gravatar_id":"","url":"https://api.github.com/users/RyanMcG","html_url":"https://github.com/RyanMcG","followers_url":"https://api.github.com/users/RyanMcG/followers","following_url":"https://api.github.com/users/RyanMcG/following{/other_user}","gists_url":"https://api.github.com/users/RyanMcG/gists{/gist_id}","starred_url":"https://api.github.com/users/RyanMcG/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RyanMcG/subscriptions","organizations_url":"https://api.github.com/users/RyanMcG/orgs","repos_url":"https://api.github.com/users/RyanMcG/repos","events_url":"https://api.github.com/users/RyanMcG/events{/privacy}","received_events_url":"https://api.github.com/users/RyanMcG/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2014-12-28T21:40:03Z","updated_at":"2015-02-15T01:13:04Z","closed_at":"2015-02-10T23:34:54Z","body":"Running `lein repack manifest` results in the following. Note the branch keyed with `\".context.clj\"`.\r\n\r\n```\r\n{:root\r\n {:files [],\r\n  :dependencies\r\n  [[org.clojure/clojure \"1.6.0\"]\r\n   [mvxcvi/puget \"0.6.4\"]\r\n   [mvxcvi/whidbey \"0.4.1\"]\r\n   [fixturex/fixturex.context \"0.2.1\"]\r\n   [fixturex/fixturex.core \"0.2.1\"]\r\n   [fixturex/fixturex.higher \"0.2.1\"]\r\n   [fixturex/fixturex..context.clj \"0.2.1\"]],\r\n  :version \"0.2.1\",\r\n  :group \"fixturex\",\r\n  :name \"fixturex\"},\r\n :branches\r\n {\".context.clj\"\r\n  {:coordinate [fixturex/fixturex..context.clj \"0.2.1\"],\r\n   :files [\"src/fixturex/.context.clj.swp\"],\r\n   :dependencies [[org.clojure/clojure \"1.6.0\"]],\r\n   :version \"0.2.1\",\r\n   :name \"fixturex/fixturex..context.clj\",\r\n   :group \"fixturex\"},\r\n  \"higher\"\r\n  {:coordinate [fixturex/fixturex.higher \"0.2.1\"],\r\n   :files [\"src/fixturex/higher.clj\"],\r\n   :dependencies [[org.clojure/clojure \"1.6.0\"]],\r\n   :version \"0.2.1\",\r\n   :name \"fixturex/fixturex.higher\",\r\n   :group \"fixturex\"},\r\n  \"core\"\r\n  {:coordinate [fixturex/fixturex.core \"0.2.1\"],\r\n   :files [\"src/fixturex/core.clj\"],\r\n   :dependencies [[org.clojure/clojure \"1.6.0\"]],\r\n   :version \"0.2.1\",\r\n   :name \"fixturex/fixturex.core\",\r\n   :group \"fixturex\"},\r\n  \"context\"\r\n  {:coordinate [fixturex/fixturex.context \"0.2.1\"],\r\n   :files [\"src/fixturex/context.clj\"],\r\n   :dependencies\r\n   [[org.clojure/clojure \"1.6.0\"] [fixturex/fixturex.higher \"0.2.1\"]],\r\n   :version \"0.2.1\",\r\n   :name \"fixturex/fixturex.context\",\r\n   :group \"fixturex\"}}}\r\n```\r\n\r\nI propose we whitelist files by extension with some reasonable defaults which may be overridden by the user. This way we would avoid editor files from vim and emacs."},"comment":{"url":"https://api.github.com/repos/zcaudate/lein-repack/issues/comments/74399514","html_url":"https://github.com/zcaudate/lein-repack/issues/9#issuecomment-74399514","issue_url":"https://api.github.com/repos/zcaudate/lein-repack/issues/9","id":74399514,"user":{"login":"RyanMcG","id":272939,"avatar_url":"https://avatars.githubusercontent.com/u/272939?v=3","gravatar_id":"","url":"https://api.github.com/users/RyanMcG","html_url":"https://github.com/RyanMcG","followers_url":"https://api.github.com/users/RyanMcG/followers","following_url":"https://api.github.com/users/RyanMcG/following{/other_user}","gists_url":"https://api.github.com/users/RyanMcG/gists{/gist_id}","starred_url":"https://api.github.com/users/RyanMcG/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RyanMcG/subscriptions","organizations_url":"https://api.github.com/users/RyanMcG/orgs","repos_url":"https://api.github.com/users/RyanMcG/repos","events_url":"https://api.github.com/users/RyanMcG/events{/privacy}","received_events_url":"https://api.github.com/users/RyanMcG/received_events","type":"User","site_admin":false},"created_at":"2015-02-15T01:13:04Z","updated_at":"2015-02-15T01:13:04Z","body":"If I am reading this correctly, leiningen ignores hidden files when creating jars.\r\n\r\nhttps://github.com/technomancy/leiningen/blob/6b8e74eaeeeb91cb3bb6467a14b5ec827b771dfb/leiningen-core/src/leiningen/core/project.clj#L213\r\n\r\nThis seems like a sensible default. Why not just use jar exclusions from project.clj?"}}