Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Dec 02 15:17
    eed3si9n synchronize #712
  • Nov 30 22:48
    eed3si9n commented #697
  • Nov 29 08:20
    slandelle commented #697
  • Nov 28 23:11
    ornicar commented #183
  • Nov 28 23:10
    ornicar commented #183
  • Nov 07 04:14
    eed3si9n commented #715
  • Nov 04 18:25
    typesafe-tools commented #714
  • Nov 04 18:25

    jvican on develop

    Replace ZipUtils usage of depre… Merge pull request #714 from sl… (compare)

  • Nov 04 18:25
    jvican closed #714
  • Nov 04 09:31
    dwijnand commented #713
  • Nov 04 09:20
    slandelle commented #713
  • Nov 04 09:19
    typesafe-tools commented #713
  • Nov 04 09:18

    jvican on develop

    Upgrade scalapb machinery to mo… Upgrade scalapb machinery to mo… (compare)

  • Nov 04 09:18
    jvican closed #713
  • Nov 04 09:18
    jvican closed #546
  • Nov 03 22:21
    typesafe-tools commented #715
  • Nov 03 22:20
    lightbend-cla-validator commented #715
  • Nov 03 22:20
    diesalbla opened #715
  • Nov 03 14:40
    slandelle commented #714
  • Nov 03 14:37
    slandelle commented #714
kevinwright
@kevinwright
This is after moving the entire working directory, unchanged, to a different container as part of a circle CI build
(and yes, I moved ~/.sbtand ~/.ivy2 too)
and yes, the absolute file path is identical following the move
But I don’t see how that could ever pick up pre-existing class files across successive runs of sbt (so not within the shell) - and yet it clearly does so when I call sbt test:compile then sbt test on my local machine
eugene yokota
@eed3si9n
the Analysis file contains the full path of the working directory
there has been multiple attempts at making this machine independent
it's a subgenre of build tooling that I call "cached compilation"
kevinwright
@kevinwright
Is it not fixed as per sbt/zinc#218 ?
(which I understand is not currently used in SBT)
eugene yokota
@eed3si9n
it is "fixed" in there in a sense that it provides some possibility that it can be handled, but it's not done by default
ideally Analysis file should machine-independent without post processing
kevinwright
@kevinwright
Amen to that
So when anybody sees me quietly coding at the back of the scalax keynote tomorrow morning, it's because I'm adding hoarder to my builds :)
Krzysztof Romanowski
@romanowski
@kevinwright let me know how it goes :)
kevinwright
@kevinwright
@romanowski Happy to - because if it does the trick I have tens of builds I can speed up with the approach
Everywhere that I can pre-compile then run unit tests / integration tests / docker packaging in parallel
Arnout Engelen
@raboof
I'm trying to run the zinc tests, but sbt clean publishBridges produces https://pastebin.com/dJAjBpU0 . Any ideas?
eugene yokota
@eed3si9n
@raboof are you using JDK 11? if so could you try with JDK 8?
Arnout Engelen
@raboof
This was jdk9 - will try with 8!
Arnout Engelen
@raboof
apparently I had some problematic files in my ivy cache - seems to work now! thx!
Yawar Amin
@yawaramin
hi Zinc folks, according to sbt/zinc#300 there is now a Java-friendly API for Zinc. could i get a pointer to that? it's not immediately jumping out at me from the source code.
but–this util is an interface with a bunch of static methods. IMHO it makes more sense for it to just be a class...
eugene yokota
@eed3si9n
Zinc 1.3.0-M2 is on its way to Maven Central
Guillaume Martres
@smarter
sbt/zinc#637 :scream:
Guillaume Martres
@smarter
Also I don't know why you're checking scala versions here but this doesn't look very future-proof...: https://github.com/sbt/zinc/blob/694d60f9cc7b2b8b5d0c4cadde313ca727454f9e/zinc/src/main/scala/sbt/internal/inc/IncrementalCompilerImpl.scala#L257
is this supposed to be >= 2.12 ? From the flag that is passed I would guess yes. I guess the good news is it'll be fixed for a while when we get to scala 2.120
eugene yokota
@eed3si9n
is that passing -YdisableFlatCpCaching?
Guillaume Martres
@smarter
looks like it
and I'm not even sure why because the classpath caching is supposed to be aware of timestamps now so should be fine
eugene yokota
@eed3si9n
eugene yokota
@eed3si9n
JDK 11 testing is failing with seg fault
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007fdc0d6e5351, pid=109, tid=984
I wonder if the alpine image is missing some library that openjdk11 is using
eugene yokota
@eed3si9n
I got the tests to pass on JDK 11 - sbt/zinc#640
Jorge
@jvican
Great, I’ll have a look today then
eugene yokota
@eed3si9n
sbt/zinc#601 has been open for a while
it's a cleanup PR that removes most of warnings, but since it touches a bunch of files it conflicts easily
eugene yokota
@eed3si9n
just published zinc 1.3.0-M3
eugene yokota
@eed3si9n
@jvican do you know what's going on with https://ci.scala-lang.org/sbt/zinc? it can't seem to download artifacts from Maven Central
eugene yokota
@eed3si9n
ftr, CI is now back in operation
Piotr Kołaczkowski
@pkolaczk_twitter
How to publish zinc locally so I can test it with another project?
eugene yokota
@eed3si9n
open sbt, +publishLocal
eugene yokota
@eed3si9n
@/all please check this out. Lightbend Community Code of Conduct - https://discuss.lightbend.com/t/lightbend-community-code-of-conduct-for-all-repos-under-sbt/5099
eugene yokota
@eed3si9n
gave a talk on Zinc at ScalaSphere - https://twitter.com/eed3si9n/status/1181878462165983232
Dave Nicponski
@virusdave
heyas, qq: Is there, or has there ever been a zinc issue using classpath manifest jars?
eugene yokota
@eed3si9n
I'm not aware of it but I won't be surprised if the incremental compilation doesn't account for Class-Path entry in MANIFEST.MF
Dave Nicponski
@virusdave
hmm :/
Initial attempt makes me think it's not even working for clean build. Will investigate more today