Commit Graph

11607 Commits

Author SHA1 Message Date
Adrien Piquerez 73fd426847
Merge pull request #6992 from adpi2/fix-bg-logging
Fix background job logging
2022-08-06 09:19:42 +02:00
Adrien Piquerez 634e8799e7 Catch ClosedChannelException in background job logger
We want the background job to stay alive even if its terminal
has been closed and we cannot write to it anymore
2022-08-05 14:45:38 +02:00
Adrien Piquerez 592086b889 Don't use ProxyTerminal in background job
If we use the ProxyTerminal in the background jobs, the logs
would be spread across different terminals, switching from active
client to active client. We want the logs to stick
to the client that started the job.
2022-08-04 16:48:13 +02:00
Adrien Piquerez 6bcda6684a Use BackgroundJobService context instead of MainLoop context
A new context is created and closed for each state of the MainLoop.
But the context of the backgroundJob must stay alive.
So we use a context that is owned by the BackgroundJobService.
It creates a new logger for each background job and cleans it when
the job stops.
2022-08-04 16:48:13 +02:00
Adrien Piquerez 59ee1b1d37
Merge pull request #6990 from adpi2/bckp_bsp_output_paths
[1.8.x] Add support for BSP's buildTarget/outputPaths method
2022-08-03 15:26:57 +02:00
Krzysztof Pado 2bffb2731e Add support for BSP's buildTarget/outputPaths method 2022-08-03 10:13:48 +02:00
eugene yokota 1f29c9053c
Merge pull request #6977 from sbt/dependabot/github_actions/actions/cache-3.0.5
Bump actions/cache from 3.0.4 to 3.0.5
2022-07-18 01:19:16 -04:00
dependabot[bot] 683f2e9291
Bump actions/cache from 3.0.4 to 3.0.5
Bumps [actions/cache](https://github.com/actions/cache) from 3.0.4 to 3.0.5.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v3.0.4...v3.0.5)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-18 04:02:58 +00:00
Adrien Piquerez 992dfd5649
Merge pull request #6972 from adpi2/dependency-submission-v2
Bump sbt-dependency-submission
2022-07-15 13:03:56 +02:00
Adrien Piquerez 8dba607ed8 Bump sbt-dependency-submission
Fix the build on 2.13.8 to submit the corresponding graphs:
Remove 2.13.8 in the crossScalaVersions of sbt-dependency-graph
scripted-sbt-redux and scripted-sbt because they
depend on sbtProj.
2022-07-15 11:07:33 +02:00
Eugene Yokota 38125c5347 sbt 1.7.1 2022-07-11 23:43:06 -04:00
eugene yokota ffdce15f87
Merge pull request #6970 from eed3si9n/wip/bump-zinc
Update Zinc to 1.7.1
2022-07-11 23:17:11 -04:00
Eugene Yokota 106bc89e06 Update Zinc to 1.7.1 2022-07-11 22:54:42 -04:00
eugene yokota ebcb1976f6
Merge pull request #6968 from eed3si9n/wip/1.7.0
Use sbt 1.7.0
2022-07-11 00:09:59 -04:00
Eugene Yokota fcee055a8c Use sbt 1.7.0 2022-07-10 23:50:06 -04:00
Eugene Yokota 79ea2bdaf2 sbtn 1.7.0 2022-07-10 15:43:25 -04:00
Eugene Yokota 4f38bcbd03 sbt 1.7.0 2022-07-10 15:21:21 -04:00
eugene yokota 08e9861e39
Merge pull request #6966 from eed3si9n/wip/bump-zinc
Update Zinc to 1.7.0
2022-07-10 14:40:33 -04:00
Eugene Yokota 2d27e6deea Update Zinc to 1.7.0 2022-07-10 13:55:14 -04:00
eugene yokota d096e716d0
Merge pull request #6965 from eed3si9n/wip/available
Fix proxyInputStream#available
2022-07-10 05:01:47 -04:00
Eugene Yokota 2462d5fbcf Fix proxyInputStream#available
proxyInputStream does not override available,
which broke sbt-site previewSite.
This fixes that.
2022-07-10 04:35:57 -04:00
eugene yokota 7dc4378fdf
Merge pull request #6963 from eed3si9n/wip/bump-io
IO 1.7.0
2022-07-10 04:00:28 -04:00
Eugene Yokota 6788c2e1ca IO 1.7.0 2022-07-10 03:40:58 -04:00
eugene yokota 8aae00fb42
Merge pull request #6960 from adpi2/dependency-graph
Add dependency-graph workflow
2022-07-08 10:32:38 -04:00
eugene yokota d76b909417
Merge pull request #6962 from xuwei-k/remove-sbt-dotty
remove sbt-dotty in tests
2022-07-08 10:29:48 -04:00
xuwei-k 87bd79e538 remove sbt-dotty 2022-07-08 15:04:47 +09:00
Adrien Piquerez 321ae96847 Add dependency-graph workflow 2022-07-07 11:15:14 +02:00
eugene yokota dd9a6ff90e
Merge pull request #6952 from sbt/eed3si9n-patch-1
Update badges
2022-07-04 11:12:14 -04:00
eugene yokota c36145fccd
Update badges 2022-07-04 11:11:49 -04:00
eugene yokota 29239ade8a
Merge pull request #6951 from xuwei-k/enable-more-tests
enable some scripted tests
2022-07-04 10:50:49 -04:00
xuwei-k 7e68572b10 enable some scripted tests 2022-07-04 13:06:08 +09:00
eugene yokota a03d63d822
Merge pull request #6949 from xuwei-k/enable-some-tests 2022-07-03 10:45:40 -04:00
eugene yokota c41426814e
Merge pull request #6950 from xuwei-k/whitesource 2022-07-03 10:44:42 -04:00
eugene yokota 80984dbef2
Merge pull request #6948 from xuwei-k/enable-source-plugins-test 2022-07-03 10:44:02 -04:00
xuwei-k 9c8e99c390 remove sbt-whitesource 2022-07-03 14:45:23 +09:00
xuwei-k 72bfa5e3c8 enable some scripted tests 2022-07-03 14:26:18 +09:00
xuwei-k d98074e358 enable project/source-plugins test 2022-07-03 12:54:56 +09:00
Eugene Yokota d1ea1f27e6 1.7.0-RC2 2022-07-02 19:59:55 -04:00
eugene yokota aad0464138
Merge pull request #6947 from eed3si9n/wip/banner
Banner
2022-07-02 19:20:11 -04:00
Eugene Yokota 31a6c60df3 Banner 2022-07-02 19:07:34 -04:00
eugene yokota f9b8121d2e
Merge pull request #6946 from eed3si9n/wip/cross_fix
Remove compatibility check from ++
2022-07-02 18:59:02 -04:00
Eugene Yokota 05d3d8689b Remove compatibility check from ++
Problem
-------
Since sbt-doge merger `++ <sv> <command1>` has used binary compatibility
as a test to select subproject, but it causes surprising situations like
sbt/sbt#6915, and it blurs the responsibility of YAML file and build
file as the version specified in the version can override the Scala
version test on local laptop.

Solution
--------
This removes the compatibiliy check (backward-only or otherwise),
and require that `<sv>` match one of `crossScalaVersions` using the new
Semantic Version selector pattern.
2022-07-02 18:38:04 -04:00
eugene yokota 6d0ef2093d
Merge pull request #6943 from raboof/more-appropriate-error-when-no-versions-match
Show a more appropriate message when no Scala versions matches
2022-06-28 09:26:06 -04:00
Arnout Engelen 697e3bce51
Show a more appropriate message when no Scala versions matches
When switching scala versions with a wildcard, and no subproject
has a matching version to switch to, show a more appropriate error
message
2022-06-28 14:43:06 +02:00
eugene yokota 789ca334d7
Merge pull request #6942 from raboof/more-useful-logging-for-flexible-version-switch 2022-06-28 07:52:54 -04:00
Arnout Engelen 6a79bdb461
Show a more useful log message when doing a flexible version switch
Suggested by @SethTisue in https://github.com/sbt/sbt/pull/6894#issuecomment-1168042209

Will show multiple lines when different versions are selected for different subprojects.

When no subprojects have a matching Scala version you will get a
'Switch failed' exception anyway, so in that case there is no
change in behavior.
2022-06-28 07:59:13 +02:00
Eugene Yokota 498493599f 1.7.0-RC1 2022-06-27 04:08:31 -04:00
Eugene Yokota bec2be707a Fix sbtn building 2022-06-27 03:09:43 -04:00
eugene yokota 7cc6ad3d00
Merge pull request #6939 from eed3si9n/wip/cross-fix
[1.7.x] Filter incompatible Scala 3 projects in cross switch commands, take 2
2022-06-27 00:08:29 -04:00
eugene yokota 910ab1951f
Merge pull request #6846 from Nirvikalpa108/fix-deadlock
[1.7.x] Attempts to fix sbt#6810 - deadlock issue
2022-06-26 22:50:22 -04:00