Commit Graph

266 Commits

Author SHA1 Message Date
Yi Cheng 1296459de3 Add Pants build tool (#709) 2017-12-11 17:50:04 +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 7ac3038d2e Switch to scala 2.12.4 2017-11-01 16:20:47 +01: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 964151392b Allow exclusions to have no explicit artifact ID in POM 2017-09-04 02:01:36 +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 862169c6bb Add more guarantees that a same module can't be downloaded concurrently
traverse called in ResolutionProcess.fetchAll relies on Applicative, so
doesn't guarantee that the module groups will be fetched one after the
other. The Applicative instance of scalaz.concurrent.Task doesn't
parallelize the tasks by default, so it works fine here. But that extra
security ensures that code can be fine with other monads.
2017-07-22 17:29:29 +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 5a271fffc5 Merge pull request #614 from coursier/topic/fix-compatibility-api
Fix compatibility API
2017-07-19 15:30:26 +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 db3679dce4 Factor default max # of iterations 2017-07-19 02:07:15 +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 fc0a1ccec7 Really filter out optional artifacts by default 2017-07-17 17:12:30 +02:00
Alexandre Archambault f665ab1ac2 Add stub for bin compat 2017-07-06 18:14:51 +02:00
Alexandre Archambault 5758e0d786 Rework property substitution 2017-07-06 17:25:45 +02:00
Alexandre Archambault 9b1d329d0b Prevent downloading the same artifact concurrently multiple times 2017-07-03 12:59:26 +02:00
Alexandre Archambault 2929c47652 Revert "Ensure a same artifact isn't downloaded twice in the same iteration"
This reverts commit d437cfb87d.
2017-07-03 12:56:34 +02:00
Alexandre Archambault 8d1ff10914 Dummy fix 2017-06-24 15:22:03 +02:00
Alexandre Archambault 3c1d99e64f Some cleanup 2017-06-24 15:22:01 +02:00
Alexandre Archambault d437cfb87d Ensure a same artifact isn't downloaded twice in the same iteration
coursier.Cache.Logger doesn't handle this well
2017-06-24 15:21:59 +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 3c30c9762c Merge pull request #581 from coursier/develop
Latest developments
2017-06-16 16:33:51 +02:00
Ryo Fukumuro ab9341ac9b Better handling of snapshot versioning 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 310364ed93 Don't include optional artifacts by default
Except for classifiers artifacts, where they were already assumed to be
optional
2017-06-13 14:24:48 +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
Sebastian Schuberth 0701df35a4 Tree: Fix the pipe symbol to match the other UTF-8 symbols used
The "branching" symbols used to print the tree are UTF-8 characters.
Make the pipe symbol be the matching UTF-8 character to close the tiny gap
between symbols visible in the tree before.
2017-06-09 15:29:10 +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 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 70906fcc8e Add sbt-plugin: and typesafe: repo syntaxes 2017-05-18 02:50:20 +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
xuwei-k a729d5a2c4 fix github organization name. s/alexarchambault/coursier 2017-05-13 23:14:23 +09:00
Alexandre Archambault 690b0b3215 Be fine with signatures of signatures of checksums of signatures of checksums of POMs
or various combinations of those
2017-05-11 17:48:45 +02:00
Alexandre Archambault 394f9f2bb6 Handle html entities in XML files 2017-05-11 17:48:44 +02:00
Alexandre Archambault 2f0eb1dba8 wuw 2017-05-11 17:48:44 +02:00
Alexandre Archambault fc38828818 Cleaning 2017-05-11 17:48:43 +02:00
Alexandre Archambault 83e04a8e45 Get parent metadata prior to requiring import dependencies 2017-05-11 17:48:43 +02:00
Alexandre Archambault efc280be06 Address javadoc warning 2017-05-06 16:55:27 +02:00
Alexandre Archambault ef3d8c06a5 Ignore JARs of relocated dependencies 2017-05-05 18:04:20 +02:00
Jentsch d875057a36 Dropped deprecated mutable Stack and rewrote Tree generator 2017-05-02 22:34:39 +02:00
Alexandre Archambault e6c28f02d6 Merge pull request #462 from coursier/topic/profiling
Profiling...
2017-04-24 23:10:00 +02:00
Alexandre Archambault 3c46f452eb Merge pull request #507 from coursier/topic/foo
Various things
2017-04-22 14:27:42 +02:00
Valentin Kasas f0d314d7f2 Use parent's projects resolution result as project cache 2017-04-22 14:20:59 +02:00
Guillaume Martres 348cc15dba Fix #506: Support Maven snapshots without `snapshotVersions` 2017-04-22 02:25:20 +02:00