Commit Graph

2153 Commits

Author SHA1 Message Date
Alexandre Archambault 141170e637 Setting version to 1.1.0-M1 2018-03-14 11:48:14 +01:00
Alexandre Archambault 3381727832
Simplify bootstrap artifacts handling a bit (#810)
If using bootstrap with "isolated" classloaders, optional artifacts weren't added to the "isolated" loaders before that…

I'm not sure anyone except me uses that, so commiting that straightaway for now… (I'm using it in the context of jupyter-scala, to isolate classloaders from there)
2018-03-13 16:48:09 +01:00
Alexandre Archambault 8cf4d7a16d
Merge pull request #807 from coursier/topic/less-scalaz
Remove scalaz dependency from core and cache
2018-03-13 12:36:58 +01:00
Alexandre Archambault 189bc7799a Clean-up 2018-03-12 21:50:36 +01:00
Alexandre Archambault dbf3763037 Don't require publishing stuff locally prior to running scripted tests 2018-03-12 21:50:36 +01:00
Alexandre Archambault 6f8a9d295f Fix deprecation warnings 2018-03-12 21:50:35 +01:00
Alexandre Archambault b1fde7291d Don't require manually running npm install before the JS tests 2018-03-12 21:50:35 +01:00
Alexandre Archambault c98393838a Use coursier.util.Task more in tests 2018-03-12 21:50:35 +01:00
Alexandre Archambault 13eda41fa2 Remove former JS-only coursier.Task 2018-03-12 21:50:35 +01:00
Alexandre Archambault 87e5f33754 Add coursier.util.Task 2018-03-12 21:50:35 +01:00
Alexandre Archambault dc2e4996f4 Require Java 8 from now on 2018-03-12 21:50:35 +01:00
Alexandre Archambault 5bd162d5fe Tweak scalac options 2018-03-12 21:50:35 +01:00
Alexandre Archambault 29f8d7b680 Remove scalaz dependency from core and cache, add scalaz-interop module 2018-03-12 21:50:35 +01:00
Alexandre Archambault fb5a2fde12 Merge cache and fetch-js projects 2018-03-12 20:50:22 +01:00
Alexandre Archambault c13c69764b Really switch to latest scala 2.10 / 2.11 2018-03-12 11:44:31 +01:00
Ruben Berenguel cf365ea27a Resets the connection (and sets partial download to false) if the range is not satisfiable by the server (#795) 2018-03-12 11:19:57 +01:00
Yi Cheng a7605ff900
Retry on ChecksumError (#797)
Fix for #780
2018-03-10 12:57:47 -08:00
Nick Howard d0b46864c8 json-report: one file per dependency instead of multiple; use m2 coords (#782)
When classifiers are used as part of dependency specifications, it's important to be able to select just the classified artifact. Unfortunately, in the current json, dependencies don't specify classifiers, so it isn't possible to just get one of the artifacts for a dependency when a classifier is required.

This patch introduces maven style artifact prefixes in order to include classifier and packaging information in the coordinates. By doing that, we can use them as keys in dependency lists more easily and it allows consumers of the json to treat those dependency keys as mostly opaque ids rather than having to parse them.

Addresses #743
2018-03-09 14:47:27 -08:00
Alexandre Archambault 2d4ab34408
Switch to latest directories (#806)
* Switch to latest directories

* bump soc to 6 for Pants
2018-03-09 09:43:13 +01:00
Alexandre Archambault 2d180e12d1
Merge pull request #796 from coursier/topic/less-scalaz
Less scalaz in core and cache
2018-03-05 17:44:33 +01:00
Alexandre Archambault f4fe44fe2c Clean-up helper method to fully read InputStream 2018-03-03 15:09:02 +01:00
Alexandre Archambault ca62830d23 Add coursier.util.Schedulable 2018-03-03 15:09:02 +01:00
Alexandre Archambault 838a340b89 Remove deprecated stuff 2018-03-03 14:57:14 +01:00
Alexandre Archambault c037dbaeeb Add coursier.util.Gather 2018-03-03 14:55:46 +01:00
Alexandre Archambault 5e1eeef757 Add coursier.util.Monad 2018-03-03 14:55:46 +01:00
Alexandre Archambault a83df3e1c8 Add coursier.util.ValidationNel 2018-03-03 14:55:46 +01:00
Alexandre Archambault dc87950dc4 Remove some uses of scalaz.Scalaz.*Ops 2018-03-03 14:55:46 +01:00
Yi Cheng 015e906481
Remove deprecation prior to 1.1.0-SNAPSHOT and clarify versioning and deprecation strategy (#800)
Version was bumped to 1.1.0-SNAPSHOT and backward compatiliby was removed for up to 1.0.2 at 0123a37, so it should be safe to remove all the deprecations.
2018-03-02 11:39:44 -08:00
Sean Sullivan 2747d1e55a
Update sbt plugins (#792)
sbt-release 1.0.7, sbt-sonatype 2.3, sbt-updates 0.3.4
2018-02-26 11:36:16 +01:00
Yi Cheng 76768c3479
Remove redundant test (#788)
Forgot to do so in #769 `CliIntegrationTest.scala` was split into `CliFetchIntegrationTest.scala` and `CliBootstrapIntegrationTest.scala`
2018-02-24 01:05:51 -08:00
Alexandre Archambault 834fbd598a
Merge pull request #781 from coursier/topic/less-scalaz
Use less things from scalaz
2018-02-23 11:14:19 +01:00
Alexandre Archambault ee4a860d7e Add links to README of latest release 2018-02-22 18:20:34 +01:00
Alexandre Archambault 1816b25b84 Stop using scalaz.{EitherT, \/}
Use scala.Either instead of \/

Use the custom coursier.util.EitherT instead of scalaz.EitherT
2018-02-22 18:20:34 +01:00
Alexandre Archambault 0123a377e2 Bump version, remove 1.0.x mima checks 2018-02-22 18:17:10 +01:00
Dorothy Ordogh 3e4a65d5ee Add ability to fetch artifact with a given url (#774)
* changes

* changes to Attributes

* make changes

* add test and fix bug

* add more tests

* fix failing tests

* fix parentheses

* remove comments I added and add test that's guarenteed not to exist in a repo

* remove Attributes third parameter and refactor Parse's moduleVersionConfig to return a tuple of Dependency and a Map of String to String representing extra parameters for the dependency

* update some return types and methods in the Helper class

* return FallbackDependenciesRepository back to original state

* refactor helper

* remove url from attributes

* fix tests and add cache to extra in build.sbt

* remove FallbackDepsRepo from sbt-coursier

* add variable for url and call encode in tests

* update tests and helper to have proper behavior

* remove setting deps to intransitive when url is present and add two tests

* add more tests, implement @wisechengyi's comments

* fix nits

* update ParseTests because some failed

* fix tests

* incorporate feedback from @alexarchambault and @wisechengyi

* update ParseTests to check for returned error vs thrown error

* remove one test that is covered in ParseTests

* fix nits

* add back deleted brackets

* return errors in Left without using return statement

* revert change because it's broken

* fix some positional things

* add return statement or else error won't be processed

* fix nits. thanks @wisechengyi

* Remove return statements
2018-02-22 18:06:06 +01:00
Alexandre Archambault a66a7753df
Update contributors section (#786) 2018-02-22 13:32:36 +01:00
Alexandre Archambault b093c77193 Tweak comment 2018-02-22 11:30:51 +01:00
Alexandre Archambault a1eb069979 Add release notes for 1.0.2 2018-02-22 11:26:52 +01:00
Alexandre Archambault 834f59b465 Add release notes for 1.0.1 2018-02-22 10:58:35 +01:00
Alexandre Archambault 4adf65f7e9
Automatically initialize git submodules if necessary (#785) 2018-02-21 11:26:16 +01:00
Alexandre Archambault 8388999aa8
Adjust README TOC (#784)
GitHub conventions seem to have changed (see discussion
around https://twitter.com/alxarchambault/status/965519451419545600)
2018-02-20 15:05:55 +01:00
Alexandre Archambault 7b12da18b6
Add note about merging PRs in DEVELOPMENT.md (#776) 2018-02-13 14:56:25 +01:00
Nick Howard 137973c06c Update Pants development instructions for Scala 2.12 (#777)
The Pants build targets have moved to 2.12. This updates the instructions to account for that.
2018-02-12 17:00:38 -08:00
Leonard Ehrenfried df58a68a39 Remove more sbt._ types from sbt-shared (#775)
* Remove more sbt._ types from sbt-shared

* Replace sbt.url

* Upgrade to sbt-compat 1.2.6
2018-02-12 13:46:44 +01:00
Alexandre Archambault 4177b0adc7
Merge pull request #772 from leonardehrenfried/sbt-1.1.1
Upgrade to sbt 1.1.1
2018-02-09 16:25:47 +01:00
Leonard Ehrenfried be486c01be Upgrade to sbt 1.1.1 2018-02-09 14:14:59 +01:00
Leonard Ehrenfried c30421e145 Upgrade to sbt 1.1.0, update sbt-pack 2018-02-09 14:14:58 +01:00
Alexandre Archambault 2cb42444cd Go back to 1.0.1 launcher
The 1.0.2 one seems broken :/ (issue with proguarding and scala 2.12?)
2018-02-09 13:22:18 +01:00
Alexandre Archambault 6c3cf920fa Setting version to 1.0.3-SNAPSHOT 2018-02-09 11:26:42 +01:00
Alexandre Archambault 37aff72ada
Updates for 1.0.2 2018-02-09 11:26:37 +01:00