Commit Graph

1396 Commits

Author SHA1 Message Date
Eugene Yokota 9d87715100 Automatic eviction warning
This extracts info.versionScheme from POM and uses that to guide the
eviction report instead of taking a stab in the dark that all Scala
libraries are using pvp.
2020-08-05 16:39:11 -04:00
eugene yokota 50ca3902c3
Merge pull request #337 from eed3si9n/wip/unc
support UNC path
2020-06-25 23:40:04 -04:00
Eugene Yokota 5f4cbad6c4 support UNC path
Fixes https://github.com/sbt/sbt/issues/5596
2020-06-25 23:24:43 -04:00
eugene yokota 68008ee251
Merge pull request #336 from iRevive/patch-1
Add information on how to enable overwriting using `pushRemoteCache`
2020-06-17 16:35:20 -04:00
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 f55b3c1c7a issue template 2020-06-09 12:42:49 -04:00
eugene yokota c3dca6880d
Merge pull request #334 from eed3si9n/wip/http
Make validateProtocol return Boolean
2020-06-06 20:02:03 -04:00
Eugene Yokota 375613efbf Make validateProtocol return Boolean
Ref https://github.com/sbt/sbt/issues/4905

To deprecate and unsupport HTTP, first log all the error messages out then throw at sbt level.
2020-06-06 19:29:09 -04:00
eugene yokota 1c462be007
Merge pull request #332 from eed3si9n/wip/bumpivy
Ivy 2.3.0-sbt-839fad1cdc07cf6fc81364d74c323867230432ad
2020-05-28 10:37:47 -04:00
Eugene Yokota c1dbeca90f Ivy 2.3.0-sbt-839fad1cdc07cf6fc81364d74c323867230432ad 2020-05-28 00:48:36 -04:00
eugene yokota 3b3aa2f495
Merge pull request #331 from eed3si9n/wip/contraband_
Bump Contraband
2020-04-06 18:26:03 -04:00
Eugene Yokota fd71e8cb17 Bump Contraband 2020-04-06 18:15:46 -04:00
Eugene Yokota ab06affe7c Bump util 2020-04-06 18:15:29 -04:00
eugene yokota 879bd5399c
Merge pull request #328 from eed3si9n/wip/ivy
Ivy 2.3.0-sbt-fa726854dd30be842ff9e6d2093df6adfe3871f5
2020-02-22 15:43:54 -05:00
Eugene Yokota 2d6f102f9a Ivy 2.3.0-sbt-fa726854dd30be842ff9e6d2093df6adfe3871f5
Fixes https://github.com/sbt/sbt/issues/2366
2020-02-22 15:30:26 -05:00
eugene yokota 3132a3eb59
Merge pull request #327 from eed3si9n/wip/download
Remove "merged artifact" error message
2020-01-07 01:52:16 -05:00
Eugene Yokota a9405ff043 Fix Travis CI setup with SDKMAN 2020-01-07 01:35:36 -05: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 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