From a10b4ad0b05585a75e28b6654f87ee17f3190ccf Mon Sep 17 00:00:00 2001 From: Alexandre Archambault Date: Sun, 29 Oct 2017 15:08:20 +0100 Subject: [PATCH] Updates for 1.0.0-RC13 --- README.md | 18 +++++++++--------- coursier | Bin 23576 -> 23573 bytes csbt | Bin 24458 -> 24455 bytes doc/README.md | 18 +++++++++--------- project/Mima.scala | 1 + project/project/project/plugins.sbt | 2 +- scripts/generate-launcher.sh | 2 +- scripts/generate-sbt-launcher.sh | 2 +- 8 files changed, 22 insertions(+), 21 deletions(-) diff --git a/README.md b/README.md index f6c61f57e..d5ea67de2 100644 --- a/README.md +++ b/README.md @@ -73,7 +73,7 @@ Lastly, it can be used programmatically via its [API](#api) and has a Scala JS [ Enable the SBT plugin by adding ```scala -addSbtPlugin("io.get-coursier" % "sbt-coursier" % "1.0.0-RC12-1") +addSbtPlugin("io.get-coursier" % "sbt-coursier" % "1.0.0-RC13") ``` to `~/.sbt/0.13/plugins/build.sbt` (enables it globally), or to the `project/plugins.sbt` file of an SBT project. Tested with SBT 0.13.8 / 0.13.9 / 0.13.11 / 0.13.12 / 0.13.13 / 0.13.15 / 0.13.16-M1 / 1.0.0-M5. @@ -111,8 +111,8 @@ $ ./coursier fetch org.apache.spark:spark-sql_2.11:1.6.1 com.twitter:algebird-sp Add to your `build.sbt` ```scala libraryDependencies ++= Seq( - "io.get-coursier" %% "coursier" % "1.0.0-RC12-1", - "io.get-coursier" %% "coursier-cache" % "1.0.0-RC12-1" + "io.get-coursier" %% "coursier" % "1.0.0-RC13", + "io.get-coursier" %% "coursier-cache" % "1.0.0-RC13" ) ``` @@ -215,7 +215,7 @@ of the cache used by a particular project, in case you have any doubt about what Enable the SBT plugin globally by adding ```scala -addSbtPlugin("io.get-coursier" % "sbt-coursier" % "1.0.0-RC12-1") +addSbtPlugin("io.get-coursier" % "sbt-coursier" % "1.0.0-RC13") ``` to `~/.sbt/0.13/plugins/build.sbt` @@ -368,7 +368,7 @@ The `bootstrap` generates tiny bootstrap launchers, able to pull their dependenc repositories on first launch. For example, the launcher of coursier is [generated](https://github.com/coursier/coursier/blob/master/scripts/generate-launcher.sh) with a command like ``` $ ./coursier bootstrap \ - io.get-coursier:coursier-cli_2.11:1.0.0-RC12-1 \ + io.get-coursier:coursier-cli_2.11:1.0.0-RC13 \ -b -f -o coursier \ -M coursier.cli.Coursier ``` @@ -380,12 +380,12 @@ See `./coursier bootstrap --help` for a list of the available options. Add to your `build.sbt` ```scala libraryDependencies ++= Seq( - "io.get-coursier" %% "coursier" % "1.0.0-RC12-1", - "io.get-coursier" %% "coursier-cache" % "1.0.0-RC12-1" + "io.get-coursier" %% "coursier" % "1.0.0-RC13", + "io.get-coursier" %% "coursier-cache" % "1.0.0-RC13" ) ``` -The first module, `"io.get-coursier" %% "coursier" % "1.0.0-RC12-1"`, mainly depends on +The first module, `"io.get-coursier" %% "coursier" % "1.0.0-RC13"`, mainly depends on `scalaz-core` (and only it, *not* `scalaz-concurrent` for example). It contains among others, definitions, mainly in [`Definitions.scala`](https://github.com/coursier/coursier/blob/master/core/shared/src/main/scala/coursier/core/Definitions.scala), @@ -395,7 +395,7 @@ that expects to be given metadata, wrapped in any `Monad`, then feeds these to ` you the final `Resolution`, wrapped in the same `Monad` it was given input. This final `Resolution` has all the dependencies, including the transitive ones. -The second module, `"io.get-coursier" %% "coursier-cache" % "1.0.0-RC12-1"`, is precisely in charge of fetching +The second module, `"io.get-coursier" %% "coursier-cache" % "1.0.0-RC13"`, is precisely in charge of fetching these input metadata. It uses `scalaz.concurrent.Task` as a `Monad` to wrap them. It also fetches artifacts (JARs, etc.). It caches all of these (metadata and artifacts) on disk, and validates checksums too. diff --git a/coursier b/coursier index 3a440ea66e062e4dc3a36253929836e7274c8d39..5b1aff668735ce740577fab5c2d41d82b5665290 100755 GIT binary patch delta 1209 zcmbQSgK_E(#tDwRtIA@%jm~_sp3lI*P&(01vEGoc*+77$TIJsZ{u^vdizT&|TyU6l zZw9j;)9p?D|Jy}6IuumjW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gik=Z6AqriePUcSj2 z!mU)#Z8vNP1m>0?AP(?mWD;Qz0j5U|PkfHgqujG}%ONWIKtNn_2)UNJnN3@|w|Mw&^Ed2*qN z%H&y4p?y)(Ow}x4mEWVlIcPE?P^gO+DCD33vf1PaxL0flrX>&Nqeg?`3KGhUx8 o8n31RvI;qc0@EfEkPDyO5H2Pb;LXYg5|skNYG5we7!KkA0BJ7|8~^|S diff --git a/doc/README.md b/doc/README.md index 739c6dd77..6699055dc 100644 --- a/doc/README.md +++ b/doc/README.md @@ -73,7 +73,7 @@ Lastly, it can be used programmatically via its [API](#api) and has a Scala JS [ Enable the SBT plugin by adding ```scala -addSbtPlugin("io.get-coursier" % "sbt-coursier" % "1.0.0-RC12-1") +addSbtPlugin("io.get-coursier" % "sbt-coursier" % "1.0.0-RC13") ``` to `~/.sbt/0.13/plugins/build.sbt` (enables it globally), or to the `project/plugins.sbt` file of an SBT project. Tested with SBT 0.13.8 / 0.13.9 / 0.13.11 / 0.13.12 / 0.13.13 / 0.13.15 / 0.13.16-M1 / 1.0.0-M5. @@ -111,8 +111,8 @@ $ ./coursier fetch org.apache.spark:spark-sql_2.11:1.6.1 com.twitter:algebird-sp Add to your `build.sbt` ```scala libraryDependencies ++= Seq( - "io.get-coursier" %% "coursier" % "1.0.0-RC12-1", - "io.get-coursier" %% "coursier-cache" % "1.0.0-RC12-1" + "io.get-coursier" %% "coursier" % "1.0.0-RC13", + "io.get-coursier" %% "coursier-cache" % "1.0.0-RC13" ) ``` @@ -242,7 +242,7 @@ of the cache used by a particular project, in case you have any doubt about what Enable the SBT plugin globally by adding ```scala -addSbtPlugin("io.get-coursier" % "sbt-coursier" % "1.0.0-RC12-1") +addSbtPlugin("io.get-coursier" % "sbt-coursier" % "1.0.0-RC13") ``` to `~/.sbt/0.13/plugins/build.sbt` @@ -397,7 +397,7 @@ The `bootstrap` generates tiny bootstrap launchers, able to pull their dependenc repositories on first launch. For example, the launcher of coursier is [generated](https://github.com/coursier/coursier/blob/master/scripts/generate-launcher.sh) with a command like ``` $ ./coursier bootstrap \ - io.get-coursier:coursier-cli_2.11:1.0.0-RC12-1 \ + io.get-coursier:coursier-cli_2.11:1.0.0-RC13 \ -b -f -o coursier \ -M coursier.cli.Coursier ``` @@ -409,12 +409,12 @@ See `./coursier bootstrap --help` for a list of the available options. Add to your `build.sbt` ```scala libraryDependencies ++= Seq( - "io.get-coursier" %% "coursier" % "1.0.0-RC12-1", - "io.get-coursier" %% "coursier-cache" % "1.0.0-RC12-1" + "io.get-coursier" %% "coursier" % "1.0.0-RC13", + "io.get-coursier" %% "coursier-cache" % "1.0.0-RC13" ) ``` -The first module, `"io.get-coursier" %% "coursier" % "1.0.0-RC12-1"`, mainly depends on +The first module, `"io.get-coursier" %% "coursier" % "1.0.0-RC13"`, mainly depends on `scalaz-core` (and only it, *not* `scalaz-concurrent` for example). It contains among others, definitions, mainly in [`Definitions.scala`](https://github.com/coursier/coursier/blob/master/core/shared/src/main/scala/coursier/core/Definitions.scala), @@ -424,7 +424,7 @@ that expects to be given metadata, wrapped in any `Monad`, then feeds these to ` you the final `Resolution`, wrapped in the same `Monad` it was given input. This final `Resolution` has all the dependencies, including the transitive ones. -The second module, `"io.get-coursier" %% "coursier-cache" % "1.0.0-RC12-1"`, is precisely in charge of fetching +The second module, `"io.get-coursier" %% "coursier-cache" % "1.0.0-RC13"`, is precisely in charge of fetching these input metadata. It uses `scalaz.concurrent.Task` as a `Monad` to wrap them. It also fetches artifacts (JARs, etc.). It caches all of these (metadata and artifacts) on disk, and validates checksums too. diff --git a/project/Mima.scala b/project/Mima.scala index 73a032669..26e9ee7ad 100644 --- a/project/Mima.scala +++ b/project/Mima.scala @@ -23,6 +23,7 @@ object Mima { "1.0.0-RC11", "1.0.0-RC12", "1.0.0-RC12-1", + "1.0.0-RC13", "" // binary compatibility versions ) diff --git a/project/project/project/plugins.sbt b/project/project/project/plugins.sbt index d47ba715e..c8870251a 100644 --- a/project/project/project/plugins.sbt +++ b/project/project/project/plugins.sbt @@ -1,7 +1,7 @@ addSbtPlugin("io.get-coursier" % "sbt-coursier" % coursierVersion0) // important: this line is matched / substituted during releases (via sbt-release) -def coursierVersion0 = "1.0.0-RC12-1" +def coursierVersion0 = "1.0.0-RC13" // required for just released things resolvers += Resolver.sonatypeRepo("releases") diff --git a/scripts/generate-launcher.sh b/scripts/generate-launcher.sh index b1c3a6d19..dde6ef050 100755 --- a/scripts/generate-launcher.sh +++ b/scripts/generate-launcher.sh @@ -1,6 +1,6 @@ #!/bin/bash -VERSION=1.0.0-RC12-1 +VERSION=1.0.0-RC13 CACHE_VERSION=v1 SBTPACK_LAUNCHER="$(dirname "$0")/../cli/target/pack/bin/coursier" diff --git a/scripts/generate-sbt-launcher.sh b/scripts/generate-sbt-launcher.sh index 0a40d8680..18ef02dbe 100755 --- a/scripts/generate-sbt-launcher.sh +++ b/scripts/generate-sbt-launcher.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash set -e -VERSION=1.0.0-RC12-1 +VERSION=1.0.0-RC13 "$(dirname "$0")/../coursier" bootstrap \ "io.get-coursier:sbt-launcher_2.11:$VERSION" \