Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Twitter common libraries for python and the JVM
Java Python Thrift JavaScript Shell GAP Other

Upgrade to pantsbuild.pants 0.0.32.

This release brings in fixes for the idea and eclipse goals which were
previously broken with missing template resources.

It pulls in a similar fix for python-eval which is now enabled for the
repo and included in CI.  This provides a limited form of compile-time
checking that python target basics are in order:
+ checks that transitive BUILD deps are sufficient
+ validates that all top-level symbols are valid including function,
  method and class declarations
+ and decorators run at their top level of performing function wrapping

These compile checks smoked out 3 targets with missing deps that are now
fixed.  It also identified 6 other special targets that do deliberate
dependency gymnastics of one form or another and these are excluded from
the "compile" as a result.

Finally a small config migration, simplification of the pants script and
killing of a few un-used build-support/python scripts round out the
cleanups.

Testing Done:
CI went green here:
  https://travis-ci.org/twitter/commons/builds/55949350

Bugs closed: 367

Reviewed at https://rbcommons.com/s/twitter/r/1991/
latest commit 0b53efc8e8
@jsirois jsirois authored

README

Twitter common libraries for python and the jvm

== Installation ==

Building requires:
+ jdk 1.6+
+ python 2.7+

The build tool is custom and hosted in the repository itself.

== Usage ==

To build all jvm code and run all tests:
$ ./pants test {src,tests}/java/com/twitter/common::
$ ./pants test {src,tests}/scala/com/twitter/common::

Likewise for python commons:
$ ./pants test tests/python/twitter/common/:all

To get help on pants:
$ ./pants help

Read more http://twitter.github.com/commons/

Refer to pants documentation at http://pantsbuild.github.io

== Usage questions and feature discussions ==

Please check the archives for twitter-commons@googlegroups.com then fire
away if the question has not been addressed.

== Reporting bugs ==

Please use the github issue tracker for twitter commons at:
https://github.com/twitter/commons/issues

== Copyright and License ==

Copyright 2015 Twitter, Inc.

   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this work except in compliance with the License.
   You may obtain a copy of the License in the LICENSE file, or at:

       http://www.apache.org/licenses/LICENSE-2.0

   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License.


Something went wrong with that request. Please try again.