Commit Graph

56 Commits

Author SHA1 Message Date
Alexandre Archambault 9968a12d10 Tweak Ivy repositories artifact handling 2018-09-19 16:59:53 +02:00
Alexandre Archambault 2775ef396b Stop relying on non-optional artifacts in tests
Once we don't rely on directory listings anymore, most JARs will be
marked as optional. Also, attributes have to be set beforehand to get
artifacts with specific types, as available artifacts cannot be listed
beforehand.
2018-09-19 16:59:53 +02:00
Alexandre Archambault 6f8a9d295f Fix deprecation warnings 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 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 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 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 506e14a90b Switch cli to scala 2.12 and latest case-app 2018-02-07 10:23:07 +01: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 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 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 615c9821b3 Minor refacto in tests 2017-06-16 14:27:50 +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 e2506b2af9 Get metadata during the tests via specific submodule
Rather than fetching those from actual repos
2017-06-09 15:29:26 +02:00
Alexandre Archambault 69ffdeb553 Don't return duplicated artifacts from Ivy repos 2017-06-06 18:01:28 +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 5ca736b87a Move property file under coursier namespace
Should make it move along the rest when shading coursier
2017-05-15 15:32:48 +02:00
Alexandre Archambault 3b111fa1eb Fix compilation warnings 2017-05-03 00:44:45 +02:00
Guillaume Martres 348cc15dba Fix #506: Support Maven snapshots without `snapshotVersions` 2017-04-22 02:25:20 +02:00
Alexandre Archambault ef21746c81 Be fine with extensions / types with dots
Like tar.gz
2017-04-11 14:41:16 +02:00
Alexandre Archambault b54438c1ba Add fallback if directory listings are not available 2017-04-04 14:45:06 +02:00
Alexandre Archambault 3afc3433ba Use https repo 2017-04-03 14:43:08 +02:00
Alexandre Archambault 8134809c99 Use the newly-added Resolution.metadataErrors instead of errors 2017-03-27 16:23:29 +02:00
Alexandre Archambault 44e3eee0d3 Fix deprecation warning 2017-03-27 16:18:17 +02:00
Alexandre Archambault fe529fb9f4 Switch to Java 6 2016-11-27 17:37:39 +01:00
Alexandre Archambault 92a8ea2ab5 Better handling of artifact types
Fixes https://github.com/alexarchambault/coursier/issues/318
2016-10-30 20:11:09 +01:00
Alexandre Archambault 10b13f73c7
Fix plugin handling
Mainly fixes things from SBT
2016-08-24 01:43:43 +02:00
Alexandre Archambault 72d0ac9728
Move tests with external requirements to it tests 2016-08-15 18:59:27 +02:00
Alexandre Archambault 5db01b37d6
Shutdown thread pools and manually created threads 2016-08-03 19:37:22 -04:00
Alexandre Archambault 1c34362b6f
Better handling of Ivy patterns 2016-07-23 13:56:28 +02:00
Alexandre Archambault 1553d0b9d9
Add support for Ivy version ranges 2016-05-30 00:40:41 +02:00
Alexandre Archambault c3ed92362a
listFiles can return null 2016-05-09 19:25:34 +02:00
Alexandre Archambault f68ed5d42b
Add support for HTTP authentication 2016-05-09 19:25:15 +02:00
Alexandre Archambault b36de08ccb Fix IvyLocalTests and MiMa checks after organization change 2016-03-20 14:25:28 +01:00
Alexandre Archambault b3eca058e4 Merge pull request #191 from alexarchambault/topic/checksum-format
Add back support for some checksum format
2016-03-06 19:27:39 +01:00
Alexandre Archambault dee115c1b6 Add back support for some checksum format 2016-03-06 14:56:12 +01:00
Alexandre Archambault a2364ca0c5 Add support for custom URL protocols 2016-03-06 14:45:58 +01:00
Alexandre Archambault a7a34320df Cache now only designated by a simple directory 2016-03-06 14:45:57 +01:00
Alexandre Archambault ff20ab3623 Rework checksum calculation a bit
To handle those starting with zeros in particular
2016-03-04 00:51:28 +01:00
Alexandre Archambault 7cb3a6ac32 Merge pull request #171 from darkjh/bugfix/#131_junk_sha1
Bugfix/#131 junk sha1
2016-03-03 00:12:06 +01:00
Han JU dab0c94622 More intelligent checksum parsing and unit tests 2016-03-02 15:03:05 +01:00
Alexandre Archambault 5bbe01bfdd Better handling of Maven scopes
Actually a regression introduced when Ivy support was added

Fixes https://github.com/alexarchambault/coursier/issues/178,
https://github.com/alexarchambault/coursier/issues/177
2016-02-28 17:31:20 +01:00