Skip to content

Commit be5634b

Browse files
committed
Merge remote-tracking branch 'origin/2.12.x' into sbt-0.13.16
2 parents 2335c6e + 7d32d66 commit be5634b

File tree

3 files changed

+153
-100
lines changed

3 files changed

+153
-100
lines changed

configs/community.dbuild

Lines changed: 135 additions & 86 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,9 @@ build += {
117117
uri: "https://github.com/scala/scala-xml.git"
118118
extra.commands: ${vars.default-commands} [
119119
"set scalaVersion := \""${vars.scala-version}"\""
120+
// work around https://github.com/scala/community-builds/issues/575
121+
// (in a community build context, we don't need MiMa to run)
122+
"set every ScalaModulePlugin.mimaPreviousVersion := None"
120123
]
121124
extra.projects: ["xmlJVM"]
122125
}
@@ -136,33 +139,68 @@ build += {
136139
projects: [
137140

138141
${vars.base} {
139-
name: "scala-partest-interface"
140-
uri: ${vars.uris.scala-partest-interface-uri}
142+
name: "scala-parser-combinators"
143+
uri: ${vars.uris.scala-parser-combinators-uri}
144+
extra.exclude: ["scala-parser-combinatorsJS"]
141145
}
142146

147+
// if master proves difficult to track, the 0.6.x branch could be
148+
// used instead; see discussion at
149+
// https://github.com/scala/community-builds/issues/506
143150
${vars.base} {
144-
name: "scala-partest"
145-
uri: ${vars.uris.scala-partest-uri}
151+
name: "scala-js"
152+
uri: ${vars.uris.scala-js-uri}
153+
extra: ${vars.base.extra} {
154+
// hopefully avoid intermittent OutOfMemoryErrors with default 1.5G heap?
155+
options: ["-Xmx2048m"]
156+
projects: [ tools, testSuite, stubs ]
157+
commands: ${vars.default-commands} [
158+
// - Disable compiler/test because it is very fragile.
159+
"set test in (Build.compiler, Test) := {}"
160+
// - Disable fatal Scaladoc warnings, also fragile
161+
"removeScalacOptions -Xfatal-warnings"
162+
// - We disable source map tests to save ourselves a `npm install source-map-support` on the workers.
163+
// Although only `testSuite` actually has tests, dbuild will try to run the tests for all projects
164+
// that `testSuite` depends on (transitively), so we need to set it in a bunch of places.
165+
"set Seq(library, testInterface, jUnitRuntime, testSuite).map(p => jsEnv in p := new org.scalajs.jsenv.nodejs.NodeJSEnv(org.scalajs.jsenv.nodejs.NodeJSEnv.Config().withExecutable(\""${vars.node}"\").withSourceMap(false)))"
166+
]
167+
}
146168
}
147169

170+
// frozen (June 2017) at an April 2017 commit; newer commits
171+
// broke the scalacheck subproject of specs2
148172
${vars.base} {
149-
name: "scala-swing"
150-
uri: ${vars.uris.scala-swing-uri}
173+
name: "scalacheck"
174+
uri: ${vars.uris.scalacheck-uri}
175+
extra.projects: ["jvm"] // no Scala.js please
176+
// because of new unused warnings in 2.12.2
177+
extra.commands: ${vars.default-commands} [ "removeScalacOptions -Xfatal-warnings" ]
151178
}
152179

153180
${vars.base} {
154-
name: "scala-parser-combinators"
155-
uri: ${vars.uris.scala-parser-combinators-uri}
156-
extra.exclude: ["scala-parser-combinatorsJS"]
181+
name: "scalatest"
182+
uri: ${vars.uris.scalatest-uri}
183+
extra: ${vars.base.extra} {
184+
projects: ["scalatest", "scalactic"]
185+
test-tasks: ["compile"] // TODO run tests -- need to exclude browser-based tests somehow
186+
}
157187
}
158188

159-
// frozen at a March 2017 commit before https://github.com/scala/community-builds/issues/493
160-
// was introduced. hopefully Rickard will find a different solution for
161-
// https://github.com/rickynils/scalacheck/issues/318
162189
${vars.base} {
163-
name: "scalacheck"
164-
uri: ${vars.uris.scalacheck-uri}
165-
extra.projects: ["jvm"] // no Scala.js please
190+
name: "scala-partest-interface"
191+
uri: ${vars.uris.scala-partest-interface-uri}
192+
}
193+
194+
${vars.base} {
195+
name: "scala-partest"
196+
uri: ${vars.uris.scala-partest-uri}
197+
extra.commands: ${vars.default-commands} [ "removeScalacOptions -Xfatal-warnings" ] # Deprecated optimizer settings
198+
199+
}
200+
201+
${vars.base} {
202+
name: "scala-swing"
203+
uri: ${vars.uris.scala-swing-uri}
166204
}
167205

168206
// tracking master as of December 2016. if master proves unstable,
@@ -237,15 +275,6 @@ build += {
237275
]
238276
}
239277

240-
${vars.base} {
241-
name: "scalatest"
242-
uri: ${vars.uris.scalatest-uri}
243-
extra: ${vars.base.extra} {
244-
projects: ["scalatest", "scalactic"]
245-
test-tasks: ["compile"] // TODO run tests -- need to exclude browser-based tests somehow
246-
}
247-
}
248-
249278
${vars.base} {
250279
name: "genjavadoc"
251280
uri: ${vars.uris.genjavadoc-uri}
@@ -308,9 +337,6 @@ build += {
308337
uri: ${vars.uris.scalariform-uri}
309338
// warnings reported upstream at https://github.com/scala-ide/scalariform/issues/234
310339
extra.commands: ${vars.default-commands} [ "removeScalacOptions -Xfatal-warnings" ]
311-
// tests don't compile on ScalaTest 3.0. reported upstream at
312-
// https://github.com/scala-ide/scalariform/issues/232
313-
extra.run-tests: false
314340
}
315341

316342
${vars.base} {
@@ -351,29 +377,6 @@ build += {
351377
uri: ${vars.uris.sbinary-uri}
352378
}
353379

354-
// if master proves difficult to track, the 0.6.x branch could be
355-
// used instead; see discussion at
356-
// https://github.com/scala/community-builds/issues/506
357-
${vars.base} {
358-
name: "scala-js"
359-
uri: ${vars.uris.scala-js-uri}
360-
extra: ${vars.base.extra} {
361-
// hopefully avoid intermittent OutOfMemoryErrors with default 1.5G heap?
362-
options: ["-Xmx2048m"]
363-
projects: [ tools, testSuite, stubs ]
364-
commands: ${vars.default-commands} [
365-
// - Disable compiler/test because it is very fragile.
366-
"set test in (Build.compiler, Test) := {}"
367-
// - Disable fatal Scaladoc warnings, also fragile
368-
"removeScalacOptions -Xfatal-warnings"
369-
// - We disable source map tests to save ourselves a `npm install source-map-support` on the workers.
370-
// Although only `testSuite` actually has tests, dbuild will try to run the tests for all projects
371-
// that `testSuite` depends on (transitively), so we need to set it in a bunch of places.
372-
"set Seq(library, testInterface, jUnitRuntime, testSuite).map(p => jsEnv in p := new org.scalajs.jsenv.nodejs.NodeJSEnv(executable = \""${vars.node}"\").withSourceMap(false))"
373-
]
374-
}
375-
}
376-
377380
// forked (April 2017) for 2.12.2 and 2.13 compat.
378381
// can be unforked once these PRs are merged:
379382
// * https://github.com/lihaoyi/utest/pull/107
@@ -460,6 +463,10 @@ build += {
460463
extra.projects: ["fs2CatsJVM"] // no Scala.js
461464
}
462465

466+
// frozen at May 2017 commit because newer commits caused a failure
467+
// in monix: https://github.com/monix/monix/issues/366
468+
// and moved (in June 2017) to an even older (April 2017) commit
469+
// so that doodle compiles
463470
${vars.base} {
464471
name: "cats"
465472
uri: ${vars.uris.cats-uri}
@@ -562,14 +569,17 @@ build += {
562569
extra.test-tasks: ["compile"]
563570
}
564571

565-
// frozen (April 2017) because a newer commit caused a test failure in scalamock;
566-
// see Adriaan's comment on the culprit commit:
567-
// https://github.com/etorreborre/specs2/commit/e4e9ab771d213fb8becd51af180354bc240bb2c1#commitcomment-21743802
568572
${vars.base} {
569573
name: "specs2"
570574
uri: ${vars.uris.specs2-uri}
571575
extra.test-tasks: ["compile"] // TODO: ??? - hasn't been tried lately
572-
extra.exclude: ["guide"] // eff-related compile errors, as of January 2017 anyway
576+
extra.exclude: [
577+
// eff-related compile errors, as of January 2017 anyway
578+
"guide"
579+
// not community build relevant, and was causing error
580+
// ("multiple projects have the same artifacts visible in the same space")
581+
"pom"
582+
]
573583
extra.commands: ${vars.default-commands} [
574584
// too fragile? TODO: I got a non-exhaustive match warning that
575585
// could conceivably indicate some real regression. or maybe it's
@@ -581,6 +591,9 @@ build += {
581591
${vars.base} {
582592
name: "ssl-config"
583593
uri: ${vars.uris.ssl-config-uri}
594+
// repeated hangs during testing; see
595+
// https://github.com/scala/community-builds/issues/560
596+
extra.test-tasks: ["compile"]
584597
}
585598

586599
${vars.base} {
@@ -596,10 +609,6 @@ build += {
596609
extra.run-tests: false
597610
}
598611

599-
// disable -Xfatal-warnings because of new unused warnings introduced
600-
// by https://github.com/scala/scala/pull/5402 ;
601-
// reported upstream at https://github.com/ensime/pcplod/issues/20
602-
// also forked (April 2017) to update a related test result
603612
${vars.base} {
604613
name: "pcplod"
605614
uri: ${vars.uris.pcplod-uri}
@@ -639,6 +648,8 @@ build += {
639648
extra.projects: ["play-jsonJVM"] // no Scala.js plz
640649
}
641650

651+
// frozen (June 2017) after a test started failing;
652+
// see https://github.com/scala/community-builds/issues/564
642653
${vars.base} {
643654
name: "play-ws"
644655
uri: ${vars.uris.play-ws-uri}
@@ -688,6 +699,11 @@ build += {
688699
extra.projects: ["lift-json"]
689700
}
690701

702+
// frozen (June 2017) at a June 2017 commit before breaking String
703+
// vs. CharSequence changes went in and broke upickle. see
704+
// https://github.com/scala/community-builds/issues/565 . we could
705+
// unfreeze once there's a new jawn release for dependent projects
706+
// to upgrade to
691707
${vars.base} {
692708
name: "jawn"
693709
uri: ${vars.uris.jawn-uri}
@@ -699,14 +715,17 @@ build += {
699715
extra.projects: ["ast", "parser", "json4s", "spray"]
700716
}
701717

718+
// frozen (June 2017) at a November 2016 commit because newer commits failed
719+
// to compile -- I guess because fs2 is changing? ticket is
720+
// https://github.com/scala/community-builds/issues/563
702721
${vars.base} {
703722
name: "jawn-fs2"
704723
uri: ${vars.uris.jawn-fs2-uri}
705724
}
706725

707726
// forked (updated March 2017) because of bintray-sbt errors;
708727
// see https://github.com/typesafehub/dbuild/issues/158 (fixed in
709-
// at least some cases in dbuild 0.9.7-RC1? not in this case)
728+
// at least some cases in dbuild 0.9.7? not in this case)
710729
${vars.base} {
711730
name: "scalamock"
712731
uri: ${vars.uris.scalamock-uri}
@@ -795,7 +814,7 @@ build += {
795814
name: "scala-json-ast"
796815
uri: ${vars.uris.scala-json-ast-uri}
797816
// no Scala.js please, and no benchmarks either
798-
extra.projects: ["scalaJsonASTJVM"]
817+
extra.projects: ["scalaJsonJVM"]
799818
}
800819

801820
${vars.base} {
@@ -839,31 +858,15 @@ build += {
839858
extra.projects: ["minitestJVM", "lawsJVM"] // no Scala.js
840859
}
841860

861+
// using series/2.x rather than master because tracking master
862+
// was causing some compile failures, probably having to do with
863+
// the dependency changes happening recently (June 2017)
842864
${vars.base} {
843865
name: "monix"
844866
uri: ${vars.uris.monix-uri}
845867
extra.projects: ["coreJVM", "tckTests"] // no Scala.js, no benchmarks
846868
}
847869

848-
${vars.base} {
849-
name: "conductr-lib"
850-
uri: ${vars.uris.conductr-lib-uri}
851-
extra.exclude: [
852-
// not our Akka version
853-
"akka23Common", "akka23ConductRBundleLib", "akka23TestLib"
854-
// we don't have Lagom yet
855-
"lagom1JavaConductRBundleLib", "lagom1ScalaConductRBundleLib"
856-
// not our Play version
857-
"play23Common", "play23ConductRBundleLib", "play23ConductRClientLib"
858-
// also not our Play version
859-
"play24Common", "play24ConductRBundleLib", "play24ConductRClientLib"
860-
// "That particular lib shouldn't be processed", says Christopher
861-
"akka24ConductRClientLib"
862-
// Play stuff didn't work, maybe try again later?
863-
"play25ConductRBundleLib", "play25ConductRClientLib", "play25Common"
864-
]
865-
}
866-
867870
// this was added because conductr-lib's Play integration depended on it,
868871
// but we ended up not including that integration (for now anyway?), so
869872
// nothing depends on this. leaving it in since we might as well, but
@@ -898,9 +901,6 @@ build += {
898901
${vars.base} {
899902
name: "dispatch"
900903
uri: ${vars.uris.dispatch-uri}
901-
// running tests was intermittently hanging. reported upstream at
902-
// https://github.com/dispatch/reboot/issues/137
903-
extra.test-tasks: ["compile"]
904904
}
905905

906906
${vars.base} {
@@ -926,6 +926,7 @@ build += {
926926
${vars.base} {
927927
name: "http4s-websocket"
928928
uri: ${vars.uris.http4s-websocket-uri}
929+
extra.projects: ["http4sWebsocketJVM"] // no Scala.js plz
929930
}
930931

931932
// frozen at v0.12.4 because that's the version http4s depends on,
@@ -985,10 +986,23 @@ build += {
985986
extra.projects: ["fansiJVM"] // no Scala.js
986987
}
987988

989+
// as per https://github.com/lihaoyi/upickle-pprint/issues/209
990+
// upickle is now obsolete (and the pprint part has its own repo now).
991+
// leaving this here because it isn't causing, any trouble, and
992+
// because we already have it forked/frozen. note that no other
993+
// projects depend on it, so it could be dropped if any trouble
994+
// starts. pprint is now separate.
988995
${vars.base} {
989-
name: "upickle-pprint"
990-
uri: ${vars.uris.upickle-pprint-uri}
991-
extra.projects: ["upickleJVM", "pprintJVM"] // no Scala.js
996+
name: "upickle"
997+
uri: ${vars.uris.upickle-uri}
998+
// no Scala.js; also only upickle no pprint
999+
extra.projects: ["upickleJVM"]
1000+
}
1001+
1002+
${vars.base} {
1003+
name: "pprint"
1004+
uri: ${vars.uris.pprint-uri}
1005+
extra.projects: ["pprintJVM"] // no Scala.js
9921006
}
9931007

9941008
${vars.base} {
@@ -1122,7 +1136,9 @@ build += {
11221136
extra.test-tasks: ["compile"]
11231137
}
11241138

1125-
// adding (April 2017) because scalameta now depends on it
1139+
// adding (April 2017) because scalameta now depends on it.
1140+
// frozen (June 2017) since more recent revisions didn't compile;
1141+
// see https://github.com/scala/community-builds/issues/562
11261142
${vars.base} {
11271143
name: "scalapb"
11281144
uri: ${vars.uris.scalapb-uri}
@@ -1139,10 +1155,43 @@ build += {
11391155
extra.projects: ["lensesJVM"] // no Scala.js plz
11401156
}
11411157

1158+
// frozen at May 2017 commit because newer commits were failing;
1159+
// see https://github.com/scala/community-builds/issues/544
11421160
${vars.base} {
11431161
name: "cats-effect"
11441162
uri: ${vars.uris.cats-effect-uri}
11451163
extra.projects: ["coreJVM", "lawsJVM"] // no Scala.js plz
11461164
}
11471165

1166+
// forked (June 2017) to get rid of the usual bintray-sbt stuff that
1167+
// makes dbuild upset; also waiting on upstream merge of
1168+
// https://github.com/underscoreio/doodle/pull/55
1169+
${vars.base} {
1170+
name: "doodle"
1171+
uri: ${vars.uris.doodle-uri}
1172+
extra.projects: ["doodleJVM"] // no Scala.js plz
1173+
}
1174+
1175+
// once https://github.com/scala/scala-collections-laws/pull/18
1176+
// is merged we can track master
1177+
${vars.base} {
1178+
name: "scala-collections-laws"
1179+
uri: ${vars.uris.scala-collections-laws-uri}
1180+
// as per the repo readme
1181+
extra.options: ["-XX:MaxMetaspaceSize=1G", "-Xmx6G"]
1182+
// note that we're not actually doing
1183+
// `runMain tests.generated.collection.Test_All` which is what
1184+
// the repo readme says to do. dbuild doesn't let us set
1185+
// extra.test-tasks to a task that takes arguments. (anyway,
1186+
// it's not clear it's really necessary or appropriate to
1187+
// actually run the whole thing as part of the community build?)
1188+
}
1189+
1190+
${vars.base} {
1191+
name: "better-files"
1192+
uri: ${vars.uris.better-files-uri}
1193+
// test failure reported upstream at https://github.com/pathikrit/better-files/issues/165
1194+
extra.test-tasks: ["compile"]
1195+
}
1196+
11481197
]}

0 commit comments

Comments
 (0)