Commit Graph

17922 Commits

Author SHA1 Message Date
eugene yokota a83be809ab
Merge pull request #5552 from eed3si9n/wip/promise
implement Def.promise
2020-06-10 17:38:23 -04:00
Eugene Yokota c8f52e6281 Add atMost parameter 2020-06-10 15:30:39 -04:00
Eugene Yokota b78e4f0919 implement Def.promise
This adds `Def.promise` a facility that wraps `scala.concurrent.Promise`. Project layer, there's an implicit for task-that-returns-promise (`Def.Initialize[Task[PromiseWrap[A]]]`) that would inject `await` method, which returns a task. This is a special task that is tagged with `Tags.Sentinel` so that it will bypass the concurrent restrictions. Since there's no CPU- or IO-bound work, this should be ok.

The purpose of this promise for long-running task to communicate with another task midway.
2020-06-10 15:16:25 -04:00
eugene yokota 62c6cad487
Merge pull request #5534 from eed3si9n/wip/remote
implement RemoteCache
2020-06-10 14:54:01 -04:00
Eugene Yokota 6dd39e7ab8 try last 5 commits to look for remote cache
In case there are a few local commits ahead of the remote cache, this would still grab the close point in the history to resume the build.
2020-06-10 12:55:30 -04:00
Eugene Yokota 585f8399ba implement RemoteCache
This adds `pushRemoteCache`, `pushRemoteCacheTo`, `pullRemoteCache`, etc to implement cached compilation facility.

