Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Timothy Perrett
    @timperrett
    you dont want in ThisBuild though
    @cquiroz im going to migrate the ermine parser to our group id as well, so gimme an hour or so
    Carlos Quiroz
    @cquiroz
    thanks a lot!
    Carlos Quiroz
    @cquiroz
    Strangely this url is forbidden
    Timothy Perrett
    @timperrett
    @cquiroz we were geting that with bintray… its one of the reasons we moved to central
    its something on the bintray side that they have not been able to resolve
    Carlos Quiroz
    @cquiroz
    ok, good to know :D
    Timothy Perrett
    @timperrett
    @cquiroz ok i just published ermine for 2.10 and 2.11 to central. Going to put a PR in for knobs now :)
    Carlos Quiroz
    @cquiroz
    thanks a lot
    Timothy Perrett
    @timperrett
    tbh this is debt i should have cleaned up ages ago, so thanks for point it out
    Carlos Quiroz
    @cquiroz
    @timperrett I appreciate it
    Timothy Perrett
    @timperrett
    @cquiroz Verizon/knobs#46
    Timothy Perrett
    @timperrett
    @cquiroz 3.12.27 or 3.12.27a depending on your needs
    Carlos Quiroz
    @cquiroz
    👍
    Timothy Perrett
    @timperrett
    @cquiroz good timing as i had a few cycles today to fix :D
    not to mention we should have fixed this ages ago
    Carlos Quiroz
    @cquiroz
    Travis is happy now 😄
    Thanks
    Andreas Svanberg
    @asvanberg
    Can I have a default value for a key in the configuration file that is overridable by an environment variable? Something like foo = "default" foo = $(ENV_FOO)
    Timothy Perrett
    @timperrett
    @asvanberg sure you can
    just provide a second file that defines the env var decleration, and fold that resource in
    Piyush Purang
    @ppurang
    any plans on a scala 2.12 release? and updating to sclalaz 7.2?
    Timothy Perrett
    @timperrett
    @ppurang there’s a PR for it
    Piyush Purang
    @ppurang
    Thanks @timperrett for pointing me to that PR. Commented on it. Hope to have 2.12 and scalaz 7.2 covered soon. Thanks.
    Carlos Quiroz
    @cquiroz
    Hi. I’m having soume troubles using import with string substitution
    I want to have an import like
        import "$(user.home)/test.cfg”
    But When running it seems it doesn’t do substitution
    I get this
    edu_gemini_seqexec_web_server[ERROR] java.io.FileNotFoundException: $(user.home)/test.cfg not found on classpath
    edu_gemini_seqexec_web_server[ERROR]     at knobs.Resource$$anon$3$$anonfun$load$4.apply(Resource.scala:250)
    Timothy Perrett
    @timperrett
    @cquiroz that's not a valid environment variable. You want $(HOME)/test.cfg
    you're trhing to use system property syntax it looks like
    Carlos Quiroz
    @cquiroz
    i keep getting an eviction warning with knobs out of the parser
    [warn] +- io.verizon.ermine:parser_2.12:0.5.8 (depends on 1.0.0-RC2)
    Any chance this will be updated to cats 1.1.0
    Timothy Perrett
    @timperrett
    @cquiroz im not sure if anyone is planning on upgrading it, but im sure they’d accept a PR
    Dominic Bou-Samra
    @dbousamra
    Timothy Perrett
    @timperrett
    thanks for the contribution @dbousamra - as it happens, I think @adelbertc or @rossbaker was going to be looking at this soon!
    Dominic Bou-Samra
    @dbousamra
    :thumbsup:
    Adelbert Chang
    @adelbertc
    :100:
    Dominic Bou-Samra
    @dbousamra
    As an aside, does anyone have some examples of well structured config files?
    Dominic Bou-Samra
    @dbousamra
    thanks!
    Dominic Bou-Samra
    @dbousamra
    What is the recommended way of structuring config for ADT like things? The use case I have is that I have a trait with several implementations. I would like to choose between each of them with some config. But each of those implementations has it's own specific config also
    Timothy Perrett
    @timperrett
    @dbousamra checkout the nelson Config.scala - its pretty large because its a big applciation
    but it will give you an idea
    Dominic Bou-Samra
    @dbousamra
    yeah I have. It was helpful, but I'm not sure which specific config item to look at to help with my question
    Dominic Bou-Samra
    @dbousamra
    Timothy Perrett
    @timperrett
    yeah totally
    something along those lines