Commit Graph

17940 Commits

Author SHA1 Message Date
Eugene Yokota d4920a3b0c AList for List 2023-01-15 23:40:57 -05:00
Eugene Yokota c86fc37ce1 Refactor AList to handle K[F[a]]
We do need to treat AList like a typeclass after all because
sbt.std.Transform.uniform needs to traverse over a List,
and we won't be able to magically connvert a List into a tuple.
2023-01-15 23:40:57 -05:00
Eugene Yokota 7d33a5949e Port Task 2023-01-15 23:40:57 -05:00
Eugene Yokota 1b42f40508 Port util-cache 2023-01-15 23:40:57 -05:00
Eugene Yokota 4bbecf4ee9 Port util-logic 2023-01-15 23:40:57 -05:00
Eugene Yokota cd43045444 Port util-complete 2023-01-15 23:40:57 -05:00
Eugene Yokota 50b062b795 Port util-logging 2023-01-15 23:40:57 -05:00
Eugene Yokota c724e83fd1 Port StringTypeTag 2023-01-15 23:40:56 -05:00
Eugene Yokota 8d5355d274 Port Applicative-do macro to Scala 3
See https://eed3si9n.com/sudori-part3/ for details
2023-01-15 23:40:56 -05:00
Eugene Yokota 1ed94bff16 Port Converted 2023-01-15 23:40:56 -05:00
Eugene Yokota d78c75df39 Reimplement arity-generic list for tuples 2023-01-15 23:40:56 -05:00
Eugene Yokota 00eba85d98 Cats-like typeclasses 2023-01-15 23:40:56 -05:00
eugene yokota a7f6717c6e
Merge pull request #7122 from eed3si9n/wip/sbtn
Fixes Debian 11 compat
2023-01-04 22:38:10 -05:00
Eugene Yokota b0b7705739 Fixes Debian 11 compat
Fixes https://github.com/sbt/sbt/issues/7118

Problem
-------
sbtn 1.8.1 was built using ubuntu-latest, which meant picking up newer
glibc.

Solution
--------
This downgraded the ubuntu machine to build sbtn.
2023-01-04 17:19:29 -05:00
eugene yokota 3257a48f3e
Merge pull request #7120 from eed3si9n/wip/m1
Fixes M1 support
2023-01-04 16:57:09 -05:00
Eugene Yokota 28f0c075ac Fixes M1 support
Fixes https://github.com/sbt/sbt/issues/7117

Problem
-------
sbt no longer works on a Mac with M1 (aarch64) chips because it fails on
ipcsocket library, which we maintain.
This was caused by architecture detection that was added in 1.6.1,
which did not take in account for macOS universal binary.

