Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Aug 23 13:06
    scala-steward opened #1339
  • Aug 22 22:07
    maiflai commented #1338
  • Aug 21 22:01
    maiflai opened #1338
  • Aug 21 17:03
    scala-steward opened #1337
  • Aug 21 16:33
    danielnorberg commented #295
  • Aug 21 16:17
    eed3si9n opened #1336
  • Aug 21 06:44
    maiflai edited #1335
  • Aug 21 06:44
    maiflai opened #1335
  • Aug 16 17:00

    alexarchambault on gh-pages

    Update website (compare)

  • Aug 16 16:11

    alexarchambault on master

    Tweak error message Should pri… Really include version properti… Fix missing elements in reverse… and 7 more (compare)

  • Aug 16 16:11
    alexarchambault closed #1334
  • Aug 16 14:41
    alexarchambault synchronize #1334
  • Aug 16 14:04
    alexarchambault synchronize #1334
  • Aug 16 12:16
    alexarchambault opened #1334
  • Aug 16 02:23
    jin commented #1319
  • Aug 15 20:51
    sbrunk commented #1319
  • Aug 15 18:27
    scala-steward opened #1333
  • Aug 15 17:34
    eatkins commented #1330
  • Aug 15 16:24
    alexarchambault closed #644
  • Aug 15 16:24
    alexarchambault commented #644
Yi Cheng
@wisechengyi

@hamero i’m not sure the standalone/proguarded version is published (so someone else can chime in), but you can build the fat cli jar by

cd modules/
./pants binary cli:coursier-cli

The fat binary will be under dist/

hamero
@hamero
thanks @wisechengyi , will give that a go
Alexandre Archambault
@alexarchambault

meaning I won't be able to get it working in 0.13?

@vito-c I'm afraid not, sbt 0.13 is basically deprecated now

how do you upgrade an coursier installed app? coursier install it again?

@dwijnand coursier update or coursier update app-name should do

Dale Wijnand
@dwijnand
oh right
Alexandre Archambault
@alexarchambault

Also, how do you uninstall :D

Just removing the installed launcher should be enough

