Scala 2.10.0-RC2 Staged

516 visualizzazioni
Passa al primo messaggio da leggere

Josh Suereth

da leggere,
5 nov 2012, 10:04:1305/11/12
a scala-internals
That's right, if you're the owner of a core community library/framework and would like to announce your support for 2.10.0-RC2 with the release announcement, please do the following:

(1) Build your software against 2.10.0-RC2 with 2.10.0-RC2 dependencies.
(2) Publish your software somewhere convenient like maven-central or other publicly accessible repository.
(3) Respond to this email with the following:

   (a) Name of your project
   (b) Brief (one sentence) description of the project
   (c) URL for the project website
   (d) Instructions for obtaining the project.


Here's an example for my scala-arm project  (which is published and accurate):

---
Name: Scala-arm
Description:   Scala-arm provides automated resource management to ensure all your resources are closed without all the extra work!
Location:    "com.jsuereth" % "scala-arm_2.10.0-RC2" % "1.2"
---



Note: We'll be staging libraries until Thursday COB CEST when we'll be announcing the RC2 availability.

Thanks everyone for the help!

Ismael Juma

da leggere,
5 nov 2012, 10:25:2005/11/12
a scala-i...@googlegroups.com
Hi Josh,

Great news. It doesn't seem to be in Maven yet:


Is it simply replication lag? If it is, I wonder whether it would make sense to wait for it to appear there before making the announcement.

Best,
Ismael

Josh Suereth

da leggere,
5 nov 2012, 10:48:2605/11/12
a scala-i...@googlegroups.com

Technically this isn't the real announcement.  That comes Friday.   It is in oss.sonatype.org now, so sbt 0.12.1 can pull it in fine.

And yes, there's a lag before it hits central, but everyone hits that and delaying a day for each lib is crazy

Johannes Rudolph

da leggere,
5 nov 2012, 10:51:3705/11/12
a scala-i...@googlegroups.com
On Mon, Nov 5, 2012 at 4:48 PM, Josh Suereth <joshua....@gmail.com> wrote:
> Technically this isn't the real announcement. That comes Friday. It is in
> oss.sonatype.org now, so sbt 0.12.1 can pull it in fine.

I don't think it does. I had to add the oss releases resolver to the
sbt.boot.properties. It should work out-of-the box once it has been
propagated to maven central.

Johannes

-----------------------------------------------
Johannes Rudolph
http://virtual-void.net

Jonas Bonér

da leggere,
5 nov 2012, 10:59:3005/11/12
a scala-i...@googlegroups.com
Great news. Nice job guys.
--
Jonas Bonér
Phone: +46 733 777 123
Home: http://jonasboner.com
Twitter: @jboner

Paul Butcher

da leggere,
5 nov 2012, 11:01:4405/11/12
a scala-i...@googlegroups.com
On 5 Nov 2012, at 15:51, Johannes Rudolph <johannes...@googlemail.com> wrote:

I don't think it does. I had to add the oss releases resolver to the
sbt.boot.properties. It should work out-of-the box once it has been
propagated to maven central.

I'm confused - I'm certain that I didn't have to jump through these hoops for RC1 - what's different with RC2?

Can someone who's familiar with this help me out with what I need to put in sbt.boot.properties?

--
paul.butcher->msgCount++

Snetterton, Castle Combe, Cadwell Park...
Who says I have a one track mind?

http://www.paulbutcher.com/
LinkedIn: http://www.linkedin.com/in/paulbutcher
MSN: pa...@paulbutcher.com
AIM: paulrabutcher
Skype: paulrabutcher

Johannes Rudolph

da leggere,
5 nov 2012, 11:09:3705/11/12
a scala-i...@googlegroups.com
On Mon, Nov 5, 2012 at 5:01 PM, Paul Butcher <pa...@paulbutcher.com> wrote:
> I'm confused - I'm certain that I didn't have to jump through these hoops
> for RC1 - what's different with RC2?

It seems to be in maven central now, so everything should be fine.

http://repo1.maven.org/maven2/org/scala-lang/scala-compiler/2.10.0-RC2/

--

Josh Suereth

da leggere,
5 nov 2012, 11:10:1405/11/12
a scala-i...@googlegroups.com

