Commit Graph

1483 Commits

Author SHA1 Message Date
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
Alexandre Archambault f743b85d1d Setting version to 1.0.2 2018-02-09 11:01:17 +01:00
Leonard Ehrenfried 4519faaf10 Remove sbt._ types from FromSbt.scala (#771)
* Remove more types from sbt._ namespace

* Use newest version of sbt-compat
2018-02-09 00:57:08 +01:00
Yi Cheng c8d191401c
Separate out bootstrap integration test (#769)
Separate bootstrap test because Pants does not pre-build the bootstrap.jar
2018-02-07 16:04:58 -08:00
Alexandre Archambault 335873a292
Merge pull request #748 from coursier/topic/update-cli
Switch the cli module to scala 2.12 and case-app 2.0.x
2018-02-07 22:29:48 +01:00
wisechengyi 18434fdcd3 Update pants build 2018-02-07 10:23:07 +01:00
Alexandre Archambault e5714020f8 Better error messages in test 2018-02-07 10:23:07 +01:00
Alexandre Archambault c2d0d42018 Use echo to test native bootstrap generation 2018-02-07 10:23:07 +01:00
Alexandre Archambault 506e14a90b Switch cli to scala 2.12 and latest case-app 2018-02-07 10:23:07 +01:00
Leonard Ehrenfried 8d41447528 Remove more imports from sbt._ namespace (#766)
* Remove more imports from sbt._ namespace

* Bump sbt-compat to 1.2.4
2018-02-05 18:36:36 +01:00
Alexandre Archambault bd726d9e26 Remove unnecessary setting
It was added mostly to make the coursier-based sbt launcher
(https://github.com/coursier/sbt-launcher) work a bit better
2018-02-04 23:41:59 +01:00
Alexandre Archambault 9c274c23d6 Update release process
tut seems not to work anymore here in 2.12…
2018-02-03 18:12:28 +01:00
Alexandre Archambault 8b6969384c Set version to 1.0.2-SNAPSHOT 2018-02-03 18:11:52 +01:00
Alexandre Archambault d36cf0c57b Updates for 1.0.1 2018-02-03 18:11:16 +01:00
Alexandre Archambault 88a842d233 Setting version to 1.0.1 2018-02-03 17:18:02 +01:00
Leonard Ehrenfried e18c4fa76c [sbt-shared] Use sbt.util.Logger instead of sbt.Logger (#764)
* Use sbt.util.Logger instead of sbt.Logger

* Bump sbt-compat, adds backport for sbt.util.Logger
2018-02-02 18:52:54 +01:00
Leonard Ehrenfried a8bdff26c5 Use released version of sbt-compat (#763) 2018-02-02 13:46:57 +01:00
Alexandre Archambault 82c0b5bf6d
Have the launcher fetch its jar from Central
Rather than Sonatype releases - the former is usually faster
2018-02-02 00:03:41 +01:00
Alexandre Archambault 886b4647d9 Update release process 2018-02-01 23:59:46 +01:00
Alexandre Archambault 05f4e76897 Set version to 1.0.1-SNAPSHOT 2018-02-01 23:57:24 +01:00
Alexandre Archambault 695c677269 Updates for 1.0.1-M1 2018-02-01 23:57:24 +01:00