Commit Graph

11624 Commits

Author SHA1 Message Date
Eugene Yokota 573cd2de81 Giter8 0.15.0 by default 2022-09-11 13:03:43 -04:00
eugene yokota b403d3a0e5
Merge pull request #7016 from sbt/eed3si9n-patch-1
Try windows-latest
2022-09-11 03:10:26 -04:00
eugene yokota 0f70950ccd
Try windows-latest 2022-09-11 02:42:14 -04:00
eugene yokota 5bd44058ef
Update --feature-request.md 2022-08-31 16:07:11 -04:00
eugene yokota 28850ace5a
Merge pull request #7011 from sbt/dependabot/github_actions/actions/cache-3.0.8
Bump actions/cache from 3.0.7 to 3.0.8
2022-08-29 00:49:24 -04:00
dependabot[bot] 6ef9d5d244
Bump actions/cache from 3.0.7 to 3.0.8
Bumps [actions/cache](https://github.com/actions/cache) from 3.0.7 to 3.0.8.
- [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.7...v3.0.8)

---
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-08-29 04:07:24 +00:00
Adrien Piquerez fd62debc47
Merge pull request #7004 from sbt/dependabot/github_actions/actions/cache-3.0.7
Bump actions/cache from 3.0.6 to 3.0.7
2022-08-15 10:20:34 +02:00
dependabot[bot] 6cafc89574
Bump actions/cache from 3.0.6 to 3.0.7
Bumps [actions/cache](https://github.com/actions/cache) from 3.0.6 to 3.0.7.
- [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.6...v3.0.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>
2022-08-15 04:02:16 +00:00
eugene yokota e05acf9ca1
Merge pull request #6999 from eed3si9n/bport/6994
[1.8.x] add output when boot server socket fails to create
2022-08-10 20:46:47 -04:00
eugene yokota 5abb51f3ef
Merge pull request #7001 from eed3si9n/bport/6998
[1.7.x] feat: start forwarding diagnosticCode via BSP
2022-08-10 20:34:39 -04:00
Chris Kipp 92a9f0e583 feat: start forwarding diagnosticCode via BSP
This change is a continuation of the work that was done in
https://github.com/sbt/sbt/pull/6874 to allow the Scala 3 compiler to
forward the `diagnosticCode` of an error as well as the other normal
things. This change in dotty was merged in
https://github.com/lampepfl/dotty/pull/15565 and also backported so it
will be in the 3.2.x series release. This change captures the
`diagnosticCode` and forwards it on via BSP so that tools like Metals
can can use this code.

You can see this in the BSP trace now for a diagnostic:

For example with some code that contains the following:

```scala
val x: Int = "hi"
```

You'll see the code in the BSP diagnostic:
```  "diagnostics": [
    {
      "range": {
        "start": {
          "line": 9,
          "character": 15
        },
        "end": {
          "line": 9,
          "character": 19
        }
      },
      "severity": 1,
      "code": "7",
      "source": "sbt",
      "message": "Found:    (\u001b[32m\"hi\"\u001b[0m : String)\nRequired: Int\n\nThe following import might make progress towards fixing the problem:\n\n  import sourcecode.Text.generate\n\n"
    }
  ]
```

Co-authored-by: Adrien Piquerez <adrien.piquerez@gmail.com>
Refs: https://github.com/lampepfl/dotty/issues/14904
2022-08-10 10:12:54 -04:00
Devin Fisher 9f9b08edbd refactor printing error to an in-function function 2022-08-10 10:08:49 -04:00
Devin Fisher 5874ad920e add output when book server socket fails to create 2022-08-10 10:08:42 -04:00
eugene yokota ab59e4c6ba
Merge pull request #6998 from ckipp01/captureCodeBsp
feat: start forwarding diagnosticCode via BSP
2022-08-10 10:03:40 -04:00
Chris Kipp 15a45cb3c0 feat: start forwarding diagnosticCode via BSP
This change is a continuation of the work that was done in
https://github.com/sbt/sbt/pull/6874 to allow the Scala 3 compiler to
forward the `diagnosticCode` of an error as well as the other normal
things. This change in dotty was merged in
https://github.com/lampepfl/dotty/pull/15565 and also backported so it
will be in the 3.2.x series release. This change captures the
`diagnosticCode` and forwards it on via BSP so that tools like Metals
can can use this code.

You can see this in the BSP trace now for a diagnostic:

For example with some code that contains the following:

```scala
val x: Int = "hi"
```

You'll see the code in the BSP diagnostic:
```  "diagnostics": [
    {
      "range": {
        "start": {
          "line": 9,
          "character": 15
        },
        "end": {
          "line": 9,
          "character": 19
        }
      },
      "severity": 1,
      "code": "7",
      "source": "sbt",
      "message": "Found:    (\u001b[32m\"hi\"\u001b[0m : String)\nRequired: Int\n\nThe following import might make progress towards fixing the problem:\n\n  import sourcecode.Text.generate\n\n"
    }
  ]
```

Co-authored-by: Adrien Piquerez <adrien.piquerez@gmail.com>
Refs: https://github.com/lampepfl/dotty/issues/14904
2022-08-09 19:02:52 +02:00
eugene yokota a1e0f6a904
Merge pull request #6995 from sbt/dependabot/github_actions/actions/cache-3.0.6
Bump actions/cache from 3.0.5 to 3.0.6
2022-08-08 18:23:57 -04:00
dependabot[bot] 5b09ba03a3
Bump actions/cache from 3.0.5 to 3.0.6
Bumps [actions/cache](https://github.com/actions/cache) from 3.0.5 to 3.0.6.
- [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.5...v3.0.6)

---
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-08-08 04:04:59 +00:00
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