Skip to content

Commit

Permalink
Merge pull request outworkers#253 from websudos/release/bintray
Browse files Browse the repository at this point in the history
Moving infrastructure to bintray. Fixing resolvers. Adding more tests…
  • Loading branch information
alexflav23 committed May 27, 2015
2 parents 2af29c2 + 89b6821 commit 6dffb65
Show file tree
Hide file tree
Showing 56 changed files with 1,246 additions and 2,358 deletions.
7 changes: 2 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,7 @@ cache:

before_script: travis_retry sbt ++$TRAVIS_SCALA_VERSION update

script:
- sbt clean coverage test &&
sbt coverageAggregate
sript: sbt ++$TRAVIS_SCALA_VERSION clean coverage test scalastyle && sbt ++$TRAVIS_SCALA_VERSION coverageAggregate

after_success:
- sbt coveralls
after_success: sbt ++$TRAVIS_SCALA_VERSION coveralls

21 changes: 14 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,15 @@ We publish phantom in 2 formats, stable releases and bleeding edge.

- The stable release is always available on Maven Central and will be indicated by the badge at the top of this readme. The Maven Central badge is pointing at the latest version

- Intermediary releases are available through our managed Bintray repository available at https://bintray.com/websudos/oss-releases/. The latest version available on our Bintray repository is indicated by the Bintray badge at the top of this readme.
- Intermediary releases are available through our managed Bintray repository available at `https://dl.bintray.com/websudos/oss-releases/`. The latest version available on our Bintray repository is indicated by the Bintray badge at the top of this readme.


### Latest versions

- Latest stable version: 1.8.4 (Maven Central)
- Bleeding edge: 1.8.6 (Websudos OSS releases on Bintray)
Check the badges at the top of this README for the latest version. The badges are automatically updated in realtime, where as this README isn't.

- Latest stable version: 1.8.9 (Maven Central)
- Bleeding edge: 1.8.12 (Websudos OSS releases on Bintray)

You will also be needing the default resolvers for Maven Central and the typesafe releases. Phantom will never rely on any snapshots or be published as a
snapshot version, the bleeding edge is always subject to internal scrutiny before any releases into the wild.
Expand Down Expand Up @@ -380,17 +382,17 @@ libraryDependencies ++= Seq(
"com.websudos" %% "phantom-thrift" % phantomVersion,
"com.websudos" %% "phantom-testkit" % phantomVersion,
"com.websudos" %% "phantom-udt" % phantomVersion,
"com.websudos" %% "phantom-zookeeper" % phantomVersion
"com.websudos" %% "phantom-zookeeper" % phantomVersion,
"com.websudos" %% "phantom-sbt" % phantomVersion
)
```
If you include ```phantom-zookeeper```, make sure to add the following resolvers:

```scala
resolvers += "twitter-repo" at "http://maven.twttr.com"

