Commit Graph

2022 Commits

Author SHA1 Message Date
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
Alexandre Archambault 72cdbeb70e Setting version to 1.0.1-M1 2018-02-01 23:11:19 +01:00
Yi Cheng f6ceba5b44
Add json report version and documentation (#749)
* Add version number to the json report
* Add documentation and borrow Pants' export versioning guideline: afa6a286f1/src/python/pants/backend/project_info/tasks/export.py (L49-L59)
2018-02-01 10:44:05 -08:00
Alexandre Archambault 212b5fe298
Merge pull request #762 from coursier/topic/bootstrap-artifact-types
Ensure POM files aren't added to classpath by bootstraps
2018-02-01 17:32:35 +01:00
Alexandre Archambault 8c72303ae9 Ensure POM files aren't added to classpath by bootstraps
They were when using the "isolated" classloader thing (that
https://github.com/jupyter-scala/ammonium and
https://github.com/jupyter-scala/jupyter-scala should probably be the only user of…)
2018-02-01 16:18:47 +01:00
Jon Pretty 359ebf9fe5 Added simple ZSH completions, and updated README with install details (#756)
These completions were generated by copy/pasting details from the
version 1.0.0 '--help' output, and had a small amount of human input.
The completions are by no means perfect, and there is no intelligent
completion of parameter values (except `--mode`, which was trivial).

I hope that completions prove to be useful, and can form a basis that
other users of coursier can build upon, to improve the interactivity of
the command-line client.
2018-01-31 15:29:58 +01:00
Leonard Ehrenfried 387078aa87 Import correct resolver from librarymanagement #746 2018-01-31 15:26:21 +01:00
Alexandre Archambault 954841eb93
Merge pull request #761 from coursier/topic/tweak-manual-profile-activation
Allow to deactivate Maven profiles from the CLI
2018-01-31 10:09:40 +01:00
Alexandre Archambault 14bc756b5b Allow to deactivate Maven profiles from the CLI
And add extra tests for profile deactivation
2018-01-30 17:26:07 +01:00
Alexandre Archambault 1ddfbed8a8
Merge pull request #758 from coursier/topic/move-readme
Move tut-processed README.md under doc/readme
2018-01-29 21:35:58 +01:00
Yi Cheng 849d128b90 Specify classifier on module level on CLI (#735) 2018-01-29 21:02:49 +01:00
Alexandre Archambault 5a82ba903e Move tut-processed README.md under doc/readme 2018-01-29 20:45:28 +01:00