Commit Graph

17168 Commits

Author SHA1 Message Date
xuwei-k 5581f5fd1a Scala 3.7.2 2025-07-30 09:55:46 +09:00
eugene yokota f284e809d4
Merge pull request #8170 from eed3si9n/wip/worker2
[2.x] Implement worker + forked test
2025-07-06 13:31:26 -05:00
Eugene Yokota b247e2620f Reimplement test agent as a worker command
This sends JSON-RPC over stdin as opposed to using ObjectStream over socket.
2025-07-04 01:28:56 -04:00
Eugene Yokota eb74554ec1 Worker
This implements plain run for worker for testing.
2025-06-30 02:44:36 -04:00
eugene yokota c3baa55668
Merge pull request #8169 from eed3si9n/wip/jdk8
ci: Run some CI on JDK 8
2025-06-28 20:21:41 -04:00
Eugene Yokota bf098ef911 Use Caffeine 2.8.5 for JDK 8 2025-06-28 20:01:18 -04:00
Eugene Yokota 6a5e32efb4 Run some CI on JDK 8 2025-06-28 18:36:55 -04:00
eugene yokota 3342752e6b
Merge pull request #8168 from Duhemm/mduhem/name-dash
Support minus sign in project names
2025-06-26 21:37:25 -04:00
Martin Duhem 79dbcd2ff4
Support minus sign in project names
Previously, sbt would crash when attempting to load a build where
projects had minus signs (`-`) in their name.

For instance, when trying to load a project defined like this:

    lazy val `my-project` = project

After compilation, this definition looks somewhat like this

    val my$minusproject$lzy1 = ...

sbt was attempting to retrieve the original definition (without the $lzy
suffix) by taking the mangled name up to the first `$`. Unfortunately,
this approach does not work when the name includes special characters
like a minus sign, because these will be prefixed with `$` as well. In
the current example, sbt would then try to find the member named `my`,
fail, and crash.

This patch fixes the issue by using the "underlying" name, which is the
name without the additional information.
2025-06-26 10:58:11 +02:00
eugene yokota 1a06f29d0b
Merge pull request #8161 from eed3si9n/wip/cached-by-default
[2.x] Default to cached task
2025-06-21 03:39:32 -04:00
Eugene Yokota 6a7b56a645 Default to cached task
This flips the default `:=` operation to the cached task.
To opt out of the cache, use `Def.uncached(...)` or
mark the key with `@cacheLevel(include = Array.empty)`
2025-06-21 08:54:51 +09:00
eugene yokota 580c357124
Merge pull request #8165 from xuwei-k/update-sbt-2-libs 2025-06-18 22:07:01 -04:00
eugene yokota 73e5611d94
Merge pull request #8164 from xuwei-k/dataclass-scalafix 2025-06-18 22:05:20 -04:00
xuwei-k 8fbffad908 update dependencies 2025-06-18 07:59:10 +09:00
xuwei-k d0a4f2ce96 update dataclass-scalafix 2025-06-18 07:13:27 +09:00
eugene yokota a422ef40a4
Merge pull request #8159 from eed3si9n/fport/sonatype
[2.x] Add Resolver.sonatypeCentralRepo
2025-06-08 02:28:58 -04:00
Eugene Yokota 41a9e3b952 fport: Add Resolver.sonatypeCentralRepo 2025-06-08 02:08:54 -04:00
eugene yokota 8dac9db39e
Merge pull request #8158 from eed3si9n/fport/coursier
[2.x] fport: Ensure caching uses weak references
2025-06-08 00:09:00 -04:00
Matt Dziuban 8b0bcc6fcf Revert use of WeakReferences for SbtUpdateReport cached values 2025-06-07 23:44:29 -04:00
Matt Dziuban 882a10a89f Ensure caching uses weak references for both keys and values 2025-06-07 23:39:22 -04:00
eugene yokota c41c259189
Merge pull request #8151 from xuwei-k/scala-3-7-1 2025-06-02 19:53:26 -04:00
xuwei-k b1eff478ce Scala 3.7.1 2025-06-03 07:50:08 +09:00
eugene yokota 8431c38e93
Merge pull request #8140 from eed3si9n/wip/eval-debug
[2.x] Support debug output for macros
2025-05-27 01:29:40 -04:00
Eugene Yokota 4521f43995 Support debug output for macros
It's sometimes useful to get the output of the macro-generated code.
This adds a mechanism to allow plugins.sbt to pass in scalacOptions,
which we can later check from the macro.