resolvers += "websudos-repo" at "http://maven.websudos.co.uk/ext-release-local"
```


<a id="primitive-columns">Primitive columns</a>
====================================================
<a href="#table-of-contents">back to top</a>
Expand Down Expand Up @@ -1384,6 +1386,10 @@ however do be careful. We often tend to use the latest version as we do our best
You may use a brand new phantom feature, see the tests passing with flying colours locally and then get bad errors in production. The version of Cassandra
covered by the latest phantom release and used for embedding is written at the very top of this readme.





<a id="running-the-tests-locally">Running the tests locally</a>
==================================================
<a href="#table-of-contents">back to top</a>
Expand Down Expand Up @@ -1412,9 +1418,10 @@ Scala/Cassandra users in the world rely on phantom.

* Flavian Alexandru ([@alexflav23](https://github.com/alexflav23)) - maintainer
* Viktor Taranenko ([@viktortnk](https://github.com/viktortnk))
* Benjamin Edwards ([@benjumanji](https://github.com/benjumanji)
* Jens Halm ([@jenshalm](https://github.com/jenshalm))
* Bartosz Jankiewicz ([@bjankie1](https://github.com/bjankie1)
* Eugene Zhulenev ([@ezhulenev](https://github.com/ezhulenev)
* Benjamin Edwards ([@benjumanji](https://github.com/benjumanji)
* Stephen Samuel ([@sksamuel](https://github.com/sksamuel)
* Tomasz Perek ([@tperek](https://github.com/tperek)
* Evan Chan ([@evanfchan](https://github.com/evanfchan)
Expand Down
41 changes: 41 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,3 +126,44 @@ Changelog
- Improved UDT implementation.
- Heavy performance improvements for iterator processing (thanks @benjumanji for diligently profiling every bit).
- Added full support for Scala 2.11.

<a id="version-1.8.0">1.8.0</a>
===============================



<a id="version-1.8.12">1.8.12</a>
===============================

- Fixed encoding support for strings containing a single quote `'`.
- Bumped util library dependency to `0.8.8` to include small bug fixes and more robust testing in the util library.
- A custom patience timeout for `successful` calls on Futures has been created to replace the now obsolete implicit from `com.websudos.util.testing._`.
- Bumped Twitter Finagle deps to `6.25.0` and Twitter Util to `6.24.0`.
- Removed hard coded list lengths from `TimeSeriesTest` in favour of named variables. This compensates for the fix in the util library, where before `0.8.4` a call to `genList[T](n)` would generate `n - 1`elements instead of `n`. This has been fixed and phantom updated to compensate for all changes.
- Bumped `cassandra-unit` version to `2.0.2.6` as the newer version is available on our public Bintray repository.
- Removed Websudos Artifactory resolvers and replaced with Bintray configuration.
- Added a Bintray version badge to automatically show the latest available Bintray version on the GitHub README.
- Separated performance related tests written with ScalaMeter into a new configuration called `perf`. Tests can now be semantically distinguished by their purpose and `sbt:test` will not run performance tests by default. Instead, benchmarks are run using `perf:test` exclusively, which fixes `scoverage` integration during the Travis CI phase.
- Fixed a few deadlinks in the `README.md`.
- Removed `Unmodifiable` trait market from the implementation of `Index`, which now allows users to update the value of secondary keys.
- Separated `DELETE` query serialization concerns into a specialized builder called `QueryBuilder.Delete`.
- Added tests for `DELETE` query serialisation and for the new `QueryBuilder.Delete`.
- Removed fixed Thrift dependency that was enforcing `org.apache.thrift % libthrift % 0.9.1` from the `phantom-thrift` module. Consumers of Thrift modules can now set their own Scrooge and Thrift version without `phantom-thrift` interfering with them and causing serialization problems.
- Added a `RootThriftPrimitive` to allow easily creating an implicit primitive for custom types. This is used when Thrift columns are part of the primary key.
- Moved the duplicate `package.scala` from the test part of `com.websudos.phantom.thrift` to avoid strange overloading of imports between the main module and test module. Also fixes compilation warning message about conflicting members.
- Fixed support for nested Primitive types. A `Column[Owner, Record, T` can now de-serialize to a type that is completely different from `T`. This fixes edge scenarios like the `DateTimePrimitive` of type `Primitive[org.joda.time.DateTime]` which has no proprietary extractor and is instead just a thin layer around the existing `java.util.Date` extractor. Phantom can now feed in the correct extraction type and deserialize columns like `MapColumn[Owner, Record, DateTime, String]`.
- Bumped ScalaTest dependency to version `2.2.4`.
- Fixed serialization of Blob columns by using Datastax Java Driver helper object `Bytes`.
- Added support for SBT version management via Twitter's `sbt-package-dist` published via the custom Websudos fork: `"com.websudos" %% "sbt-package-dist" % "1.2.0"`.
- Bumped Scala version to `2.10.5` and `2.11.6`.
- Added dependency resolution retry during Travis CI phase. Travis will now retry to fetch dependencies 3 times before giving up, which fixes most timeout errors during dependency resolution and lets builds consistently pass.
- Moved publishing infrastructure to Bintray and added a dependency on `"me.lessis" %% "bintray-sbt" % "0.3.0"` to publish artefacts to Bintray.
- Bumped SBT version to `0.13.8` and bumped `net.virtualvoid.dependencygraph` version to `0.7.5` in `plugins.sbt`.


<a id="version-1.8.13">1.8.13</a>
===============================

- Removed `TestZookeeperConnector` from the default `phantom-testkit`.
- Removed `BaseTest` and `FeatureBaseTest` from `phantom-testkit`.
- Removed dependency on `phantom-zookeeper` from the default implementation of `phantom-connectors`. This was a very bad accident and Zk dependencies were being pulled in even if the end user wasn't relying on ZooKeeper for service discovery.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 6dffb65

Please sign in to comment.