Commit Graph

18113 Commits

Author SHA1 Message Date
dependabot[bot] ba4d0f3f27
Bump actions/cache from 2.1.6 to 2.1.7
Bumps [actions/cache](https://github.com/actions/cache) from 2.1.6 to 2.1.7.
- [Release notes](https://github.com/actions/cache/releases)
- [Commits](https://github.com/actions/cache/compare/v2.1.6...v2.1.7)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-29 04:03:14 +00:00
eugene yokota cf3d286499
Merge pull request #6730 from eed3si9n/wip/build-server-reporter
[1.6.x] Fixes fake position handling, take 2
2021-11-28 02:54:29 -05:00
eugene yokota 0b98648454
Merge pull request #6728 from eed3si9n/wip/noserver
--no-server mode
2021-11-27 23:46:39 -05:00
Eugene Yokota 5b179395ec Fixes fake position handling, take 2
Fixes #6720
Ref #5994

Problem
-------
Sometimes the compiler returns a fake position such as `<macro>`.
This causes this causes InvalidPathException on Windows if we try
to convert it into NIO path.

Solution
--------
Looks for less-than sign in the VirtualFileRef and skip those.
Since BSP requires the diagnostic info to be associated with
files, we probably can't do much.
2021-11-27 23:42:20 -05:00
eugene yokota 54f6a49a9d
Merge pull request #6729 from eed3si9n/wip/timeout
Extend supershell close timeout
2021-11-27 23:28:12 -05:00
Eugene Yokota e3afa845ec Extend supershell close timeout
Fixes #6592

Problem
-------
On Heroku there's timeout.

Solution
--------
This seems to be coming from supershell closing the executor.
Extend the timeout to 30s.
2021-11-27 21:26:52 -05:00
Eugene Yokota f11a25a9c9 Add test 2021-11-27 21:19:38 -05:00
Eugene Yokota 7d429c6724 --no-server mode
Fixes #6530
Ref #6101

Problem
-------
Although having sbt server up by default is beneficial to well-tested
platforms like macOS, on less tested setups various native and/or
native-adjacent techniques we use could end up causing instability.

Solution
--------
This adds `--no-server` as a quick way of telling sbt not to start up
the sbt server or create virtual terminal.
2021-11-27 20:20:42 -05:00
David Francoeur a448b1caab
Load credentials from SBT_CREDENTIALS (#6724)
Load credentials from SBT_CREDENTIALS
Prefer sys.env to System.getenv
2021-11-27 02:44:49 -05:00
eugene yokota 64e05bdf68
Merge pull request #6725 from eed3si9n/wip/coursier
lm-coursier 2.0.9
2021-11-26 00:39:51 -05:00
Eugene Yokota db17b5a462 lm-coursier 2.0.9
https://github.com/coursier/sbt-coursier/releases/tag/v2.0.9
https://github.com/coursier/coursier/releases/tag/v2.1.0-M1
2021-11-25 21:32:44 -05:00
Scala Steward 692f27539d
Update sbt-mima-plugin to 1.0.1 (#365) 2021-11-23 23:50:47 +01:00
Scala Steward 5e587be6ed
Update scala-collection-compat to 2.4.4 (#347) 2021-11-23 23:50:35 +01:00
Scala Steward 18f498e48e
Update utest to 0.7.10 (#346) 2021-11-23 23:50:25 +01:00
Scala Steward fe26a81d20
Update scalatest to 3.2.10 (#360) 2021-11-23 23:50:17 +01:00
Scala Steward f9612710cb
Update sbt-mima-plugin to 0.9.2 (#351) 2021-11-23 22:03:26 +01:00
Alexandre Archambault da121efda1
Update coursier to 2.1.0-M1-1 (#364) 2021-11-23 22:02:58 +01:00
Guillaume Massé 92e40c2225
Add support for custom protocols (#327)
* Add configuration to fetch custom protcol handlers

* Tweak things

Co-authored-by: Alexandre Archambault <alexandre.archambault@gmail.com>
2021-11-23 21:14:52 +01:00
Alexandre Archambault 2eaf7aef43
Merge pull request #358 from alexarchambault/coursier-nightly
Update coursier to 2.1.0-M1
2021-11-23 19:44:28 +01:00
Alexandre Archambault c4b90111aa Remove sbt-eviction-rules / sbt-version-policy for now
Running into weird issues with scala-xml 1/2, and the latest
sbt-version-policy needs a more recent sbt than the one we're on.
2021-11-23 18:55:06 +01:00
Alexandre Archambault fdb606c009 Update coursier to 2.1.0-M1 2021-11-23 18:55:06 +01:00
eugene yokota cb41524fbe
Merge pull request #390 from eed3si9n/wip/configref
intern/flyweight ConfigRef
2021-11-21 02:41:05 -05:00
Eugene Yokota 129b43acd2 intern/flyweight ConfigRef
Fixes https://github.com/sbt/sbt/issues/6721

Problem
-------
ConfigRef is among the most created on heap.

Solution
--------
intern/flyweight it.
2021-11-20 19:39:18 -05:00
eugene yokota b2f0b7dada
Merge pull request #6719 from eed3si9n/wip/line-endings
Fix line endings in msi
2021-11-20 13:33:43 -05:00
Eugene Yokota 307f46a3c0 Fix line endings in msi
Fixes #6717
2021-11-19 20:41:39 -05:00
xuwei-k 3ca1898721 fix warning. prepare Scala 3 2021-11-17 12:19:45 +09:00
eugene yokota aa22c02d84
Merge pull request #6716 from eed3si9n/wip/global-keys
Fixes tab completion of global keys
2021-11-16 19:51:58 -05:00
Eugene Yokota 6c68b843d5 Fixes tab completion of global keys
Fixes #1373
Fixes #6715

Following my own PR #2855 around `ThisBuild`, this attempts to fix the
tab completion of globally scoped keys from the shell.
2021-11-16 19:23:25 -05:00
eugene yokota 8f1c0f61a1
Merge pull request #6714 from xuwei-k/position-macro-scala-3
SourcePositionMacro for Scala 3. enable Scala 3 build for some `util` modules
2021-11-16 09:24:18 -05:00
xuwei-k 5c90a84c72 SourcePositionMacro for Scala 3 2021-11-16 16:32:31 +09:00
eugene yokota d01cdd53e1
Merge pull request #6713 from xuwei-k/scala-3-build-settings-1
Update build settings for Scala 3
2021-11-16 01:28:30 -05:00
xuwei-k 38f5449084 Update build settings for Scala 3 2021-11-16 10:19:26 +09:00
kenji yoshida 1f4517d5cc update hedgehog and scalacheck
prepare Scala 3
2021-11-15 13:13:33 +09:00
eugene yokota b3aae681bf
Merge pull request #6711 from xuwei-k/fix-scala-2-13-warn
fix Scala 2.13 warnings
2021-11-14 21:53:57 -05:00
eugene yokota ad6f07bfee
Merge pull request #6710 from xuwei-k/update-scalatest
Update scalatest
2021-11-14 21:34:29 -05:00
xuwei-k 535b15b83e fix Scala 2.13 warnings 2021-11-14 22:59:34 +09:00
xuwei-k aa8b1141f8 Update scalatest 2021-11-14 22:03:59 +09:00
eugene yokota fe02f99a74
Merge pull request #6708 from sbt/hedgehog-resolver
remove unused `bintray-scala-hedgehog` resolver
2021-11-12 19:30:18 +01:00
eugene yokota ab14439441
Merge pull request #6707 from adpi2/fix-6547
Fix infinte loop when server fails to load with batch client
2021-11-12 19:05:31 +01:00
eugene yokota be76165054
Merge pull request #6699 from Nirvikalpa108/fix-#6676
Migrates Treeview.scala to use Contraband
2021-11-12 19:04:10 +01:00
Amina Adewusi 3c81e08fa2 Migrates Treeview.scala to use Contraband
Migrates TreeView.scala to use Contraband from scala.util.parsing.json,
because this is now deprecated.
The TreeView logic is used in the dependencyBrowseTree task.
2021-11-12 16:52:12 +00:00
kenji yoshida 280800c9e9
remove unused `bintray-scala-hedgehog` resolver 2021-11-12 22:16:48 +09:00
Adrien Piquerez 5d5edf2fdc Fix infinte loop when server fails to load with batch client
Shut down server when it is waiting for user input
but stdin has ended.
2021-11-11 22:35:18 +01:00
Scala Steward d30717284e
Update scala-library to 2.12.15 (#359) 2021-11-05 17:55:13 +01:00
Scala Steward 18a4bdce6b
Update sbt-ci-release to 1.5.10 (#363) 2021-11-05 17:55:05 +01:00
Scala Steward 8d51bc1b27
Update sbt-ci-release to 1.5.9 (#361) 2021-11-05 15:47:27 +01:00
Scala Steward a8e2d5674e
Update scala-library to 2.13.7 (#362) 2021-11-05 15:47:21 +01:00
eugene yokota bcbef795e7
Merge pull request #6703 from adpi2/fix-6698 2021-11-04 04:29:18 -04:00
Adrien Piquerez c77d6dfb38 Fix #6698: Synchronize all RPC messages with systemOut notifications
`systemOut` notifications are buffered so that they are sent at most
once every 20 millisecond. Other RPC messages are not buffered.
As a consequence, some RPC messages can pass in front of some
systemOut notifications.
That's why `sbt --client run` can exit before it receives all the logs.

In general I think it is safer to maintain the order of all messages.
To do so we can force the flush of systemOut before each RPC message.
2021-11-03 10:21:02 +01:00
eugene yokota b92c16a52c
Merge pull request #67 from DamianReeves/fix/scala-3.1
Support Scala 3.1 in sandwich scenario (#66)
2021-11-01 21:03:12 -04:00