1. -Xmacro-settings:sbt:Vprint prints out the code.
2. Adding -Xmacro-settings:sbt:print-tree-structure prints out the tree structure.
2025-05-27 00:58:41 -04:00
eugene yokota 5fabfdff32
Merge pull request #8138 from eed3si9n/wip/merge-1.11.x
[2.x] Merge branch '1.11.x'
2025-05-27 00:25:00 -04:00
Eugene Yokota cc2631af13 Mark test pending 2025-05-26 23:40:49 -04:00
Eugene Yokota ee4c51c946 filter out launcher-interface 2025-05-25 18:50:06 -04:00
Eugene Yokota 4adb149e96 bump sbt 2025-05-25 17:21:52 -04:00
Eugene Yokota e023c2dc64 Merge branch '1.11.x' into wip/merge-1.11.x 2025-05-25 17:20:48 -04:00
Eugene Yokota aaaecfcef6 sbt 1.11.0 2025-05-24 02:38:08 -04:00
eugene yokota a4d078ebf7
Merge pull request #8136 from eed3si9n/wip/bump-lm
[1.x] lm 1.11.0
2025-05-24 02:09:42 -04:00
Eugene Yokota eaf12caaa3 lm 1.11.0 2025-05-24 01:53:48 -04:00
eugene yokota db673a9faf
Merge pull request #8132 from eed3si9n/wip/snapshot2
[1.x] fail on sonaRelease if the version is SNAPSHOT
2025-05-22 12:48:58 -04:00
Eugene Yokota 9e7a0fa136 fail on sonaRelease if the version is SNAPSHOT 2025-05-21 00:26:51 -04:00
eugene yokota 8a7d84aa08
Merge pull request #8130 from eed3si9n/wip/querystring
[1.x] fix: Fix Sonatype publishing
2025-05-18 15:39:24 -04:00
Eugene Yokota 929b0bf525 fix: Fix Sonatype publishing
**Problem**
1. query string wasn't passed in, so sonaRelease wasn't working
2. deployment name should be human readable

**Solution**
This fixes the query string passing by hand-crafting the URL.

This also generates human readable deployment name.
2025-05-18 15:25:27 -04:00
eugene yokota ddff8eb908
Merge pull request #8129 from eed3si9n/wip/post
fix: Fix Central Portal status checking
2025-05-18 14:06:42 -04:00
Eugene Yokota ff6ea5570b fix: Fix Central Portal status checking
**Problem**
It's supposed to be POST but I'm usin g GET, which results in 500.
2025-05-18 12:51:06 -04:00
Eugene Yokota f698b7191b sbt 1.11.0-RC1 2025-05-17 16:07:20 -04:00
eugene yokota df9ed2e310
Merge pull request #8127 from eed3si9n/wip/bump-lm
[1.x] lm 1.11.0-M1
2025-05-17 15:27:38 -04:00
Eugene Yokota 7516b4088a lm 1.11.0-M1 2025-05-17 15:10:45 -04:00
eugene yokota 5a229a168b
Merge pull request #8126 from eed3si9n/wip/sonatype
[1.x] Sonatype Publish Portal support
2025-05-15 23:43:29 -04:00
Eugene Yokota 341cd9cf24 sonaBundle shouldn't aggregate 2025-05-15 22:33:43 -04:00
Eugene Yokota dc235777fe Implement environment variable support 2025-05-15 22:25:28 -04:00
Eugene Yokota d8813bc506 Sonatype Publish Portal support
**Problem**
Sonatype is sunsetting HTTP Rest endpoint OSSRH in June 2025.

**Solution**
This implements a built-in publishing mechanism.
Kudos to David Doyle who has spearheaded Sonatype Central support via sonatype-central-client etc.
2025-05-15 03:27:54 -04:00
eugene yokota 32c760bd6f
Merge pull request #8124 from eed3si9n/wip/merge-1.10.x 2025-05-12 05:13:46 -04:00
Eugene Yokota 1795b797bf Merge branch '1.10.x' into wip/merge-1.10.x 2025-05-12 03:30:51 -04:00
eugene yokota c4b825a072
Merge pull request #8121 from eed3si9n/wip/cleanup
[2.x] Remove deprecated methods
2025-05-11 12:16:06 -07:00
Eugene Yokota 3b4547718e Remove deprecated methods 2025-05-11 05:23:41 -04:00
eugene yokota c2bd256301
Merge pull request #8119 from eed3si9n/wip/scala-3.7.0
[2.x] deps: Scala 3.7.0
2025-05-10 22:48:22 -07:00