From d25df01bf578bba04c67ab7810a5ce4afd38e935 Mon Sep 17 00:00:00 2001 From: Alexandre Archambault Date: Sun, 25 Jun 2017 15:13:46 +0200 Subject: [PATCH] Updates for 1.0.0-RC6 --- README.md | 18 +++++++++--------- coursier | Bin 15036 -> 15034 bytes csbt | Bin 15921 -> 15934 bytes doc/README.md | 18 +++++++++--------- project/Mima.scala | 1 + project/plugins.sbt | 2 +- project/project/plugins.sbt | 2 +- project/project/project/plugins.sbt | 2 +- scripts/generate-launcher.sh | 2 +- scripts/generate-sbt-launcher.sh | 2 +- 10 files changed, 24 insertions(+), 23 deletions(-) diff --git a/README.md b/README.md index b766ecbb5..cee387059 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-RC5") +addSbtPlugin("io.get-coursier" % "sbt-coursier" % "1.0.0-RC6") ``` 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-RC5", - "io.get-coursier" %% "coursier-cache" % "1.0.0-RC5" + "io.get-coursier" %% "coursier" % "1.0.0-RC6", + "io.get-coursier" %% "coursier-cache" % "1.0.0-RC6" ) ``` @@ -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-RC5") +addSbtPlugin("io.get-coursier" % "sbt-coursier" % "1.0.0-RC6") ``` 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/project/generate-launcher.sh) with a command like ``` $ ./coursier bootstrap \ - io.get-coursier:coursier-cli_2.11:1.0.0-RC5 \ + io.get-coursier:coursier-cli_2.11:1.0.0-RC6 \ -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-RC5", - "io.get-coursier" %% "coursier-cache" % "1.0.0-RC5" + "io.get-coursier" %% "coursier" % "1.0.0-RC6", + "io.get-coursier" %% "coursier-cache" % "1.0.0-RC6" ) ``` -The first module, `"io.get-coursier" %% "coursier" % "1.0.0-RC5"`, mainly depends on +The first module, `"io.get-coursier" %% "coursier" % "1.0.0-RC6"`, 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-RC5"`, is precisely in charge of fetching +The second module, `"io.get-coursier" %% "coursier-cache" % "1.0.0-RC6"`, 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 db90ece44d3c366268b4b0b6284b349b439a869d..cae085eb78fb2a0ef1ecdf6a04c7dec905e7bd50 100755 GIT binary patch delta 661 zcmdl}x~p`8BS%){O|MC1YG)>T8Z*rjnOHZ287MMYl2L^@v-0NVX+|rU*cmuD7(g5y z&2&z%=u2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b/doc/README.md index 01959750d..10056e2d9 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-RC5") +addSbtPlugin("io.get-coursier" % "sbt-coursier" % "1.0.0-RC6") ``` 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-RC5", - "io.get-coursier" %% "coursier-cache" % "1.0.0-RC5" + "io.get-coursier" %% "coursier" % "1.0.0-RC6", + "io.get-coursier" %% "coursier-cache" % "1.0.0-RC6" ) ``` @@ -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-RC5") +addSbtPlugin("io.get-coursier" % "sbt-coursier" % "1.0.0-RC6") ``` 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/project/generate-launcher.sh) with a command like ``` $ ./coursier bootstrap \ - io.get-coursier:coursier-cli_2.11:1.0.0-RC5 \ + io.get-coursier:coursier-cli_2.11:1.0.0-RC6 \ -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-RC5", - "io.get-coursier" %% "coursier-cache" % "1.0.0-RC5" + "io.get-coursier" %% "coursier" % "1.0.0-RC6", + "io.get-coursier" %% "coursier-cache" % "1.0.0-RC6" ) ``` -The first module, `"io.get-coursier" %% "coursier" % "1.0.0-RC5"`, mainly depends on +The first module, `"io.get-coursier" %% "coursier" % "1.0.0-RC6"`, 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-RC5"`, is precisely in charge of fetching +The second module, `"io.get-coursier" %% "coursier-cache" % "1.0.0-RC6"`, 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 2ba3933d3..769a14895 100644 --- a/project/Mima.scala +++ b/project/Mima.scala @@ -15,6 +15,7 @@ object Mima { "1.0.0-RC3", "1.0.0-RC4", "1.0.0-RC5", + "1.0.0-RC6", "" // binary compatibility versions ) diff --git a/project/plugins.sbt b/project/plugins.sbt index c5dca5df7..69371a7f5 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -21,7 +21,7 @@ libs ++= Seq( ) // important: this line is matched / substituted during releases (via sbt-release) -def coursierVersion = "1.0.0-RC5" +def coursierVersion = "1.0.0-RC6" // required for just released things resolvers += Resolver.sonatypeRepo("releases") diff --git a/project/project/plugins.sbt b/project/project/plugins.sbt index e1b45433f..07f9f3b7d 100644 --- a/project/project/plugins.sbt +++ b/project/project/plugins.sbt @@ -2,7 +2,7 @@ addSbtPlugin("io.get-coursier" % "sbt-coursier" % coursierVersion) addSbtPlugin("com.timushev.sbt" % "sbt-updates" % "0.3.0") // important: this line is matched / substituted during releases (via sbt-release) -def coursierVersion = "1.0.0-RC5" +def coursierVersion = "1.0.0-RC6" // required for just released things resolvers += Resolver.sonatypeRepo("releases") diff --git a/project/project/project/plugins.sbt b/project/project/project/plugins.sbt index a25ba4bb8..810314cf3 100644 --- a/project/project/project/plugins.sbt +++ b/project/project/project/plugins.sbt @@ -1,7 +1,7 @@ addSbtPlugin("io.get-coursier" % "sbt-coursier" % coursierVersion) // important: this line is matched / substituted during releases (via sbt-release) -def coursierVersion = "1.0.0-RC5" +def coursierVersion = "1.0.0-RC6" // required for just released things resolvers += Resolver.sonatypeRepo("releases") diff --git a/scripts/generate-launcher.sh b/scripts/generate-launcher.sh index 1ded3dd77..f94942b07 100755 --- a/scripts/generate-launcher.sh +++ b/scripts/generate-launcher.sh @@ -1,6 +1,6 @@ #!/bin/bash -VERSION=1.0.0-RC5 +VERSION=1.0.0-RC6 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 b0dd10d06..3504c94b6 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-RC5 +VERSION=1.0.0-RC6 "$(dirname "$0")/../coursier" bootstrap \ "io.get-coursier:sbt-launcher_2.11:$VERSION" \