Commit Graph

17847 Commits

Author SHA1 Message Date
friendseeker c834f500b9
Add comment 2024-12-30 19:30:15 -08:00
Friendseeker 1a8fa65af3 Avoid upstream compilation when calling previousCompile 2024-12-30 17:55:42 -08:00
eugene yokota 439e24fb84
Merge pull request #7979 from eed3si9n/wip/retry 2024-12-30 08:47:04 -05:00
adpi2 2eba8e4e8b
Merge pull request #7980 from xuwei-k/Try-toIntOption
[2.x] use `toIntOption` instead of `scala.util.Try`
2024-12-30 10:00:23 +01:00
adpi2 011c7083ad
Merge pull request #7913 from Friendseeker/sbt-7510
[1.x] Implement `jvmBuildTarget` for `workspace/buildTargets`
2024-12-30 09:06:53 +01:00
xuwei-k f255c38892 use toIntOption instead of scala.util.Try 2024-12-30 13:13:53 +09:00
Eugene Yokota 799bd65ba5 fix: Retry create directory
**Problem**
Files.createDirectories can fail.

**Solution**
Use IO version, which retries.
2024-12-29 03:18:18 -05:00
eugene yokota 038d9b28e4
Merge pull request #7969 from Friendseeker/clean-zinc-cache
[1.x] Clear Zinc Analysis Cache during `Compile / clean`, `Test / clean`
2024-12-28 23:57:59 -05:00
eugene yokota acd76d29a9
Merge pull request #7977 from eed3si9n/wip/term-capability
[2.x] Cache terminal capability
2024-12-28 14:53:56 -05:00
Eugene Yokota 515cae27a8 Cache terminal capability
**Problem**
JSON-RPC is currently full of terminal capability query
since JLine seems to be asking them for each line.

**Solution**
This caches the query.
2024-12-28 04:09:01 -05:00
Friendseeker 13373415b3 Fix CI 2024-12-26 18:43:04 -08:00
friendseeker e23419efed Clean Zinc Cache for 'Compile / clean', 'Test / clean' 2024-12-26 15:37:33 -08:00
Friendseeker 838eee97cd Fix CI 2024-12-26 15:05:00 -08:00
Friendseeker 655310061f Add unit test 2024-12-26 14:56:18 -08:00
Friendseeker ad0ab07e99 Return jvmBuildTarget for workspace/buildTargets 2024-12-26 12:24:14 -08:00
Eugene Yokota 3529e20279 sbt 1.10.7 2024-12-22 21:26:54 -05:00
eugene yokota 03dc7172a7
Merge pull request #7970 from eed3si9n/wip/lm-coursier
[1.x] csrMavenDependencyOverride + Update lm-coursier to 2.1.7 + Zinc 1.10.7
2024-12-22 20:12:54 -05:00
Eugene Yokota de04f1f847 Update lm-coursier to 2.1.7
**Problem**
BOM support current has perf issues.

**Solution**
This bumps Coursier to 2.1.22.

This also adds a new setting `csrMavenDependencyOverride`,
which will default to false.
2024-12-22 19:59:49 -05:00
eugene yokota bb796dc0e4
Merge pull request #7966 from eed3si9n/wip/allow-empty
[1.x] fix: --allow-empty fixes
2024-12-22 03:37:04 -05:00
Eugene Yokota cd58481811 --allow-empty fixes
**Problem**
1. Currently users are automatically opted into -create-sbt,
   somewhat implicitly.
2. When somehow they are not, the check mechanism currently blocks for input.

**Solution**
1. Support a new location for sbtopts file under XSG_CONFIG_HOME/sbt
2. Rename -create-sbt to --allow-empty, and don't opt everyone in
3. Exit 1 instead of blocking for input
2024-12-22 02:21:38 -05:00
eugene yokota e81cfa21e2
Merge pull request #7968 from eed3si9n/wip/glob-fix
[1.x] fix: Fixes glob in scripted
2024-12-22 02:19:56 -05:00
Eugene Yokota 72c061a2a2 fix: Fixes glob in scripted
**Problem**
Absolute path handling regressed.

