Havoc Pennington

Results 172 comments of Havoc Pennington

This would indeed be nice, but it's a little tricky in practice for a few known reasons and possibly some unknown reasons. See https://github.com/typesafehub/config/blob/master/HOCON.md#includes for spec details. Right now the...

For others looking up or wondering about this question, I should mention that there are a couple of ways to support custom include syntax in an application. One is to...

Another idea here could be special-case support only environment variable and/or only system property substitution using a syntax which spelled that out. Something like `include file(env("$HOME/bar"))` maybe. So it would...

#134 is potentially a different solution, something like: ``` development { foo = 42 } production { foo = 21 } mode = development foo = ${${mode}.foo} ``` But I've...

on Heroku you can also set JAVA_OPTS in many cases (depending on exactly which setup you're using to launch the app). Like JAVA_OPTS='-Dconfig.file='. sbt-native-packager (new enough version) and sbt-start-script plugins...

there have been bugs in the past e.g. https://github.com/sbt/sbt-native-packager/issues/47 but it depends on how you are doing things of course.

On #265 there was another idea `-Dconfig.mergeIntoRoot`, in addition to the `include env()` idea and nested substitution ( #134 ) idea already mentioned here.

A few issues are: - then you can't have a file named with `${}`, which while granted is a weird filename, I do have a project checked out that contains...

I agree that something here would be nice. As the earlier comment notes, if you try implementing to do the full thing people expect (that `${foo}` can be any value...

The library is all Java, only the tests are in Scala, which is probably a good way to learn Scala in fact :-) The hardest part is probably to allow...