Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Piyush Purang
    @ppurang

    If one declares -Dtest=12345 ... and then looks for cfg.requireString .. then we get

    knobs.KeyError: No such key: test

    but that is misleading .. it should be something like ... knobs.KeyError: Keytest` exists but isn't a String' .. because that is what happens .. cfg.env shows the key and the value

    Timothy Perrett
    @timperrett
    @ppurang sadly im swamped with other things right now, but if you want to tackle it, a PR would be great
    Piyush Purang
    @ppurang
    /cfg.requireString ../cfg.require[String]("test")
    sure, will look into it :)
    Piyush Purang
    @ppurang
    Alright here is my attempt at solving this: Verizon/knobs#43
    Piyush Purang
    @ppurang
    @timperrett I know you are busy .. it would be great if you could have a look at the PR thanks
    Timothy Perrett
    @timperrett
    @ppurang will look at it, thanks for the PR
    Carlos Quiroz
    @cquiroz
    Hi. I keep getting an unresolved dependency with the latest knobs
    Timothy Perrett
    @timperrett
    @cquiroz what are you using?
    Carlos Quiroz
    @cquiroz
    [warn]     ::::::::::::::::::::::::::::::::::::::::::::::
    [warn]     ::          UNRESOLVED DEPENDENCIES         ::
    [warn]     ::::::::::::::::::::::::::::::::::::::::::::::
    [warn]     :: oncue.ermine#ermine-parser_2.11;0.3.0: not found
    [warn]     ::::::::::::::::::::::::::::::::::::::::::::::
    [warn]
    [warn]     Note: Unresolved dependencies path:
    [warn]         oncue.ermine:ermine-parser_2.11:0.3.0
    [warn]           +- io.verizon.knobs:core_2.11:3.11.26a
    it seems to be missing on mvnrepository
    I have the oncue repo defined too
    Timothy Perrett
    @timperrett
    @cquiroz oh! you might have just found an issue there :) lemme see
    we dont hit that because we have everything cached in our nexus
    Carlos Quiroz
    @cquiroz
    Right. I observe it on travis
    I have it locally too
    Timothy Perrett
    @timperrett
    yeah we need to re-publish the ermine dep i think
    that would make most logical sense
    so everything works from central
    Carlos Quiroz
    @cquiroz
    that would be nice
    Timothy Perrett
    @timperrett
    @cquiroz you should be able to work around it by using the bintray repositoriy for now
    Carlos Quiroz
    @cquiroz
    This doesn’t seem to help
    resolvers in ThisBuild += "Oncue Bintray Repo" at "http://dl.bintray.com/oncue/releases"
    Timothy Perrett
    @timperrett
    weird
    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