by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Bijan Chokoufe Nejad
    @bijancn
    hey @channel. I try to upgrade sbt-pillar-plugin from 1.0.2 to 2.1.3 but it seems the README is out of date? import io.ino.sbtpillar.Plugin.PillarKeys._ doesn't work
    Bijan Chokoufe Nejad
    @bijancn
    I notice that 2.1.3 is the only version for sbt 1 though, right? https://repo1.maven.org/maven2/io/ino/sbt-pillar-plugin_2.12_1.0/
    Martin Grotzke
    @magro
    @bijancn yes, for sbt 1.0 there's just 2.1.3
    There's an sbt test you might want to check out, this should work: https://github.com/inoio/sbt-pillar-plugin/blob/master/src/sbt-test/sbtpillar/simple/build.sbt
    Bijan Chokoufe Nejad
    @bijancn
    thanks @magro . That is very helpful to get the imports sorted out. Maybe I just have a caching problem
    Bijan Chokoufe Nejad
    @bijancn

    @magro so

    import _root_.io.ino._
    import _root_.io.ino.sbtpillar.Plugin.PillarKeys._
    sbtpillar.Plugin.pillarSettings
    pillarConfigFile := file("db/pillar.conf")

    works but

    import io.ino.sbtpillar.Plugin.PillarKeys._
    pillarSettings
    pillarConfigFile := file("conf/application.conf")

    does not. So I assume you have moved pillarSettings but didn't update the README? But the import is also quite weird. Why do I have to add the _root_?

    Martin Grotzke
    @magro
    sbt 1 comes with the sbt.io package which is now in scope, so that io.ino would be resolved as sbt.io.ino...
    I'd be happy if you could submit a PR for the readme :smile:
    Bijan Chokoufe Nejad
    @bijancn
    omg. That makes your namespace suboptimal :laughing: . Maybe just call it sbtpillar instead of io.ino.sbtpillar? I never liked the relative imports TBH. Can do the PR
    Bijan Chokoufe Nejad
    @bijancn
    PR is open inoio/sbt-pillar-plugin#21
    Martin Grotzke
    @magro
    :+1:
    Fernando
    @nandotorterolo
    Hi team, how are you? is this error familiar to you when running migrations? Migrating with date restriction None key not found on 4.8 cassandra cluster
    Martin Grotzke
    @magro
    @nandotorterolo no, unfortunately not.
    Fernando
    @nandotorterolo
    @magro Thanks!