Alexandre Archambault
f4fe44fe2c
Clean-up helper method to fully read InputStream
2018-03-03 15:09:02 +01:00
Alexandre Archambault
838a340b89
Remove deprecated stuff
2018-03-03 14:57:14 +01:00
Alexandre Archambault
5e1eeef757
Add coursier.util.Monad
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
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
37aff72ada
Updates for 1.0.2
2018-02-09 11:26:37 +01:00
Alexandre Archambault
e5714020f8
Better error messages in test
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
Alexandre Archambault
d36cf0c57b
Updates for 1.0.1
2018-02-03 18:11:16 +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
Yi Cheng
849d128b90
Specify classifier on module level on CLI ( #735 )
2018-01-29 21:02:49 +01:00
Alexandre Archambault
00fd13e786
Update version numbers in CI scripts after 1.0.0 release
2017-12-18 12:00:03 +01:00
Alexandre Archambault
03f7cbb42d
More careful handling of extenstion / type with snapshot versioning
2017-12-04 13:39:40 +01:00
Alexandre Archambault
389375da5d
Fix divergence when parsing versions
...
Those starting with neither a letter, nor a digit, nor a known separator
2017-11-30 13:03:17 +01:00
Alexandre Archambault
5f5b127563
Bump dependencies
2017-10-21 02:30:51 +02:00
Yi Cheng
07e985bffc
Fix cli print out completeness and cyclic handling issue ( #671 )
...
* simplify
* doc
* rename
* char
* more tests
* add tests then fix bugs
* Small tweak to avoid quadratic calculation
2017-10-20 00:54:58 +02:00
Alexandre Archambault
b25fed1ae5
Fix flaky test
2017-09-20 00:12:21 +02:00
Alexandre Archambault
964151392b
Allow exclusions to have no explicit artifact ID in POM
2017-09-04 02:01:36 +02:00
Gilad Hoch
10c65c6062
added acceptense for more possible forms of checksum patterns ( #640 )
...
added acceptance for more possible forms of checksum patterns
2017-08-17 18:31:20 +02:00
Gabor Aranyossy
dd3e8be410
introducing sha-256 checksum support ( #625 )
...
introducing sha-256 checksum support
2017-08-04 16:23:22 +02:00
Alexandre Archambault
9dfed94053
Add short syntax for jitpack repo
2017-07-22 17:29:33 +02:00
Alexandre Archambault
ef59fb5e49
Add small test of the code ensuring a module isn't fetched concurrently twice
2017-07-22 17:29:28 +02:00
Alexandre Archambault
ea8927d7b2
Don't unnecesarily mark some artifacts as optional
2017-07-22 17:29:26 +02:00
Alexandre Archambault
bddf67cc17
Always try to get artifacts corresponding to packaging
2017-07-22 17:29:25 +02:00
Alexandre Archambault
2815897b7a
Fix compatibility API
...
It wasn't returning some (non optional) artifacts
2017-07-19 14:38:03 +02:00
Alexandre Archambault
4e5971129b
Take into account classifiers specified via attributes in Ivy repos
2017-07-18 10:11:37 +02:00
Alexandre Archambault
19493a512a
Use non soon-to-be-deprecated-or-reworked method
2017-07-17 17:12:30 +02:00
Alexandre Archambault
fc0a1ccec7
Really filter out optional artifacts by default
2017-07-17 17:12:30 +02:00
Alexandre Archambault
5758e0d786
Rework property substitution
2017-07-06 17:25:45 +02:00
Alexandre Archambault
45e4f6d7f7
Tweak dependency printing
2017-06-20 18:23:33 +02:00
Alexandre Archambault
a0e04a6c85
Tweak dependency management scope overriding
2017-06-20 18:23:31 +02:00
Alexandre Archambault
866af3308c
Add extra snapshot versioning test
...
See discussion in https://github.com/coursier/coursier/pull/567
2017-06-16 14:27:50 +02:00
Alexandre Archambault
615c9821b3
Minor refacto in tests
2017-06-16 14:27:50 +02:00
Alexandre Archambault
d5d84cb336
Add workaround for multi-range version intervals
2017-06-16 14:27:49 +02:00
Alexandre Archambault
f57977dcd4
Add support for version ranges for sbt plugins from Maven repositories
...
These seem to lack some maven-metadata.xml files, so require specific
handling
2017-06-16 14:27:49 +02:00
Alexandre Archambault
f4e98c6bc5
Merge pull request #574 from sschuberth/fix-pipe-symbol-in-tree
...
Tree: Fix the pipe symbol to match the other UTF-8 symbols used
2017-06-13 14:13:06 +02:00
Alexandre Archambault
e7fad2316f
Tweak margin character in test
2017-06-12 02:00:41 +02:00
Sebastian Schuberth
b3d07e1353
TreeTests: Adjust the test to the new UTF-8 pipe character
2017-06-09 18:38:01 +02:00
Alexandre Archambault
b2e5dceb54
Merge pull request #573 from coursier/topic/metadata-submodule
...
Get metadata during the tests via specific submodule
2017-06-09 18:10:26 +02:00
Alexandre Archambault
e2506b2af9
Get metadata during the tests via specific submodule
...
Rather than fetching those from actual repos
2017-06-09 15:29:26 +02:00
Claudio Bley
2851f7d364
Support resolving the latest sub-revision of a module
...
Components of revisions are separated by dots or hyphens.
In case you "end the revision with a `+`" (see [1]), the latest sub-revision of the
dependency module should be selected when resolving dependencies.
Accept revisions such as "1.2+" or "1.2.+" and "1.2.3-+".
Fixes #424 .
[1]: http://ant.apache.org/ivy/history/latest-milestone/ivyfile/dependency.html
2017-06-08 18:00:06 +02:00
Alexandre Archambault
69ffdeb553
Don't return duplicated artifacts from Ivy repos
2017-06-06 18:01:28 +02:00
Alexandre Archambault
e0d1a8709b
Bump dependencies
2017-06-01 11:52:29 +02:00
Alexandre Archambault
f5ef7d8179
Add non-reg tests for Nexus proxies
...
Ensure everything work fine again with those (things went bad at
1.0.0-RC1, because of the use of directory listings, that may not be
exhaustive in proxies - or may be just empty, e.g. currently with nexus 3)
2017-05-31 21:19:27 +02:00
Alexandre Archambault
18be2e2dd2
Add support for binary checksum files
2017-05-30 16:59:46 +02:00
Alexandre Archambault
70906fcc8e
Add sbt-plugin: and typesafe: repo syntaxes
2017-05-18 02:50:20 +02:00
Alexandre Archambault
f23fbda1ba
Address more warnings
2017-05-16 17:06:35 +02:00
Alexandre Archambault
f62a110cfa
Bump dependencies
2017-05-15 18:54:29 +02:00