Skip to content

Commit ce87bf9

Browse files
committed
[backport] Fixes a comment in the bootstrap script.
Backport of 48328cc
1 parent 5226337 commit ce87bf9

File tree

1 file changed

+11
-9
lines changed

1 file changed

+11
-9
lines changed

scripts/jobs/integrate/bootstrap

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -59,15 +59,17 @@
5959
# (*) https://github.com/sbt/sbt/blob/0.13.8/util/cross/src/main/input_sources/CrossVersionUtil.scala#L39
6060

6161

62-
# Binary incompatible changes in Modules: example with Scala 2.11 / 2.12 and scala-xml
63-
# - Simple case: Scala 2.11 and 2.12 use the same scala-xml version, for example v1.0.3
64-
# - Only one branch in the module repostiory. This branch is cross-built against 2.11 and 2.12.
65-
# - This set-up does not allow incompatible changes in scala-xml for Scala 2.12.
66-
# - General case: The scala-xml authors want to introduce incompatible changes for 2.12
67-
# - The scala-xml minor version needs to be increased, so 2.12 would depend on scala-xml v1.1.x (or maybe v2.0.x)
68-
# - The repostiory for scala-xml would have separate branches for each minor version (1.0.x, 1.1.x)
69-
# - This allows building new (binary compatible) versions that target Scala 2.11
70-
# - The Scala release script would require some work, it is currently not prepared to handle branches in module repositories
62+
# Binary incompatible changes in Modules: example with Scala 2.11 / 2.12 and scala-parser-combinators
63+
# - The 1.0.x branch on scala-parser-combinators remains binary compatible with 1.0.0
64+
# - Scala 2.11 will always use 1.0.x releases: we ship scala-parser-combinators with the distribution,
65+
# so we cannot introduce incompatible changes in a minor release.
66+
# - The master branch of scala-parser-combinators contains binary incompatible changes, versioned 1.1.x
67+
# - Scala 2.12 will use 1.1.x releases
68+
# - No changes to the build script required: just put the 1.1.x version number into versions.properties
69+
#
70+
# Note: It's still OK for a module to release a binary incompatible version to maven, for example
71+
# scala-parser-combinators_2.11 % 1.1.0. Users can depend on this in their sbt build. But for the
72+
# distribution (tar/zip archives, scala-library-all) we have to stay on the binary compatible version.
7173

7274

7375
# Requirements

0 commit comments

Comments
 (0)