Solution
--------
Update to ipcsocket 1.6.2.
2023-01-04 15:46:08 -05:00
eugene yokota 377c4d6cf9
Merge pull request #7115 from eed3si9n/wip/bumpcoursier
lm-coursier-shaded 2.0.15
2023-01-03 14:29:32 -05:00
Eugene Yokota 59be97660c lm-coursier-shaded 2.0.15
Fixes https://github.com/sbt/sbt/issues/7062
2023-01-03 14:00:29 -05:00
eugene yokota 527dcfc7ce
Merge pull request #7113 from mkurz/use_latest_sbtn
Use latest sbtn
2023-01-03 13:55:57 -05:00
Matthias Kurz ac638a764d
Use latest sbtn 2023-01-03 16:02:18 +01:00
eugene yokota fcb67d7711
Merge pull request #441 from eed3si9n/wip/revert
Revert "Update slf4j-api to 2.0.3"
2023-01-03 09:59:50 -05:00
eugene yokota 31c09c114e
Merge pull request #7111 from mkurz/sbtn-aarch64-1.9.x
[1.9.x] Make use of sbtn aarch64 binary where possible
2023-01-03 09:56:09 -05:00
Matthias Kurz 8f4841de92
Define default arch variable 2023-01-03 12:41:50 +01:00
Matthias Kurz 5fa46859d2
Make use of sbtn aarch64 binary where possible 2023-01-03 12:41:49 +01:00
eugene yokota 82f48c758c
Merge pull request #7110 from eed3si9n/wip/aarch64_script
Add sbtn for aarch64 support
2023-01-03 01:11:50 -05:00
Eugene Yokota 0a3e3aad98 Add sbtn for aarch64 support 2023-01-03 00:39:17 -05:00
Eugene Yokota d4556bd417 Pin slf4j-api 2023-01-02 22:06:46 -05:00
eugene yokota 94215a3e8b
Merge pull request #7109 from sbt/1.8.x
[1.9.x] Merge 1.8.x
2023-01-02 21:12:52 -05:00
eugene yokota e529c9a3a1
Merge pull request #7108 from mkurz/sbtn-aarch64
[1.8.x] Prepare aarch64 support for sbtn binary
2023-01-02 20:24:49 -05:00
Matthias Kurz 03ae9f452e
Set correct page size for aarch64 binaries 2023-01-02 23:48:13 +01:00
Matthias Kurz b522825464
Add aarch64 libsbtipcsocket.so native-image/resource-config.json 2023-01-02 22:22:11 +01:00
Eugene Yokota 774d6be24f Revert "Update slf4j-api to 2.0.3"
This reverts commit 8f594cf0f78060019b5a75ee083a8bd35872ca6c.
2023-01-01 22:55:24 -05:00
eugene yokota 1d027ec655
Merge pull request #7105 from eed3si9n/wip/merge-1.9.x
Merge 1.9.x into develop branch
2023-01-01 22:05:03 -05:00
eugene yokota b5c01a9f4d
Merge pull request #7107 from eed3si9n/bk/6eaad925fbae66df5bc44b2d3aa2401d22f1833b
[1.8.x] ipcsocket 1.6.1
2023-01-01 22:04:36 -05:00
Eugene Yokota 0bd5e77068 ipcsocket 1.6.1 2022-12-31 22:20:54 -05:00
eugene yokota d619d8007a
Merge pull request #7106 from eed3si9n/wip/ipcsocket
ipcsocket 1.6.1
2022-12-31 22:20:09 -05:00
Eugene Yokota 6eaad925fb ipcsocket 1.6.1 2022-12-31 16:48:52 -05:00
Eugene Yokota bb40e1bc87 Merge branch '1.9.x' into wip/merge-1.9.x 2022-12-31 16:28:47 -05:00
eugene yokota 8f1dfb802b
Merge pull request #7104 from sbt/1.8.x
Merge 1.8.x
2022-12-31 13:47:16 -05:00
eugene yokota cc7a93b95b
Merge pull request #7102 from eed3si9n/wip/note
Note on developing
2022-12-31 13:42:06 -05:00
Eugene Yokota ff56e88532 Note on developing 2022-12-31 13:38:17 -05:00
Adrien Piquerez e8c58df337
Merge pull request #7100 from ckipp01/debugProvider
fix: ensure sbt server says it's a debugProvider
2022-12-29 17:50:00 +01:00
Chris Kipp 4a6832f281 fix: ensure sbt server says it's a debugProvider
I believe this was just an oversight that it's not marked as true since
sbt can handle `debugSession/start`. This change just ensures that
during the initialization process sbt says it's a `debugProvider` for
the same languages as `runProvider` and `testProvider`. It also
correctly marks the build targets as `canDebug`, unless they are sbt
targets.
2022-12-29 17:08:22 +01:00
eugene yokota 06d42e76ad
Merge pull request #7097 from sbt/dependabot/github_actions/actions/cache-3.2.1
Bump actions/cache from 3.0.11 to 3.2.1
2022-12-26 21:23:50 -05:00
eugene yokota 9afd3200f4
Update ci.yml 2022-12-26 19:03:20 -05:00
dependabot[bot] 0067bec213
Bump actions/cache from 3.0.11 to 3.2.1
Bumps [actions/cache](https://github.com/actions/cache) from 3.0.11 to 3.2.1.
- [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.11...v3.2.1)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-26 04:00:43 +00:00
Adrien Piquerez 5a0e9b2fe7 Try resolve sbt plugin from valid Maven pattern
sbt plugins were published to an invalid path with regard to Maven's
specifictation.

As of sbt 1.9 we produce two POMs, a deprecated one and a new one,
that is valid with regard to Maven resolution. When resolving,
we first try to resolve the new valid POM and we fallback to
the invalid one if needed.

In the new POM format, we append the sbt cross-version to all
artifactIds of sbt plugins. This is because we want Maven to be
able to resolve the plugin and all its dependencies.

When parsing it, we remove the cross-version suffix so that
the result of parsing the valid POM format is exactly the same
as parsing the deprecated POM format. Hence conflict resolution
happens as intended.

More details can be found at https://github.com/sbt/sbt/pull/7096
2022-12-23 16:08:05 +01:00
Adrien Piquerez 458381eb3f
Merge pull request #439 from scala-steward/update/sbt-shading-2.1.1
Update sbt-shading to 2.1.1
2022-12-20 16:18:18 +01:00
Scala Steward e4286a0113
Update sbt-shading to 2.1.1 2022-12-20 14:44:08 +00:00
Scala Steward da501892e0
Update coursier to 2.1.0-RC3-1 (#438) 2022-12-19 10:50:53 +01:00