Skip to content
This repository was archived by the owner on Sep 1, 2020. It is now read-only.

Commit 3a0462e

Browse files
committed
Merge pull request scala#4492 from lrytz/scriptsBackport
Backport releas script fixes to 2.11.x
2 parents 1b7e660 + ce87bf9 commit 3a0462e

File tree

8 files changed

+213
-140
lines changed

8 files changed

+213
-140
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ Once the `publish-core` task has completed on a commit, you can try it out in sb
9797
```
9898
$ sbt
9999
100-
> set resolvers += "pr" at "http://private-repo.typesafe.com/typesafe/scala-pr-validation-snapshots/"
100+
> set resolvers += "pr" at "https://scala-ci.typesafe.com/artifactory/scala-pr-validation-snapshots/"
101101
> set scalaVersion := "<milestone>-<sha7>-SNAPSHOT"
102102
> console
103103
```

build.number

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
1-
#Tue Sep 11 19:21:09 CEST 2007
1+
# The version number in this file should be the next un-released minor version,
2+
# e.g., 2.11.7, 2.12.0, 2.12.1. It's used to determine version numbers for
3+
# SNAPSHOT / nightly builds and local builds of source checkouts.
4+
25
version.major=2
36
version.minor=11
47
version.patch=7
5-
# This is the -N part of a version. if it's 0, it's dropped from maven versions.
8+
9+
# This is the -N part of a version (2.9.1-1). If it's 0, it's dropped from maven versions. It should not be used again.
610
version.bnum=0
711

812
# To build a release, see scripts/jobs/scala-release-2.11.x-build
9-
# (normally run by the eponymous job on scala-ci.typesafe.com).
13+
# (normally run by the eponymous job on scala-ci.typesafe.com).

build.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -506,9 +506,9 @@ TODO:
506506
<property name="sbt.lib.dir" value="${build-sbt.dir}/${sbt.latest.version}/lib"/>
507507

508508
<property name="sbt.interface.jar" value="${sbt.lib.dir}/interface.jar"/>
509-
<property name="sbt.interface.url" value="http://private-repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/interface/${sbt.latest.version}/jars/interface.jar"/>
509+
<property name="sbt.interface.url" value="http://dl.bintray.com/typesafe/ivy-releases/org.scala-sbt/interface/${sbt.latest.version}/jars/interface.jar"/>
510510
<property name="sbt.interface.src.jar" value="${sbt.src.dir}/compiler-interface-src.jar"/>
511-
<property name="sbt.interface.src.url" value="http://private-repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/compiler-interface/${sbt.latest.version}/jars/compiler-interface-src.jar"/>
511+
<property name="sbt.interface.src.url" value="http://dl.bintray.com/typesafe/ivy-releases/org.scala-sbt/compiler-interface/${sbt.latest.version}/jars/compiler-interface-src.jar"/>
512512

513513

514514
<!-- Additional command line arguments for scalac. They are added to all build targets -->

scripts/jobs/integrate/bootstrap

Lines changed: 183 additions & 122 deletions
Large diffs are not rendered by default.

scripts/jobs/validate/test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ case $prDryRun in
1111
# (in that sense it's locker, since it was built with starr by that upstream job)
1212
ant -Dstarr.version=$scalaVersion \
1313
-Dscalac.args.optimise=-optimise \
14-
-Dlocker.skip=1 -Dstarr.use.released=1 -Dextra.repo.url=$prRepoUrl \
14+
-Dlocker.skip=1 -Dextra.repo.url=$prRepoUrl \
1515
$testExtraArgs ${testTarget-test.core docs.done}
1616
;;
1717
esac

test/files/scalacheck/redblacktree.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ package scala.collection.immutable.redblacktree {
3333

3434
def mkTree(level: Int, parentIsBlack: Boolean = false, label: String = ""): Gen[Tree[String, Int]] =
3535
if (level == 0) {
36-
value(null)
36+
const(null)
3737
} else {
3838
for {
3939
oddOrEven <- choose(0, 2)

tools/binary-repo-lib.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Library to push and pull binary artifacts from a remote repository using CURL.
44

55
remote_urlget="http://repo.typesafe.com/typesafe/scala-sha-bootstrap/org/scala-lang/bootstrap"
6-
remote_urlpush="http://private-repo.typesafe.com/typesafe/scala-sha-bootstrap/org/scala-lang/bootstrap"
6+
remote_urlpush="http://dl.bintray.com/typesafe/scala-sha-bootstrap/org/scala-lang/bootstrap"
77
libraryJar="$(pwd)/lib/scala-library.jar"
88
desired_ext=".desired.sha1"
99
push_jar="$(pwd)/tools/push.jar"

versions.properties

Lines changed: 17 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,32 +3,40 @@
33
# via scala-dist-pom.xml and scala-library-all-pom.xml
44
# when adding new properties that influence a release,
55
# also add them to the update.versions mechanism in build.xml,
6-
# which is used by scala-release-2.11.x in scala/jenkins-scripts
6+
# which is used by the release script scripts/jobs/integrate/bootstrap
7+
8+
# The scala version used for boostrapping. This has no impact on the final classfiles:
9+
# there are two stages (locker and quick), so compiler and library are always built
10+
# with themselves. Stability is ensured by building a third stage (strap).
711
starr.version=2.11.6
8-
starr.use.released=1
912

1013
# These are the versions of the modules that go with this release.
1114
# These properties are used during PR validation and in dbuild builds.
1215

13-
# e.g. 2.11.0-RC1, 2.11
16+
# The scala.binary.version determines how modules are resolved. For example, it
17+
# determines which partest artifact is being used for running the tests.
18+
# It has to be set in the following way:
19+
# - After 2.x.0 is released, the binary version is 2.x.
20+
# - During milestones and RCs, modules are cross-built against the full version.
21+
# So the value is the full version (e.g. 2.12.0-M1).
1422
scala.binary.version=2.11
1523
# e.g. 2.11.0-RC1, 2.11.0, 2.11.1-RC1, 2.11.1
1624
# this defines the dependency on scala-continuations-plugin in scala-dist's pom
1725
scala.full.version=2.11.6
1826

1927
# external modules shipped with distribution, as specified by scala-library-all's pom
20-
scala-xml.version.number=1.0.3
21-
scala-parser-combinators.version.number=1.0.3
28+
scala-xml.version.number=1.0.4
29+
scala-parser-combinators.version.number=1.0.4
2230
scala-continuations-plugin.version.number=1.0.2
2331
scala-continuations-library.version.number=1.0.2
24-
scala-swing.version.number=1.0.1
25-
akka-actor.version.number=2.3.4
32+
scala-swing.version.number=1.0.2
33+
akka-actor.version.number=2.3.10
2634
actors-migration.version.number=1.1.0
2735
jline.version=2.12.1
2836

2937
# external modules, used internally (not shipped)
30-
partest.version.number=1.0.6
31-
scalacheck.version.number=1.11.4
38+
partest.version.number=1.0.7
39+
scalacheck.version.number=1.11.6
3240

3341
# TODO: modularize the compiler
3442
#scala-compiler-doc.version.number=1.0.0-RC1

0 commit comments

Comments
 (0)