Commit Graph

9240 Commits

Author SHA1 Message Date
eugene yokota b7a66cbe4a
Merge pull request #5640 from eatkins/log4j-warning
Add default log4j2.xml
2020-06-23 00:44:02 -04:00
Ethan Atkins 88608b10c5 Add default log4j2.xml
This should fix the errors that are sometimes seen with abrupt sbt
shutdowns:
```
2020-06-22 12:46:33,475 shutdown-hooks-run-all ERROR No Log4j 2
configuration file found. Using default configuration (logging only
errors to the console), or user programmatically provided
configurations. Set system property 'log4j2.debug' to show Log4j 2
internal initialization logging. See
https://logging.apache.org/log4j/2.x/manual/configuration.html for
instructions on how to configure Log4j 2
```
2020-06-22 12:47:49 -07:00
eugene yokota 9f9bb9daa2
Merge pull request #5634 from eed3si9n/wip/missingok
Fixes missingOk under Coursier
2020-06-17 21:06:40 -04:00
Eugene Yokota 5cce074b83 Fixes missingOk under Coursier
Fixes https://github.com/sbt/sbt/issues/4707
Ref https://github.com/coursier/sbt-coursier/pull/212
2020-06-17 20:06:25 -04:00
eugene yokota 2a93942ab9
Merge pull request #5633 from eed3si9n/wip/conditional
Forward type to the conditional tasks to fix Seq[Nothing]
2020-06-17 19:31:23 -04:00
Eugene Yokota 9821b83048 Forward type to the conditional tasks to fix Seq[Nothing]
Fixes https://github.com/sbt/sbt/issues/5625
2020-06-17 18:08:59 -04:00
eugene yokota cb4ec9703a
Merge pull request #5630 from iRevive/delete-metainf-folder
Delete META-INF folder after remote cache pull
2020-06-17 16:36:24 -04:00
Maksim Ochenashko 49e7d71cbc Delete META-INF folder after remote cache pull 2020-06-17 13:01:47 +03:00
eugene yokota 87e57b5390
Merge pull request #5619 from bjaglin/patch-1
exclude effectful initialize setting key from linting
2020-06-16 19:53:07 -04:00
eugene yokota 8a9857617d
Merge pull request #5622 from iRevive/issue-5621
Unify calculation of remoteCacheId and remoteCacheIdCandidates
2020-06-16 19:52:27 -04:00
Maksim Ochenashko 3e8073151b Unify calculation of remoteCacheId and remoteCacheIdCandidates 2020-06-16 09:15:42 +03:00
Brice Jaglin 561d0ef602 exclude effectful initialize setting key from linting 2020-06-16 01:08:15 +02:00
eugene yokota c07de68cf5
Merge pull request #5615 from eed3si9n/wip/scripted
Resurrect launcher-based scripted for SbtPlugin
2020-06-14 22:34:10 -04:00
Eugene Yokota 79ad0e4e71 Resurrect launcher-based scripted for SbtPlugin
Fixes https://github.com/sbt/sbt/issues/5592

This brings back launcher-based RemoteSbtCreator and API points used by scripted plugin, which were deleted in #5367.
2020-06-14 19:54:08 -04:00
eugene yokota 5ca27512ca
Merge pull request #5613 from eed3si9n/wip/bumpzinc
Zinc 1.4.0-M6
2020-06-14 17:58:22 -04:00
eugene yokota 2b557851ca
Merge pull request #5041 from jsoref/https
Https
2020-06-14 17:34:58 -04:00
Eugene Yokota 8789d20724 -Dsbt.semanticdb=true to enable SemanticDB 2020-06-14 17:14:02 -04:00
Eugene Yokota 837dcbb5a6 SemanticDB 4.3.15 2020-06-14 16:53:36 -04:00
Eugene Yokota 5a37ef14fc Zinc 1.4.0-M6 2020-06-14 15:55:37 -04:00
eugene yokota c3d6260f52
Merge pull request #5610 from eed3si9n/wip/server
Drop old application/sbt-x1 protocol
2020-06-13 10:59:58 -04:00
Eugene Yokota d599ae2c16 Deprecate unused methods 2020-06-12 16:34:37 -04:00
Eugene Yokota 033ff1d8a5 Make JSON parsing errors more consistent 2020-06-11 20:31:13 -04:00
Eugene Yokota cad84afc6d Drop old application/sbt-x1 protocol 2020-06-11 16:22:07 -04:00
eugene yokota 975e3db43e
Merge pull request #5558 from eed3si9n/wip/selective
Selective functor
2020-06-10 17:39:13 -04:00
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 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 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
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 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 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
Adrien Piquerez a498a20627
Merge branch 'develop' into topic/build-server-protocol 2020-05-28 08:57:23 +02:00
Adrien Piquerez 0789fd7be6 Use java command in BspConnectionDetails 2020-05-25 13:32:48 +02:00
Adrien Piquerez b184be860f Add headers 2020-05-25 10:43:54 +02:00
Adrien Piquerez 914b592fb2 scalafmt 2020-05-25 09:40:54 +02:00
Adrien Piquerez 18505c4a50 Add Mima filters for sbt.internal 2020-05-22 19:07:02 +02:00