I'll add instructions in a bit.

Paul Butcher

da leggere,
5 nov 2012, 11:13:0405/11/12
a scala-i...@googlegroups.com
On Mon, Nov 5, 2012 at 5:01 PM, Paul Butcher <pa...@paulbutcher.com> wrote:
I'm confused - I'm certain that I didn't have to jump through these hoops
for RC1 - what's different with RC2?

It seems to be in maven central now, so everything should be fine.

http://repo1.maven.org/maven2/org/scala-lang/scala-compiler/2.10.0-RC2/

And it's working for me now.

So what's different between RC1 and RC2 is that I was too eager with RC2 :-)

Ismael Juma

da leggere,
5 nov 2012, 11:13:0205/11/12
a scala-i...@googlegroups.com
On Mon, Nov 5, 2012 at 3:51 PM, Johannes Rudolph <johannes...@googlemail.com> wrote:
On Mon, Nov 5, 2012 at 4:48 PM, Josh Suereth <joshua....@gmail.com> wrote:
> Technically this isn't the real announcement.  That comes Friday.   It is in
> oss.sonatype.org now, so sbt 0.12.1 can pull it in fine.

I don't think it does. I had to add the oss releases resolver to the
sbt.boot.properties. It should work out-of-the box once it has been
propagated to maven central.

Yes, it doesn't. I tried to update a library and it failed. I would at least add some information about this in the announcement.

Best,
Ismael

Josh Suereth

da leggere,
5 nov 2012, 11:16:0705/11/12
a scala-i...@googlegroups.com

Will do.  I forgot I had a ~/sbt/repositories file.

Simon Ochsenreither

da leggere,
5 nov 2012, 11:16:4705/11/12
a scala-i...@googlegroups.com
Wow, impressive!

Thanks to Josh and all the others!

Are there any “code” blockers left, or just documentation tasks?

Josh Suereth

da leggere,
5 nov 2012, 11:36:5805/11/12
a scala-internals
Just documentation + distribution, and all the documentation is external to those staged JARs.

YES FOLKS, we believe these JARs could be the final JARs you use for 2.10.0.

Josh Suereth

da leggere,
5 nov 2012, 11:40:1905/11/12
a scala-internals
OK, so here's instructions on how to build using SBT 0.12.1 for staging.  I'll include these in future stagings (hopefully just 2.10.0):

(1) Create yourself an ~/.sbt/repositories file that looks like this:

[repositories]
  local
  maven-central
  typesafe-ivy-releases: http://typesafe.artifactoryonline.com/typesafe/ivy-releases, [organization]/[module]/(scala_[scalaVersion]/)(sbt_[sbtVersion]/)[revision]/[type]s/[artifact](-[classifier]).[ext]
  sbt-plugin-releases: http://scalasbt.artifactoryonline.com/scalasbt/sbt-plugin-releases, [organization]/[module]/(scala_[scalaVersion]/)(sbt_[sbtVersion]/)[revision]/[type]s/[artifact](-[classifier]).[ext]

(2) Make sure you have the sonatype release resolver for both Scala + other staged artifacts that haven't hit maven central

resolvers += "Sonatype Release" at "https://oss.sonatype.org/content/repositories/releases"

(3) Make sure you've set your cross-building appropriately for RC. This is what I do because I'm lazy:

scalaVersion := "2.10.0-RC2"

scalaBinaryVersion <<= scalaVersion.identity


These are the three tasks I run on scala-arm to make sure it publishes immediately after scala itself.   If you wish to use any downstream staged artifacts, you'll need to at least do steps #2 + #3.


Hope that helps!

Stefan Zeiger

da leggere,
5 nov 2012, 11:49:5505/11/12
a scala-i...@googlegroups.com
On 2012-11-05 16:04, Josh Suereth wrote:
That's right, if you're the owner of a core community library/framework and would like to announce your support for 2.10.0-RC2 with the release announcement, please do the following:

I just got used to RC1, took a week of vacation, and there's an RC2 already... No source changes were necessary this time, so here we go:

Name: Slick
Description: Scala Language-Integrated Connection Kit
URL: http://slick.typesafe.com
Location:    "com.typesafe" % "slick_2.10.0-RC2" % "0.11.2"

