From ed631ca8b2c2c2ceab7882181712bace0c74c78c Mon Sep 17 00:00:00 2001 From: Alexandre Archambault Date: Tue, 19 Apr 2016 21:09:16 +0200 Subject: [PATCH] Updates for 1.0.0-M11 --- README.md | 22 +++++++++++----------- coursier | Bin 12206 -> 12194 bytes doc/README.md | 22 +++++++++++----------- project/generate-launcher.sh | 8 ++++---- project/plugins.sbt | 2 +- 5 files changed, 27 insertions(+), 27 deletions(-) diff --git a/README.md b/README.md index 8409c7481..80039e3ec 100644 --- a/README.md +++ b/README.md @@ -7,8 +7,8 @@ A Scala library to fetch dependencies from Maven / Ivy repositories [![Build Status](https://travis-ci.org/alexarchambault/coursier.svg?branch=master)](https://travis-ci.org/alexarchambault/coursier) [![Build status (Windows)](https://ci.appveyor.com/api/projects/status/trtum5b7washfbj9?svg=true)](https://ci.appveyor.com/project/alexarchambault/coursier) [![Join the chat at https://gitter.im/alexarchambault/coursier](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/alexarchambault/coursier?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) -[![Maven Central](https://img.shields.io/maven-central/v/com.github.alexarchambault/coursier_2.11.svg)](https://maven-badges.herokuapp.com/maven-central/com.github.alexarchambault/coursier_2.11) -[![ScalaDoc](http://javadoc-badge.appspot.com/com.github.alexarchambault/coursier_2.11.svg?label=scaladoc)](http://javadoc-badge.appspot.com/com.github.alexarchambault/coursier_2.11) +[![Maven Central](https://img.shields.io/maven-central/v/io.get-coursier/coursier_2.11.svg)](https://maven-badges.herokuapp.com/maven-central/io.get-coursier/coursier_2.11) +[![ScalaDoc](http://javadoc-badge.appspot.com/io.get-coursier/coursier_2.11.svg?label=scaladoc)](http://javadoc-badge.appspot.com/io.get-coursier/coursier_2.11) ![Demo (courtesy of @paulp)](http://i.imgur.com/lCJ9oql.gif) @@ -68,7 +68,7 @@ Lastly, it can be used programmatically via its [API](#api) and has a Scala JS [ Enable the SBT plugin by adding ```scala -addSbtPlugin("com.github.alexarchambault" % "coursier-sbt-plugin" % "1.0.0-M10") +addSbtPlugin("io.get-coursier" % "sbt-coursier" % "1.0.0-M11") ``` to `~/.sbt/0.13/plugins/build.sbt` (enables it globally), or to the `project/plugins.sbt` file of a SBT project. Tested with SBT 0.13.8 / 0.13.9. @@ -110,8 +110,8 @@ Fetching artifacts Add to your `build.sbt` ```scala libraryDependencies ++= Seq( - "com.github.alexarchambault" %% "coursier" % "1.0.0-M10", - "com.github.alexarchambault" %% "coursier-cache" % "1.0.0-M10" + "io.get-coursier" %% "coursier" % "1.0.0-M11", + "io.get-coursier" %% "coursier-cache" % "1.0.0-M11" ) ``` @@ -214,7 +214,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("com.github.alexarchambault" % "coursier-sbt-plugin" % "1.0.0-M10") +addSbtPlugin("io.get-coursier" % "sbt-coursier" % "1.0.0-M11") ``` to `~/.sbt/0.13/plugins/build.sbt` @@ -355,7 +355,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/alexarchambault/coursier/blob/master/project/generate-launcher.sh) with a command like ``` $ ./coursier bootstrap \ - com.github.alexarchambault:coursier-cli_2.11:1.0.0-M10 \ + io.get-coursier:coursier-cli_2.11:1.0.0-M11 \ -b -f -o coursier \ -M coursier.cli.Coursier ``` @@ -367,12 +367,12 @@ See `./coursier bootstrap --help` for a list of the available options. Add to your `build.sbt` ```scala libraryDependencies ++= Seq( - "com.github.alexarchambault" %% "coursier" % "1.0.0-M10", - "com.github.alexarchambault" %% "coursier-cache" % "1.0.0-M10" + "io.get-coursier" %% "coursier" % "1.0.0-M11", + "io.get-coursier" %% "coursier-cache" % "1.0.0-M11" ) ``` -The first module, `"com.github.alexarchambault" %% "coursier" % "1.0.0-M10"`, mainly depends on +The first module, `"io.get-coursier" %% "coursier" % "1.0.0-M11"`, 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/alexarchambault/coursier/blob/master/core/shared/src/main/scala/coursier/core/Definitions.scala), @@ -382,7 +382,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, `"com.github.alexarchambault" %% "coursier-cache" % "1.0.0-M10"`, is precisely in charge of fetching +The second module, `"io.get-coursier" %% "coursier-cache" % "1.0.0-M11"`, 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 1da6ad585f1a49a2580f7e40063aa0c3780ffa61..2fa41333597cd94c45e34321c4d6d504f674e77c 100755 GIT binary patch delta 858 zcmZ1%zbJl!Bd_W5$sTu&rFGUZFfdG;=%-lk$k${b;__YPP9yi02ivSml{;4mmi*V0 z&j^aTR43H0ugAe=cFgYtym}jtrj2g&vDLmdLts z$ZD@u_2>J=|0(vc@U;2crvE9>JEZVFa8=YvPUESiN z0p83kTnr2x3=BYjOx9pjVFuEhQ{;9sf*F2_M_9oOQS~TBK9E-{PkeoJg^_`Qoq2M; zoaE+d8V?!S88|pV+BaLXsY!rUD=26~^!qcaGl4}anRhd>a{$$q0j;UiQmqfis& z$V$qetgmgz4021dwx*<}Z)kyzMv%dl5CfwPMq9TS8HN^=@$xZ#n!H5YoN?mhJKEB! z2dDEM&jD&}2jT#4MkWyk5n!-^{f&tJ$uc^YAn#6&&@lmr)(ZU+wH9D#SK*4%$4pXBnP~jUOR)V_~#OULgoT_I4R)h$91_mh< zMXx!5rpfT5Ic&0`t_&kLP)1~O92?u@2wfhqIgB8wY=9Gk42n%R<6ij}lXABNs1$}A8)01uV)#QPp W?SUMM!0i3t^FH% zTxN!S+PVvmmrsyrYrK7W=l!34Y;I;s3Y8r4OH6HUUhfxdE7*&{o^yW#b>P%q99`)T!>3L>J<#mdCa0o2K{uwZhXmTLWO-WCHMh6|lZ$EUn0FrMRcPRa6V zvkbeTT}M;fJ5T*txwUQ~H>DgO#%h_we!SMQP&8)p(Txh}mJ!ZRHhnlzcJ;zMm)H|8 ztr-P{Dn7h({#X0X@_O&<{^He4_1A<0yxBQ^Ha4rp0pp+nh(W#*0XiFOy9ZE!fnl5&1`%K|fdc{&-IE1$EJ5C$?4x7C2c$g;*BYMw#K^$l$vnAFM}2aMo-kOt zOHZ1~lzH+(Rk6u?^#ou6I(fCO3?nO0RAh1-51S6UEi3d()LMXMOf5Ys4LBMM;>fWyNVz`nmLnC>qs+kDS~zAGqYn@b8Ze(qb$&xH$bcew*tht zs5bc_hYE&<$`fB7T>&a)XGV9Io(9;Ksk;1vu&{^6%H(@`#`3`M2ge4`M_?chr6JUf b$p-prU^U2r4-9rBAV0ZOU!CoYHb@8n&f_7* diff --git a/doc/README.md b/doc/README.md index 2c70fd06e..cd10c2b2c 100644 --- a/doc/README.md +++ b/doc/README.md @@ -7,8 +7,8 @@ A Scala library to fetch dependencies from Maven / Ivy repositories [![Build Status](https://travis-ci.org/alexarchambault/coursier.svg?branch=master)](https://travis-ci.org/alexarchambault/coursier) [![Build status (Windows)](https://ci.appveyor.com/api/projects/status/trtum5b7washfbj9?svg=true)](https://ci.appveyor.com/project/alexarchambault/coursier) [![Join the chat at https://gitter.im/alexarchambault/coursier](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/alexarchambault/coursier?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) -[![Maven Central](https://img.shields.io/maven-central/v/com.github.alexarchambault/coursier_2.11.svg)](https://maven-badges.herokuapp.com/maven-central/com.github.alexarchambault/coursier_2.11) -[![ScalaDoc](http://javadoc-badge.appspot.com/com.github.alexarchambault/coursier_2.11.svg?label=scaladoc)](http://javadoc-badge.appspot.com/com.github.alexarchambault/coursier_2.11) +[![Maven Central](https://img.shields.io/maven-central/v/io.get-coursier/coursier_2.11.svg)](https://maven-badges.herokuapp.com/maven-central/io.get-coursier/coursier_2.11) +[![ScalaDoc](http://javadoc-badge.appspot.com/io.get-coursier/coursier_2.11.svg?label=scaladoc)](http://javadoc-badge.appspot.com/io.get-coursier/coursier_2.11) ![Demo (courtesy of @paulp)](http://i.imgur.com/lCJ9oql.gif) @@ -68,7 +68,7 @@ Lastly, it can be used programmatically via its [API](#api) and has a Scala JS [ Enable the SBT plugin by adding ```scala -addSbtPlugin("com.github.alexarchambault" % "coursier-sbt-plugin" % "1.0.0-M10") +addSbtPlugin("io.get-coursier" % "sbt-coursier" % "1.0.0-M11") ``` to `~/.sbt/0.13/plugins/build.sbt` (enables it globally), or to the `project/plugins.sbt` file of a SBT project. Tested with SBT 0.13.8 / 0.13.9. @@ -110,8 +110,8 @@ Fetching artifacts Add to your `build.sbt` ```scala libraryDependencies ++= Seq( - "com.github.alexarchambault" %% "coursier" % "1.0.0-M10", - "com.github.alexarchambault" %% "coursier-cache" % "1.0.0-M10" + "io.get-coursier" %% "coursier" % "1.0.0-M11", + "io.get-coursier" %% "coursier-cache" % "1.0.0-M11" ) ``` @@ -236,7 +236,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("com.github.alexarchambault" % "coursier-sbt-plugin" % "1.0.0-M10") +addSbtPlugin("io.get-coursier" % "sbt-coursier" % "1.0.0-M11") ``` to `~/.sbt/0.13/plugins/build.sbt` @@ -379,7 +379,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/alexarchambault/coursier/blob/master/project/generate-launcher.sh) with a command like ``` $ ./coursier bootstrap \ - com.github.alexarchambault:coursier-cli_2.11:1.0.0-M10 \ + io.get-coursier:coursier-cli_2.11:1.0.0-M11 \ -b -f -o coursier \ -M coursier.cli.Coursier ``` @@ -391,12 +391,12 @@ See `./coursier bootstrap --help` for a list of the available options. Add to your `build.sbt` ```scala libraryDependencies ++= Seq( - "com.github.alexarchambault" %% "coursier" % "1.0.0-M10", - "com.github.alexarchambault" %% "coursier-cache" % "1.0.0-M10" + "io.get-coursier" %% "coursier" % "1.0.0-M11", + "io.get-coursier" %% "coursier-cache" % "1.0.0-M11" ) ``` -The first module, `"com.github.alexarchambault" %% "coursier" % "1.0.0-M10"`, mainly depends on +The first module, `"io.get-coursier" %% "coursier" % "1.0.0-M11"`, 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/alexarchambault/coursier/blob/master/core/shared/src/main/scala/coursier/core/Definitions.scala), @@ -406,7 +406,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, `"com.github.alexarchambault" %% "coursier-cache" % "1.0.0-M10"`, is precisely in charge of fetching +The second module, `"io.get-coursier" %% "coursier-cache" % "1.0.0-M11"`, 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/generate-launcher.sh b/project/generate-launcher.sh index 33d74e004..69b8ffe14 100755 --- a/project/generate-launcher.sh +++ b/project/generate-launcher.sh @@ -1,6 +1,6 @@ #!/bin/bash -VERSION=1.0.0-M10 +VERSION=1.0.0-M11 CACHE_VERSION=v1 SBTPACK_LAUNCHER="$(dirname "$0")/../cli/target/pack/bin/coursier" @@ -10,15 +10,15 @@ if [ ! -f "$SBTPACK_LAUNCHER" ]; then fi "$SBTPACK_LAUNCHER" bootstrap \ - com.github.alexarchambault:coursier-cli_2.11:$VERSION \ + io.get-coursier:coursier-cli_2.11:$VERSION \ --classifier standalone \ --intransitive \ -J "-noverify" \ --no-default \ -r central \ -r sonatype:releases \ - -D "\${user.home}/.coursier/bootstrap/$VERSION" \ + -d "\${user.home}/.coursier/bootstrap/$VERSION" \ -f -o coursier \ -M coursier.cli.Coursier \ - -P coursier.cache="\${user.home}/.coursier/cache/$CACHE_VERSION" \ + -D coursier.cache="\${user.home}/.coursier/cache/$CACHE_VERSION" \ "$@" diff --git a/project/plugins.sbt b/project/plugins.sbt index 4baede847..6b8a62f5a 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -3,7 +3,7 @@ addSbtPlugin("org.scala-js" % "sbt-scalajs" % "0.6.8") addSbtPlugin("com.jsuereth" % "sbt-pgp" % "1.0.0") addSbtPlugin("org.scoverage" % "sbt-scoverage" % "1.1.0") addSbtPlugin("org.tpolecat" % "tut-plugin" % "0.4.0") -addSbtPlugin("com.github.alexarchambault" % "coursier-sbt-plugin" % "1.0.0-M10") +addSbtPlugin("io.get-coursier" % "sbt-coursier" % "1.0.0-M11") addSbtPlugin("com.typesafe.sbt" % "sbt-proguard" % "0.2.2") addSbtPlugin("com.typesafe" % "sbt-mima-plugin" % "0.1.8") libraryDependencies += "org.scala-sbt" % "scripted-plugin" % sbtVersion.value