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

build cleanup #249

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from
Draft

build cleanup #249

wants to merge 5 commits into from

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
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