Commit Graph

1379 Commits

Author SHA1 Message Date
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 f8a8371057
Merge pull request #326 from eed3si9n/wip/nightly
add hook for nightly build
2019-12-28 16:23:51 -05:00
Eugene Yokota e77dc68e34 bump sbt and IO 2019-12-28 16:09:02 -05:00
Eugene Yokota ea9d382b89 add hook for nightly build 2019-12-28 16:04:18 -05:00
eugene yokota 574be6fb79
Merge pull request #324 from eed3si9n/wip/bumpivy
ivy 2.3.0-sbt-88d6a93d15f9b029958c1c289a8859e8dfe31a19
2019-10-30 11:34:09 -04:00
Eugene Yokota 6200255eed ivy 2.3.0-sbt-88d6a93d15f9b029958c1c289a8859e8dfe31a19 2019-10-20 11:42:41 -04:00
eugene yokota da6897b8a3
Merge pull request #322 from eed3si9n/wip/nohouse
in-source sbt-houserules
2019-10-19 20:13:20 -04:00
Eugene Yokota 705cb472b6 Add previous artifact 2019-10-19 20:02:25 -04:00
Eugene Yokota 6807e91edd Scala 2.12.10 2019-10-19 19:59:13 -04:00
Eugene Yokota e0d2455982 sbt 1.3.3 2019-10-19 19:56:19 -04:00
Eugene Yokota 8aeb43fc11 in-source sbt-houserules 2019-10-19 19:53:11 -04:00
eugene yokota c3db7a30ad
Merge pull request #309 from swaldman/richer-put-failure-info
Richer PUT failure info
2019-10-15 09:42:39 -04:00
eugene yokota 42ad5c5eb6
Merge branch 'develop' into richer-put-failure-info 2019-10-15 09:42:19 -04:00
eugene yokota d09f9f81b6
Merge pull request #321 from mauhiz/feature-typo-resolution
Fix typo: cachedResolution
2019-09-11 22:49:21 -04:00
Vincent PERICART d4f2b23781 Fix typo: cachedResolution 2019-09-12 10:34:44 +09:00
eugene yokota 686bd9c9be
Merge pull request #319 from eed3si9n/wip/json
Add custom handling for Disabled companion object
2019-08-28 20:46:13 -04:00
Eugene Yokota b01b61384e Add custom handling for Disabled companion object
https://github.com/sbt/librarymanagement/pull/316 started returning Disabled companion object for `apply()` instead of creating a new instance.
This leaked into JSON as it uses runtime types for union. This works around that by providing a hand-crafted format.

Ref https://github.com/sbt/sbt/pull/4997
2019-08-28 18:33:46 -04:00
Eugene Yokota 2071b29748 Remove unused file 2019-08-28 18:28:30 -04:00
eugene yokota 4b4087a235
Merge pull request #318 from eed3si9n/wip/http
Deprecate HTTP resolvers (take 2)
2019-08-28 16:14:44 -04:00
Eugene Yokota 337716830f Deprecate HTTP resolvers (take 2)
Ref https://github.com/sbt/sbt/issues/4905
Ref https://github.com/sbt/librarymanagement/pull/312

Based on the discussion in https://github.com/sbt/sbt/issues/4905, this will exempt localhost, and also allows per-resolver opt-in for HTTP.
2019-08-28 15:20:23 -04:00
eugene yokota 60b4356de1
Merge pull request #317 from eed3si9n/wip/gigahorse
Flip the default to not use Gigahorse by default
2019-08-28 09:25:31 -04:00
Eugene Yokota 7ad02276e9 adding try-catch per review 2019-08-27 23:37:45 -04:00
Eugene Yokota 40598cc5a4 mima + scalafmt 2019-08-27 18:50:17 -04:00
Eugene Yokota 5480646715 pass in Locale
toLowerCase would act differently in Turkey.
2019-08-27 17:51:19 -04:00
Eugene Yokota c5ce636376 Flip the default to not use Gigahorse by default
Fixes https://github.com/sbt/sbt/issues/3570

The primary motivation for bringing in Gigahorse was to speed up the dependency resolution, especially in a high-latency environment like Australia, by enabling keep-alive. One of unintended consequences was that it ended up exposing either a bug in okhttp or Nexus / Artifactory's handling of keep-alive, since corporate users behind these proxy repositories started to experience problem publishing. Multiple people have also reported that putting network proxies like HAProxy works around this issue, which seems consistent with the theory.

