Commit Graph

130 Commits

Author SHA1 Message Date
Alexandre Archambault 117e469ed9 Allow to disable progress bar display with the COURSIER_NO_TERM
environment variable by default

COURSIER_NO_TERM just has to be non-empty.
2016-02-22 23:01:22 +01:00
Alexandre Archambault 88708732f9 Minor fix 2016-02-16 00:46:14 +01:00
Alexandre Archambault 2637366229 Small fix in new progress terminal display
Don't keep 0% lines on failed downloads
2016-02-16 00:46:13 +01:00
Alexandre Archambault ae99c1d692 Nicer progress reporting 2016-02-12 18:13:36 +01:00
Alexandre Archambault 56192a2cca Replace sealed traits by abstract classes in order to generate less byte code 2016-02-07 14:14:01 +01:00
Alexandre Archambault 5f9f854562 Replace usages of scala.io.Source with NIO 2016-02-07 13:29:39 +01:00
Alexandre Archambault 796a428ca6 Better handling of info attributes
- Drop them from dependencies originating from Ivy metadata if asked to do so (dropInfoAttributes field of IvyRepository)
- Enable dropping them by default on ~/.ivy2/{cache,local}, and Ivy repositories in SBT plugin
- Add --drop-info-attr CLI option to enable dropping them from the command-line tools
- Test these with org.scala-js:sbt-scalajs;sbtVersion=0.13;scalaVersion=2.10:0.6.6
2016-02-04 15:03:42 +01:00
Alexandre Archambault 3d1beadea9 Slightly better error printing 2016-01-26 18:14:21 +01:00
Alexandre Archambault 8b2f3fcc04 Better error message on 404 Not Found
Fixes https://github.com/alexarchambault/coursier/issues/111
2016-01-26 18:14:21 +01:00
Alexandre Archambault b7a0c62c25 Merge pull request #108 from alexarchambault/topic/ivy-cache
Add support for ~/.ivy2/cache as a repository
2016-01-14 09:52:10 +01:00
Alexandre Archambault a8d5a2c4c9 Accept absent checksums by default
SHA-1 still checked first if present
2016-01-14 01:10:06 +01:00
Alexandre Archambault a9f3403520 Add support for ~/.ivy2/cache as a repository 2016-01-14 01:10:06 +01:00
Alexandre Archambault da819fc69f Fix cache getting confused if COURSIER_CACHE set to a relative path 2016-01-14 00:02:58 +01:00
Alexandre Archambault 214e0f893e Disable unnecessary assertion 2016-01-11 21:20:55 +01:00
Alexandre Archambault 68768cc871 Add resolve command, plus some tidying 2016-01-10 21:32:28 +01:00
Alexandre Archambault 29e3cf8f81 Rename apply method of Fetch to from 2016-01-03 16:39:30 +01:00
Alexandre Archambault 222faf18dc Moar default values in cache module 2016-01-03 16:39:30 +01:00
Alexandre Archambault da843046df Unify global caches (defaults to ~/.coursier/cache/v1) 2016-01-03 16:39:30 +01:00
Alexandre Archambault cf269c6895 Make ivy2local an IvyRepository 2016-01-02 14:06:16 +01:00
Alexandre Archambault 340add13e7 Better error message 2015-12-30 01:34:32 +01:00
Alexandre Archambault 7a8a626064 Resume partial downloads 2015-12-30 01:34:32 +01:00
Alexandre Archambault a1db5f1fdc Better locks in cache 2015-12-30 01:34:32 +01:00
Alexandre Archambault bfc9a10639 Fix up... 2015-12-30 01:34:32 +01:00
Alexandre Archambault 139525355a Better terminal output 2015-12-30 01:34:32 +01:00
Alexandre Archambault 66fff86f9b Don't try to download local files
Regression...
2015-12-30 01:34:32 +01:00
Alexandre Archambault ebd97b8340 Move TermDisplay to cache module, remove dependency of plugin towards cli 2015-12-30 01:34:32 +01:00
Alexandre Archambault da98fbca2b Make private methods that should be 2015-12-30 01:34:32 +01:00
Alexandre Archambault 63aab86d54 Remove dead code 2015-12-30 01:34:32 +01:00
Alexandre Archambault dd4dbb41f9 Better names / comments 2015-12-30 01:34:32 +01:00
Alexandre Archambault c48c50f959 Rename files project to cache 2015-12-30 01:34:32 +01:00