Commit Graph

17422 Commits

Author SHA1 Message Date
David Gregory dd497063e5
Add Remove instances for Set and Map 2022-03-30 19:03:14 +01:00
eugene yokota d065f38576
Merge pull request #6854 from eed3si9n/bport/6847
[1.7.x] Do not fire `build/publishDiagnostics` if there are (and were) no problems
2022-03-27 00:55:00 -04:00
eugene yokota 71f45ba404
Merge pull request #6853 from eed3si9n/bport/6849
[1.7.x] includePluginResolvers should work for coursier resolutions
2022-03-27 00:54:48 -04:00
Rikito Taniguchi f5e9ab8424 Add test to verify server doesn't send notifications 2022-03-27 00:12:30 -04:00
Rikito Taniguchi 620c55d6ac Re-publish warnings on BSP server startup
Imitate 8aaf828b03
2022-03-27 00:12:23 -04:00
Rikito Taniguchi 862d373f02 Don't fire publishDiagnostic if there's no problems both in current and previous compilation 2022-03-27 00:12:14 -04:00
eugene yokota 878250e78e
Merge pull request #6847 from tanishiking/donot-publish-bsp
[BSP]Do not fire `build/publishDiagnostics` if there are (and were) no problems
2022-03-27 00:10:32 -04:00
Brice Jaglin 491f70cd30 includePluginResolvers should work for coursier resolutions 2022-03-27 00:06:55 -04:00
eugene yokota c09a8b579f
Merge pull request #6849 from bjaglin/includePluginResolvers
includePluginResolvers should work for coursier resolutions
2022-03-27 00:03:20 -04:00
eugene yokota 2962b088a0
Merge pull request #6814 from prolativ/scala-release-flag
Add support for Scala 3 -scala-output-version flag
2022-03-26 23:36:16 -04:00
Michał Pałka 1e89d71311 Add support for scala-output-version flag in Scala 3 2022-03-24 15:35:57 +01:00
eugene yokota 204bedac9c
Merge pull request #6832 from sbt/dependabot/github_actions/actions/setup-python-3
Bump actions/setup-python from 2 to 3
2022-03-23 14:43:41 -04:00
Brice Jaglin fb479efdf9 includePluginResolvers should work for coursier resolutions 2022-03-23 12:25:35 +01:00
Rikito Taniguchi 893cfbba39 Add test to verify server doesn't send notifications 2022-03-21 22:14:44 +09:00
Rikito Taniguchi f118d2d73b Re-publish warnings on BSP server startup
Imitate 8aaf828b03
2022-03-21 22:14:42 +09:00
Rikito Taniguchi 80e87531d3 Don't fire publishDiagnostic if there's no problems both in current and previous compilation 2022-03-21 22:14:04 +09:00
Amina Adewusi 020385d917 Attempts to fix sbt#6810 - deadlock issue 2022-03-18 17:23:30 +00:00
eugene yokota 2338bea9db
Merge pull request #6839 from sbt/1.7.x
Porting 1.7.x to develop
2022-03-18 12:17:26 -04:00
Adrien Piquerez f0552e4bc3
Merge pull request #6830 from kpodsiad/feat/scala-test-classes-framework
feat: add optional framework field to the bsp
2022-03-16 08:56:10 +01:00
Kamil Podsiadlo ce978a19ed tests: add test case for framework field in scala test classes request 2022-03-10 19:56:49 +01:00
eugene yokota 7c197ea8ee
Merge branch 'develop' into dependabot/github_actions/actions/setup-python-3 2022-03-08 18:54:40 -07:00
eugene yokota fedf6af60d
Merge pull request #6833 from sbt/dependabot/github_actions/actions/checkout-3
Bump actions/checkout from 2 to 3
2022-03-08 18:54:22 -07:00
Adrien Piquerez 1396e1605d Try fix CI: Build and test (6) 2022-03-08 18:19:20 +01:00
dependabot[bot] 144398ec73
Bump actions/checkout from 2 to 3
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-07 04:03:17 +00:00
dependabot[bot] 466410464c
Bump actions/setup-python from 2 to 3
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 2 to 3.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-07 04:03:15 +00:00
Kamil Podsiadlo 23b50688ba feat: add optional framework field to the bsp 2022-03-04 10:53:25 +01:00
eugene yokota ba5f7527fe
Merge pull request #6824 from gontard/remote_cache_not_found_log
Improve log for not found remote cache artifact
2022-02-26 20:43:00 -05:00
gontard d25dfd06ab Improve log for not found remote cache artifact
Before
remote cache not found for 0.0.0-7c40144bd1c774e6

