{"action":"created","issue":{"url":"https://api.github.com/repos/clojure-grimoire/lib-grimoire/issues/20","labels_url":"https://api.github.com/repos/clojure-grimoire/lib-grimoire/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/clojure-grimoire/lib-grimoire/issues/20/comments","events_url":"https://api.github.com/repos/clojure-grimoire/lib-grimoire/issues/20/events","html_url":"https://github.com/clojure-grimoire/lib-grimoire/issues/20","id":96485634,"number":20,"title":".git is not a group","user":{"login":"rmoehn","id":311879,"avatar_url":"https://avatars.githubusercontent.com/u/311879?v=3","gravatar_id":"","url":"https://api.github.com/users/rmoehn","html_url":"https://github.com/rmoehn","followers_url":"https://api.github.com/users/rmoehn/followers","following_url":"https://api.github.com/users/rmoehn/following{/other_user}","gists_url":"https://api.github.com/users/rmoehn/gists{/gist_id}","starred_url":"https://api.github.com/users/rmoehn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rmoehn/subscriptions","organizations_url":"https://api.github.com/users/rmoehn/orgs","repos_url":"https://api.github.com/users/rmoehn/repos","events_url":"https://api.github.com/users/rmoehn/events{/privacy}","received_events_url":"https://api.github.com/users/rmoehn/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-07-22T06:32:57Z","updated_at":"2015-07-23T01:34:02Z","closed_at":null,"body":"When I run `list-namespaces` on a freshly cloned https://github.com/clojure-grimoire/doc-clojure-core, I get this:\r\n\r\n```clojure\r\n(#g/t [:grimoire.things/group {:name \".git\", :grimoire.things/url \".git\"}] #g/t [:grimoire.things/group {:name \"org.clojure\", :grimoire.things/url \"org.clojure\"}])\r\n```\r\n\r\nSlightly surprising. The reason is that `.git` is a directory and the listing procedures from [grimore.api.fs.read](https://github.com/clojure-grimoire/lib-grimoire/blob/master/src/grimoire/api/fs/read.clj) just return every directory they can find.\r\n\r\nWhy didn't this occur to you before? I thought Grimoire also uses the above repository.\r\n\r\nAnyway, will you fix this yourself or should I? How would you like it fixed? Only list directories that contain a `meta.edn`? Or only list directories that are not hidden? Should I add the same code in all listing methods? Or factor out a procedure that checks both for directory and what we want to check for?\r\nYour style is quite different from mine, so I'm rather unsure how to do it."},"comment":{"url":"https://api.github.com/repos/clojure-grimoire/lib-grimoire/issues/comments/123926328","html_url":"https://github.com/clojure-grimoire/lib-grimoire/issues/20#issuecomment-123926328","issue_url":"https://api.github.com/repos/clojure-grimoire/lib-grimoire/issues/20","id":123926328,"user":{"login":"rmoehn","id":311879,"avatar_url":"https://avatars.githubusercontent.com/u/311879?v=3","gravatar_id":"","url":"https://api.github.com/users/rmoehn","html_url":"https://github.com/rmoehn","followers_url":"https://api.github.com/users/rmoehn/followers","following_url":"https://api.github.com/users/rmoehn/following{/other_user}","gists_url":"https://api.github.com/users/rmoehn/gists{/gist_id}","starred_url":"https://api.github.com/users/rmoehn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rmoehn/subscriptions","organizations_url":"https://api.github.com/users/rmoehn/orgs","repos_url":"https://api.github.com/users/rmoehn/repos","events_url":"https://api.github.com/users/rmoehn/events{/privacy}","received_events_url":"https://api.github.com/users/rmoehn/received_events","type":"User","site_admin":false},"created_at":"2015-07-23T01:34:02Z","updated_at":"2015-07-23T01:34:02Z","body":"I'd say the library you provide should work out of the box with the data you provide. Right now it's a bit annoying. (Although easy to work around.)"}}