etorreborre

da leggere,
5 nov 2012, 17:47:0505/11/12
a scala-i...@googlegroups.com
Josh,

I'm having a problem with RC2 and my latest code. I can't reduce the problem right now but the branch is here: https://github.com/etorreborre/specs2/tree/1.13.

The compiler says:

error]   last tree to typer: This
[error]               symbol: <none> (flags: )
[error]    symbol definition: <none>
[error]        symbol owners: 
[error]       context owners: constructor $anonfun -> anonymous class $anonfun -> method apply -> anonymous class $anonfun -> method apply -> anonymous class $anonfun -> method apply -> anonymous class $anonfun -> method apply -> anonymous class $anonfun -> method apply -> anonymous class $anonfun -> method apply -> anonymous class $anonfun -> method apply -> anonymous class $anonfun -> method apply -> anonymous class $anonfun -> method apply -> anonymous class $anonfun -

[LOT MORE OF THE SAME HERE]

> anonymous class $anonfun -> method apply -> anonymous class $anonfun -> method apply -> anonymous class $anonfun -> method apply -> anonymous class $anonfun -> method is -> class FeaturesSpec -> package specs2
[error] 
[error] == Enclosing template or block ==
[error] 
[error] Apply(
[error]   super."<init>"
[error]   Nil
[error] )
[error] 
[error] uncaught exception during compilation: java.lang.StackOverflowError
[trace] Stack trace suppressed: run last test:compile for the full output.
[error] (test:compile) java.lang.StackOverflowError

Cheers,

Eric.

etorreborre

da leggere,
5 nov 2012, 19:31:0905/11/12
a scala-i...@googlegroups.com
False alarm, I was having a method with lots of chained method calls. I split it in 3 chunks and now things are ok.

So:

---
Name: specs2
Description:   specs2 is a library for writing executable software specifications for Scala
Location:    "org.specs2" % "specs2_2.10.0-RC2" % "1.12.2"
Location:    "org.specs2" % "specs2_2.10.0-RC2" % "1.13-SNAPSHOT"
---

Cheers,

Eric.

Bill Venners

da leggere,
6 nov 2012, 10:52:5506/11/12
a scala-i...@googlegroups.com
Hi All,

Name: ScalaTest
Description: Simple, clear tests and executable specifications
Locations:
  For ScalaTest 1.8: "org.scalatest" %% "scalatest" % "1.8"
  For ScalaTest 2.0.M4: "org.scalatest" %% "scalatest" % "2.0.M4"

Bill

Paul Butcher

da leggere,
6 nov 2012, 11:12:2306/11/12
a scala-i...@googlegroups.com
Name: ScalaMock 3
Description: Native Scala Mocking with added macro-goodness
Location:
  For ScalaTest integration: "org.scalamock" % "scalamock-scalatest-support_2.10.0-RC2" % "3.0-M6"
  For Specs2 integration: "org.scalamock" % "scalamock-specs2-support_2.10.0-RC2" % "3.0-M6"

--
paul.butcher->msgCount++

Snetterton, Castle Combe, Cadwell Park...
Who says I have a one track mind?

http://www.paulbutcher.com/
LinkedIn: http://www.linkedin.com/in/paulbutcher
MSN: pa...@paulbutcher.com
AIM: paulrabutcher
Skype: paulrabutcher

Erik Osheim

da leggere,
7 nov 2012, 01:39:5107/11/12
a scala-i...@googlegroups.com
Name: Spire
Description: Powerful new number types and numeric abstractions for Scala.
URL: https://github.com/non/spire
Location: "org.spire-math" % "spire_2.10.0-RC2" % "0.3.0-M4"

Published to Sonatype OSS now, should be in Maven Central shortly.

This milestone (M4) introduces a number of new features:

* unsigned number types (UByte through ULong)
* faster sorting and selection
* unboxed extension methods for collections (qsum, qmin, qsorted, etc)
* improved cfor macro

Heiko Seeberger