Now that dependency resolution has switched to using Coursier by default, I am just going to flip the default here so publishing would use Ivy's default URL handler based on `java.net.HttpURLConnection` - 5681e1a77a/src/java/org/apache/ivy/util/url/BasicURLHandler.java
2019-08-27 17:47:32 -04:00
Eugene Yokota d0ce65378c Refactor system properties lookup 2019-08-27 17:18:05 -04:00
eugene yokota 705f64c8a4
Merge pull request #316 from eed3si9n/wip/disabled
Make CrossVersion.Disabled stable
2019-08-22 13:48:41 -04:00
Eugene Yokota 4a1b6232e4 deprecate CrossVersion.Disabled 2019-08-22 13:11:10 -04:00
Eugene Yokota c22cb34e7b Make CrossVersion.Disabled stable
Fixes https://github.com/sbt/sbt/issues/4975

This makes `CrossVersion.Disabled` a stable identifier by reverting `final def` back to `final val`.

This is to fix Scala.JS build

```
[error] ScalaJSCrossVersion.scala:34:23: stable identifier required, but sbt.`package`.CrossVersion.Disabled found.
[error]     case CrossVersion.Disabled =>
[error]                       ^
[error] one error found
[error] (Compile / compileIncremental) Compilation failed
```

### notes

- #121 added `final val Disabled = sbt.librarymanagement.Disabled` but it was just a companion object
- #280 actually made it `final val Disabled = sbt.librarymanagement.Disabled()`, but this broke Cat's build that was calling `CrossVersion.Disabled()`
- #290 changed to `final def Disabled = sbt.librarymanagement.Disabled` and `object Disabled extends sbt.librarymanagement.Disabled`
- This changes back to `final val Disabled = sbt.librarymanagement.Disabled` (but because we changed the companion object in #290 that's ok)
2019-08-22 01:54:14 -04:00
eugene yokota c9ca41a11e
Merge pull request #315 from eed3si9n/wip/bump
bump modules
2019-08-19 00:05:01 -04:00
Eugene Yokota 153ac7161d bump modules 2019-08-18 23:56:20 -04:00
eugene yokota edfe9c6c63
Merge pull request #314 from eed3si9n/wip/http
Fix validatePatterns
2019-08-18 00:27:22 -04:00
Eugene Yokota cc6147c8d2 Remove lmCommonTest 2019-08-17 23:55:58 -04:00
Eugene Yokota a9873101bf Fix validatePatterns
https://github.com/sbt/librarymanagement/pull/312 had a bug.
2019-08-17 22:17:58 -04:00
eugene yokota 9e1d4295e7
Merge pull request #313 from eed3si9n/wip/eviction
improve "X is evicted completely"
2019-08-14 12:40:50 -04:00
Eugene Yokota 8c16fd0edf switch to using scala-verify 2019-08-14 12:32:49 -04:00
Eugene Yokota 8fee1e2666 improve "X is evicted completely"
Fixes https://github.com/sbt/sbt/issues/4946

1. This rewords "evicted completely" to "evicted for all versions"
2. Skips transitive and complete evictions (eviction that has no winner version)
2019-08-13 23:35:50 -04:00
eugene yokota f58fa46c8c
Merge pull request #312 from eed3si9n/wip/http
Deprecate HTTP resolvers
2019-08-13 22:59:39 -04:00
Eugene Yokota fcc8b61011 use head -1
SDKMAN lists the latest one first.
2019-08-01 17:47:38 -04:00
Eugene Yokota c89695b4b2 Deprecate HTTP resolvers
Ref https://github.com/sbt/sbt/issues/4905
2019-08-01 16:20:22 -04:00
eugene yokota bc2650c551
Merge pull request #311 from eed3si9n/wip/latest
Detect latest AdoptOpenJDK JDK 8 and 11
2019-07-09 08:03:14 -04:00
Eugene Yokota 6329098beb Detect latest AdoptOpenJDK JDK 8 and 11 2019-07-09 07:39:12 -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 1b21f200b5 Update scalafmt version. 2019-06-28 23:31:36 -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
eugene yokota ff516eea2d
Merge pull request #308 from eed3si9n/wip/gigahorse
Gigahorse 0.5.0
2019-06-19 00:36:45 -04:00
Eugene Yokota 68adae1c8e remove jabba 2019-06-18 23:16:30 -04:00
Eugene Yokota 8a6bdff169 bump AdoptOpenJDK 2019-06-18 23:15:55 -04:00
Eugene Yokota ef4311acc8 Gigahorse 0.5.0 2019-06-18 23:10:35 -04:00