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

Update sbt in generated-source scripted test #364

Merged
merged 2 commits into from
Sep 10, 2019

Conversation

raboof
Copy link
Contributor

@raboof raboof commented Sep 10, 2019

No description provided.

@@ -1 +1 @@
sbt.version=1.2.8
sbt.version=1.3.0
Copy link
Member

Choose a reason for hiding this comment

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

Wouldn't it be better to just delete this file? I don't think it's needed, or wanted.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I have no preference

Copy link
Member

Choose a reason for hiding this comment

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

I think it should be deleted, otherwise we'll have to manually update it every time we upgrade sbt. No other scripted tests have it.

Copy link
Contributor Author

@raboof raboof Sep 10, 2019

Choose a reason for hiding this comment

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

actually there are 2 more and they're automatically updated by scala-steward - but anyway updated

Copy link
Member

@ennru ennru left a comment

Choose a reason for hiding this comment

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

LGTM.

Copy link
Member

@pvlugter pvlugter left a comment

Choose a reason for hiding this comment

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

Agree about not having sbt versions in the scripted tests, and also wondered about that in #357.

Although it could also be useful to have scripted tests that do explicitly test different sbt versions, to make sure we don't have something like the upgrade to sbt 1.3 breaking sbt 1.2 usage.

@pvlugter pvlugter merged commit 2411a94 into lightbend:master Sep 10, 2019
@jroper
Copy link
Member

jroper commented Sep 11, 2019

@pvlugter agreed on that, I think that could be achieved by doing something like this:

sbt 'set scriptedSbt = "1.2.8"' scripted

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.

4 participants