Commit Graph

363 Commits

Author SHA1 Message Date
Eugene Yokota f63adb4a8a Util 1.4.0 2020-10-04 12:42:46 -04:00
izharahmd 07e3815261 retry publish on all 5XX errors 2020-09-29 19:20:42 +05:30
izharahmd fa0f859552 retry with backoff while publishing 2020-09-15 20:32:38 +05:30
Maksim Ochenashko c8626e5402
Update ConvertResolver.scala
Add information on how to enable overwriting using `pushRemoteCache`.
2020-06-17 13:27:26 +03:00
Eugene Yokota fd71e8cb17 Bump Contraband 2020-04-06 18:15:46 -04:00
Eugene Yokota cdba2dbc53 Remove "merged artifact" error message
Fixes https://github.com/sbt/sbt/issues/4520

It seems to display "Detected merged artifact" whenever the download fails, which is confusing.
2020-01-07 01:35:36 -05:00
eugene yokota 42ad5c5eb6
Merge branch 'develop' into richer-put-failure-info 2019-10-15 09:42:19 -04:00
Vincent PERICART d4f2b23781 Fix typo: cachedResolution 2019-09-12 10:34:44 +09:00
Eugene Yokota d0ce65378c Refactor system properties lookup 2019-08-27 17:18:05 -04:00
Eugene Yokota cc6147c8d2 Remove lmCommonTest 2019-08-17 23:55:58 -04:00
Eugene Yokota 8c16fd0edf switch to using scala-verify 2019-08-14 12:32:49 -04:00
Eugene Yokota c89695b4b2 Deprecate HTTP resolvers
Ref https://github.com/sbt/sbt/issues/4905
2019-08-01 16:20:22 -04:00
Steve Waldman 315fbec370 Add more neurotic resource management, close()ing of streams. 2019-06-29 12:41:26 -07:00
Steve Waldman 20ca549612 Fix detection of truncation (so messages exactly max length aren't flagged truncated) 2019-06-29 00:08:44 -07:00
Steve Waldman 25f36e65a7 Capture and report any error message in the response body when uploads fail. 2019-06-28 23:30:10 -07:00
Arnout Engelen 4e46acde12
Add toString for DirectCredentials
To make 'show credentials' more useful
2019-05-09 14:06:03 +02:00
Eugene Yokota 6a36ce7689 applying Scalafmt 2.0.0-RC6 with sbt/sbt rules 2019-04-29 23:32:52 -04:00
Eugene Yokota a28b546457 isolate Ivy homes during tests 2019-04-29 00:51:57 -04:00
Eugene Yokota 2e971b9a85 Add OkHttpClient parameter
Ref #297

This adds a parameter so we can pass in OkHttpClient, if someone wants to customize HTTP behavior.
2019-04-03 00:15:28 -04:00
0lejk4 a4e5a2e299 leave scheme unchanged for binary compatibility but don`t render email tag if it is null or empty 2019-03-17 11:32:52 +02:00
0lejk4 0878b9db14 make Developer email optional as it is not obligatory and some people don`t want to expose it 2019-03-14 00:10:26 +02:00
bigwheel c1a93c65b7 [Fix #287] Eviction warning summary shows only binary incompatible 2019-01-10 22:24:11 +09:00
Eugene Yokota 29183f2fad Use fixed thread pool
Fixes #274

In #249 parallel download switched to using its own thread pool.
It could potentially lead to unbounded download if nobody throttled.
This works around the issue by fixing the number of thread to 6, which is a common per-host max connection count.
2018-11-01 02:27:19 -04:00
Dale Wijnand 0eadc6a6cb Drop trailing commas.. 2018-10-18 14:11:04 -04:00
Dale Wijnand 58bfe85f42 Collapse eviction warnings
Rather than

    [warn] There may be incompatibilities among your library dependencies.
    [warn] Run 'evicted' to see detailed eviction warnings
    [info] Done updating.
    [warn] There may be incompatibilities among your library dependencies.
    [warn] Run 'evicted' to see detailed eviction warnings
    [info] Done updating.
    [warn] There may be incompatibilities among your library dependencies.
    [warn] Run 'evicted' to see detailed eviction warnings
    [info] Done updating.
    [warn] There may be incompatibilities among your library dependencies.
    [warn] Run 'evicted' to see detailed eviction warnings

I would get:

    [warn] There may be incompatibilities among your library dependencies; run 'evicted' to see detailed eviction warnings
    [info] Done updating.
    [warn] There may be incompatibilities among your library dependencies; run 'evicted' to see detailed eviction warnings
    [info] Done updating.
    [warn] There may be incompatibilities among your library dependencies; run 'evicted' to see detailed eviction warnings
    [info] Done updating.
    [warn] There may be incompatibilities among your library dependencies; run 'evicted' to see detailed eviction warnings

which is a touch better. (IMO!)
2018-10-18 14:10:59 -04:00
Eugene Yokota f1a99e5e4a Fix the contains issue
Fixes https://github.com/sbt/librarymanagement/issues/259
2018-10-15 03:02:53 -04:00
Eugene Yokota b0ea8ec55f Scala 2.12.7 2018-09-28 04:50:55 -04:00
Eugene Yokota 949b5ec4ba Merge branch '1.2.x' into wip/merge-1.2.x 2018-09-28 04:33:26 -04:00
Eugene Yokota 02475c7a66 -Xfatal-warnings 2018-09-21 01:16:55 -04:00
Philippus Baalman 081ca94e61
Fix typo 2018-08-28 16:25:27 +02:00
Eugene Yokota f353de243e Fixes destination file exists error message
Fixes sbt/sbt#3431
Fixes sbt/sbt#4275

https://github.com/sbt/librarymanagement/pull/171 attempted to fix the error message previously, but it was not handling the common cases where the put is delegated to `super.put(...)`.
2018-07-29 14:50:39 -04:00
Eugene Yokota 22a4eed65f Default eviction warning to summary 2018-07-01 02:10:41 -04:00
Eugene Yokota 18380d5d4d Merge branch '1.1.x' into wip/merge-1.1.x 2018-06-26 19:22:54 -04:00
OlegYch a8d5db4fb6 fixes https://github.com/sbt/sbt/issues/4224
blocking+global ec+par collections leads to a significant performance regression, offload downloading to a separate threadpool
2018-06-26 00:28:34 +03:00
Alex Khvatov 660e6fb710
Fix for #4157
see discussion https://github.com/sbt/sbt/issues/4157
2018-06-19 14:47:48 -04:00
eugene yokota ff16f3b39e
Merge pull request #245 from eed3si9n/wip/offline
Fix flaky OfflineModeSpec
2018-06-18 04:46:03 -04:00
Peter Neyens 3b9385dfc5 Set Gigahorse readTimeout to 1 hour 2018-06-16 13:19:32 +01:00
Eugene Yokota 2b4aa3973d Fix flaky OfflineModeSpec
Fixes https://github.com/sbt/librarymanagement/issues/229

OfflineModeSpec is failing often because it asserts that the offline resolution needs to happen within 30% of the original resolution, and I guess it really depends on the weather how much portion of it spends on resolution.
2018-06-14 03:16:49 -04:00
Eugene Yokota c0a0b7db0c Merge branch '1.1.x' into wip/merge-1.1.x 2018-06-14 01:42:01 -04:00
Dale Wijnand f2f14582b1
Merge pull request #177 from eed3si9n/wip/npe_workaround
Fix OkHttp JavaNetAuthenticator with null check
2018-06-01 22:28:21 +01:00
eugene yokota e8b6bdc15b
Merge pull request #235 from OlegYch/fix-sftp
Fix sftp
2018-05-27 19:37:09 -04:00
tanishiking24 c24ab5c4ee Enable sbt to specify config.resource without disabling gigahorse
Fix https://github.com/sbt/sbt/issues/3585.
Gigahorse.config tries to load specified config file in sbt's classpath
and of course fail to find the specified config file, and throw
java.io.IOException if we specify config.resource, because

We can avoid trying to load specified config file inside sbt by
avoid using Gigahorse.config that call `ConfigFactory.load()` inside.

This commit fixes librarymanagement not to use Gigahorse.config and make
it use gigahorse.Config() which returns gigahorse's default config
without calling `ConfigFactory.load()` instead.
2018-05-17 10:46:21 +09:00
Håkon Wold 9a002fb549 Fixes 4156 2018-05-15 13:22:38 +02:00
xuwei-k 4d3818f9f7 use foldLeft instead of /:
02776afa79/src/library/scala/collection/IterableOnce.scala (L465)
2018-05-03 23:03:44 +09:00
OlegYch bbb2ef3977 fix retrieving deps via sftp resolver 2018-04-11 22:23:16 +03:00
Eugene Yokota 1073513b49 Merge branch '1.1.x' into wip/merge-1.1.x 2018-03-27 06:19:28 -04:00
Eugene Yokota a29a12054a bump contraband to 0.4.0
Ref https://github.com/sbt/contraband/issues/119
2018-03-23 22:21:05 +09:00
IanGabes 7770fa64e9 Adds null check for 'sbt.managedChecksums' in ivySettings file
Fixes #195
2018-03-18 17:06:51 +09:00
Dale Wijnand 866b0a1d3f
Upgrade to contraband 0.3.3 2018-03-09 12:54:15 +00:00
Dennis Hörsch 245997c84e
Added test for wildcards in org and name 2018-03-06 13:48:42 +00:00