Commit Graph

11862 Commits

Author SHA1 Message Date
Iulian Dragos 86df6e0606
Deprecate overloaded process method 2023-08-28 11:49:29 +02:00
Iulian Dragos 8c9600249e
Add scripted test 2023-08-17 15:56:04 +02:00
Iulian Dragos 18353f1ca8
Reviewer's suggestions. 2023-08-11 16:08:11 +02:00
Iulian Dragos 51a774b081
Fix failing test case 2023-08-08 11:29:32 +02:00
Iulian Dragos 193dba708f
Add missing header. 2023-08-08 10:14:48 +02:00
Iulian Dragos 0f53349ce9
Add method overload to keep binary compatibility 2023-08-08 09:54:09 +02:00
Iulian Dragos 82ae293e3f
Add a new CommandProgress API.
In addition to ExecuteProgress, this new interface allows builds and plugins to receive events when commands start and finish, including the State before and after each command. It also makes cancellation visible to clients by making the Cancelled type top-level.
2023-08-07 17:09:30 +02:00
adpi2 e3b7870b2d
Merge pull request #7347 from adpi2/fix-scala-debug-adapter-543
Fix scala-debug-adapter#543: Maintain order of internal deps
2023-08-04 09:32:31 +02:00
eugene yokota 98a04959d2
Merge pull request #7349 from arturaz/patch-1 2023-08-04 08:04:36 +09:00
Artūras Šlajus f8a041f47e
Update sbt launcher script
Fix `sbt_script` lookup by replacing all spaces with `%20` (not only the first one) in the path.
2023-08-02 16:30:40 +03:00
Adrien Piquerez 897e2552e4 Maintain order of internal deps 2023-08-02 10:26:59 +02:00
Eugene Yokota e1ffc2af08 sbt 1.9.3 2023-07-24 01:38:07 -04:00
eugene yokota 078d8c13af
Merge pull request #7337 from eed3si9n/wip/bump_zinc
Zinc 1.9.3
2023-07-23 13:52:39 -04:00
Eugene Yokota 797b9da93e Zinc 1.9.3 2023-07-23 13:11:45 -04:00
eugene yokota 8d818e2da9
Merge pull request #7336 from eed3si9n/wip/revert_timeout
Revert scripted timeout
2023-07-23 01:40:52 -04:00
Eugene Yokota 4c96f45b20 Keep the close method 2023-07-23 01:01:23 -04:00
Eugene Yokota d5cde98654 Revert "Add timeout to scripted statements"
This reverts commit 155526fb11.
2023-07-23 00:59:44 -04:00
eugene yokota fe4c5159a1
Merge pull request #7329 from scalacenter/package-arm64-macos
Add the aarch64 binaries for macOS to the sbtn mappings
2023-07-10 16:54:27 -04:00
Julien Richard-Foy 4111a8fd2a Add the aarch64 binaries for macOS to the sbtn mappings 2023-07-10 16:18:12 +02:00
Eugene Yokota 5f6eb1b2ec sbt 1.9.2 2023-07-09 22:06:17 -04:00
eugene yokota bcc286d31e
Merge pull request #7328 from eed3si9n/wip/cross_fix
Let ++ fall back to a bincompat Scala version
2023-07-09 21:02:39 -04:00
Eugene Yokota de20328029 Let ++ fall back to a bincompat Scala version
Fixes https://github.com/sbt/sbt/issues/7327

**Problem**
In builds with mixed Scala patch versions (like scalameta),
it's possible for a core subproject to be set to the lastest 2.12.x,
but the compiler plugin component is cross published to 2.12.0 etc.
`++ 2.12.0` in this case does not work since sbt 1.7.x onwards requires
the queried Scala version to be listed in `crossScalaVersions`.