In addition, the analysis file location is now made more clear.
2020-06-09 14:28:40 -04:00
eugene yokota a109f3d76d
Merge pull request #5526 from 3rwww1/fix/npe-coursier-null-cred-realm
Fix coursierint NPE when credential realm is null
2020-06-09 14:24:24 -04:00
Eugene Yokota f55b3c1c7a issue template 2020-06-09 12:42:49 -04:00
Scala Steward e5ab2f0019
Update coursier to 2.0.0-RC6-21 (#250) 2020-06-09 17:53:52 +02:00
Alexandre Archambault 0efad71b5b
Merge pull request #251 from alexarchambault/sbt-compatibility
Add sbt-compatibility / sbt-eviction-rules
2020-06-09 17:47:35 +02:00
Alexandre Archambault 3d9462a6e2 Check for evictions on CI 2020-06-09 16:21:27 +02:00
Alexandre Archambault e6be0cb7fb Add sbt-compatibility 2020-06-09 16:21:27 +02:00
eugene yokota 34c9266377
Merge pull request #5595 from eed3si9n/wip/sjsonnew
sjson-new 0.9.0
2020-06-09 10:18:09 -04:00
Eugene Yokota 18a8701083 sjson-new 0.9.0 2020-06-09 00:42:56 -04:00
eugene yokota 67a09713d4
Merge pull request #5594 from adpi2/develop
Replace -jar with -classpath in BSPConnectionDetails
2020-06-08 12:22:44 -04:00
adpi2 eac9328db7 Replace -jar with -classpath in BuildServerConnectionDetails 2020-06-08 15:36:41 +02:00
eugene yokota 37d1cd98eb
Merge pull request #5593 from eed3si9n/wip/http
Remove HTTP support without explicit opt-in
2020-06-07 10:47:47 -04:00
Eugene Yokota 0d15fe1162 Remove HTTP support without explicit opt-in
Ref https://github.com/sbt/sbt/issues/4905
2020-06-07 01:50:41 -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
Alexandre Archambault f29a170b9c
Merge pull request #249 from alexarchambault/evicted
Don't report evictions about modules in dependencyOverrides
2020-06-02 19:40:15 +02:00
Alexandre Archambault 24f1baaf97 Temporarily use custom sbt-mima
That fetches previous artifacts with coursier rather than ivy.
2020-06-02 16:17:48 +02:00
Alexandre Archambault 84a14e7855 Don't report evictions about modules in dependencyOverrides 2020-06-02 16:15:22 +02:00
Alexandre Archambault bc059d1bc6 Remove unused parameter and default values 2020-06-02 15:59:17 +02:00
Alexandre Archambault 158ede9ab1 nit 2020-06-02 15:59:15 +02:00
Alexandre Archambault bfa847de28 Uncomment evicted test 2020-06-02 15:59:15 +02:00
Scala Steward 2f0b664bb9
Update coursier to 2.0.0-RC6-20 (#248) 2020-06-02 15:12:58 +02:00
Alexandre Archambault 5e519e22e0
Add override element in ivy.xml (#247)
Note that it's not read by coursier later on though…
2020-06-02 13:30:02 +02:00
Scala Steward 154fad5a5e
Update sbt, scripted-plugin to 1.3.12 (#246) 2020-06-02 10:52:44 +02:00
eugene yokota b1192c9021
Merge pull request #5584 from eed3si9n/fport/5583
Fixes appResolvers returning None
2020-05-31 01:03:47 -04:00
Eugene Yokota ada490e61d Fixes appResolvers returning None
Fixes https://github.com/sbt/sbt/issues/5582
Ref https://github.com/sbt/sbt/pull/5576

In #5576 I added `m.allowInsecureProtocol`, which causes reflection error for older launcher.jar, which then falls back to None appResolvers.
2020-05-30 17:52:39 -04:00
Scala Steward 6cfc9d6267
Update sbt, scripted-plugin to 1.3.11 (#245) 2020-05-30 03:17:44 +02:00
Alexandre Archambault 677725dc3f
Merge pull request #243 from alexarchambault/develop
Minor tweaking
2020-05-29 19:44:42 +02:00
Alexandre Archambault cc9d567917
Pass some missing strict parameters to coursier (#244) 2020-05-29 18:49:12 +02:00
eugene yokota 0d90b7d67b
Merge pull request #5579 from eed3si9n/wip/banner
Add welcome banner with Java version
2020-05-29 12:26:58 -04:00
eugene yokota 76d3c88ad9
Merge pull request #323 from eed3si9n/wip/dont_use_homebrew
Remove Homebrew from CI
2020-05-29 12:20:30 -04:00
Alexandre Archambault caa1123c1f Set csrConfiguration too, in sbt-lm-coursier
sbt-lm-coursier uses its own coursierConfiguration, rather than
csrConfiguration from sbt. Setting the latter just-in-case some other
plugin, or users, rely on csrConfiguration.
2020-05-29 15:55:21 +02:00
Alexandre Archambault d8ea3b91d5 Add helper method 2020-05-29 15:55:21 +02:00
Scala Steward 5e5939d693
Update librarymanagement-ivy to 1.3.3 (#242) 2020-05-29 09:55:03 +02:00
Eugene Yokota 9264b128ef Lower-case some messages 2020-05-29 02:55:12 -04:00
Eugene Yokota 2bf1bcc884 Add welcome banner with Java version
Fixes https://github.com/sbt/sbt/issues/5544
2020-05-29 02:35:59 -04:00
Eugene Yokota c55cccd4d5 Remove Homebrew from CI
Ref https://github.com/Homebrew/homebrew-core/issues/50649
2020-05-29 01:52:58 -04:00
eugene yokota 24f367fa07
Merge pull request #5576 from eed3si9n/wip/bumplauncher
update to launcher 1.1.4
2020-05-28 17:00:00 -04:00
Eugene Yokota 4bb4c3a9b6 launcher 1.1.4
Forward `m.allowInsecureProtocol` to `MavenRepository`.
2020-05-28 16:21:46 -04:00
eugene yokota e165629d74
Merge pull request #5538 from adpi2/topic/build-server-protocol
Topic/build server protocol
2020-05-28 16:02:12 -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
Adrien Piquerez a498a20627
Merge branch 'develop' into topic/build-server-protocol 2020-05-28 08:57:23 +02:00
Eugene Yokota c1dbeca90f Ivy 2.3.0-sbt-839fad1cdc07cf6fc81364d74c323867230432ad 2020-05-28 00:48:36 -04:00
Henri Cook 4872ddf3ef Add tests for supporting -debug flag in SBT_OPTSs 2020-05-25 19:39:54 +01:00
Henri Cook b7558e11b9 Support debug flags in SBT_OPTs 2020-05-25 18:57:53 +01:00