da leggere,
7 nov 2012, 01:50:0207/11/12
a scala-i...@googlegroups.com
Name: ScalaLogging
Description: Convenient and performant logging in Scala
Location:
  "com.typesafe" % "scalalogging-slf4j_2.10.0-RC1" % "0.4.0" or
  "com.typesafe" %% "scalalogging-slf4j" % "0.4.0" cross CrossVersion.full

Heiko

Nathan Bronson

da leggere,
7 nov 2012, 08:49:3607/11/12
a scala-i...@googlegroups.com
Name: ScalaSTM 
Description: Software transactional memory for Scala, plus STM-friendly concurrent sets and maps 
Location: "org.scala-stm" %% "scala-stm" % "0.6"

(central repo sync is still pending)

Jason Zaugg

da leggere,
7 nov 2012, 11:32:2307/11/12
a scala-i...@googlegroups.com, sca...@googlegroups.com
On Mon, Nov 5, 2012 at 4:04 PM, Josh Suereth <joshua....@gmail.com> wrote:
That's right, if you're the owner of a core community library/framework and would like to announce your support for 2.10.0-RC2 with the release announcement, please do the following:

(1) Build your software against 2.10.0-RC2 with 2.10.0-RC2 dependencies.
(2) Publish your software somewhere convenient like maven-central or other publicly accessible repository.
(3) Respond to this email with the following:

---
Name: scalaz
Location:    "org.scalaz" % "scala-core_2.10.0-RC2" % "7.0-M4"

Location:    "org.scalaz" % "scala-core_2.10.0-RC2" % "6.0.4"
---

The full list of published submodules are avaialble with this Nexus search:


We found one bug in the new pattern matcher:


-jason

Maxime Lévesque

da leggere,
7 nov 2012, 12:12:2707/11/12
a scala-i...@googlegroups.com

---
Name: Squeryl
Description:   A Scala DSL for talking with relational databases with minimum verbosity and maximum type safety
Location:    "org.squeryl" % "squeryl_2.10.0-RC2" % "0.9.5-4"
---

Som Snytt

da leggere,
7 nov 2012, 12:27:4407/11/12
a scala-i...@googlegroups.com

Minor typos.  I guess this neat Name/Description block isn't autogen'd by sbt?

On Wed, Nov 7, 2012 at 8:32 AM, Jason Zaugg <jza...@gmail.com> wrote:

---
Name: scalaz
Location:    "org.scalaz" % "scala-core_2.10.0-RC2" % "7.0-M4"

"org.scalaz" % "scalaz-core_2.10.0-RC2" % "7.0.0-M4"

Resolving org.scalaz#scalaz-core_2.10.0-RC2;7.0.0-M4 ...

Miles Sabin

da leggere,
7 nov 2012, 13:01:1307/11/12
a scala-internals
Name: shapeless
Description: An exploration of generic/polytypic programming in Scala
URL: https://github.com/milessabin/shapeless
Location: "com.chuusai" % "shapeless_2.10.0-RC2" % "1.2.3-SNAPSHOT"

Cheers,


Miles
--
Miles Sabin
tel: +44 7813 944 528
skype: milessabin
gtalk: mi...@milessabin.com
g+: http://www.milessabin.com
http://twitter.com/milessabin

Peter Empen

da leggere,
7 nov 2012, 15:58:0807/11/12
a scala-i...@googlegroups.com
Name: Graph for Scala
Description:   In-memory graph library seamlessly fitting into the Scala Collection Library
Location: "com.assembla.scala-incubator" % "graph-core_2.10.0-RC2" % "1.5.2"

Peter

Bill Venners

da leggere,
7 nov 2012, 17:22:2507/11/12
a scala-i...@googlegroups.com
Hi,

Sorry, had to do new ScalaTest builds because of missing dependencies on the actor and reflect jar files. These builds are identical with the original, except a -B2 is added to the version number (for build 2) and the missing dependencies are in the pom.

Name: ScalaTest
Description: Simple, clear tests and executable specifications
Locations:
  For ScalaTest 1.8: "org.scalatest" % "scalatest_2.10.0-RC2" % "1.8-B2"
  For ScalaTest 2.0.M4: "org.scalatest" % "scalatest_2.10.0-RC2" % "2.0.M4-B2"

Bill

Chris Twiner

