Commit Graph

17086 Commits

Author SHA1 Message Date
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
Eugene Yokota 0906b2d7ac fix: Use JDK path, not JRE path
**Problem**
There are a few places where javaHome or java path is set,
using java.home system property. The problem is that it points to JRE,
not JDK, so it would break on Java compilation etc.

**Solution**
If the path ends with jre, go up one directory.
2024-12-15 02:47:35 -05:00
eugene yokota 66935c460d
Merge pull request #7947 from eed3si9n/wip/giter8-0.17.0
[1.x] Update to Giter8 0.17.0
2024-12-14 23:12:20 -05:00
Eugene Yokota c3e4bc53c4 Giter8 0.17.0
**Problem/Solution**
Bump to Giter8 0.17.0.
2024-12-14 01:42:48 -05:00
eugene yokota 58446a3cdc
Merge pull request #7941 from eed3si9n/wip/bump-scala
[2.x] ci: Update to Scala 3.6.2
2024-12-11 03:12:14 -05:00
Eugene Yokota 9c124d0b10 Update to Scala 3.6.2 2024-12-10 23:45:01 -05:00
eugene yokota ebee3a86d9
[2.x] fix: concurrency control around Scala 3 compiler (#7938)
**Problem**
Early initialization thread throws ConcurrentModificationException.

**Solution**
This puts wraps it in Retry.
2024-12-10 08:30:17 -05:00
eugene yokota f61100fe87
Merge pull request #7933 from eed3si9n/bport/exists
[1.x] feat: Support glob expressions in scripted
2024-12-09 02:55:22 -05:00
eugene yokota 35eda2e40e
Merge pull request #7932 from eed3si9n/wip/exists
[2.x] feat: Support glob expressions in scripted
2024-12-09 02:55:07 -05:00
Eugene Yokota c4aebf5744 feat: Support glob expressions in scripted
**Problem**
It's currently not easy to write a scripted test that works on
both sbt 1.x and 2.x when you want to write exists test under target.

**Solution**
Since we can only use the file system (and not evaluate Scala version etc)
1. this implements glob expression support in `exists`, `absent`, and `delete`.
2. this also introduces `||` operator that would mean a or b.
2024-12-08 23:40:27 -05:00
Eugene Yokota d21b2d250a feat: Support glob expressions in scripted
**Problem**
It's currently not easy to write a scripted test that works on
both sbt 1.x and 2.x when you want to write exists test under target.

**Solution**
Since we can only use the file system (and not evaluate Scala version etc)
1. this implements glob expression support in `exists`, `absent`, and `delete`.
2. this also introduces `||` operator that would mean a or b.
2024-12-08 23:38:00 -05:00
eugene yokota ffb6770bde
Merge pull request #7930 from jtjeferreira/aggregate-lmCoursierShadedPublishing
add lmCoursierShadedPublishing to allProjects
2024-12-08 17:29:56 -05:00