Skip to content

Conversation

SethTisue
Copy link
Member

@SethTisue SethTisue commented Sep 7, 2024

  • upgrade to sbt 1.10.2 everywhere
  • silence a build warning
  • fix a deprecation warning

Steward missed some places when we went to 1.10.0, maybe having
them all in sync now means it will get them all next time?
it seems sad to fix it by resorting to internal API, but I spent
10 minutes or so trying to find a better way and gave up. if the
internal API ever goes away, we'll find out eventually
@SethTisue
Copy link
Member Author

SethTisue commented Sep 7, 2024

@adpi2 is there a better way than using sbt.internal.util.Terminal?

Comment on lines +20 to +21
import sbt.internal.util.Terminal.console
if(console.isAnsiSupported && console.isColorEnabled) Seq("GIT_PAGER_IN_USE" -> "1")
Copy link
Member

Choose a reason for hiding this comment

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

I don't think it is safe to use Terminal.console because it seems here that it can stay uninitialized forever.

My suggestion is:

@SethTisue SethTisue changed the title sbt version bumping build cleanup Sep 18, 2024
@SethTisue SethTisue self-assigned this Sep 18, 2024
@SethTisue SethTisue marked this pull request as draft September 18, 2024 18:32
@SethTisue
Copy link
Member Author

thanks to other contributors, this has all been taken care of now. thanks all

@SethTisue SethTisue closed this Oct 10, 2024
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.

2 participants