Skip to content

Conversation

http4s-steward[bot]
Copy link
Contributor

@http4s-steward http4s-steward bot commented Jun 9, 2022

Updates

from 0.10.0 to 0.10.1.
GitHub Release Notes - Version Diff

I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.

If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.

Configure Scala Steward for your repository with a .scala-steward.conf file.

Have a fantastic day writing Scala!

Files still referring to the old version number

The following files still refer to the old version number (0.10.0).
You might want to review and update them manually.

docs/changelog.md
project/plugins.sbt
Ignore future updates

Add this to your .scala-steward.conf file to ignore future updates of this dependency:

updates.ignore = [ { groupId = "ch.epfl.scala" } ]

labels: library-update, early-semver-minor, semver-spec-patch, old-version-remains, commit-count:1

@mergify mergify bot added series/0.23 PRs targeting 0.23.x dependencies Dependency updates labels Jun 9, 2022
@armanbilge
Copy link
Member

In theory we could remove this dep, since we now get it from sbt-http4s-org via sbt-typelevel-scalafix.

@rossabaker
Copy link
Member

Let's do that instead.

@@ -1,5 +1,5 @@
resolvers += Resolver.sonatypeRepo("releases")

addSbtPlugin("ch.epfl.scala" % "sbt-scalafix" % "0.10.0")
addSbtPlugin("ch.epfl.scala" % "sbt-scalafix" % "0.10.1")
Copy link
Member

Choose a reason for hiding this comment

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

Oh, woops, I take that back. I guess we need it for this nested project, unless we replace this with sbt-http4s-org too?

Copy link
Member

Choose a reason for hiding this comment

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

Ok, I have a long-strategy plan.

Every project I've seen that does scalafix uses the 4 module rules/input/output/tests layout. This includes typelevel-scalafix, and both the http4s internal scalafixes, and the http4s external scalafixes that live in their own sbt project under the scalafix/ directory (which I now suspect is unnecessary).

@DavidGregory084 was able to extract out this project-setup logic nicely in typelevel-scalafix. We should lift that into sbt-typelevel-scalafix plugin, then we can reuse it everywhere.

That will make it easy for us to merge this independent scalafix/ project into the main http4s build, and then it doesn't need its own plugins.

@armanbilge
Copy link
Member

armanbilge commented Jun 10, 2022

Investigating further, our external scalafix aren't even tested against 0.23+. So we are burning CI to test them.

lazy val outputVersion = "0.22.7"

Many of the rules are blaze related anyway, which is also no longer here.

Granted I fix the documentation to show how to run them from the 0.22 branch, can we just drop them from 0.23+?

@rossabaker
Copy link
Member

Yeah, sounds good to me.

@armanbilge armanbilge added the behind-the-scenes Appreciated, but not user-facing label Jun 11, 2022
@armanbilge armanbilge changed the title Update sbt-scalafix, scalafix-core, ... to 0.10.1 in series/0.23 Remove scalafix migrations, plugin cleanup Jun 11, 2022
@armanbilge armanbilge merged commit 55f852e into series/0.23 Jun 14, 2022
@armanbilge armanbilge deleted the update/series/0.23/sbt-scalafix-0.10.1 branch June 14, 2022 06:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
behind-the-scenes Appreciated, but not user-facing dependencies Dependency updates series/0.23 PRs targeting 0.23.x
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants