-
Notifications
You must be signed in to change notification settings - Fork 79
WIP: upgrade to scala 2.13.0 #334
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
Conversation
it'd be better to resolve this cyclic dependency...
322dd15
to
9fbe028
Compare
9fbe028
to
f696f68
Compare
I'll fix the new deprecation warnings before merging (not today). if possible please approve so i can move quickly tmr |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
are all of those version bumps necessary?
I'm trying to get a better feeling of the changes needed to make that 2.13 upgrade.
codepropertygraph/src/main/scala/io/shiftleft/codepropertygraph/cpgloading/ProtoToCpg.scala
Outdated
Show resolved
Hide resolved
codepropertygraph/build.sbt
Outdated
println(s"successfully called $cmd") | ||
else | ||
if (result == 0) { | ||
val outputRootBF = better.files.File(outputRoot.toPath) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
outputRootBF
that looks like a rather cryptic variable name and it took me a while until I figured out that BF
doesn't stand for "best friends" 😢
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah, agree, changed that now
closing, replaced by multiple smaller prs |
* upgrade to scala 2.13.1 mostly reapplied #334 * use built-in ARM * upgrade sbt * compile works * fix compile deprecation warnings * bring converters back in * use my custom-published collections-contrib * fix deprecation warning * Disable fatal warnings on cpgserver. * temporarily disable fatal-warnings * inline reading overlay entries for simpler ARM handling * scalafmt * reenable xfatal warnings for other subprojects * fix tests * released fuzzyc * downgrade to 2.13.0 to fix cpg-server issue with ZipArchive underlying issue: scala/bug#11754 which is fixed in scala/scala#8447 i.e. we can upgrade to 2.13.2 once that's released shows as stackoverflow error recursing indefinitely: `scala.reflect.io.ZipArchive.ensureDir(ZipArchive.scala:126)`
Status: do not merge for now, because the corresponding codescience PR isn't merge-ready. Many of our dependencies only exist as RCs and milestones, we want to wait for proper releases.