After
remote cache artifact not found for org.gontard:sbt-test:0.0.0-7c40144bd1c774e6 Some(cached-compile)
2022-02-25 16:14:53 +01:00
eugene yokota 18882088cd
Merge pull request #6820 from tsawada/friendly-curl
launcher: debian package to depend on curl | wget
2022-02-21 23:39:41 -05:00
Takeo Sawada a0e5b553ef launcher: debian package to depend on curl | wget
also give informative error message when neither is available
2022-02-21 17:38:18 +09:00
eugene yokota c7f2c046b6
Merge pull request #6816 from Nirvikalpa108/fix-6802
Fixes parsing command args that include quotes but don't start with them
2022-02-04 14:42:22 -05:00
Amina Adewusi ca8fd354bd Fixes parsing command args quote problem
Fixes #6802.
2022-02-04 17:52:39 +00:00
Scala Steward fb19697c57
Update coursier to 2.1.0-M4 (#382) 2022-02-02 01:51:57 +01:00
Scala Steward 9a5eee21c7
Update coursier to 2.1.0-M3-1 (#380) 2022-02-01 09:53:34 +01:00
Eugene Yokota ed022a70ac sbt 1.6.2 2022-01-31 23:25:20 -05:00
eugene yokota 567fd8b60b
Merge pull request #6808 from eed3si9n/wip/lm
[1.6.x] Make License object available
2022-01-31 22:47:04 -05:00
eugene yokota 611b8cf01b
Merge pull request #6807 from eed3si9n/bport/6803
[1.6.x] fix: propagate `InterruptedException` from JLine.readLine
2022-01-31 22:11:10 -05:00
Eugene Yokota 761ad14267 Make License object available
Fixes #1937
Ref https://github.com/sbt/librarymanagement/pull/395
2022-01-31 22:00:54 -05:00
tpetillot 4f9fe2af64 fix: propagate `InterruptedException` from JLine.readLine
Motivation:
Cannot exit from InteractionService.readLine

Modification:
Remove try/catch of InterruptedException mapped to None in JLine.readLine
2022-01-31 21:40:32 -05:00
eugene yokota 50c3cf1082
Merge pull request #6803 from tpetillot/issue-6784-propagate-interrupted-exception-read-line
fix: propagate `InterruptedException` from JLine.readLine
2022-01-31 21:39:09 -05:00
eugene yokota 6798813515
Merge pull request #395 from eed3si9n/wip/licenses
Add predefined list of licenses
2022-01-31 21:23:09 -05:00
Eugene Yokota a071882321 Add predefined list of licenses 2022-01-31 19:22:37 -05:00
Arman Bilge 7a2f81ea05 sonatypeRepos -> sonatypeOssRepos 2022-01-31 23:23:34 +00:00
eugene yokota ca0fd3db8c
Merge pull request #6806 from eed3si9n/wip/test_framework
[1.6.x] Throw when test framework cannot be loaded due to MatchError or NoClassDefFoundError
2022-01-31 17:13:51 -05:00
Eugene Yokota a549e79c1d Throw when test framework cannot be loaded due to MatchError or NoClassDefFoundError
Problem
-------
In some situations like Dotty Community Build, sbt version is
mechanically upgraded on an old commit without humans checking the log.
For reasons we're not completely sure (likely change in ClassLoader
structure) sbt 1.6.x started to fail to load test frameworks during
tests, but since the failure of the test framework loading doesn't fail
the task, this silently succeeded the builds.

Solution
--------
On MatchError and NoClassDefFound Error, rethrow the exception.
Note that ClassNotFoundException is considered ok since we have
predefined test frameworks listed in sbt, which often are not included
in the users' classpath.
2022-01-31 16:37:38 -05:00
Eugene Yokota f5fb537c6d sbt 1.6.1 2022-01-31 16:23:00 -05:00
Scala Steward 0ac5057e8c
Update scalatest to 3.2.11 (#378) 2022-01-31 21:49:59 +01:00
Scala Steward 49a1a415c0
Update utest to 0.7.11 (#377) 2022-01-31 21:49:39 +01:00
Scala Steward 372aca9334
Update scala-library to 2.13.8 (#376) 2022-01-31 21:49:32 +01:00
Eugene Yokota a8f2b1f636 Reformat 2022-01-30 03:08:24 -05:00