**Solution**
This implements sbt 1.6.x-like fallback mechanism,
but instead of using the queried version (e.g. 2.12.0) it will set
the Scala version to one of listed versions that is binary compatible.
2023-07-09 18:31:55 -04:00
Eugene Yokota 4b0b929838 sbt 1.9.1 2023-06-26 00:13:03 -04:00
eugene yokota 0f39da2a87
Merge pull request #7320 from eed3si9n/wip/bump
Zinc 1.9.2
2023-06-25 23:27:01 -04:00
Eugene Yokota 271307d326 Zinc 1.9.2 2023-06-25 23:01:45 -04:00
eugene yokota 98cafd366c
Merge pull request #7318 from eed3si9n/wip/template_bump
Bump toolkit versions
2023-06-25 20:07:14 -04:00
eugene yokota 4b810a63e7
Merge pull request #7304 from eed3si9n/wip/templates
Make sbt new extensible
2023-06-25 20:07:02 -04:00
eugene yokota ca2c6d77f9
Merge pull request #7319 from eed3si9n/wip/bump_io
IO 1.9.1
2023-06-25 20:05:29 -04:00
Eugene Yokota 24066d6c5b IO 1.9.1 2023-06-25 19:23:34 -04:00
eugene yokota 503f4002bd
Merge pull request #7316 from xuwei-k/dependency-graph-branch
fix `dependency-graph.yml` branch setting
2023-06-25 19:19:29 -04:00
Eugene Yokota 952db253a2 Bump toolkit versions 2023-06-25 19:18:43 -04:00
eugene yokota 5fc0a4c8d4
Merge pull request #7317 from xuwei-k/trivial-refactoring 2023-06-25 11:28:41 -04:00
eugene yokota fb011ecaa3
Merge pull request #7315 from xuwei-k/URL-constructor 2023-06-24 22:14:00 -04:00
eugene yokota 027aafbdb6
Merge pull request #7314 from xuwei-k/fix-scaladoc 2023-06-24 22:13:24 -04:00
xuwei-k 6c032b8283 some trivial refactoring
- remove unused type params
- use `withFilter` if possible
- use `collectFirst` instead of `collect` and `headOption`
- use `length` instead of `size` if `Array` or `String`
- use `foreach` instead of `map`
2023-06-25 08:57:41 +09:00
kenji yoshida fddbb942a7
fix dependency-graph.yml branch setting 2023-06-25 08:43:14 +09:00
xuwei-k c7ec22cff8 avoid deprecated `java.net.URL` constructor
- https://bugs.openjdk.org/browse/JDK-8295949
- 4338f527aa
2023-06-25 08:23:09 +09:00
xuwei-k 3de0c92754 fix scaladoc warnings 2023-06-25 08:04:17 +09:00
eugene yokota 5ba9f3910a
Merge pull request #7313 from xuwei-k/typoooo
fix typo
2023-06-24 17:22:28 -04:00
xuwei-k 2edb4dcbb6 fix typo 2023-06-24 20:05:52 +09:00
eugene yokota 48062ff36c
Merge pull request #7312 from xuwei-k/update-test-scala-version
update scala versions in scripted test
2023-06-24 03:29:30 -04:00
xuwei-k 74be55d0f6 update scala versions in scripted test 2023-06-24 10:18:14 +09:00
Julien Richard-Foy aeeee2f624 Remove vscode-sbt-scala extension
Content has been archived here: https://github.com/sbt/vscode-sbt-scala
2023-06-20 17:26:04 +02:00
Julien Richard-Foy 72bfb3f45a Transfer copyright to Scala Center 2023-06-20 16:39:07 +02:00
Eugene Yokota 5398f6e1aa Make sbt new extensible
Problem
-------
`sbt new` (`sbt init`) hardcodes the templates, which I think is ok,
but without changing much, we can make it extensible.

Solution
--------
This adds two new keys `templateDescriptions` and `templateRunLocal`,
which can customize the behavior for in-house usage etc.
2023-06-18 15:48:18 -04:00
eugene yokota fe4ff0f617
Merge pull request #7303 from eed3si9n/wip/zinc
Zinc 1.9.1
2023-06-18 14:50:49 -04:00
Eugene Yokota 41b8a92b40 Zinc 1.9.1 2023-06-18 14:22:02 -04:00
eugene yokota 84781c2dbe
Merge pull request #7301 from sideeffffect/dependency-graph-colors-backport
Dependency graph with colors (based on the organization) (backport)
2023-06-16 23:48:14 -04:00
Ondra Pelech 9ec7c4f027 Dependency graph with colors (based on the organization) (#7052) 2023-06-17 02:29:48 +02:00
Krzysztof Atłasik 118138a0c8
Add new template to text-based menu (#7300) 2023-06-15 05:14:40 -04:00