da leggere,
8 nov 2012, 02:48:0908/11/12
a scala-i...@googlegroups.com
Hi All,

Should be on central within a few hours...

---
Name: Scales Xml
Description: Scales Xml provides superb performance with low memory
usage, a unified pull and push model, Iteratee and Iterator based pull
parsing, equality framework, both an embedded XPath DSL and string
based XPath 1.0 support.
URL: https://github.com/chris-twiner/scalesXml
Location: "org.scalesxml" % "scales-xml_2.10.0-RC2" % "0.4.4"
---

cheers,
Chris

Björn Antonsson

da leggere,
8 nov 2012, 09:02:1708/11/12
a scala-i...@googlegroups.com
Name: Akka
Description: Akka is a toolkit and runtime for building highly concurrent, distributed, and fault tolerant event-driven applications on the JVM.
Location:
  "com.typesafe.akka" % "akka-actor_2.10.0-RC2" % "2.1.0-RC2" or
  "com.typesafe.akka" %% "akka-actor" % "2.1.0-RC2" cross CrossVersion.full
  "com.typesafe.akka" % "akka-actor-tests_2.10.0-RC2" % "2.1.0-RC2" or
  "com.typesafe.akka" %% "akka-actor-tests" % "2.1.0-RC2" cross CrossVersion.full
  "com.typesafe.akka" % "akka-agent_2.10.0-RC2" % "2.1.0-RC2" or
  "com.typesafe.akka" %% "akka-agent" % "2.1.0-RC2" cross CrossVersion.full
  "com.typesafe.akka" % "akka-camel_2.10.0-RC2" % "2.1.0-RC2" or
  "com.typesafe.akka" %% "akka-camel" % "2.1.0-RC2" cross CrossVersion.full
  "com.typesafe.akka" % "akka-cluster-experimental_2.10.0-RC2" % "2.1.0-RC2" or
  "com.typesafe.akka" %% "akka-cluster-experimental" % "2.1.0-RC2" cross CrossVersion.full
  "com.typesafe.akka" % "akka-contrib_2.10.0-RC2" % "2.1.0-RC2" or
  "com.typesafe.akka" %% "akka-contrib" % "2.1.0-RC2" cross CrossVersion.full
  "com.typesafe.akka" % "akka-dataflow_2.10.0-RC2" % "2.1.0-RC2" or
  "com.typesafe.akka" %% "akka-dataflow" % "2.1.0-RC2" cross CrossVersion.full
  "com.typesafe.akka" % "akka-docs_2.10.0-RC2" % "2.1.0-RC2" or
  "com.typesafe.akka" %% "akka-docs" % "2.1.0-RC2" cross CrossVersion.full
  "com.typesafe.akka" % "akka-file-mailbox_2.10.0-RC2" % "2.1.0-RC2" or
  "com.typesafe.akka" %% "akka-file-mailbox" % "2.1.0-RC2" cross CrossVersion.full
  "com.typesafe.akka" % "akka-kernel_2.10.0-RC2" % "2.1.0-RC2" or
  "com.typesafe.akka" %% "akka-kernel" % "2.1.0-RC2" cross CrossVersion.full
  "com.typesafe.akka" % "akka-mailboxes-common_2.10.0-RC2" % "2.1.0-RC2" or
  "com.typesafe.akka" %% "akka-mailboxes-common" % "2.1.0-RC2" cross CrossVersion.full
  "com.typesafe.akka" % "akka-osgi_2.10.0-RC2" % "2.1.0-RC2" or
  "com.typesafe.akka" %% "akka-osgi" % "2.1.0-RC2" cross CrossVersion.full
  "com.typesafe.akka" % "akka-osgi-aries_2.10.0-RC2" % "2.1.0-RC2" or
  "com.typesafe.akka" %% "akka-osgi-aries" % "2.1.0-RC2" cross CrossVersion.full
  "com.typesafe.akka" % "akka-remote_2.10.0-RC2" % "2.1.0-RC2" or
  "com.typesafe.akka" %% "akka-remote" % "2.1.0-RC2" cross CrossVersion.full
  "com.typesafe.akka" % "akka-remote-tests-experimental_2.10.0-RC2" % "2.1.0-RC2" or
  "com.typesafe.akka" %% "akka-remote-tests-experimental" % "2.1.0-RC2" cross CrossVersion.full
  "com.typesafe.akka" % "akka-sample-camel_2.10.0-RC2" % "2.1.0-RC2" or
  "com.typesafe.akka" %% "akka-sample-camel" % "2.1.0-RC2" cross CrossVersion.full
  "com.typesafe.akka" % "akka-sample-cluster-experimental_2.10.0-RC2" % "2.1.0-RC2" or
  "com.typesafe.akka" %% "akka-sample-cluster-experimental" % "2.1.0-RC2" cross CrossVersion.full
  "com.typesafe.akka" % "akka-sample-fsm_2.10.0-RC2" % "2.1.0-RC2" or
  "com.typesafe.akka" %% "akka-sample-fsm" % "2.1.0-RC2" cross CrossVersion.full
  "com.typesafe.akka" % "akka-sample-hello_2.10.0-RC2" % "2.1.0-RC2" or
  "com.typesafe.akka" %% "akka-sample-hello" % "2.1.0-RC2" cross CrossVersion.full
  "com.typesafe.akka" % "akka-sample-hello-kernel_2.10.0-RC2" % "2.1.0-RC2" or
  "com.typesafe.akka" %% "akka-sample-hello-kernel" % "2.1.0-RC2" cross CrossVersion.full
  "com.typesafe.akka" % "akka-sample-multi-node-experimental_2.10.0-RC2" % "2.1.0-RC2" or
  "com.typesafe.akka" %% "akka-sample-multi-node-experimental" % "2.1.0-RC2" cross CrossVersion.full
  "com.typesafe.akka" % "akka-sample-remote_2.10.0-RC2" % "2.1.0-RC2" or
  "com.typesafe.akka" %% "akka-sample-remote" % "2.1.0-RC2" cross CrossVersion.full
  "com.typesafe.akka" % "akka-slf4j_2.10.0-RC2" % "2.1.0-RC2" or
  "com.typesafe.akka" %% "akka-slf4j" % "2.1.0-RC2" cross CrossVersion.full
  "com.typesafe.akka" % "akka-testkit_2.10.0-RC2" % "2.1.0-RC2" or
  "com.typesafe.akka" %% "akka-testkit" % "2.1.0-RC2" cross CrossVersion.full
  "com.typesafe.akka" % "akka-transactor_2.10.0-RC2" % "2.1.0-RC2" or
  "com.typesafe.akka" %% "akka-transactor" % "2.1.0-RC2" cross CrossVersion.full
  "com.typesafe.akka" % "akka-zeromq_2.10.0-RC2" % "2.1.0-RC2" or
  "com.typesafe.akka" %% "akka-zeromq" % "2.1.0-RC2" cross CrossVersion.full

