{"action":"created","issue":{"url":"https://api.github.com/repos/ensime/ensime-sbt/issues/178","repository_url":"https://api.github.com/repos/ensime/ensime-sbt","labels_url":"https://api.github.com/repos/ensime/ensime-sbt/issues/178/labels{/name}","comments_url":"https://api.github.com/repos/ensime/ensime-sbt/issues/178/comments","events_url":"https://api.github.com/repos/ensime/ensime-sbt/issues/178/events","html_url":"https://github.com/ensime/ensime-sbt/pull/178","id":139464717,"number":178,"title":"Add config transformer hook","user":{"login":"jodersky","id":1007012,"avatar_url":"https://avatars.githubusercontent.com/u/1007012?v=3","gravatar_id":"","url":"https://api.github.com/users/jodersky","html_url":"https://github.com/jodersky","followers_url":"https://api.github.com/users/jodersky/followers","following_url":"https://api.github.com/users/jodersky/following{/other_user}","gists_url":"https://api.github.com/users/jodersky/gists{/gist_id}","starred_url":"https://api.github.com/users/jodersky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jodersky/subscriptions","organizations_url":"https://api.github.com/users/jodersky/orgs","repos_url":"https://api.github.com/users/jodersky/repos","events_url":"https://api.github.com/users/jodersky/events{/privacy}","received_events_url":"https://api.github.com/users/jodersky/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ensime/ensime-sbt/labels/Needs%20Review","name":"Needs Review","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2016-03-09T03:20:31Z","updated_at":"2016-03-11T00:34:34Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ensime/ensime-sbt/pulls/178","html_url":"https://github.com/ensime/ensime-sbt/pull/178","diff_url":"https://github.com/ensime/ensime-sbt/pull/178.diff","patch_url":"https://github.com/ensime/ensime-sbt/pull/178.patch"},"body":"In some cases it may be useful to edit a generated EnsimeConfig before it is written to a file. This pull requests adds a way to add \"transformer\" functions that can access a configuration just before it is written to disk.\r\n\r\nA use-case for this new feature is to filter broken source jars (for example the Apache Spark project depends on a library that ships with corrupt jars that currently break ensime-server when included).\r\n\r\nThis PR is a first proof of concept. I'll clean up the code and add tests in the event of favorable comments."},"comment":{"url":"https://api.github.com/repos/ensime/ensime-sbt/issues/comments/195117918","html_url":"https://github.com/ensime/ensime-sbt/pull/178#issuecomment-195117918","issue_url":"https://api.github.com/repos/ensime/ensime-sbt/issues/178","id":195117918,"user":{"login":"jodersky","id":1007012,"avatar_url":"https://avatars.githubusercontent.com/u/1007012?v=3","gravatar_id":"","url":"https://api.github.com/users/jodersky","html_url":"https://github.com/jodersky","followers_url":"https://api.github.com/users/jodersky/followers","following_url":"https://api.github.com/users/jodersky/following{/other_user}","gists_url":"https://api.github.com/users/jodersky/gists{/gist_id}","starred_url":"https://api.github.com/users/jodersky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jodersky/subscriptions","organizations_url":"https://api.github.com/users/jodersky/orgs","repos_url":"https://api.github.com/users/jodersky/repos","events_url":"https://api.github.com/users/jodersky/events{/privacy}","received_events_url":"https://api.github.com/users/jodersky/received_events","type":"User","site_admin":false},"created_at":"2016-03-11T00:34:34Z","updated_at":"2016-03-11T00:34:34Z","body":"Thanks for the feedback. It turns out that `testing.sbt` is actually needed by `EnsimeSbtTestSupport` since it declares the necessary 'DiffUtils' dependencies."}}