Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cross-publish for sbt 2.0.0 #344

Open
1 of 3 tasks
Tracked by #351
raboof opened this issue Oct 8, 2024 · 6 comments
Open
1 of 3 tasks
Tracked by #351

cross-publish for sbt 2.0.0 #344

raboof opened this issue Oct 8, 2024 · 6 comments

Comments

@raboof
Copy link
Owner

raboof commented Oct 8, 2024

Without actually switching to it for our build (that's #351)

Requires upstream:

@BillyAutrey
Copy link

I started on sbt-ci-release. Because it pulls in plugins via addSbtPlugin, as far as I can tell we're forced to require crossbuilds of those plugins as well.

This means we'll need 2.0.0-M2 crossbuilds of:

  • sbt-dynver
  • sbt-git (in progress)
  • sbt-pgp (done with 2.3.0)
  • sbt-sonatype.

@BillyAutrey
Copy link

Side note - this plugin strips timestamps. But zinc removes them in 2.0.0, actually to try and create more reproducible builds.

I think some of this plugin's aims are still valuable to have separately (e.g., buildinfo for publication). But I wonder how much this will have to change for 2.0.0?

@raboof
Copy link
Owner Author

raboof commented Oct 8, 2024

Side note - this plugin strips timestamps. But zinc removes them in 2.0.0, actually to try and create more reproducible builds.

I think some of this plugin's aims are still valuable to have separately (e.g., buildinfo for publication). But I wonder how much this will have to change for 2.0.0?

I agree! Making the stripping (or perhaps individual strippers?) optional is something I'd like to do in any case (#299), and under sbt 2.x could perhaps even become the default.

@raboof
Copy link
Owner Author

raboof commented Oct 8, 2024

I started on sbt-ci-release. Because it pulls in plugins via addSbtPlugin, as far as I can tell we're forced to require crossbuilds of those plugins as well.

This means we'll need 2.0.0-M2 crossbuilds of:

  • sbt-dynver
  • sbt-git (in progress)
  • sbt-pgp (done with 2.3.0)
  • sbt-sonatype.

great that you're pushing for this! should we create a tracking issue in sbt-ci-release and link to that here?

@BillyAutrey
Copy link

great that you're pushing for this! should we create a tracking issue in sbt-ci-release and link to that here?

Sure, that's a good idea. I can do that.

@BillyAutrey
Copy link

sbt/sbt-ci-release#314

@raboof raboof changed the title sbt 2.0.0 cross-publish for sbt 2.0.0 Oct 16, 2024
raboof added a commit that referenced this issue Oct 16, 2024
towards #344
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

No branches or pull requests

2 participants