/Björn

Josh Suereth

da leggere,
8 nov 2012, 09:48:3008/11/12
a scala-internals
Are you sure there's enough libraries there?  Perhaps you should add a few more.

√iktor Ҡlang

da leggere,
8 nov 2012, 09:50:2008/11/12
a scala-i...@googlegroups.com
You're just jealous because Akka is modular. ;-)
--
Viktor Klang

Akka Tech Lead
Typesafe - The software stack for applications that scale

Twitter: @viktorklang

Josh Suereth

da leggere,
8 nov 2012, 09:59:5208/11/12
a scala-internals
You haven't seen this then: https://oss.sonatype.org/content/repositories/releases/org/scala-lang/scala-library-all/

We're getting there.  Actors-migration + Akka are our guinea pigs.

Eugene Yokota

da leggere,
9 nov 2012, 02:42:3609/11/12
a scala-i...@googlegroups.com
Name: scopt
Description: scopt is a little command line options parsing library.
Location:    "com.github.scopt" % "scopt_2.10.0-RC2" % "2.1.0"

Josh Suereth

da leggere,
9 nov 2012, 02:48:1809/11/12
a scala-i...@googlegroups.com

Sorry, but I already cut the release notes.   I'll see if I can tag this in there afterwords.

Thanks for the contribution!

Rispondi a tutti
Rispondi all'autore
Inoltra
0 nuovi messaggi