**Solution**
Create an absolute glob for expression starting with /.
2024-12-22 01:32:16 -05:00
eugene yokota e218c107f0
Merge pull request #7962 from Friendseeker/restore-disabled-test
[1.x] Restore disabled Multirepo integration test
2024-12-20 03:54:02 -05:00
friendseeker 7312398695
Restore Multirepo integration test 2024-12-20 00:12:57 -08:00
eugene yokota 40f5cd1b45
Merge pull request #7961 from Friendseeker/remove-workaround
[2.x] Remove workaround from #7783
2024-12-20 00:07:48 -05:00
friendseeker c867f240cf
Remove unused extension method 2024-12-19 19:31:17 -08:00
friendseeker c1ffcb26aa
fix deprecated constructor 2024-12-19 19:27:37 -08:00
friendseeker c95ebaaf7e
Remove workaround in sbt#7783 2024-12-19 19:12:21 -08:00
eugene yokota 7c5aea78ff
Merge pull request #7957 from Friendseeker/prepare-sbt-1-10-7
[1.x] Prepare for sbt `1.10.7`
2024-12-19 16:30:29 -05:00
Friendseeker 30c7be8d0d Prepare for sbt 1.10.7 2024-12-19 12:26:37 -08:00
eugene yokota 8a57e6c253
Merge pull request #7954 from eed3si9n/wip/bump-zinc
[2.x] Zinc 2.0.0-M3
2024-12-18 00:55:05 -05:00
Eugene Yokota 896dc6220d Mark false-error test pending 2024-12-18 00:43:39 -05:00
Eugene Yokota 8e13a43f48 Zinc 2.0.0-M3 2024-12-18 00:26:30 -05:00
eugene yokota 4318b5384b
Merge pull request #7952 from Friendseeker/bump-jline-2
[1.x] Bump JLine 2 to `9a88bc4`
2024-12-17 21:50:15 -05:00
Seth Tisue 4ad6745a64
Merge pull request #7953 from Friendseeker/new-cla
[1.x] Use new Scala CLA checker
2024-12-17 16:43:00 -08:00
Friendseeker e606b1f794 Use new Scala CLA checker 2024-12-17 14:58:29 -08:00
Friendseeker 3bdfc34c6b Bump JLine 2 to 9a88bc 2024-12-17 14:37:44 -08:00
eugene yokota 8732d75a03
Merge pull request #7950 from eed3si9n/wip/merge-1.10.x
[2.x] Merge 1.10.x
2024-12-17 12:55:59 -05:00
Eugene Yokota a420db6d6f source-dependencies/false-error 2024-12-16 22:31:29 -05:00
Eugene Yokota 12db63951b Address reviews 2024-12-16 22:22:33 -05:00
Eugene Yokota 5ece24ad53 Port Make credential tests intransitive 2024-12-16 22:15:18 -05:00
Eugene Yokota 3d86f30837 Merge branch '1.10.x' into wip/merge-1.10.x 2024-12-16 03:20:10 -05:00
eugene yokota 8dcdee8732
Merge pull request #7949 from eed3si9n/wip/path-mapper
Add Mapper that returns VirtualFile based mappings, take 2
2024-12-16 01:01:00 -05:00
Eugene Yokota 28331a7444 Remove Mapper alias 2024-12-16 00:31:07 -05:00
Eugene Yokota 0b744c1ded Port MapperTest 2024-12-16 00:22:29 -05:00
João Ferreira a2b046e0c3 translate mapper to use VirtualFile 2024-12-15 21:55:56 -05:00
João Ferreira f4ae48bf72 move Mapper from sbt/io 2024-12-15 21:55:56 -05:00
João Ferreira 4a588c3fe9 Path.directory scripted test 2024-12-15 21:55:56 -05:00
eugene yokota 6d0b43a2b6
Merge pull request #7948 from eed3si9n/wip/java-home
[2.x] fix: Use JDK path, not JRE path
2024-12-15 21:47:57 -05:00
Eugene Yokota e854909592 Use JAVA_HOME when available 2024-12-15 14:59:02 -05:00