Skip to content

Conversation

@adpi2
Copy link
Member

@adpi2 adpi2 commented Oct 8, 2024

For sbt 2.x only, we merge sbt/librarymanagement and coursier/sbt-coursier into sbt main repo.

The repo contains 3 new folders: lm-core, lm-ivy and lm-coursier.

From coursier/sbt-coursier, I removed sbt-coursier and sbt-lm-coursier but I kept some of the scripted tests that were not copies of dependency-management/*. I moved them to sbt-app/src/sbt-test/lm-coursier/* along with other scripted tests. The lm-coursier/metadata submodule is required to run those tests, see scripts/lm-coursier.sh.

In the CI workflow, I added job-type 10, which runs the lm-coursier tests and scripted. It runs on ubuntu-latest and windows-latest (about 10 min and 14 min).

Also added a NOTICE file for license and copyright.

Ping @alexarchambault

eed3si9n and others added 30 commits February 20, 2023 10:50
…repository

Add Apache Maven Snapshots Repository
Try resolve sbt plugin from valid Maven pattern
Problem
In sbt 1, platform cross building is implemented using in the user-land
using `%%%` operator, which clevery handles both Scala cross building
and appending platform suffix like sjs1.
However, in general symbolic `%%%` is confusing, and hard to explain.

Solution
In sbt 2, we should subsume the idea of platform cross building,
so `%%` can act as the current `%%%` operator.
This adds a new field called `platformOpt` to `ModuleID`, which
by default will be set to `None`.
`ScalaModuleInfo` will also add a new field called `platform`,
which can be set to `None`, `Some(sjs1)` etc.
As part of module transformation (like adding `_2.13`), the library
management engine can transform `ModuleID` to `sjs1` etc.
`("com.github.scopt" %% "scopt" % "4.1.0").platform(jvm)` will
explicitly use the JVM version of dependency (equivalent to today's `%%`).
Bumps [coursier/setup-action](https://github.com/coursier/setup-action) from 1.3.0 to 1.3.2.
- [Release notes](https://github.com/coursier/setup-action/releases)
- [Commits](coursier/setup-action@v1.3.0...v1.3.2)

---
updated-dependencies:
- dependency-name: coursier/setup-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
We plan to remove IntegrationTest configuration.
See https://eed3si9n.com/sbt-drop-custom-config/ for details.
…ursier/setup-action-1.3.2

Bump coursier/setup-action from 1.3.0 to 1.3.2
**Problem**
Coursier bump PR is currently failing due to shading of zstd.

**Solution**
1. Rather than updating the shading rule, this excludes zstd out of the
   transitive since we likely won't need it.
2. Update coursier to 2.1.2.
Bumps [coursier/setup-action](https://github.com/coursier/setup-action) from 1.3.2 to 1.3.3.
- [Release notes](https://github.com/coursier/setup-action/releases)
- [Commits](coursier/setup-action@v1.3.2...v1.3.3)

---
updated-dependencies:
- dependency-name: coursier/setup-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
…ursier/setup-action-1.3.3

Bump coursier/setup-action from 1.3.2 to 1.3.3
These are used by coursier.cache.ArchiveCache, that is unused in
sbt-coursier / lm-coursier
…ch-version

Don't specify a patch version of coursier/setup-action
... even if they would result in an incompatible eviction
based on the assumed version scheme.
@adpi2 adpi2 marked this pull request as ready for review October 11, 2024 13:32
@adpi2 adpi2 requested a review from eed3si9n October 11, 2024 13:32
Copy link
Member

@eed3si9n eed3si9n left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!!

@adpi2 adpi2 merged commit 6d6cbce into sbt:develop Oct 11, 2024
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.