ReactiveX/RxScala

v0.24

benjchristensen opened this issue · 15 comments

Is 0.24 ready to release? We need the new takeUntil overload.

cc @bpitman

I added it in pr #146
We're looking for a best approach to add the experimental APIs.

No annotations or other such mechanisms for marking APIs in scala?

If not that, then just Scaladocs?

The experimental APIs(methods) of RxJava Observable will be extension methods in RxScala, and needs to be imported explicitly. E.g.,

    import rx.lang.scala.ExperimentalAPIs._

    Observable.just(1, 2, 3, 4, 5, 6, 7).
      doOnNext(v => println(s"onNext: $v")).
      takeUntil((x: Int) => x == 3). 
      foreach(println)

However, for the experimental classes, such as AbstractOnSubscribe, I would like to use @Beta/@experimental annotations. What do you think?

Just wrote a release note for 0.24.0 #148

@benjchristensen I just released 0.24.0. However, Bintray cannot sync the files to Sonatype automatically. Could you help sync them?

I found an API of Bintray here: https://bintray.com/docs/api/#_sync_version_artifacts_to_maven_central
It requires the username and password of Sonatype.

{
  "username": "userToken", // Sonatype OSS user token
  "password": "passwordToken", // Sonatype OSS user password
  "close": "1" // Optional
}

The bintray-sbt plugin uses it to sync files. Could you put them into .travis.yml as secure environments? I will try it to make the bintray-sbt plugin do the synchronization.

Bintray should do all of that automatically. It saves it. For example, on the Gradle builds we don't need those credentials.

Manually synced.

Thanks @benjchristensen

But I think Bintray doesn't do it automatically. nebula-bintray-plugin syncs the files. See https://github.com/nebula-plugins/nebula-bintray-plugin/blob/15af24355cc4816c25034b4cf234071fa4497346/src/main/groovy/nebula/plugin/bintray/NebulaBintraySyncPublishingPlugin.groovy It calls the API I mentioned previously.

There is a log in this plugin: logger.info("Package Sync: $uploadUri"). Could you verify it in the CloudBees log? I think RxJava is still published by CloudBees, right?

RxJava is published via Travis and no longer uses CloudBees. I noticed I have to manually sync bintray on that as well so we need to figure out what is missing.

@quidryan What is missing in our publishing process to trigger the Bintray->MavenCentral sync?

The sonatype credentials weren't being provided to Gradle in the shell script. @rspieldenner is working on adding them.

@benjchristensen could you add sonatypeUsername and sonatypePassword for RxScala?

I'll do that today

On Wed, Mar 18, 2015 at 10:14 AM, Shixiong Zhu notifications@github.com
wrote:

@benjchristensen https://github.com/benjchristensen could you add
sonatypeUsername and sonatypePassword for RxScala?


Reply to this email directly or view it on GitHub
#147 (comment).

The names of the environment variables should be SONA_USER and SONA_PASS.

Closing. I updated the publish script. Will test it when publishing the next release.