-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/27586/
-----------------------------------------------------------

Review request for Aurora and Bill Farner.


Bugs: AURORA-456
    https://issues.apache.org/jira/browse/AURORA-456


Repository: aurora


Description
-------

This patch prevents aurora version from crashing when it is built with a 
different version of pants.


Diffs
-----

  src/main/python/apache/aurora/client/commands/core.py 
1644f84b5887c2f8172789d82de00e6a735f5d0c 

Diff: https://reviews.apache.org/r/27586/diff/


Testing
-------

[tw-mbp-zmanji aurora (fix-version)]$ ./pants 
./src/main/python/apache/aurora/client/cli:aurora2
Build operating on top level addresses: 
set([BuildFileAddress(/Users/zmanji/workspace/aurora/src/main/python/apache/aurora/client/cli/BUILD,
 aurora2)])
Building PythonBinary 
PythonBinary(BuildFileAddress(/Users/zmanji/workspace/aurora/src/main/python/apache/aurora/client/cli/BUILD,
 aurora2)):
Wrote /Users/zmanji/workspace/aurora/dist/aurora2.pex
[tw-mbp-zmanji aurora (fix-version)]$ ./pants 
src/main/python/apache/aurora/client/bin:aurora_client
Build operating on top level addresses: 
set([BuildFileAddress(/Users/zmanji/workspace/aurora/src/main/python/apache/aurora/client/bin/BUILD,
 aurora_client)])
Building PythonBinary 
PythonBinary(BuildFileAddress(/Users/zmanji/workspace/aurora/src/main/python/apache/aurora/client/bin/BUILD,
 aurora_client)):
Wrote /Users/zmanji/workspace/aurora/dist/aurora_client.pex
[tw-mbp-zmanji aurora (fix-version)]$ ./dist/aurora2.pex version
Aurora client build info:
        sha: d03187404dac583884a979dd302dd3cd36163c98
        date: Tuesday Nov 04, 2014 11:39:07
Aurora API version: APIVersion(major=3)
[tw-mbp-zmanji aurora (fix-version)]$ ./dist/aurora_client.pex version
Aurora client build info:
        sha: d03187404dac583884a979dd302dd3cd36163c98
        date: Tuesday Nov 04, 2014 11:39:18
Aurora API version: APIVersion(major=3)


Thanks,

Zameer Manji

Reply via email to