But I should probably add an uninstall command
Dale Wijnand
@dwijnand
yeah
Martynas Mickevičius
@2m
I am updating ArchLinux coursier package and noticed that boostrap with the latest coursier cli does not complete. It prints out that it has written the output executable file: Wrote /home/martynas/projects/coursier-pkgbuild/src/bin/coursier but then it gets stuck.
It actually finished after a couple of minutes.
JPS showed that one thread got stuckj in SocketInputStream.socketRead
And that thread was from OkHttp connecting to repo1.maven.org
Alexandre Archambault
@alexarchambault
@2m Couldn't that just have been some network issue? (independent of coursier)
Martynas Mickevičius
@2m
I get it everytime I run coursier bootstrap.
Also GitLab CI got the same delay.
Alexandre Archambault
@alexarchambault
mmhh, that's weird
do you have the exact command doing that?
Martynas Mickevičius
@2m
./coursier bootstrap -r central -r typesafe:ivy-releases io.get-coursier:coursier-cli_2.12:2.0.0-RC2-6 --standalone -f --no-default --mode force
without --mode force it works fine, as all of the dependencies are cached
Alexandre Archambault
@alexarchambault
It works fine locally for me
This message was deleted
with and without --mode force
bootstrap.gif
bootstrap.gif
Martynas Mickevičius
@2m
Hm. Interesting. The first version I see this freeze is 2.0.0-RC1. I tried with 1.1.0-M14-7 and it was fine.
Aha! I was using java-11-adoptopenjdk for all of these experiments.
With java-8-openjdk it works fine with the latest coursier.
Alexandre Archambault
@alexarchambault
oh
ok I see it with openjdk 11
urbanchr
@urbanchr
Hi, I wanted to use coursier in order to generate the jars corresponding to the
new scala-parallel-collections. I installed coursier version 2.0.0-RC2-6 via brew.
When I tried fetching with
coursier fetch -p org.scala-lang.modules::scala-parallel-collections:2.13
I received
Exception in thread "main" java.lang.Exception: No scala version found
at coursier.cli.resolve.Resolve$.$anonfun$task$3(Resolve.scala:139)
at scala.util.Either$LeftProjection.map(Either.scala:573)
at coursier.cli.resolve.Resolve$.$anonfun$task$2(Resolve.scala:139)
at scala.util.Either.flatMap(Either.scala:341)
at coursier.cli.resolve.Resolve$.task(Resolve.scala:122)
at coursier.cli.fetch.Fetch$.task(Fetch.scala:33)
at coursier.cli.fetch.Fetch$.run(Fetch.scala:99)
at coursier.cli.Coursier$.$anonfun$runA$2(Coursier.scala:71)
at coursier.cli.Coursier$.$anonfun$runA$2$adapted(Coursier.scala:65)
at coursier.cli.CommandAppPreA.run(CommandAppPreA.scala:22)
...
at scala.Option.foreach(Option.scala:274)
at caseapp.core.app.CommandAppWithPreCommand.main(CommandAppWithPreCommand.scala:84)
at coursier.cli.Coursier.main(Coursier.scala)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at coursier.bootstrap.launcher.a.a(Unknown Source)
at coursier.bootstrap.launcher.Launcher.main(Unknown Source)
What could be the problem? Thanks, Christian
urbanchr
@urbanchr
Sorry, figured out what was the problem (actually somebody knowledgeable helped).
Ofer Bartal
@oferb
Hi, is it possible to Resolve or Fetch only compile/runtime deps and not test deps?
Ofer Bartal
@oferb
Looks like it could be something to do with .withArtifactTypes(Set.of("jar")), but that doesn't actually remove test jars and seems to remove some compile/runtime jars.
I'm looking at this file, which has some values for Classifier, Type and Configuration (which has compile, runtime, test), but there doesn't seem to be a way to pass it to Fetch.
rajeshK88
@rajeshK88
What is location for mirror.properties file for windows machine ??
Alexandre Archambault
@alexarchambault
@oferb Not sure I see what you mean. test dependencies shouldn't be fetched by default.
@rajeshK88 should be C:\Users\%username%\AppData\Roaming\Coursier\config\
Tomasz Godzik
@tgodzik
Hi, is there any way to supply an alternative url to coursier bootstrap? We have a problem when using coursier from https://git.io/coursier-cli that to download anything it still needs to download itself. Or is using a standalone jar the only solution?
Alexandre Archambault
@alexarchambault
@tgodzik Yeah, it can't changed for now. What's the problem with it?
Tomasz Godzik
@tgodzik
@alexarchambault we use it to download Metals in the VS Code extension and if you don't have access to Maven Central then you need to download coursier-standalone manually. I think we can just add an additional parameter to provide an alternative path.
Alexandre Archambault
@alexarchambault
from now on, starting with the upcoming release, an assembly will be pushed to github release assets (among other stuff)
it could be offered as an alternative here
Tomasz Godzik
@tgodzik
cool, we can try that out
Rustam
@InvisibleDev
hi guys, any approximate timelines on stable 2.xx release version? How many RCs are you expecting?
Rustam
@InvisibleDev
currently we are using 1.0.3 but it started glitching with some of my team mates. Using 2.0.0-RCx fixes the problem but we can't use it in master since that is RC
Mikhail Chugunkov
@poslegm
Hello! I am trying to use coursier-interface and there are several features of big coursier that are not represented in coursier-interface. I created issue with details: coursier/interface#57. Is there a way to use them? If not, I am able to contribute
Jameel Al-Aziz
@jalaziz
would Coursier's new classpath ordering fix sbt/sbt#2904 ? It's not immediately clear and haven't been able to test it out since it's currently disabled until sbt-coursier RC4