These are chat archives for chipsenkbeil/groupchat

18th
Mar 2016
Chip Senkbeil
@chipsenkbeil
Mar 18 2016 16:31
@fommil, just a ping to get your comments on the above.
Ghost
@ghost~540393fe163965c9bc2018ce
Mar 18 2016 16:32
hi
it might have failed to build on the hub
Chip Senkbeil
@chipsenkbeil
Mar 18 2016 16:34
Okay.
Yeah, you can see I'm still downloading it: http://fommil.com/ensime/scala-debugger/17
Ghost
@ghost~540393fe163965c9bc2018ce
Mar 18 2016 16:34
yeah, looks like docker hub failure
I'm assuming that I'm pulling down the right image.
Ghost
@ghost~540393fe163965c9bc2018ce
Mar 18 2016 16:36
oh wow, 2.x has been failing for ages
I'll fix
Chip Senkbeil
@chipsenkbeil
Mar 18 2016 16:37
Thanks!
Ghost
@ghost~540393fe163965c9bc2018ce
Mar 18 2016 16:47
not sure if you can see this, but its the build status on docker hub https://hub.docker.com/r/ensime/ensime/builds/bzf5vpyp4r3p5rawstppzzb/
I don't understand why it fails
Rory Graves
@rorygraves
Mar 18 2016 16:49
I can see the docker file, but no logs
Ghost
@ghost~540393fe163965c9bc2018ce
Mar 18 2016 16:50
me either, it usually takes a while
Chip Senkbeil
@chipsenkbeil
Mar 18 2016 16:51
update-alternatives: error: no alternatives for mozilla-javaplugin.so
update-java-alternatives: plugin alternative does not exist: /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/IcedTeaPlugin.so
 ---> a8f11d762c94
Removing intermediate container 86a3ab86ab5b
Step 11 : ADD https://raw.githubusercontent.com/fommil/dotfiles/master/bin/sbt /usb/bin/sbt

 ---> 1b0df00cb029
Removing intermediate container 607474719dca
Step 12 : RUN chmod a+x /usr/bin/sbt
 ---> Running in b8366ce0f2fd
chmod: cannot access '/usr/bin/sbt': No such file or directory
Removing intermediate container b8366ce0f2fd
The command '/bin/sh -c chmod a+x /usr/bin/sbt' returned a non-zero code: 1
That's what I see from the latest build attempt.
Ghost
@ghost~540393fe163965c9bc2018ce
Mar 18 2016 16:52
yeah, I changed it to use paulp's but I don't see why that would fail
that URL exists
Chip Senkbeil
@chipsenkbeil
Mar 18 2016 16:53
Well, second latest.
Hm.
Have you tried building that Docker image locally?
I doubt it's the case where Github is blocking access because it thinks Dockerhub is attacking it.
Ghost
@ghost~540393fe163965c9bc2018ce
Mar 18 2016 17:22
success
I'm pulling on the CI
must be github blocking
Chip Senkbeil
@chipsenkbeil
Mar 18 2016 17:24
Interesting. I wonder if you could host it on Github pages for it to get blocked less often.
Or somewhere else. I've got static hosting on my server, but I'm sure you want to put it somewhere more Ensime-y.
Ghost
@ghost~540393fe163965c9bc2018ce
Mar 18 2016 17:25
we don't need it, it was a temporary workaround
Chip Senkbeil
@chipsenkbeil
Mar 18 2016 17:25
Ah, okay.
Even better!
Ghost
@ghost~540393fe163965c9bc2018ce
Mar 18 2016 17:27
try now
Chip Senkbeil
@chipsenkbeil
Mar 18 2016 17:33
Looks like that fixed sbt resolution.
Still don't know why loading the project definition takes so long through Drone but is lightning quick on my local machines. That even includes a Macbook Air running an ArchLinux VM.
Oh, wait.
Dependencies. Of course. It's grabbing Coursier and the other plugins for the first time.
Ghost
@ghost~540393fe163965c9bc2018ce
Mar 18 2016 17:36
yeah, so this is what I meant by creating a new cached image
ensime/ensime:latest is a small caching shim over ensime/ensime:v1.x
Chip Senkbeil
@chipsenkbeil
Mar 18 2016 17:36
Ah, I see.
Ghost
@ghost~540393fe163965c9bc2018ce
Mar 18 2016 17:36
but we don't have any caching shims over v2.x
coursier bits should be way faster than sbt. the plugins will be the slowest bit
btw, what are your scala dependenies?
because we really need to minimise our scala deps in the server. we already have way too many
plugins are fine, I mean runtime
Chip Senkbeil
@chipsenkbeil
Mar 18 2016 17:37
The API only depends on macros, which has no code in it, currently.
And assumes there is logging provided.
If not, it just uses the SLF4J static nop logger.
Macros == the macros module of the Scala debugger.
So, fairly lightweight.
Ghost
@ghost~540393fe163965c9bc2018ce
Mar 18 2016 17:38
ok all internal, that's fine
Chip Senkbeil
@chipsenkbeil
Mar 18 2016 17:38
Yep
Ghost
@ghost~540393fe163965c9bc2018ce
Mar 18 2016 17:38
you might have better luck using compiler plugins in ENSIME
macros break the PC as you probably noticed
Chip Senkbeil
@chipsenkbeil
Mar 18 2016 17:39
Yep.
Anyway, off to get lunch. Thanks for the help!