From f3b94a7b5919156e9350834c95d3f97635ff8fad Mon Sep 17 00:00:00 2001 From: Seth Tisue Date: Wed, 14 Aug 2024 15:39:09 -0700 Subject: [PATCH 01/12] add "Nightly Versions of Scala" to Overviews page I'm suggesting adding this to https://docs.scala-lang.org/overviews/index.html -- at least I can't think of a better location the text is based on https://stackoverflow.com/questions/40622878/how-do-i-use-a-nightly-build-of-scala which I drafted some years ago and have been updating ever since. I should have turned it into official doc a long time ago. --- _data/overviews.yml | 3 ++ _overviews/core/nightly-builds.md | 87 +++++++++++++++++++++++++++++++ 2 files changed, 90 insertions(+) create mode 100644 _overviews/core/nightly-builds.md diff --git a/_data/overviews.yml b/_data/overviews.yml index cc1534263e..00d7dabad7 100644 --- a/_data/overviews.yml +++ b/_data/overviews.yml @@ -161,6 +161,9 @@ description: "A diverse and comprehensive set of libraries is important to any productive software ecosystem. While it is easy to develop and distribute Scala libraries, good library authorship goes beyond just writing code and publishing it. In this guide, we cover the important topic of Binary Compatibility." icon: puzzle-piece url: "core/binary-compatibility-for-library-authors.html" + - title: Nightly Versions of Scala + description: "We regularly publish 'nightlies' of both Scala 2 and 3 so that users can preview and test the contents of upcoming releases. Here's how to find and use these versions." + url: "core/nightly-builds.html" - category: "Tools" description: "Reference material on core Scala tools like the Scala REPL and Scaladoc generation." diff --git a/_overviews/core/nightly-builds.md b/_overviews/core/nightly-builds.md new file mode 100644 index 0000000000..e807df2a1e --- /dev/null +++ b/_overviews/core/nightly-builds.md @@ -0,0 +1,87 @@ +--- +layout: singlepage-overview +title: Nightly Versions of Scala +permalink: /overviews/core/:title.html +--- + +We regularly publish nightly builds of both Scala 2 and 3 so that users can preview and test the contents of upcoming releases. + +We informally call them "nightly" builds, but technically it's a misnomer. A so-called “nightly” is built for every merged PR. + +Here's how to find and use these versions. + +## Scala 3 + +Scala 3 nightly builds are published to Maven Central. If you know the full version number of the nightly you want to use, you can use it just like any other Scala 3 version. + +One quick way to get that version number is to visit https://dotty.epfl.ch and look in the upper left corner. + +Another way is to scrape Maven Central, as shown in this script: https://raw.githubusercontent.com/VirtusLab/community-build3/master/scripts/lastVersionNightly.sc + +A third way is to use [scala-cli](https://scala-cli.virtuslab.org), as follows. + +### scala-cli + +You can run nightlies with commands such as: + + scala-cli -S 3.nightly + scala-cli -S 3.3.nightly + +The default command is `repl`, but all the other scala-cli subcommands such as `compile` and `run` work, too. It also works with `//>` directives in your script itself, for example: + + //> using scala 3.nightly + +See this [scala-cli doc page](https://scala-cli.virtuslab.org/docs/commands/compile#scala-nightlies) for details. + +## Scala 2.13 or 2.12 + +Scala 3 nightly builds are published to a special resolver. You'll need to add that resolver to your build configuration in order to use these versions. + +### quick version (sbt) + + Global / resolvers += "scala-integration" at + "https://scala-ci.typesafe.com/artifactory/scala-integration/" + scalaVersion := "2.13.15-bin-abcd123" + +for a 2.12 nightly, substitute e.g. `2.12.20` for `2.13.15`; in either case, it's the version number of the _next_ release on that branch + +for `abcd123`, manually substitute the first 7 characters of the SHA of the latest green build [on the 2.13.x or 2.12.x branch on Travis-CI](https://app.travis-ci.com/github/scala/scala/branches). + +A quick way to find out the full version number of a current nightly is to use [scala-cli](https://scala-cli.virtuslab.org), as follows. + +### quick version (scala-cli) + +You can run nightlies with: + + scala-cli -S 2.13.nightly + scala-cli -S 2.nightly # same as 2.13.nightly + scala-cli -S 2.12.nightly + +The default command is `repl`, but all the other scala-cli subcommands such as `compile` and `run` work, too. It also works with `//>` directives in your script itself, for example: + + //> using scala 2.nightly + +### Longer explanation + +We no longer publish `-SNAPSHOT` versions of Scala 2. + +But the team does publish nightly builds, each with its own fixed version number. The version number of a nightly looks like e.g. `2.13.1-bin-abcd123`. (`-bin-` signals binary compatibility to sbt; all 2.13.x releases since 2.13.0 are binary compatible with each other.) + +To tell sbt to use one of these nightlies, you need to do three things. + +First, add the resolver where the nightlies are kept: + + Global / resolvers += "scala-integration" at + "https://scala-ci.typesafe.com/artifactory/scala-integration/" + +Second, specify the Scala version: + + scalaVersion := "2.13.1-bin-abcd123" + +But that isn't a real version number. Manually substitute a version number containing the 7-character SHA of the last commit in the [scala/scala repository](https://github.com/scala/scala) for which a nightly build was published. Look at https://travis-ci.org/scala/scala/branches and you'll see the SHA in the upper right corner of the 2.13.x (or 2.12.x) section. + +As soon as 2.13.1 is released, the version number in the nightly will bump to 2.13.2, and so on. + +If you have a multiproject build, be sure you set these settings across all projects when you modify your build definition. Or, you may set them temporarily in the sbt shell with `++2.13.1-bin-abcd123` (sbt 0.13.x) or `++2.13.1-bin-abcd123!` (sbt 1.x; the added exclamation point is necessary to force a version not included in `crossScalaVersions` to be used). + +Ideally, we would suggest an automated way to ask Travis-CI for the right SHA. This is presumably possible via Travis-CI's API, but as far as we know, nobody has looked into it yet. (Is there a volunteer?) From 490164e338e12f12f6f20eb114bfc3f5662e6e4f Mon Sep 17 00:00:00 2001 From: Seth Tisue Date: Wed, 14 Aug 2024 15:42:21 -0700 Subject: [PATCH 02/12] rename --- _data/overviews.yml | 2 +- _overviews/core/{nightly-builds.md => nightlies.md} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename _overviews/core/{nightly-builds.md => nightlies.md} (100%) diff --git a/_data/overviews.yml b/_data/overviews.yml index 00d7dabad7..15b494f0cb 100644 --- a/_data/overviews.yml +++ b/_data/overviews.yml @@ -163,7 +163,7 @@ url: "core/binary-compatibility-for-library-authors.html" - title: Nightly Versions of Scala description: "We regularly publish 'nightlies' of both Scala 2 and 3 so that users can preview and test the contents of upcoming releases. Here's how to find and use these versions." - url: "core/nightly-builds.html" + url: "core/nightlies.html" - category: "Tools" description: "Reference material on core Scala tools like the Scala REPL and Scaladoc generation." diff --git a/_overviews/core/nightly-builds.md b/_overviews/core/nightlies.md similarity index 100% rename from _overviews/core/nightly-builds.md rename to _overviews/core/nightlies.md From 304c920b09946662a9add70d357fbaf2997230af Mon Sep 17 00:00:00 2001 From: Seth Tisue Date: Wed, 14 Aug 2024 15:44:06 -0700 Subject: [PATCH 03/12] consistently use nightly 'version' not 'build' --- _data/overviews.yml | 2 +- _overviews/core/nightlies.md | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/_data/overviews.yml b/_data/overviews.yml index 15b494f0cb..5756db5e3e 100644 --- a/_data/overviews.yml +++ b/_data/overviews.yml @@ -162,7 +162,7 @@ icon: puzzle-piece url: "core/binary-compatibility-for-library-authors.html" - title: Nightly Versions of Scala - description: "We regularly publish 'nightlies' of both Scala 2 and 3 so that users can preview and test the contents of upcoming releases. Here's how to find and use these versions." + description: "We regularly publish 'nightlies' of both Scala 3 and Scala 2 so that users can preview and test the contents of upcoming releases. Here's how to find and use these versions." url: "core/nightlies.html" - category: "Tools" diff --git a/_overviews/core/nightlies.md b/_overviews/core/nightlies.md index e807df2a1e..b665eb77fc 100644 --- a/_overviews/core/nightlies.md +++ b/_overviews/core/nightlies.md @@ -4,15 +4,15 @@ title: Nightly Versions of Scala permalink: /overviews/core/:title.html --- -We regularly publish nightly builds of both Scala 2 and 3 so that users can preview and test the contents of upcoming releases. +We regularly publish nightly versions of both Scala 2 and 3 so that users can preview and test the contents of upcoming releases. -We informally call them "nightly" builds, but technically it's a misnomer. A so-called “nightly” is built for every merged PR. +We informally call them "nightly" versions, but technically it's a misnomer. A so-called “nightly” is built for every merged PR. Here's how to find and use these versions. ## Scala 3 -Scala 3 nightly builds are published to Maven Central. If you know the full version number of the nightly you want to use, you can use it just like any other Scala 3 version. +Scala 3 nightly versions are published to Maven Central. If you know the full version number of the nightly you want to use, you can use it just like any other Scala 3 version. One quick way to get that version number is to visit https://dotty.epfl.ch and look in the upper left corner. @@ -35,7 +35,7 @@ See this [scala-cli doc page](https://scala-cli.virtuslab.org/docs/commands/comp ## Scala 2.13 or 2.12 -Scala 3 nightly builds are published to a special resolver. You'll need to add that resolver to your build configuration in order to use these versions. +Scala 3 nightly versions are published to a special resolver. Unless you are using scala-cli, you'll need to add that resolver to your build configuration in order to use these versions. ### quick version (sbt) @@ -65,7 +65,7 @@ The default command is `repl`, but all the other scala-cli subcommands such as ` We no longer publish `-SNAPSHOT` versions of Scala 2. -But the team does publish nightly builds, each with its own fixed version number. The version number of a nightly looks like e.g. `2.13.1-bin-abcd123`. (`-bin-` signals binary compatibility to sbt; all 2.13.x releases since 2.13.0 are binary compatible with each other.) +But the team does publish nightly versions, each with its own fixed version number. The version number of a nightly looks like e.g. `2.13.1-bin-abcd123`. (`-bin-` signals binary compatibility to sbt; all 2.13.x releases since 2.13.0 are binary compatible with each other.) To tell sbt to use one of these nightlies, you need to do three things. @@ -78,7 +78,7 @@ Second, specify the Scala version: scalaVersion := "2.13.1-bin-abcd123" -But that isn't a real version number. Manually substitute a version number containing the 7-character SHA of the last commit in the [scala/scala repository](https://github.com/scala/scala) for which a nightly build was published. Look at https://travis-ci.org/scala/scala/branches and you'll see the SHA in the upper right corner of the 2.13.x (or 2.12.x) section. +But that isn't a real version number. Manually substitute a version number containing the 7-character SHA of the last commit in the [scala/scala repository](https://github.com/scala/scala) for which a nightly version was published. Look at https://travis-ci.org/scala/scala/branches and you'll see the SHA in the upper right corner of the 2.13.x (or 2.12.x) section. As soon as 2.13.1 is released, the version number in the nightly will bump to 2.13.2, and so on. From cfd0610202b75baee016cdfa9552da7892e0e660 Mon Sep 17 00:00:00 2001 From: Seth Tisue Date: Fri, 16 Aug 2024 05:54:58 -0700 Subject: [PATCH 04/12] Update _overviews/core/nightlies.md Co-authored-by: Lukas Rytz --- _overviews/core/nightlies.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_overviews/core/nightlies.md b/_overviews/core/nightlies.md index b665eb77fc..5bd2052eb1 100644 --- a/_overviews/core/nightlies.md +++ b/_overviews/core/nightlies.md @@ -35,7 +35,7 @@ See this [scala-cli doc page](https://scala-cli.virtuslab.org/docs/commands/comp ## Scala 2.13 or 2.12 -Scala 3 nightly versions are published to a special resolver. Unless you are using scala-cli, you'll need to add that resolver to your build configuration in order to use these versions. +Scala 2 nightly versions are published to a special resolver. Unless you are using scala-cli, you'll need to add that resolver to your build configuration in order to use these versions. ### quick version (sbt) From b831152321860a73c6fad980102407f0c64350f0 Mon Sep 17 00:00:00 2001 From: Seth Tisue Date: Tue, 3 Sep 2024 14:07:10 +0200 Subject: [PATCH 05/12] adjust for review feedback --- _overviews/core/nightlies.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_overviews/core/nightlies.md b/_overviews/core/nightlies.md index 5bd2052eb1..95c5ca565a 100644 --- a/_overviews/core/nightlies.md +++ b/_overviews/core/nightlies.md @@ -43,9 +43,9 @@ Scala 2 nightly versions are published to a special resolver. Unless you are usi "https://scala-ci.typesafe.com/artifactory/scala-integration/" scalaVersion := "2.13.15-bin-abcd123" -for a 2.12 nightly, substitute e.g. `2.12.20` for `2.13.15`; in either case, it's the version number of the _next_ release on that branch +For a 2.12 nightly, substitute e.g. `2.12.20` for `2.13.15`; in either case, it's the version number of the _next_ release on that branch. -for `abcd123`, manually substitute the first 7 characters of the SHA of the latest green build [on the 2.13.x or 2.12.x branch on Travis-CI](https://app.travis-ci.com/github/scala/scala/branches). +For `abcd123`, substitute the first 7 characters of the SHA of the latest commit to the [2.13.x branch](https://github.com/scala/scala/commits/2.13.x) or [2.12.x branch](https://github.com/scala/scala/commits/2.12.x) that has a green checkmark. (Clicking the checkmark will show a CI job name with the whole version in its name.) A quick way to find out the full version number of a current nightly is to use [scala-cli](https://scala-cli.virtuslab.org), as follows. From c0b15239d16bf221721789446206455f327a4b8f Mon Sep 17 00:00:00 2001 From: Seth Tisue Date: Tue, 3 Sep 2024 14:49:37 +0200 Subject: [PATCH 06/12] disable some dead links like we did in scala/scala-lang#1689 --- _ja/overviews/macros/paradise.md | 2 +- _ja/overviews/macros/typemacros.md | 2 +- _ja/overviews/macros/untypedmacros.md | 2 +- _ja/overviews/macros/usecases.md | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/_ja/overviews/macros/paradise.md b/_ja/overviews/macros/paradise.md index 7c897ff357..5fd8e5de7d 100644 --- a/_ja/overviews/macros/paradise.md +++ b/_ja/overviews/macros/paradise.md @@ -19,7 +19,7 @@ title: マクロパラダイス マクロパラダイス (Macro paradise) とは Scala の複数のバージョンをサポートするコンパイラプラグインで、一般向けにリリースされている scalac と共に正しく動作するように設計されている。 これによって、将来の Scala に取り込まれるよりもいち早く最新のマクロ機能を使えるようになっている。 [サポートされている機能とバージョンの一覧](/ja/overviews/macros/roadmap.html))に関してはロードマップページを、 -動作の保証に関しては[マクロパラダイスのアナウンスメント](https://scalamacros.org/news/2013/08/07/roadmap-for-macro-paradise.html)を参照してほしい。 +動作の保証に関しては[マクロパラダイスのアナウンスメント](hxxps://scalamacros.org/news/2013/08/07/roadmap-for-macro-paradise.html)を参照してほしい。 ~/210x $ scalac -Xplugin:paradise_*.jar -Xshow-phases phase name id description diff --git a/_ja/overviews/macros/typemacros.md b/_ja/overviews/macros/typemacros.md index 38dae43189..0ed863eb80 100644 --- a/_ja/overviews/macros/typemacros.md +++ b/_ja/overviews/macros/typemacros.md @@ -9,7 +9,7 @@ title: 型マクロ **Eugene Yokota 訳** 型マクロ (type macro) は[マクロパラダイス](/ja/overviews/macros/paradise.html)の以前のバージョンから利用可能だったが、マクロパラダイス 2.0 ではサポートされなくなった。 -[the paradise 2.0 announcement](https://scalamacros.org/news/2013/08/05/macro-paradise-2.0.0-snapshot.html) に説明と移行のための戦略が書かれている。 +[the paradise 2.0 announcement](hxxps://scalamacros.org/news/2013/08/05/macro-paradise-2.0.0-snapshot.html) に説明と移行のための戦略が書かれている。 ## 直観 diff --git a/_ja/overviews/macros/untypedmacros.md b/_ja/overviews/macros/untypedmacros.md index 08ad463cd9..7b857f783b 100644 --- a/_ja/overviews/macros/untypedmacros.md +++ b/_ja/overviews/macros/untypedmacros.md @@ -9,7 +9,7 @@ title: 型指定の無いマクロ **Eugene Yokota 訳** 型指定の無いマクロ (untyped macro) は[マクロパラダイス](/ja/overviews/macros/paradise.html)の以前のバージョンから利用可能だったが、マクロパラダイス 2.0 ではサポートされなくなった。 -[the paradise 2.0 announcement](https://scalamacros.org/news/2013/08/05/macro-paradise-2.0.0-snapshot.html) に説明と移行のための戦略が書かれている。 +[the paradise 2.0 announcement](hxxps://scalamacros.org/news/2013/08/05/macro-paradise-2.0.0-snapshot.html) に説明と移行のための戦略が書かれている。 ## 直観 diff --git a/_ja/overviews/macros/usecases.md b/_ja/overviews/macros/usecases.md index 9db3bc1398..0cd1a51f24 100644 --- a/_ja/overviews/macros/usecases.md +++ b/_ja/overviews/macros/usecases.md @@ -20,7 +20,7 @@ Scala の商用ユーザと研究ユーザの両方がマクロを利用して ここ EPFL においても我々はマクロを活用して研究を行っている。Lightbend 社もマクロを数々のプロジェクトに採用している。 マクロはコミュニティー内でも人気があり、既にいくつかの興味深い応用が現れている。 -最近行われた講演の ["What Are Macros Good For?"](https://scalamacros.org/paperstalks/2014-02-04-WhatAreMacrosGoodFor.pdf) では Scala 2.10 ユーザのマクロの利用方法を説明し、システム化した。講演の大筋はマクロはコード生成、静的な検査、および DSL に有効であるということで、これを研究や産業からの例を交えながら説明した。 +最近行われた講演の ["What Are Macros Good For?"](hxxps://scalamacros.org/paperstalks/2014-02-04-WhatAreMacrosGoodFor.pdf) では Scala 2.10 ユーザのマクロの利用方法を説明し、システム化した。講演の大筋はマクロはコード生成、静的な検査、および DSL に有効であるということで、これを研究や産業からの例を交えながら説明した。 -Scala'13 ワークショップにおいて ["Scala Macros: Let Our Powers Combine!"](https://scalamacros.org/paperstalks/2013-04-22-LetOurPowersCombine.pdf) という論文を発表した。これは Scala 2.10 における最先端のマクロ論をより学問的な視点から説明した。 +Scala'13 ワークショップにおいて ["Scala Macros: Let Our Powers Combine!"](hxxps://scalamacros.org/paperstalks/2013-04-22-LetOurPowersCombine.pdf) という論文を発表した。これは Scala 2.10 における最先端のマクロ論をより学問的な視点から説明した。 この論文では Scala のリッチな構文と静的な型がマクロと相乗することを示し、また既存の言語機能をマクロによって新しい方法で活用できることを考察する。 From 1e23dca8920ba9e9dffe8d01368d6756f4d844f2 Mon Sep 17 00:00:00 2001 From: Seth Tisue Date: Wed, 4 Sep 2024 21:43:06 +0200 Subject: [PATCH 07/12] Scala 3 nightlies actually are nightly --- _overviews/core/nightlies.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_overviews/core/nightlies.md b/_overviews/core/nightlies.md index 95c5ca565a..08ad96840f 100644 --- a/_overviews/core/nightlies.md +++ b/_overviews/core/nightlies.md @@ -6,8 +6,6 @@ permalink: /overviews/core/:title.html We regularly publish nightly versions of both Scala 2 and 3 so that users can preview and test the contents of upcoming releases. -We informally call them "nightly" versions, but technically it's a misnomer. A so-called “nightly” is built for every merged PR. - Here's how to find and use these versions. ## Scala 3 @@ -35,6 +33,8 @@ See this [scala-cli doc page](https://scala-cli.virtuslab.org/docs/commands/comp ## Scala 2.13 or 2.12 +We informally refer to Scala 2 “nightly” versions, but technically it's a misnomer. A so-called “nightly” is built for every merged PR. + Scala 2 nightly versions are published to a special resolver. Unless you are using scala-cli, you'll need to add that resolver to your build configuration in order to use these versions. ### quick version (sbt) From 622b1118d175a64eb03876664bae7867bceea9e4 Mon Sep 17 00:00:00 2001 From: Seth Tisue Date: Wed, 4 Sep 2024 21:44:35 +0200 Subject: [PATCH 08/12] tweak --- _overviews/core/nightlies.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_overviews/core/nightlies.md b/_overviews/core/nightlies.md index 08ad96840f..5860387f29 100644 --- a/_overviews/core/nightlies.md +++ b/_overviews/core/nightlies.md @@ -4,7 +4,7 @@ title: Nightly Versions of Scala permalink: /overviews/core/:title.html --- -We regularly publish nightly versions of both Scala 2 and 3 so that users can preview and test the contents of upcoming releases. +We regularly publish nightly versions of both Scala 3 and 2 so that users can preview and test the contents of upcoming releases. Here's how to find and use these versions. From 9d4681eb10f30f42c46e49486a8f83571205d42f Mon Sep 17 00:00:00 2001 From: Seth Tisue Date: Wed, 4 Sep 2024 21:45:05 +0200 Subject: [PATCH 09/12] Update _overviews/core/nightlies.md Co-authored-by: Hamza Remmal --- _overviews/core/nightlies.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_overviews/core/nightlies.md b/_overviews/core/nightlies.md index 5860387f29..2d6439e890 100644 --- a/_overviews/core/nightlies.md +++ b/_overviews/core/nightlies.md @@ -12,7 +12,7 @@ Here's how to find and use these versions. Scala 3 nightly versions are published to Maven Central. If you know the full version number of the nightly you want to use, you can use it just like any other Scala 3 version. -One quick way to get that version number is to visit https://dotty.epfl.ch and look in the upper left corner. +One quick way to get that version number is to visit [https://dotty.epfl.ch](https://dotty.epfl.ch) and look in the upper left corner. Another way is to scrape Maven Central, as shown in this script: https://raw.githubusercontent.com/VirtusLab/community-build3/master/scripts/lastVersionNightly.sc From 3b1ac7a33feb67aebb8a15c88d75265c4a284868 Mon Sep 17 00:00:00 2001 From: Seth Tisue Date: Wed, 4 Sep 2024 21:45:15 +0200 Subject: [PATCH 10/12] Update _overviews/core/nightlies.md Co-authored-by: Hamza Remmal --- _overviews/core/nightlies.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_overviews/core/nightlies.md b/_overviews/core/nightlies.md index 2d6439e890..1bf9ff59ee 100644 --- a/_overviews/core/nightlies.md +++ b/_overviews/core/nightlies.md @@ -14,7 +14,7 @@ Scala 3 nightly versions are published to Maven Central. If you know the full ve One quick way to get that version number is to visit [https://dotty.epfl.ch](https://dotty.epfl.ch) and look in the upper left corner. -Another way is to scrape Maven Central, as shown in this script: https://raw.githubusercontent.com/VirtusLab/community-build3/master/scripts/lastVersionNightly.sc +Another way is to scrape Maven Central, as shown in this script: [https://raw.githubusercontent.com/VirtusLab/community-build3/master/scripts/lastVersionNightly.sc](https://raw.githubusercontent.com/VirtusLab/community-build3/master/scripts/lastVersionNightly.sc) A third way is to use [scala-cli](https://scala-cli.virtuslab.org), as follows. From 633146f4372c8b3fa261125a387f7b56c087dac4 Mon Sep 17 00:00:00 2001 From: Seth Tisue Date: Wed, 4 Sep 2024 21:51:02 +0200 Subject: [PATCH 11/12] Update _overviews/core/nightlies.md Co-authored-by: Hamza Remmal --- _overviews/core/nightlies.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_overviews/core/nightlies.md b/_overviews/core/nightlies.md index 1bf9ff59ee..b56b93b8e2 100644 --- a/_overviews/core/nightlies.md +++ b/_overviews/core/nightlies.md @@ -78,7 +78,7 @@ Second, specify the Scala version: scalaVersion := "2.13.1-bin-abcd123" -But that isn't a real version number. Manually substitute a version number containing the 7-character SHA of the last commit in the [scala/scala repository](https://github.com/scala/scala) for which a nightly version was published. Look at https://travis-ci.org/scala/scala/branches and you'll see the SHA in the upper right corner of the 2.13.x (or 2.12.x) section. +But that isn't a real version number. Manually substitute a version number containing the 7-character SHA of the last commit in the [scala/scala repository](https://github.com/scala/scala) for which a nightly version was published. Look at [https://travis-ci.org/scala/scala/branches](https://travis-ci.org/scala/scala/branches) and you'll see the SHA in the upper right corner of the 2.13.x (or 2.12.x) section. As soon as 2.13.1 is released, the version number in the nightly will bump to 2.13.2, and so on. From 71f19b960e589d0fb100406bccd400c9f65ace13 Mon Sep 17 00:00:00 2001 From: Seth Tisue Date: Wed, 4 Sep 2024 21:47:21 +0200 Subject: [PATCH 12/12] tweak for review feedback --- _overviews/core/nightlies.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_overviews/core/nightlies.md b/_overviews/core/nightlies.md index b56b93b8e2..8155ea2bfe 100644 --- a/_overviews/core/nightlies.md +++ b/_overviews/core/nightlies.md @@ -16,7 +16,7 @@ One quick way to get that version number is to visit [https://dotty.epfl.ch](htt Another way is to scrape Maven Central, as shown in this script: [https://raw.githubusercontent.com/VirtusLab/community-build3/master/scripts/lastVersionNightly.sc](https://raw.githubusercontent.com/VirtusLab/community-build3/master/scripts/lastVersionNightly.sc) -A third way is to use [scala-cli](https://scala-cli.virtuslab.org), as follows. +A third way is to use [scala-cli](https://scala-cli.virtuslab.org), as follows. (Since Scala 3.5.0, the `scala` command runs `scala-cli`.) ### scala-cli