{"action":"created","issue":{"url":"https://api.github.com/repos/ambiata/cabal-extras/issues/39","labels_url":"https://api.github.com/repos/ambiata/cabal-extras/issues/39/labels{/name}","comments_url":"https://api.github.com/repos/ambiata/cabal-extras/issues/39/comments","events_url":"https://api.github.com/repos/ambiata/cabal-extras/issues/39/events","html_url":"https://github.com/ambiata/cabal-extras/pull/39","id":96245783,"number":39,"title":"use a deep find to work out submodules vs use a file","user":{"login":"michaelneale","id":14976,"avatar_url":"https://avatars.githubusercontent.com/u/14976?v=3","gravatar_id":"","url":"https://api.github.com/users/michaelneale","html_url":"https://github.com/michaelneale","followers_url":"https://api.github.com/users/michaelneale/followers","following_url":"https://api.github.com/users/michaelneale/following{/other_user}","gists_url":"https://api.github.com/users/michaelneale/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelneale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelneale/subscriptions","organizations_url":"https://api.github.com/users/michaelneale/orgs","repos_url":"https://api.github.com/users/michaelneale/repos","events_url":"https://api.github.com/users/michaelneale/events{/privacy}","received_events_url":"https://api.github.com/users/michaelneale/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2015-07-21T07:07:21Z","updated_at":"2015-07-21T23:28:01Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ambiata/cabal-extras/pulls/39","html_url":"https://github.com/ambiata/cabal-extras/pull/39","diff_url":"https://github.com/ambiata/cabal-extras/pull/39.diff","patch_url":"https://github.com/ambiata/cabal-extras/pull/39.patch"},"body":"@charleso FYI here is a version of the change using find"},"comment":{"url":"https://api.github.com/repos/ambiata/cabal-extras/issues/comments/123506994","html_url":"https://github.com/ambiata/cabal-extras/pull/39#issuecomment-123506994","issue_url":"https://api.github.com/repos/ambiata/cabal-extras/issues/39","id":123506994,"user":{"login":"markhibberd","id":22832,"avatar_url":"https://avatars.githubusercontent.com/u/22832?v=3","gravatar_id":"","url":"https://api.github.com/users/markhibberd","html_url":"https://github.com/markhibberd","followers_url":"https://api.github.com/users/markhibberd/followers","following_url":"https://api.github.com/users/markhibberd/following{/other_user}","gists_url":"https://api.github.com/users/markhibberd/gists{/gist_id}","starred_url":"https://api.github.com/users/markhibberd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markhibberd/subscriptions","organizations_url":"https://api.github.com/users/markhibberd/orgs","repos_url":"https://api.github.com/users/markhibberd/repos","events_url":"https://api.github.com/users/markhibberd/events{/privacy}","received_events_url":"https://api.github.com/users/markhibberd/received_events","type":"User","site_admin":false},"created_at":"2015-07-21T23:28:01Z","updated_at":"2015-07-21T23:28:01Z","body":"@michaelneale It depends on how specific to our code structure you go, but I all the \"multi module\" projects I know of look like that (hydra, x), so I think it is safe to run the find from `$(git rev-parse --show-toplevel)` rather than where the cabal file is. But it does mean it relies on a pretty specific convention which isn't great."}}