Skip to content

add scalafix+scalameta+scalaparse+scalatex+ammonite-ops+geny+scalaj-http #472

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

Merged
merged 1 commit into from
Feb 10, 2017

Conversation

SethTisue
Copy link
Member

this rabbit hole was deep.

@SethTisue
Copy link
Member Author

tested locally:

[info] Project acyclic-----------------: SUCCESS (unchanged, not rebuilt)
[info] Project akka--------------------: SUCCESS (unchanged, not rebuilt)
[info] Project fastparse---------------: SUCCESS (unchanged, not rebuilt)
[info] Project genjavadoc--------------: SUCCESS (unchanged, not rebuilt)
[info] Project geny--------------------: SUCCESS (unchanged, not rebuilt)
[info] Project macro-paradise----------: SUCCESS (unchanged, not rebuilt)
[info] Project scala-------------------: SUCCESS (unchanged, not rebuilt)
[info] Project scala-java8-compat------: SUCCESS (unchanged, not rebuilt)
[info] Project scala-js----------------: SUCCESS (unchanged, not rebuilt)
[info] Project scala-parser-combinators: SUCCESS (unchanged, not rebuilt)
[info] Project scalacheck--------------: SUCCESS (unchanged, not rebuilt)
[info] Project scalafix----------------: SUCCESS (project rebuilt ok)
[info] Project scalameta---------------: SUCCESS (unchanged, not rebuilt)
[info] Project scalatest---------------: SUCCESS (unchanged, not rebuilt)
[info] Project sourcecode--------------: SUCCESS (unchanged, not rebuilt)
[info] Project utest-------------------: SUCCESS (unchanged, not rebuilt)
[info] >>> The dbuild result is------------: SUCCESS (project rebuilt ok)

@SethTisue SethTisue merged commit 4fcabdc into scala:2.12.x Feb 10, 2017
@SethTisue SethTisue deleted the add-scalafix branch February 10, 2017 02:18
@SethTisue
Copy link
Member Author

@@ -984,4 +989,60 @@ build += {
extra.exclude: ["plugin"] // we never build sbt plugins
}

// forked to remove the usual bintray gunk
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we provide some additional configuration on our side (e.g. -Dsbt.prohibit.publish=true) to make sure you don't need to maintain your fork?

Copy link
Member Author

Choose a reason for hiding this comment

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

with this particular plugin, I don't think so, sadly. a bunch of other projects are affected, too. the ticket is lightbend-labs/dbuild#158

Copy link
Member Author

Choose a reason for hiding this comment

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

(I actually did try -Dsbt.prohibit.publish=true before forking, to no avail.)

Copy link

@olafurpg olafurpg left a comment

Choose a reason for hiding this comment

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

Thanks for the heads up! Just some FYIs

"scalafix-nsc" // depends on circe which we don't have yet
// this didn't work; I decided to postpone any investigation. dbuild output an
// immensely long error (tens of megabytes), enough to choke Jenkins
"scalafix-tests"

Choose a reason for hiding this comment

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

Yes, I would exclude this directory. Here's where I run rewrites against a mini scalafix community-build. This involves cloning other projects and compiling them.

uri: ${vars.uris.scalafix-uri}
extra.exclude: [
"scalafix-sbt" // we never build sbt plugins
"scalafix-nsc" // depends on circe which we don't have yet

Choose a reason for hiding this comment

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

Note, most scalafix tests are currently in scalafix-nsc, core has a limited amount of tests. These tests depend on various projects (circe, shapeless,...) to reproduce bugs that surfaced in larger integration tests.

@SethTisue
Copy link
Member Author

SethTisue commented Feb 10, 2017

thanks Ólafur, I added your comments in 56c9c95

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.

3 participants