These are chat archives for sbt/sbt

7th
Jun 2017
Alessandro Vermeulen
@spockz
Jun 07 06:11
When resolving dependencies we see a lot of requests going to URLs like https://myartifactory.host/artifactory/releases_mvn_all/net/bytebuddy/byte-buddy-agent/1.6.14/. So to a directory instead of a specific artifact. These urls are very slow compared to specific artifacts. Why are these requests being done?
Jorge
@jvican
Jun 07 07:45
Hmmm, It may be just the way ivy works. It may need to check how many artifacts are mapped to a version.
Justin Kaeser
@jastice
Jun 07 09:53
our build server is randomly failing to download random 0.13.15 artifacts from repo.typesafe.com. e.g.:
SERVER ERROR: Internal Server Error url=https://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/main/0.13.15/ivys/ivy.xml
I notice it sometimes takes a while to download them manually, too
Sven Ludwig
@sourcekick
Jun 07 15:19
Is there an existing or planned way with sbt test to perform some initialization BeforeAllSpecs and to shutdown something AfterAllSpecs?
The options given at https://stackoverflow.com/questions/15423337/doing-something-before-or-after-all-scalatest-tests fall short: The way to use nested suites sounds reasonable, but if you are used to execute tests in your favorite IDE by selecting a package, the tests are executed twice: once for the suite and once failing outside of the suite, because the IDE does not honor @DoNotDiscover.
Sven Ludwig
@sourcekick
Jun 07 15:31
My use case is by the way firing up a fake/mock service implemented with Akka HTTP that is then contacted during various integration tests.
Alessandro Vermeulen
@spockz
Jun 07 16:41
@jvican why would it need that? Don't we just pickup the jar and pop?
Jorge
@jvican
Jun 07 19:32
Nope, it's more complicated than that, a version can map to N artifacts
And the artifacts have signatures and other files associated to them
Alessandro Vermeulen
@spockz
Jun 07 21:04
And we dont before hand for which files to look?
Jorge
@jvican
Jun 07 21:04
in theory yes, but if ivy is doing that there's probably something missing
ivy has lots of weird assumptions about everything
Alessandro were you using coursier?