From 361e4167a4bc385c934f349041501f90ec62171e Mon Sep 17 00:00:00 2001 From: Alexandre Archambault Date: Wed, 21 Jun 2017 09:38:28 +0200 Subject: [PATCH] Updates for 1.0.0-RC5 --- README.md | 18 +++++++++--------- coursier | Bin 15034 -> 15036 bytes csbt | Bin 15919 -> 15921 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 507ab79ba..b766ecbb5 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-RC4") +addSbtPlugin("io.get-coursier" % "sbt-coursier" % "1.0.0-RC5") ``` 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-RC4", - "io.get-coursier" %% "coursier-cache" % "1.0.0-RC4" + "io.get-coursier" %% "coursier" % "1.0.0-RC5", + "io.get-coursier" %% "coursier-cache" % "1.0.0-RC5" ) ``` @@ -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-RC4") +addSbtPlugin("io.get-coursier" % "sbt-coursier" % "1.0.0-RC5") ``` 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-RC4 \ + io.get-coursier:coursier-cli_2.11:1.0.0-RC5 \ -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-RC4", - "io.get-coursier" %% "coursier-cache" % "1.0.0-RC4" + "io.get-coursier" %% "coursier" % "1.0.0-RC5", + "io.get-coursier" %% "coursier-cache" % "1.0.0-RC5" ) ``` -The first module, `"io.get-coursier" %% "coursier" % "1.0.0-RC4"`, mainly depends on +The first module, `"io.get-coursier" %% "coursier" % "1.0.0-RC5"`, 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-RC4"`, is precisely in charge of fetching +The second module, `"io.get-coursier" %% "coursier-cache" % "1.0.0-RC5"`, 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 2ba7ecc1e6c2d915439c635b7d19f2c95282f8b0..db90ece44d3c366268b4b0b6284b349b439a869d 100755 GIT binary patch delta 809 zcmdm0x~Fu4BgX-st6tZXClyZgG-m2DnOHZ287MMYl2L^ZB(puXRwsy^fx&`r@<#>9 z$qtt6o8^^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I4%$k1vfdH#A zvvcvfC4c@*dNgU#5vILsjwnq(qZB>$)ul&Ql=k-gxpO6|cJGrvmli!bb496kht=OR zHG98Y5sKa6QyA2l=a-ZjSLBuzxM$+Lg^H7A?(CdddCs!)=+SKkPpcfB8eFZ~=a8uf zbTm7MoV-L#Sseod!(t!~@MdHZVGv;eB|=y-o}6uI2Ts9jEKT@;DbwrV>u>HKfZq0G zp8U>IeX<-6`{X}XJfM_0ncG^LNric`A)gdKvQZ$ZK%i8CBv49Za+5VU;ZN4Ik!CWK z0SiUh2*FbR{dHwxM8pv8@v)Fsi-eK;by~ovke!uO-M#02Z#AR{#J2 diff --git a/doc/README.md b/doc/README.md index 2f85bd579..01959750d 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-RC4") +addSbtPlugin("io.get-coursier" % "sbt-coursier" % "1.0.0-RC5") ``` 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-RC4", - "io.get-coursier" %% "coursier-cache" % "1.0.0-RC4" + "io.get-coursier" %% "coursier" % "1.0.0-RC5", + "io.get-coursier" %% "coursier-cache" % "1.0.0-RC5" ) ``` @@ -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-RC4") +addSbtPlugin("io.get-coursier" % "sbt-coursier" % "1.0.0-RC5") ``` 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-RC4 \ + io.get-coursier:coursier-cli_2.11:1.0.0-RC5 \ -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-RC4", - "io.get-coursier" %% "coursier-cache" % "1.0.0-RC4" + "io.get-coursier" %% "coursier" % "1.0.0-RC5", + "io.get-coursier" %% "coursier-cache" % "1.0.0-RC5" ) ``` -The first module, `"io.get-coursier" %% "coursier" % "1.0.0-RC4"`, mainly depends on +The first module, `"io.get-coursier" %% "coursier" % "1.0.0-RC5"`, 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-RC4"`, is precisely in charge of fetching +The second module, `"io.get-coursier" %% "coursier-cache" % "1.0.0-RC5"`, 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 c69cfede4..2ba3933d3 100644 --- a/project/Mima.scala +++ b/project/Mima.scala @@ -14,6 +14,7 @@ object Mima { "1.0.0-RC2", "1.0.0-RC3", "1.0.0-RC4", + "1.0.0-RC5", "" // binary compatibility versions ) diff --git a/project/plugins.sbt b/project/plugins.sbt index 42a8533fc..c5dca5df7 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-RC4" +def coursierVersion = "1.0.0-RC5" // required for just released things resolvers += Resolver.sonatypeRepo("releases") diff --git a/project/project/plugins.sbt b/project/project/plugins.sbt index 1ea1b863d..e1b45433f 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-RC4" +def coursierVersion = "1.0.0-RC5" // required for just released things resolvers += Resolver.sonatypeRepo("releases") diff --git a/project/project/project/plugins.sbt b/project/project/project/plugins.sbt index bccdf62d9..a25ba4bb8 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-RC4" +def coursierVersion = "1.0.0-RC5" // required for just released things resolvers += Resolver.sonatypeRepo("releases") diff --git a/scripts/generate-launcher.sh b/scripts/generate-launcher.sh index 1bdb41f8c..1ded3dd77 100755 --- a/scripts/generate-launcher.sh +++ b/scripts/generate-launcher.sh @@ -1,6 +1,6 @@ #!/bin/bash -VERSION=1.0.0-RC4 +VERSION=1.0.0-RC5 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 43ef36f79..b0dd10d06 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-RC4 +VERSION=1.0.0-RC5 "$(dirname "$0")/../coursier" bootstrap \ "io.get-coursier:sbt-launcher_2.11:$VERSION" \