Re: Review Request 36972: One python_library per exported setup.py project

2015-08-03 Thread Kevin Sweeney


 On July 31, 2015, 3:21 p.m., Brian Wickman wrote:
  I think it makes sense to split into two binary-exporting packages: one 
  client-side and one server-side.  The client side (aurora.client) should 
  contain aurora client and aurora admin client. The server-side (reuse 
  aurora.executor?) should contain aurora executor, thermos cli, thermos 
  observer and thermos runner.
 
 Kevin Sweeney wrote:
 I like this suggestion and would like to refactor the code to fit it into 
 this framework. Would you accept that in a follow-up review?
 
 Specifically there would then be 3 top-level packages (5 if you count the 
 thrift API bindings, which I would also like to export to allow folks to 
 write clients)
 
 ```
 src/main/python/apache/aurora
   common/
   client/
   executor/
 ```
 
 ```
 % pip install apache.aurora.executor
 # thermos
 # thermos-executor
 # thermos-observer
 # thermos-runner
 
 % pip install apache.aurora.client
 # aurora
 # aurora-admin
 ```
 
 Everything else would remain more-or-less organized the same but move to 
 a subpackage of one of the top-level targets. The rule is simple - if both 
 server-side and client-side import something it goes under common/, otherwise 
 it goes under client/ or executor/ as appropriate.
 
 Brian Wickman wrote:
 This seems reasonable.  I'd prefer to keep the name aurora-executor but 
 it probably merits public debate.

The name aurora-executor is fine with me, in this case I've left it unchanged 
as thermos_executor. But I agree a debate on the proposed renaming can take 
place on another review.


- Kevin


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


On Aug. 1, 2015, 3:38 p.m., Kevin Sweeney wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://reviews.apache.org/r/36972/
 ---
 
 (Updated Aug. 1, 2015, 3:38 p.m.)
 
 
 Review request for Aurora, Bill Farner and Brian Wickman.
 
 
 Bugs: AURORA-1381
 https://issues.apache.org/jira/browse/AURORA-1381
 
 
 Repository: aurora
 
 
 Description
 ---
 
 This is a mostly red code diff and makes the pants build work similar to how 
 it already works in an IDE environment while minimizing duplicated 
 information. This change also removes the confusing versions of `thermos` and 
 `thermos_observer` in favor of new ones. Because of the way covering 
 dependencies were required it was easier to do this refactor than more 
 tactically create a working `setup_py` target for `apache.aurora.tools` 
 without cycles and without duplicated files.
 
 * Remove the `apache.thermos` package.
 * Rename the `apache.gen.aurora` package to `apache.aurora.thrift`.
 * Rename the `apache.gen.thermos` package to `apache.thermos.thrift`.
 * Introduce a new `apache.aurora.tools` package with the `thermos` and 
 `thermos_observer` binaries.
 * Create apache.thermos.runner package, rename `thermos/bin` to 
 `thermos/runner`.
 * Remove all `*-packaged` and virtual dependency trees, as well as the phrase 
 covering dependencies.
 * Use `_`-prefix naming convention for private target names.
 * Replace manual list of targets in `make-python-sdists` with 
 automatically-generated one (using new convention).
 * Introduce a new `apache.aurora.kerberos` package with the `kaurora` and 
 `kaurora_admin` binaries.
 * Remove all `BUILD` files in `src/main` that don't contain an exported 
 `setup.py` library (except one mentioned in TODO).
 * Use dictionary syntax in `with_binaries`.
 * Remove unused/unreachable binaries (most `bin/` dirs under `thermos/`).
 * Create blank `__init__.py` files in directories that pants warns aren't 
 packages.
 * Added `thermos` command to vagrant image.
 
 
 Diffs
 -
 
   NEWS 0a8500c524a92eaf51384125687128d2fbbb0b53 
   api/src/main/thrift/org/apache/aurora/gen/BUILD 
 d196fefc2c5e5ee32d0cf9c901cffe7d247379d1 
   api/src/main/thrift/org/apache/thermos/BUILD 
 d0d789a6ee3971e3070f9397d53929563a77f7ea 
   build-support/packaging/debian/rules 
 17e00c02a3cb3294d5107516d795a73587ca4f70 
   build-support/packaging/rpm/aurora.spec 
 7cf8de6f7b99788ca461a90fc4aefba7dccd7b63 
   build-support/python/make-pycharm-virtualenv 
 05a16d0d421982bcfb2e649be7b83a17d813efb1 
   build-support/release/make-python-sdists 
 9608f68e16243da01434ce2fc7d61bb7c7efd712 
   docs/README.md 9893763cb75faf1aeb66ed905e9f696d4b532d16 
   docs/build-system.md PRE-CREATION 
   examples/vagrant/aurorabuild.sh fbaa6ae9ef7ff2910af8c9c0d6b8ef90ea3e152a 
   src/main/python/apache/aurora/admin/BUILD 
 22bf3f9943ea11258ba681bdb80feb00206bb926 
   src/main/python/apache/aurora/admin/aurora_admin.py 
 

Re: Review Request 36972: One python_library per exported setup.py project

2015-08-03 Thread Brian Wickman


 On July 31, 2015, 10:21 p.m., Brian Wickman wrote:
  I think it makes sense to split into two binary-exporting packages: one 
  client-side and one server-side.  The client side (aurora.client) should 
  contain aurora client and aurora admin client. The server-side (reuse 
  aurora.executor?) should contain aurora executor, thermos cli, thermos 
  observer and thermos runner.
 
 Kevin Sweeney wrote:
 I like this suggestion and would like to refactor the code to fit it into 
 this framework. Would you accept that in a follow-up review?
 
 Specifically there would then be 3 top-level packages (5 if you count the 
 thrift API bindings, which I would also like to export to allow folks to 
 write clients)
 
 ```
 src/main/python/apache/aurora
   common/
   client/
   executor/
 ```
 
 ```
 % pip install apache.aurora.executor
 # thermos
 # thermos-executor
 # thermos-observer
 # thermos-runner
 
 % pip install apache.aurora.client
 # aurora
 # aurora-admin
 ```
 
 Everything else would remain more-or-less organized the same but move to 
 a subpackage of one of the top-level targets. The rule is simple - if both 
 server-side and client-side import something it goes under common/, otherwise 
 it goes under client/ or executor/ as appropriate.

This seems reasonable.  I'd prefer to keep the name aurora-executor but it 
probably merits public debate.


- Brian


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


On Aug. 1, 2015, 10:38 p.m., Kevin Sweeney wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://reviews.apache.org/r/36972/
 ---
 
 (Updated Aug. 1, 2015, 10:38 p.m.)
 
 
 Review request for Aurora, Bill Farner and Brian Wickman.
 
 
 Bugs: AURORA-1381
 https://issues.apache.org/jira/browse/AURORA-1381
 
 
 Repository: aurora
 
 
 Description
 ---
 
 This is a mostly red code diff and makes the pants build work similar to how 
 it already works in an IDE environment while minimizing duplicated 
 information. This change also removes the confusing versions of `thermos` and 
 `thermos_observer` in favor of new ones. Because of the way covering 
 dependencies were required it was easier to do this refactor than more 
 tactically create a working `setup_py` target for `apache.aurora.tools` 
 without cycles and without duplicated files.
 
 * Remove the `apache.thermos` package.
 * Rename the `apache.gen.aurora` package to `apache.aurora.thrift`.
 * Rename the `apache.gen.thermos` package to `apache.thermos.thrift`.
 * Introduce a new `apache.aurora.tools` package with the `thermos` and 
 `thermos_observer` binaries.
 * Create apache.thermos.runner package, rename `thermos/bin` to 
 `thermos/runner`.
 * Remove all `*-packaged` and virtual dependency trees, as well as the phrase 
 covering dependencies.
 * Use `_`-prefix naming convention for private target names.
 * Replace manual list of targets in `make-python-sdists` with 
 automatically-generated one (using new convention).
 * Introduce a new `apache.aurora.kerberos` package with the `kaurora` and 
 `kaurora_admin` binaries.
 * Remove all `BUILD` files in `src/main` that don't contain an exported 
 `setup.py` library (except one mentioned in TODO).
 * Use dictionary syntax in `with_binaries`.
 * Remove unused/unreachable binaries (most `bin/` dirs under `thermos/`).
 * Create blank `__init__.py` files in directories that pants warns aren't 
 packages.
 * Added `thermos` command to vagrant image.
 
 
 Diffs
 -
 
   NEWS 0a8500c524a92eaf51384125687128d2fbbb0b53 
   api/src/main/thrift/org/apache/aurora/gen/BUILD 
 d196fefc2c5e5ee32d0cf9c901cffe7d247379d1 
   api/src/main/thrift/org/apache/thermos/BUILD 
 d0d789a6ee3971e3070f9397d53929563a77f7ea 
   build-support/packaging/debian/rules 
 17e00c02a3cb3294d5107516d795a73587ca4f70 
   build-support/packaging/rpm/aurora.spec 
 7cf8de6f7b99788ca461a90fc4aefba7dccd7b63 
   build-support/python/make-pycharm-virtualenv 
 05a16d0d421982bcfb2e649be7b83a17d813efb1 
   build-support/release/make-python-sdists 
 9608f68e16243da01434ce2fc7d61bb7c7efd712 
   docs/README.md 9893763cb75faf1aeb66ed905e9f696d4b532d16 
   docs/build-system.md PRE-CREATION 
   examples/vagrant/aurorabuild.sh fbaa6ae9ef7ff2910af8c9c0d6b8ef90ea3e152a 
   src/main/python/apache/aurora/admin/BUILD 
 22bf3f9943ea11258ba681bdb80feb00206bb926 
   src/main/python/apache/aurora/admin/aurora_admin.py 
 1c39717b656465bb1966073340f9fe80be01a085 
   src/main/python/apache/aurora/client/BUILD 
 e73cd52289209bb9658b16bb77dc0b0a9c811a1a 
   src/main/python/apache/aurora/client/api/BUILD 
 a030a67b78fc4bc4682d0df169e27efc6810dce3 
   

Re: Review Request 36972: One python_library per exported setup.py project

2015-08-03 Thread Brian Wickman

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

Ship it!


- Brian Wickman


On Aug. 1, 2015, 10:38 p.m., Kevin Sweeney wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://reviews.apache.org/r/36972/
 ---
 
 (Updated Aug. 1, 2015, 10:38 p.m.)
 
 
 Review request for Aurora, Bill Farner and Brian Wickman.
 
 
 Bugs: AURORA-1381
 https://issues.apache.org/jira/browse/AURORA-1381
 
 
 Repository: aurora
 
 
 Description
 ---
 
 This is a mostly red code diff and makes the pants build work similar to how 
 it already works in an IDE environment while minimizing duplicated 
 information. This change also removes the confusing versions of `thermos` and 
 `thermos_observer` in favor of new ones. Because of the way covering 
 dependencies were required it was easier to do this refactor than more 
 tactically create a working `setup_py` target for `apache.aurora.tools` 
 without cycles and without duplicated files.
 
 * Remove the `apache.thermos` package.
 * Rename the `apache.gen.aurora` package to `apache.aurora.thrift`.
 * Rename the `apache.gen.thermos` package to `apache.thermos.thrift`.
 * Introduce a new `apache.aurora.tools` package with the `thermos` and 
 `thermos_observer` binaries.
 * Create apache.thermos.runner package, rename `thermos/bin` to 
 `thermos/runner`.
 * Remove all `*-packaged` and virtual dependency trees, as well as the phrase 
 covering dependencies.
 * Use `_`-prefix naming convention for private target names.
 * Replace manual list of targets in `make-python-sdists` with 
 automatically-generated one (using new convention).
 * Introduce a new `apache.aurora.kerberos` package with the `kaurora` and 
 `kaurora_admin` binaries.
 * Remove all `BUILD` files in `src/main` that don't contain an exported 
 `setup.py` library (except one mentioned in TODO).
 * Use dictionary syntax in `with_binaries`.
 * Remove unused/unreachable binaries (most `bin/` dirs under `thermos/`).
 * Create blank `__init__.py` files in directories that pants warns aren't 
 packages.
 * Added `thermos` command to vagrant image.
 
 
 Diffs
 -
 
   NEWS 0a8500c524a92eaf51384125687128d2fbbb0b53 
   api/src/main/thrift/org/apache/aurora/gen/BUILD 
 d196fefc2c5e5ee32d0cf9c901cffe7d247379d1 
   api/src/main/thrift/org/apache/thermos/BUILD 
 d0d789a6ee3971e3070f9397d53929563a77f7ea 
   build-support/packaging/debian/rules 
 17e00c02a3cb3294d5107516d795a73587ca4f70 
   build-support/packaging/rpm/aurora.spec 
 7cf8de6f7b99788ca461a90fc4aefba7dccd7b63 
   build-support/python/make-pycharm-virtualenv 
 05a16d0d421982bcfb2e649be7b83a17d813efb1 
   build-support/release/make-python-sdists 
 9608f68e16243da01434ce2fc7d61bb7c7efd712 
   docs/README.md 9893763cb75faf1aeb66ed905e9f696d4b532d16 
   docs/build-system.md PRE-CREATION 
   examples/vagrant/aurorabuild.sh fbaa6ae9ef7ff2910af8c9c0d6b8ef90ea3e152a 
   src/main/python/apache/aurora/admin/BUILD 
 22bf3f9943ea11258ba681bdb80feb00206bb926 
   src/main/python/apache/aurora/admin/aurora_admin.py 
 1c39717b656465bb1966073340f9fe80be01a085 
   src/main/python/apache/aurora/client/BUILD 
 e73cd52289209bb9658b16bb77dc0b0a9c811a1a 
   src/main/python/apache/aurora/client/api/BUILD 
 a030a67b78fc4bc4682d0df169e27efc6810dce3 
   src/main/python/apache/aurora/client/cli/BUILD 
 973d05971bd940c7e38c48ce6bfbf5c8e1654c5a 
   src/main/python/apache/aurora/client/cli/client.py 
 c0974f3bef59f8f7c2320398d367cb4dd9048d2b 
   src/main/python/apache/aurora/client/hooks/BUILD 
 ddf813b5d2e7d63507a8e08745ebf6cb3dbac8e1 
   src/main/python/apache/aurora/common/BUILD 
 abc122b0775bb17b1df67bdb946c472010219b9b 
   src/main/python/apache/aurora/common/auth/BUILD 
 0abac94eeeb71e6af43ed191ea690e5f96a6be23 
   src/main/python/apache/aurora/common/auth/kerberos.py 
 2d782b63b611a9d2604ef0ab1116d3e68fb86dc7 
   src/main/python/apache/aurora/config/BUILD 
 0a3a93fa6bb785903f71bc067aecc79c0e45a0b5 
   src/main/python/apache/aurora/config/schema/BUILD 
 171f42a24ec7ddc2846eb68b6a60e7d8dec4383b 
   src/main/python/apache/aurora/executor/BUILD 
 891cbe63d23ea59a68ca99f62d29be5713c9b91d 
   src/main/python/apache/aurora/executor/bin/BUILD 
 b23429ab9d1d3db1af2bb1b77f5bce30de19f34b 
   src/main/python/apache/aurora/executor/common/BUILD 
 3d94792b9e3c2d0f7bb7ce42616f08947f5119ee 
   src/main/python/apache/aurora/kerberos/BUILD PRE-CREATION 
   src/main/python/apache/aurora/tools/BUILD 
 9dfeb6c7e5a3796c76250aa9ff6fd4230d00cfb0 
   src/main/python/apache/thermos/BUILD 
 8221aa0bd4efe5f519550cba716d6a564ba9ae44 
   src/main/python/apache/thermos/bin/BUILD 
 4f0cb9b67b1c3c52ec3278ce92ff0d765257796c 
   src/main/python/apache/thermos/bin/__init__.py  
   

Re: Review Request 36972: One python_library per exported setup.py project

2015-08-03 Thread Bill Farner

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

Ship it!


Ship It!

- Bill Farner


On Aug. 1, 2015, 10:38 p.m., Kevin Sweeney wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://reviews.apache.org/r/36972/
 ---
 
 (Updated Aug. 1, 2015, 10:38 p.m.)
 
 
 Review request for Aurora, Bill Farner and Brian Wickman.
 
 
 Bugs: AURORA-1381
 https://issues.apache.org/jira/browse/AURORA-1381
 
 
 Repository: aurora
 
 
 Description
 ---
 
 This is a mostly red code diff and makes the pants build work similar to how 
 it already works in an IDE environment while minimizing duplicated 
 information. This change also removes the confusing versions of `thermos` and 
 `thermos_observer` in favor of new ones. Because of the way covering 
 dependencies were required it was easier to do this refactor than more 
 tactically create a working `setup_py` target for `apache.aurora.tools` 
 without cycles and without duplicated files.
 
 * Remove the `apache.thermos` package.
 * Rename the `apache.gen.aurora` package to `apache.aurora.thrift`.
 * Rename the `apache.gen.thermos` package to `apache.thermos.thrift`.
 * Introduce a new `apache.aurora.tools` package with the `thermos` and 
 `thermos_observer` binaries.
 * Create apache.thermos.runner package, rename `thermos/bin` to 
 `thermos/runner`.
 * Remove all `*-packaged` and virtual dependency trees, as well as the phrase 
 covering dependencies.
 * Use `_`-prefix naming convention for private target names.
 * Replace manual list of targets in `make-python-sdists` with 
 automatically-generated one (using new convention).
 * Introduce a new `apache.aurora.kerberos` package with the `kaurora` and 
 `kaurora_admin` binaries.
 * Remove all `BUILD` files in `src/main` that don't contain an exported 
 `setup.py` library (except one mentioned in TODO).
 * Use dictionary syntax in `with_binaries`.
 * Remove unused/unreachable binaries (most `bin/` dirs under `thermos/`).
 * Create blank `__init__.py` files in directories that pants warns aren't 
 packages.
 * Added `thermos` command to vagrant image.
 
 
 Diffs
 -
 
   NEWS 0a8500c524a92eaf51384125687128d2fbbb0b53 
   api/src/main/thrift/org/apache/aurora/gen/BUILD 
 d196fefc2c5e5ee32d0cf9c901cffe7d247379d1 
   api/src/main/thrift/org/apache/thermos/BUILD 
 d0d789a6ee3971e3070f9397d53929563a77f7ea 
   build-support/packaging/debian/rules 
 17e00c02a3cb3294d5107516d795a73587ca4f70 
   build-support/packaging/rpm/aurora.spec 
 7cf8de6f7b99788ca461a90fc4aefba7dccd7b63 
   build-support/python/make-pycharm-virtualenv 
 05a16d0d421982bcfb2e649be7b83a17d813efb1 
   build-support/release/make-python-sdists 
 9608f68e16243da01434ce2fc7d61bb7c7efd712 
   docs/README.md 9893763cb75faf1aeb66ed905e9f696d4b532d16 
   docs/build-system.md PRE-CREATION 
   examples/vagrant/aurorabuild.sh fbaa6ae9ef7ff2910af8c9c0d6b8ef90ea3e152a 
   src/main/python/apache/aurora/admin/BUILD 
 22bf3f9943ea11258ba681bdb80feb00206bb926 
   src/main/python/apache/aurora/admin/aurora_admin.py 
 1c39717b656465bb1966073340f9fe80be01a085 
   src/main/python/apache/aurora/client/BUILD 
 e73cd52289209bb9658b16bb77dc0b0a9c811a1a 
   src/main/python/apache/aurora/client/api/BUILD 
 a030a67b78fc4bc4682d0df169e27efc6810dce3 
   src/main/python/apache/aurora/client/cli/BUILD 
 973d05971bd940c7e38c48ce6bfbf5c8e1654c5a 
   src/main/python/apache/aurora/client/cli/client.py 
 c0974f3bef59f8f7c2320398d367cb4dd9048d2b 
   src/main/python/apache/aurora/client/hooks/BUILD 
 ddf813b5d2e7d63507a8e08745ebf6cb3dbac8e1 
   src/main/python/apache/aurora/common/BUILD 
 abc122b0775bb17b1df67bdb946c472010219b9b 
   src/main/python/apache/aurora/common/auth/BUILD 
 0abac94eeeb71e6af43ed191ea690e5f96a6be23 
   src/main/python/apache/aurora/common/auth/kerberos.py 
 2d782b63b611a9d2604ef0ab1116d3e68fb86dc7 
   src/main/python/apache/aurora/config/BUILD 
 0a3a93fa6bb785903f71bc067aecc79c0e45a0b5 
   src/main/python/apache/aurora/config/schema/BUILD 
 171f42a24ec7ddc2846eb68b6a60e7d8dec4383b 
   src/main/python/apache/aurora/executor/BUILD 
 891cbe63d23ea59a68ca99f62d29be5713c9b91d 
   src/main/python/apache/aurora/executor/bin/BUILD 
 b23429ab9d1d3db1af2bb1b77f5bce30de19f34b 
   src/main/python/apache/aurora/executor/common/BUILD 
 3d94792b9e3c2d0f7bb7ce42616f08947f5119ee 
   src/main/python/apache/aurora/kerberos/BUILD PRE-CREATION 
   src/main/python/apache/aurora/tools/BUILD 
 9dfeb6c7e5a3796c76250aa9ff6fd4230d00cfb0 
   src/main/python/apache/thermos/BUILD 
 8221aa0bd4efe5f519550cba716d6a564ba9ae44 
   src/main/python/apache/thermos/bin/BUILD 
 4f0cb9b67b1c3c52ec3278ce92ff0d765257796c 
   src/main/python/apache/thermos/bin/__init__.py  
   

Re: Review Request 36972: One python_library per exported setup.py project

2015-08-01 Thread Aurora ReviewBot

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


Master (a45a8ee) is green with this patch.
  ./build-support/jenkins/build.sh

However, it appears that it might lack test coverage.

I will refresh this build result if you post a review containing @ReviewBot 
retry

- Aurora ReviewBot


On Aug. 1, 2015, 10:38 p.m., Kevin Sweeney wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://reviews.apache.org/r/36972/
 ---
 
 (Updated Aug. 1, 2015, 10:38 p.m.)
 
 
 Review request for Aurora, Bill Farner and Brian Wickman.
 
 
 Bugs: AURORA-1381
 https://issues.apache.org/jira/browse/AURORA-1381
 
 
 Repository: aurora
 
 
 Description
 ---
 
 This is a mostly red code diff and makes the pants build work similar to how 
 it already works in an IDE environment while minimizing duplicated 
 information. This change also removes the confusing versions of `thermos` and 
 `thermos_observer` in favor of new ones. Because of the way covering 
 dependencies were required it was easier to do this refactor than more 
 tactically create a working `setup_py` target for `apache.aurora.tools` 
 without cycles and without duplicated files.
 
 * Remove the `apache.thermos` package.
 * Rename the `apache.gen.aurora` package to `apache.aurora.thrift`.
 * Rename the `apache.gen.thermos` package to `apache.thermos.thrift`.
 * Introduce a new `apache.aurora.tools` package with the `thermos` and 
 `thermos_observer` binaries.
 * Create apache.thermos.runner package, rename `thermos/bin` to 
 `thermos/runner`.
 * Remove all `*-packaged` and virtual dependency trees, as well as the phrase 
 covering dependencies.
 * Use `_`-prefix naming convention for private target names.
 * Replace manual list of targets in `make-python-sdists` with 
 automatically-generated one (using new convention).
 * Introduce a new `apache.aurora.kerberos` package with the `kaurora` and 
 `kaurora_admin` binaries.
 * Remove all `BUILD` files in `src/main` that don't contain an exported 
 `setup.py` library (except one mentioned in TODO).
 * Use dictionary syntax in `with_binaries`.
 * Remove unused/unreachable binaries (most `bin/` dirs under `thermos/`).
 * Create blank `__init__.py` files in directories that pants warns aren't 
 packages.
 * Added `thermos` command to vagrant image.
 
 
 Diffs
 -
 
   NEWS 0a8500c524a92eaf51384125687128d2fbbb0b53 
   api/src/main/thrift/org/apache/aurora/gen/BUILD 
 d196fefc2c5e5ee32d0cf9c901cffe7d247379d1 
   api/src/main/thrift/org/apache/thermos/BUILD 
 d0d789a6ee3971e3070f9397d53929563a77f7ea 
   build-support/packaging/debian/rules 
 17e00c02a3cb3294d5107516d795a73587ca4f70 
   build-support/packaging/rpm/aurora.spec 
 7cf8de6f7b99788ca461a90fc4aefba7dccd7b63 
   build-support/python/make-pycharm-virtualenv 
 05a16d0d421982bcfb2e649be7b83a17d813efb1 
   build-support/release/make-python-sdists 
 9608f68e16243da01434ce2fc7d61bb7c7efd712 
   docs/README.md 9893763cb75faf1aeb66ed905e9f696d4b532d16 
   docs/build-system.md PRE-CREATION 
   examples/vagrant/aurorabuild.sh fbaa6ae9ef7ff2910af8c9c0d6b8ef90ea3e152a 
   src/main/python/apache/aurora/admin/BUILD 
 22bf3f9943ea11258ba681bdb80feb00206bb926 
   src/main/python/apache/aurora/admin/aurora_admin.py 
 1c39717b656465bb1966073340f9fe80be01a085 
   src/main/python/apache/aurora/client/BUILD 
 e73cd52289209bb9658b16bb77dc0b0a9c811a1a 
   src/main/python/apache/aurora/client/api/BUILD 
 a030a67b78fc4bc4682d0df169e27efc6810dce3 
   src/main/python/apache/aurora/client/cli/BUILD 
 973d05971bd940c7e38c48ce6bfbf5c8e1654c5a 
   src/main/python/apache/aurora/client/cli/client.py 
 c0974f3bef59f8f7c2320398d367cb4dd9048d2b 
   src/main/python/apache/aurora/client/hooks/BUILD 
 ddf813b5d2e7d63507a8e08745ebf6cb3dbac8e1 
   src/main/python/apache/aurora/common/BUILD 
 abc122b0775bb17b1df67bdb946c472010219b9b 
   src/main/python/apache/aurora/common/auth/BUILD 
 0abac94eeeb71e6af43ed191ea690e5f96a6be23 
   src/main/python/apache/aurora/common/auth/kerberos.py 
 2d782b63b611a9d2604ef0ab1116d3e68fb86dc7 
   src/main/python/apache/aurora/config/BUILD 
 0a3a93fa6bb785903f71bc067aecc79c0e45a0b5 
   src/main/python/apache/aurora/config/schema/BUILD 
 171f42a24ec7ddc2846eb68b6a60e7d8dec4383b 
   src/main/python/apache/aurora/executor/BUILD 
 891cbe63d23ea59a68ca99f62d29be5713c9b91d 
   src/main/python/apache/aurora/executor/bin/BUILD 
 b23429ab9d1d3db1af2bb1b77f5bce30de19f34b 
   src/main/python/apache/aurora/executor/common/BUILD 
 3d94792b9e3c2d0f7bb7ce42616f08947f5119ee 
   src/main/python/apache/aurora/kerberos/BUILD PRE-CREATION 
   src/main/python/apache/aurora/tools/BUILD 
 9dfeb6c7e5a3796c76250aa9ff6fd4230d00cfb0 
   src/main/python/apache/thermos/BUILD 
 

Re: Review Request 36972: One python_library per exported setup.py project

2015-07-31 Thread Joshua Cohen

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


Seems reasonable to me. We should definitely add some documentation of this 
(just convert your email to dev@ to markdown? ;)).


src/main/python/apache/thermos/bin/BUILD (line 36)
https://reviews.apache.org/r/36972/#comment148126

Should this read from .auroraversion?


- Joshua Cohen


On July 31, 2015, 3:37 a.m., Kevin Sweeney wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://reviews.apache.org/r/36972/
 ---
 
 (Updated July 31, 2015, 3:37 a.m.)
 
 
 Review request for Aurora, Bill Farner and Brian Wickman.
 
 
 Bugs: AURORA-1381
 https://issues.apache.org/jira/browse/AURORA-1381
 
 
 Repository: aurora
 
 
 Description
 ---
 
 Publishing this review now for early feedback, don't intend to ship until 
 most of the TODOs are addressed.
 
 This is a mostly red code diff and makes the pants build work similar to how 
 it already works in an IDE environment while minimizing duplicated 
 information. This change also removes the confusing versions of `thermos` and 
 `thermos_observer` in favor of new ones. Because of the way covering 
 dependencies were required it was easier to do this refactor than more 
 tactically create a working `setup_py` target for `apache.aurora.tools` 
 without cycles and without duplicated files.
 
 * Remove the `apache.thermos` package.
 * Rename the `apache.gen.aurora` package to `apache.aurora.thrift`.
 * Rename the `apache.gen.thermos` package to `apache.thermos.thrift`.
 * Introduce a new `apache.aurora.tools` package.
 * Create apache.thermos.runner package, rename `thermos/bin` to 
 `thermos/runner`.
 * Remove all `*-packaged` and virtual dependency trees, as well as the phrase 
 covering dependencies.
 * Use `_`-prefix naming convention for private target names.
 * Replace manual list of targets in `make-python-sdists` with 
 automatically-generated one (using new convention).
 * Remove `kaurora` and `kaurora_admin` binaries.
 * Remove all `BUILD` files in `src/main` that don't contain an exported 
 `setup.py` library (except one mentioned in TODO).
 * Use dictionary syntax in `with_binaries` (TODO: replace the underscores in 
 binary names with dashes?).
 * Remove unused/unreachable binaries (most `bin/` dirs under `thermos/`).
 * Create blank `__init__.py` files in directories that pants warns aren't 
 packages.
 * Added `krb5-devel` to rpm spec `BuildRequires`
 * Added `thermos` command to vagrant image.
 
 * TODO: Write NEWS entry
 
 
 Diffs
 -
 
   api/src/main/thrift/org/apache/aurora/gen/BUILD 
 d196fefc2c5e5ee32d0cf9c901cffe7d247379d1 
   api/src/main/thrift/org/apache/thermos/BUILD 
 d0d789a6ee3971e3070f9397d53929563a77f7ea 
   build-support/packaging/debian/rules 
 17e00c02a3cb3294d5107516d795a73587ca4f70 
   build-support/packaging/rpm/aurora.spec 
 7cf8de6f7b99788ca461a90fc4aefba7dccd7b63 
   build-support/release/make-python-sdists 
 9608f68e16243da01434ce2fc7d61bb7c7efd712 
   examples/vagrant/aurorabuild.sh fbaa6ae9ef7ff2910af8c9c0d6b8ef90ea3e152a 
   src/main/python/apache/aurora/admin/BUILD 
 22bf3f9943ea11258ba681bdb80feb00206bb926 
   src/main/python/apache/aurora/client/BUILD 
 e73cd52289209bb9658b16bb77dc0b0a9c811a1a 
   src/main/python/apache/aurora/client/api/BUILD 
 a030a67b78fc4bc4682d0df169e27efc6810dce3 
   src/main/python/apache/aurora/client/cli/BUILD 
 973d05971bd940c7e38c48ce6bfbf5c8e1654c5a 
   src/main/python/apache/aurora/client/hooks/BUILD 
 ddf813b5d2e7d63507a8e08745ebf6cb3dbac8e1 
   src/main/python/apache/aurora/common/BUILD 
 abc122b0775bb17b1df67bdb946c472010219b9b 
   src/main/python/apache/aurora/common/auth/BUILD 
 0abac94eeeb71e6af43ed191ea690e5f96a6be23 
   src/main/python/apache/aurora/config/BUILD 
 0a3a93fa6bb785903f71bc067aecc79c0e45a0b5 
   src/main/python/apache/aurora/config/schema/BUILD 
 171f42a24ec7ddc2846eb68b6a60e7d8dec4383b 
   src/main/python/apache/aurora/executor/BUILD 
 891cbe63d23ea59a68ca99f62d29be5713c9b91d 
   src/main/python/apache/aurora/executor/bin/BUILD 
 b23429ab9d1d3db1af2bb1b77f5bce30de19f34b 
   src/main/python/apache/aurora/executor/common/BUILD 
 3d94792b9e3c2d0f7bb7ce42616f08947f5119ee 
   src/main/python/apache/aurora/tools/BUILD 
 9dfeb6c7e5a3796c76250aa9ff6fd4230d00cfb0 
   src/main/python/apache/thermos/BUILD 
 8221aa0bd4efe5f519550cba716d6a564ba9ae44 
   src/main/python/apache/thermos/bin/BUILD 
 4f0cb9b67b1c3c52ec3278ce92ff0d765257796c 
   src/main/python/apache/thermos/bin/__init__.py  
   src/main/python/apache/thermos/bin/thermos_ckpt.py 
 8ed69e0440b6aec85c5fa9e138215b592e9adcb1 
   src/main/python/apache/thermos/bin/thermos_runner.py  
   src/main/python/apache/thermos/cli/BUILD 
 

Re: Review Request 36972: One python_library per exported setup.py project

2015-07-31 Thread Maxim Khutornenko

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



src/main/python/apache/aurora/admin/BUILD 
https://reviews.apache.org/r/36972/#comment148137

Are we completely abondoning the idea of having a non-kerberized client 
version with this? This was one of the sticking points in 
https://reviews.apache.org/r/32541/.


- Maxim Khutornenko


On July 31, 2015, 3:37 a.m., Kevin Sweeney wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://reviews.apache.org/r/36972/
 ---
 
 (Updated July 31, 2015, 3:37 a.m.)
 
 
 Review request for Aurora, Bill Farner and Brian Wickman.
 
 
 Bugs: AURORA-1381
 https://issues.apache.org/jira/browse/AURORA-1381
 
 
 Repository: aurora
 
 
 Description
 ---
 
 Publishing this review now for early feedback, don't intend to ship until 
 most of the TODOs are addressed.
 
 This is a mostly red code diff and makes the pants build work similar to how 
 it already works in an IDE environment while minimizing duplicated 
 information. This change also removes the confusing versions of `thermos` and 
 `thermos_observer` in favor of new ones. Because of the way covering 
 dependencies were required it was easier to do this refactor than more 
 tactically create a working `setup_py` target for `apache.aurora.tools` 
 without cycles and without duplicated files.
 
 * Remove the `apache.thermos` package.
 * Rename the `apache.gen.aurora` package to `apache.aurora.thrift`.
 * Rename the `apache.gen.thermos` package to `apache.thermos.thrift`.
 * Introduce a new `apache.aurora.tools` package.
 * Create apache.thermos.runner package, rename `thermos/bin` to 
 `thermos/runner`.
 * Remove all `*-packaged` and virtual dependency trees, as well as the phrase 
 covering dependencies.
 * Use `_`-prefix naming convention for private target names.
 * Replace manual list of targets in `make-python-sdists` with 
 automatically-generated one (using new convention).
 * Remove `kaurora` and `kaurora_admin` binaries.
 * Remove all `BUILD` files in `src/main` that don't contain an exported 
 `setup.py` library (except one mentioned in TODO).
 * Use dictionary syntax in `with_binaries` (TODO: replace the underscores in 
 binary names with dashes?).
 * Remove unused/unreachable binaries (most `bin/` dirs under `thermos/`).
 * Create blank `__init__.py` files in directories that pants warns aren't 
 packages.
 * Added `krb5-devel` to rpm spec `BuildRequires`
 * Added `thermos` command to vagrant image.
 
 * TODO: Write NEWS entry
 
 
 Diffs
 -
 
   api/src/main/thrift/org/apache/aurora/gen/BUILD 
 d196fefc2c5e5ee32d0cf9c901cffe7d247379d1 
   api/src/main/thrift/org/apache/thermos/BUILD 
 d0d789a6ee3971e3070f9397d53929563a77f7ea 
   build-support/packaging/debian/rules 
 17e00c02a3cb3294d5107516d795a73587ca4f70 
   build-support/packaging/rpm/aurora.spec 
 7cf8de6f7b99788ca461a90fc4aefba7dccd7b63 
   build-support/release/make-python-sdists 
 9608f68e16243da01434ce2fc7d61bb7c7efd712 
   examples/vagrant/aurorabuild.sh fbaa6ae9ef7ff2910af8c9c0d6b8ef90ea3e152a 
   src/main/python/apache/aurora/admin/BUILD 
 22bf3f9943ea11258ba681bdb80feb00206bb926 
   src/main/python/apache/aurora/client/BUILD 
 e73cd52289209bb9658b16bb77dc0b0a9c811a1a 
   src/main/python/apache/aurora/client/api/BUILD 
 a030a67b78fc4bc4682d0df169e27efc6810dce3 
   src/main/python/apache/aurora/client/cli/BUILD 
 973d05971bd940c7e38c48ce6bfbf5c8e1654c5a 
   src/main/python/apache/aurora/client/hooks/BUILD 
 ddf813b5d2e7d63507a8e08745ebf6cb3dbac8e1 
   src/main/python/apache/aurora/common/BUILD 
 abc122b0775bb17b1df67bdb946c472010219b9b 
   src/main/python/apache/aurora/common/auth/BUILD 
 0abac94eeeb71e6af43ed191ea690e5f96a6be23 
   src/main/python/apache/aurora/config/BUILD 
 0a3a93fa6bb785903f71bc067aecc79c0e45a0b5 
   src/main/python/apache/aurora/config/schema/BUILD 
 171f42a24ec7ddc2846eb68b6a60e7d8dec4383b 
   src/main/python/apache/aurora/executor/BUILD 
 891cbe63d23ea59a68ca99f62d29be5713c9b91d 
   src/main/python/apache/aurora/executor/bin/BUILD 
 b23429ab9d1d3db1af2bb1b77f5bce30de19f34b 
   src/main/python/apache/aurora/executor/common/BUILD 
 3d94792b9e3c2d0f7bb7ce42616f08947f5119ee 
   src/main/python/apache/aurora/tools/BUILD 
 9dfeb6c7e5a3796c76250aa9ff6fd4230d00cfb0 
   src/main/python/apache/thermos/BUILD 
 8221aa0bd4efe5f519550cba716d6a564ba9ae44 
   src/main/python/apache/thermos/bin/BUILD 
 4f0cb9b67b1c3c52ec3278ce92ff0d765257796c 
   src/main/python/apache/thermos/bin/__init__.py  
   src/main/python/apache/thermos/bin/thermos_ckpt.py 
 8ed69e0440b6aec85c5fa9e138215b592e9adcb1 
   src/main/python/apache/thermos/bin/thermos_runner.py  
   src/main/python/apache/thermos/cli/BUILD 
 

Re: Review Request 36972: One python_library per exported setup.py project

2015-07-31 Thread Kevin Sweeney


 On July 31, 2015, 9:01 a.m., Maxim Khutornenko wrote:
  src/main/python/apache/aurora/admin/BUILD, lines 84-92
  https://reviews.apache.org/r/36972/diff/2/?file=1025863#file1025863line84
 
  Are we completely abondoning the idea of having a non-kerberized client 
  version with this? This was one of the sticking points in 
  https://reviews.apache.org/r/32541/.
 
 Bill Farner wrote:
 FWIW i think we should indeed abandon that idea.  The goal of 
 reducing/eliminating native dependncies is a good one, but i don't find it 
 beneficial to distribute different builds based on the features present.

Given where this was factored it would've added a new native dependency to the 
executor which could complicate our already not-great deployment story. I've 
kicked it into its own package for now but happy to revisit in another diff.


- Kevin


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


On July 31, 2015, 11:03 a.m., Kevin Sweeney wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://reviews.apache.org/r/36972/
 ---
 
 (Updated July 31, 2015, 11:03 a.m.)
 
 
 Review request for Aurora, Bill Farner and Brian Wickman.
 
 
 Bugs: AURORA-1381
 https://issues.apache.org/jira/browse/AURORA-1381
 
 
 Repository: aurora
 
 
 Description
 ---
 
 Publishing this review now for early feedback, don't intend to ship until 
 most of the TODOs are addressed.
 
 This is a mostly red code diff and makes the pants build work similar to how 
 it already works in an IDE environment while minimizing duplicated 
 information. This change also removes the confusing versions of `thermos` and 
 `thermos_observer` in favor of new ones. Because of the way covering 
 dependencies were required it was easier to do this refactor than more 
 tactically create a working `setup_py` target for `apache.aurora.tools` 
 without cycles and without duplicated files.
 
 * Remove the `apache.thermos` package.
 * Rename the `apache.gen.aurora` package to `apache.aurora.thrift`.
 * Rename the `apache.gen.thermos` package to `apache.thermos.thrift`.
 * Introduce a new `apache.aurora.tools` package with the `thermos` and 
 `thermos_observer` binaries.
 * Create apache.thermos.runner package, rename `thermos/bin` to 
 `thermos/runner`.
 * Remove all `*-packaged` and virtual dependency trees, as well as the phrase 
 covering dependencies.
 * Use `_`-prefix naming convention for private target names.
 * Replace manual list of targets in `make-python-sdists` with 
 automatically-generated one (using new convention).
 * Introduce a new `apache.aurora.kerberos` package with the `kaurora` and 
 `kaurora_admin` binaries.
 * Remove all `BUILD` files in `src/main` that don't contain an exported 
 `setup.py` library (except one mentioned in TODO).
 * Use dictionary syntax in `with_binaries` (TODO: replace the underscores in 
 binary names with dashes?).
 * Remove unused/unreachable binaries (most `bin/` dirs under `thermos/`).
 * Create blank `__init__.py` files in directories that pants warns aren't 
 packages.
 * Added `thermos` command to vagrant image.
 
 * TODO: Write NEWS entry
 
 
 Diffs
 -
 
   api/src/main/thrift/org/apache/aurora/gen/BUILD 
 d196fefc2c5e5ee32d0cf9c901cffe7d247379d1 
   api/src/main/thrift/org/apache/thermos/BUILD 
 d0d789a6ee3971e3070f9397d53929563a77f7ea 
   build-support/packaging/debian/rules 
 17e00c02a3cb3294d5107516d795a73587ca4f70 
   build-support/packaging/rpm/aurora.spec 
 7cf8de6f7b99788ca461a90fc4aefba7dccd7b63 
   build-support/release/make-python-sdists 
 9608f68e16243da01434ce2fc7d61bb7c7efd712 
   examples/vagrant/aurorabuild.sh fbaa6ae9ef7ff2910af8c9c0d6b8ef90ea3e152a 
   src/main/python/apache/aurora/admin/BUILD 
 22bf3f9943ea11258ba681bdb80feb00206bb926 
   src/main/python/apache/aurora/admin/aurora_admin.py 
 1c39717b656465bb1966073340f9fe80be01a085 
   src/main/python/apache/aurora/client/BUILD 
 e73cd52289209bb9658b16bb77dc0b0a9c811a1a 
   src/main/python/apache/aurora/client/api/BUILD 
 a030a67b78fc4bc4682d0df169e27efc6810dce3 
   src/main/python/apache/aurora/client/cli/BUILD 
 973d05971bd940c7e38c48ce6bfbf5c8e1654c5a 
   src/main/python/apache/aurora/client/cli/client.py 
 c0974f3bef59f8f7c2320398d367cb4dd9048d2b 
   src/main/python/apache/aurora/client/hooks/BUILD 
 ddf813b5d2e7d63507a8e08745ebf6cb3dbac8e1 
   src/main/python/apache/aurora/common/BUILD 
 abc122b0775bb17b1df67bdb946c472010219b9b 
   src/main/python/apache/aurora/common/auth/BUILD 
 0abac94eeeb71e6af43ed191ea690e5f96a6be23 
   src/main/python/apache/aurora/common/auth/kerberos.py 
 2d782b63b611a9d2604ef0ab1116d3e68fb86dc7 
   src/main/python/apache/aurora/config/BUILD 
 

Re: Review Request 36972: One python_library per exported setup.py project

2015-07-31 Thread Aurora ReviewBot

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


Master (d327773) is green with this patch.
  ./build-support/jenkins/build.sh

However, it appears that it might lack test coverage.

I will refresh this build result if you post a review containing @ReviewBot 
retry

- Aurora ReviewBot


On July 31, 2015, 6:03 p.m., Kevin Sweeney wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://reviews.apache.org/r/36972/
 ---
 
 (Updated July 31, 2015, 6:03 p.m.)
 
 
 Review request for Aurora, Bill Farner and Brian Wickman.
 
 
 Bugs: AURORA-1381
 https://issues.apache.org/jira/browse/AURORA-1381
 
 
 Repository: aurora
 
 
 Description
 ---
 
 Publishing this review now for early feedback, don't intend to ship until 
 most of the TODOs are addressed.
 
 This is a mostly red code diff and makes the pants build work similar to how 
 it already works in an IDE environment while minimizing duplicated 
 information. This change also removes the confusing versions of `thermos` and 
 `thermos_observer` in favor of new ones. Because of the way covering 
 dependencies were required it was easier to do this refactor than more 
 tactically create a working `setup_py` target for `apache.aurora.tools` 
 without cycles and without duplicated files.
 
 * Remove the `apache.thermos` package.
 * Rename the `apache.gen.aurora` package to `apache.aurora.thrift`.
 * Rename the `apache.gen.thermos` package to `apache.thermos.thrift`.
 * Introduce a new `apache.aurora.tools` package with the `thermos` and 
 `thermos_observer` binaries.
 * Create apache.thermos.runner package, rename `thermos/bin` to 
 `thermos/runner`.
 * Remove all `*-packaged` and virtual dependency trees, as well as the phrase 
 covering dependencies.
 * Use `_`-prefix naming convention for private target names.
 * Replace manual list of targets in `make-python-sdists` with 
 automatically-generated one (using new convention).
 * Introduce a new `apache.aurora.kerberos` package with the `kaurora` and 
 `kaurora_admin` binaries.
 * Remove all `BUILD` files in `src/main` that don't contain an exported 
 `setup.py` library (except one mentioned in TODO).
 * Use dictionary syntax in `with_binaries` (TODO: replace the underscores in 
 binary names with dashes?).
 * Remove unused/unreachable binaries (most `bin/` dirs under `thermos/`).
 * Create blank `__init__.py` files in directories that pants warns aren't 
 packages.
 * Added `thermos` command to vagrant image.
 
 * TODO: Write NEWS entry
 
 
 Diffs
 -
 
   api/src/main/thrift/org/apache/aurora/gen/BUILD 
 d196fefc2c5e5ee32d0cf9c901cffe7d247379d1 
   api/src/main/thrift/org/apache/thermos/BUILD 
 d0d789a6ee3971e3070f9397d53929563a77f7ea 
   build-support/packaging/debian/rules 
 17e00c02a3cb3294d5107516d795a73587ca4f70 
   build-support/packaging/rpm/aurora.spec 
 7cf8de6f7b99788ca461a90fc4aefba7dccd7b63 
   build-support/release/make-python-sdists 
 9608f68e16243da01434ce2fc7d61bb7c7efd712 
   examples/vagrant/aurorabuild.sh fbaa6ae9ef7ff2910af8c9c0d6b8ef90ea3e152a 
   src/main/python/apache/aurora/admin/BUILD 
 22bf3f9943ea11258ba681bdb80feb00206bb926 
   src/main/python/apache/aurora/admin/aurora_admin.py 
 1c39717b656465bb1966073340f9fe80be01a085 
   src/main/python/apache/aurora/client/BUILD 
 e73cd52289209bb9658b16bb77dc0b0a9c811a1a 
   src/main/python/apache/aurora/client/api/BUILD 
 a030a67b78fc4bc4682d0df169e27efc6810dce3 
   src/main/python/apache/aurora/client/cli/BUILD 
 973d05971bd940c7e38c48ce6bfbf5c8e1654c5a 
   src/main/python/apache/aurora/client/cli/client.py 
 c0974f3bef59f8f7c2320398d367cb4dd9048d2b 
   src/main/python/apache/aurora/client/hooks/BUILD 
 ddf813b5d2e7d63507a8e08745ebf6cb3dbac8e1 
   src/main/python/apache/aurora/common/BUILD 
 abc122b0775bb17b1df67bdb946c472010219b9b 
   src/main/python/apache/aurora/common/auth/BUILD 
 0abac94eeeb71e6af43ed191ea690e5f96a6be23 
   src/main/python/apache/aurora/common/auth/kerberos.py 
 2d782b63b611a9d2604ef0ab1116d3e68fb86dc7 
   src/main/python/apache/aurora/config/BUILD 
 0a3a93fa6bb785903f71bc067aecc79c0e45a0b5 
   src/main/python/apache/aurora/config/schema/BUILD 
 171f42a24ec7ddc2846eb68b6a60e7d8dec4383b 
   src/main/python/apache/aurora/executor/BUILD 
 891cbe63d23ea59a68ca99f62d29be5713c9b91d 
   src/main/python/apache/aurora/executor/bin/BUILD 
 b23429ab9d1d3db1af2bb1b77f5bce30de19f34b 
   src/main/python/apache/aurora/executor/common/BUILD 
 3d94792b9e3c2d0f7bb7ce42616f08947f5119ee 
   src/main/python/apache/aurora/kerberos/BUILD PRE-CREATION 
   src/main/python/apache/aurora/tools/BUILD 
 9dfeb6c7e5a3796c76250aa9ff6fd4230d00cfb0 
   src/main/python/apache/thermos/BUILD 
 8221aa0bd4efe5f519550cba716d6a564ba9ae44 

Re: Review Request 36972: One python_library per exported setup.py project

2015-07-31 Thread Kevin Sweeney


 On July 31, 2015, 7:39 a.m., Joshua Cohen wrote:
  src/main/python/apache/thermos/bin/BUILD, line 40
  https://reviews.apache.org/r/36972/diff/2/?file=1025877#file1025877line40
 
  Should this read from .auroraversion?

Good catch! (leftover from my example email). Fixed.


- Kevin


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


On July 31, 2015, 10:56 a.m., Kevin Sweeney wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://reviews.apache.org/r/36972/
 ---
 
 (Updated July 31, 2015, 10:56 a.m.)
 
 
 Review request for Aurora, Bill Farner and Brian Wickman.
 
 
 Bugs: AURORA-1381
 https://issues.apache.org/jira/browse/AURORA-1381
 
 
 Repository: aurora
 
 
 Description
 ---
 
 Publishing this review now for early feedback, don't intend to ship until 
 most of the TODOs are addressed.
 
 This is a mostly red code diff and makes the pants build work similar to how 
 it already works in an IDE environment while minimizing duplicated 
 information. This change also removes the confusing versions of `thermos` and 
 `thermos_observer` in favor of new ones. Because of the way covering 
 dependencies were required it was easier to do this refactor than more 
 tactically create a working `setup_py` target for `apache.aurora.tools` 
 without cycles and without duplicated files.
 
 * Remove the `apache.thermos` package.
 * Rename the `apache.gen.aurora` package to `apache.aurora.thrift`.
 * Rename the `apache.gen.thermos` package to `apache.thermos.thrift`.
 * Introduce a new `apache.aurora.tools` package with the `thermos` and 
 `thermos_observer` binaries.
 * Create apache.thermos.runner package, rename `thermos/bin` to 
 `thermos/runner`.
 * Remove all `*-packaged` and virtual dependency trees, as well as the phrase 
 covering dependencies.
 * Use `_`-prefix naming convention for private target names.
 * Replace manual list of targets in `make-python-sdists` with 
 automatically-generated one (using new convention).
 * Introduce a new `apache.aurora.kerberos` package with the `kaurora` and 
 `kaurora_admin` binaries.
 * Remove all `BUILD` files in `src/main` that don't contain an exported 
 `setup.py` library (except one mentioned in TODO).
 * Use dictionary syntax in `with_binaries` (TODO: replace the underscores in 
 binary names with dashes?).
 * Remove unused/unreachable binaries (most `bin/` dirs under `thermos/`).
 * Create blank `__init__.py` files in directories that pants warns aren't 
 packages.
 * Added `thermos` command to vagrant image.
 
 * TODO: Write NEWS entry
 
 
 Diffs
 -
 
   api/src/main/thrift/org/apache/aurora/gen/BUILD 
 d196fefc2c5e5ee32d0cf9c901cffe7d247379d1 
   api/src/main/thrift/org/apache/thermos/BUILD 
 d0d789a6ee3971e3070f9397d53929563a77f7ea 
   build-support/packaging/debian/rules 
 17e00c02a3cb3294d5107516d795a73587ca4f70 
   build-support/packaging/rpm/aurora.spec 
 7cf8de6f7b99788ca461a90fc4aefba7dccd7b63 
   build-support/release/make-python-sdists 
 9608f68e16243da01434ce2fc7d61bb7c7efd712 
   examples/vagrant/aurorabuild.sh fbaa6ae9ef7ff2910af8c9c0d6b8ef90ea3e152a 
   src/main/python/apache/aurora/admin/BUILD 
 22bf3f9943ea11258ba681bdb80feb00206bb926 
   src/main/python/apache/aurora/admin/aurora_admin.py 
 1c39717b656465bb1966073340f9fe80be01a085 
   src/main/python/apache/aurora/client/BUILD 
 e73cd52289209bb9658b16bb77dc0b0a9c811a1a 
   src/main/python/apache/aurora/client/api/BUILD 
 a030a67b78fc4bc4682d0df169e27efc6810dce3 
   src/main/python/apache/aurora/client/cli/BUILD 
 973d05971bd940c7e38c48ce6bfbf5c8e1654c5a 
   src/main/python/apache/aurora/client/cli/client.py 
 c0974f3bef59f8f7c2320398d367cb4dd9048d2b 
   src/main/python/apache/aurora/client/hooks/BUILD 
 ddf813b5d2e7d63507a8e08745ebf6cb3dbac8e1 
   src/main/python/apache/aurora/common/BUILD 
 abc122b0775bb17b1df67bdb946c472010219b9b 
   src/main/python/apache/aurora/common/auth/BUILD 
 0abac94eeeb71e6af43ed191ea690e5f96a6be23 
   src/main/python/apache/aurora/common/auth/kerberos.py 
 2d782b63b611a9d2604ef0ab1116d3e68fb86dc7 
   src/main/python/apache/aurora/config/BUILD 
 0a3a93fa6bb785903f71bc067aecc79c0e45a0b5 
   src/main/python/apache/aurora/config/schema/BUILD 
 171f42a24ec7ddc2846eb68b6a60e7d8dec4383b 
   src/main/python/apache/aurora/executor/BUILD 
 891cbe63d23ea59a68ca99f62d29be5713c9b91d 
   src/main/python/apache/aurora/executor/bin/BUILD 
 b23429ab9d1d3db1af2bb1b77f5bce30de19f34b 
   src/main/python/apache/aurora/executor/common/BUILD 
 3d94792b9e3c2d0f7bb7ce42616f08947f5119ee 
   src/main/python/apache/aurora/kerberos/BUILD PRE-CREATION 
   src/main/python/apache/aurora/tools/BUILD 
 9dfeb6c7e5a3796c76250aa9ff6fd4230d00cfb0 
   

Re: Review Request 36972: One python_library per exported setup.py project

2015-07-31 Thread Kevin Sweeney

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

(Updated July 31, 2015, 11:03 a.m.)


Review request for Aurora, Bill Farner and Brian Wickman.


Changes
---

Fix apache.thermos.runner version.


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


Repository: aurora


Description
---

Publishing this review now for early feedback, don't intend to ship until most 
of the TODOs are addressed.

This is a mostly red code diff and makes the pants build work similar to how it 
already works in an IDE environment while minimizing duplicated information. 
This change also removes the confusing versions of `thermos` and 
`thermos_observer` in favor of new ones. Because of the way covering 
dependencies were required it was easier to do this refactor than more 
tactically create a working `setup_py` target for `apache.aurora.tools` without 
cycles and without duplicated files.

* Remove the `apache.thermos` package.
* Rename the `apache.gen.aurora` package to `apache.aurora.thrift`.
* Rename the `apache.gen.thermos` package to `apache.thermos.thrift`.
* Introduce a new `apache.aurora.tools` package with the `thermos` and 
`thermos_observer` binaries.
* Create apache.thermos.runner package, rename `thermos/bin` to 
`thermos/runner`.
* Remove all `*-packaged` and virtual dependency trees, as well as the phrase 
covering dependencies.
* Use `_`-prefix naming convention for private target names.
* Replace manual list of targets in `make-python-sdists` with 
automatically-generated one (using new convention).
* Introduce a new `apache.aurora.kerberos` package with the `kaurora` and 
`kaurora_admin` binaries.
* Remove all `BUILD` files in `src/main` that don't contain an exported 
`setup.py` library (except one mentioned in TODO).
* Use dictionary syntax in `with_binaries` (TODO: replace the underscores in 
binary names with dashes?).
* Remove unused/unreachable binaries (most `bin/` dirs under `thermos/`).
* Create blank `__init__.py` files in directories that pants warns aren't 
packages.
* Added `thermos` command to vagrant image.

* TODO: Write NEWS entry


Diffs (updated)
-

  api/src/main/thrift/org/apache/aurora/gen/BUILD 
d196fefc2c5e5ee32d0cf9c901cffe7d247379d1 
  api/src/main/thrift/org/apache/thermos/BUILD 
d0d789a6ee3971e3070f9397d53929563a77f7ea 
  build-support/packaging/debian/rules 17e00c02a3cb3294d5107516d795a73587ca4f70 
  build-support/packaging/rpm/aurora.spec 
7cf8de6f7b99788ca461a90fc4aefba7dccd7b63 
  build-support/release/make-python-sdists 
9608f68e16243da01434ce2fc7d61bb7c7efd712 
  examples/vagrant/aurorabuild.sh fbaa6ae9ef7ff2910af8c9c0d6b8ef90ea3e152a 
  src/main/python/apache/aurora/admin/BUILD 
22bf3f9943ea11258ba681bdb80feb00206bb926 
  src/main/python/apache/aurora/admin/aurora_admin.py 
1c39717b656465bb1966073340f9fe80be01a085 
  src/main/python/apache/aurora/client/BUILD 
e73cd52289209bb9658b16bb77dc0b0a9c811a1a 
  src/main/python/apache/aurora/client/api/BUILD 
a030a67b78fc4bc4682d0df169e27efc6810dce3 
  src/main/python/apache/aurora/client/cli/BUILD 
973d05971bd940c7e38c48ce6bfbf5c8e1654c5a 
  src/main/python/apache/aurora/client/cli/client.py 
c0974f3bef59f8f7c2320398d367cb4dd9048d2b 
  src/main/python/apache/aurora/client/hooks/BUILD 
ddf813b5d2e7d63507a8e08745ebf6cb3dbac8e1 
  src/main/python/apache/aurora/common/BUILD 
abc122b0775bb17b1df67bdb946c472010219b9b 
  src/main/python/apache/aurora/common/auth/BUILD 
0abac94eeeb71e6af43ed191ea690e5f96a6be23 
  src/main/python/apache/aurora/common/auth/kerberos.py 
2d782b63b611a9d2604ef0ab1116d3e68fb86dc7 
  src/main/python/apache/aurora/config/BUILD 
0a3a93fa6bb785903f71bc067aecc79c0e45a0b5 
  src/main/python/apache/aurora/config/schema/BUILD 
171f42a24ec7ddc2846eb68b6a60e7d8dec4383b 
  src/main/python/apache/aurora/executor/BUILD 
891cbe63d23ea59a68ca99f62d29be5713c9b91d 
  src/main/python/apache/aurora/executor/bin/BUILD 
b23429ab9d1d3db1af2bb1b77f5bce30de19f34b 
  src/main/python/apache/aurora/executor/common/BUILD 
3d94792b9e3c2d0f7bb7ce42616f08947f5119ee 
  src/main/python/apache/aurora/kerberos/BUILD PRE-CREATION 
  src/main/python/apache/aurora/tools/BUILD 
9dfeb6c7e5a3796c76250aa9ff6fd4230d00cfb0 
  src/main/python/apache/thermos/BUILD 8221aa0bd4efe5f519550cba716d6a564ba9ae44 
  src/main/python/apache/thermos/bin/BUILD 
4f0cb9b67b1c3c52ec3278ce92ff0d765257796c 
  src/main/python/apache/thermos/bin/__init__.py  
  src/main/python/apache/thermos/bin/thermos_ckpt.py 
8ed69e0440b6aec85c5fa9e138215b592e9adcb1 
  src/main/python/apache/thermos/bin/thermos_runner.py  
  src/main/python/apache/thermos/cli/BUILD 
2b9bc6245718397e4cb1ba104194b167434a3112 
  src/main/python/apache/thermos/cli/bin/BUILD 
f33c7f838a6a0932abc737d0ecf7ca3a59580e2e 
  src/main/python/apache/thermos/cli/bin/thermos.py 
fcef38d33e7ca2005f35c3bdb90ffee6aeade3af 
  

Re: Review Request 36972: One python_library per exported setup.py project

2015-07-31 Thread Kevin Sweeney

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

(Updated July 31, 2015, 10:56 a.m.)


Review request for Aurora, Bill Farner and Brian Wickman.


Changes
---

Make Kerberos optional again by introducing an apache.aurora.kerberos package.


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


Repository: aurora


Description (updated)
---

Publishing this review now for early feedback, don't intend to ship until most 
of the TODOs are addressed.

This is a mostly red code diff and makes the pants build work similar to how it 
already works in an IDE environment while minimizing duplicated information. 
This change also removes the confusing versions of `thermos` and 
`thermos_observer` in favor of new ones. Because of the way covering 
dependencies were required it was easier to do this refactor than more 
tactically create a working `setup_py` target for `apache.aurora.tools` without 
cycles and without duplicated files.

* Remove the `apache.thermos` package.
* Rename the `apache.gen.aurora` package to `apache.aurora.thrift`.
* Rename the `apache.gen.thermos` package to `apache.thermos.thrift`.
* Introduce a new `apache.aurora.tools` package with the `thermos` and 
`thermos_observer` binaries.
* Create apache.thermos.runner package, rename `thermos/bin` to 
`thermos/runner`.
* Remove all `*-packaged` and virtual dependency trees, as well as the phrase 
covering dependencies.
* Use `_`-prefix naming convention for private target names.
* Replace manual list of targets in `make-python-sdists` with 
automatically-generated one (using new convention).
* Introduce a new `apache.aurora.kerberos` package with the `kaurora` and 
`kaurora_admin` binaries.
* Remove all `BUILD` files in `src/main` that don't contain an exported 
`setup.py` library (except one mentioned in TODO).
* Use dictionary syntax in `with_binaries` (TODO: replace the underscores in 
binary names with dashes?).
* Remove unused/unreachable binaries (most `bin/` dirs under `thermos/`).
* Create blank `__init__.py` files in directories that pants warns aren't 
packages.
* Added `thermos` command to vagrant image.

* TODO: Write NEWS entry


Diffs (updated)
-

  api/src/main/thrift/org/apache/aurora/gen/BUILD 
d196fefc2c5e5ee32d0cf9c901cffe7d247379d1 
  api/src/main/thrift/org/apache/thermos/BUILD 
d0d789a6ee3971e3070f9397d53929563a77f7ea 
  build-support/packaging/debian/rules 17e00c02a3cb3294d5107516d795a73587ca4f70 
  build-support/packaging/rpm/aurora.spec 
7cf8de6f7b99788ca461a90fc4aefba7dccd7b63 
  build-support/release/make-python-sdists 
9608f68e16243da01434ce2fc7d61bb7c7efd712 
  examples/vagrant/aurorabuild.sh fbaa6ae9ef7ff2910af8c9c0d6b8ef90ea3e152a 
  src/main/python/apache/aurora/admin/BUILD 
22bf3f9943ea11258ba681bdb80feb00206bb926 
  src/main/python/apache/aurora/admin/aurora_admin.py 
1c39717b656465bb1966073340f9fe80be01a085 
  src/main/python/apache/aurora/client/BUILD 
e73cd52289209bb9658b16bb77dc0b0a9c811a1a 
  src/main/python/apache/aurora/client/api/BUILD 
a030a67b78fc4bc4682d0df169e27efc6810dce3 
  src/main/python/apache/aurora/client/cli/BUILD 
973d05971bd940c7e38c48ce6bfbf5c8e1654c5a 
  src/main/python/apache/aurora/client/cli/client.py 
c0974f3bef59f8f7c2320398d367cb4dd9048d2b 
  src/main/python/apache/aurora/client/hooks/BUILD 
ddf813b5d2e7d63507a8e08745ebf6cb3dbac8e1 
  src/main/python/apache/aurora/common/BUILD 
abc122b0775bb17b1df67bdb946c472010219b9b 
  src/main/python/apache/aurora/common/auth/BUILD 
0abac94eeeb71e6af43ed191ea690e5f96a6be23 
  src/main/python/apache/aurora/common/auth/kerberos.py 
2d782b63b611a9d2604ef0ab1116d3e68fb86dc7 
  src/main/python/apache/aurora/config/BUILD 
0a3a93fa6bb785903f71bc067aecc79c0e45a0b5 
  src/main/python/apache/aurora/config/schema/BUILD 
171f42a24ec7ddc2846eb68b6a60e7d8dec4383b 
  src/main/python/apache/aurora/executor/BUILD 
891cbe63d23ea59a68ca99f62d29be5713c9b91d 
  src/main/python/apache/aurora/executor/bin/BUILD 
b23429ab9d1d3db1af2bb1b77f5bce30de19f34b 
  src/main/python/apache/aurora/executor/common/BUILD 
3d94792b9e3c2d0f7bb7ce42616f08947f5119ee 
  src/main/python/apache/aurora/kerberos/BUILD PRE-CREATION 
  src/main/python/apache/aurora/tools/BUILD 
9dfeb6c7e5a3796c76250aa9ff6fd4230d00cfb0 
  src/main/python/apache/thermos/BUILD 8221aa0bd4efe5f519550cba716d6a564ba9ae44 
  src/main/python/apache/thermos/bin/BUILD 
4f0cb9b67b1c3c52ec3278ce92ff0d765257796c 
  src/main/python/apache/thermos/bin/__init__.py  
  src/main/python/apache/thermos/bin/thermos_ckpt.py 
8ed69e0440b6aec85c5fa9e138215b592e9adcb1 
  src/main/python/apache/thermos/bin/thermos_runner.py  
  src/main/python/apache/thermos/cli/BUILD 
2b9bc6245718397e4cb1ba104194b167434a3112 
  src/main/python/apache/thermos/cli/bin/BUILD 
f33c7f838a6a0932abc737d0ecf7ca3a59580e2e 
  

Re: Review Request 36972: One python_library per exported setup.py project

2015-07-31 Thread Kevin Sweeney


 On July 31, 2015, 10:19 a.m., Brian Wickman wrote:
  src/main/python/apache/aurora/common/BUILD, line 61
  https://reviews.apache.org/r/36972/diff/2/?file=1025868#file1025868line61
 
  This is probably the toughest one to swallow.  Pulling in aurora.common 
  just for aurora_job_key now requires a native dependency (kerberos via 
  requests-kerberos.)
  
  I'd rather see auth get pulled into a top-level package (i.e. 
  aurora.auth) than see it taint aurora.common with a number of heavyweight 
  dependencies.

I've extracted an `apache.aurora.kerberos` package that provides the Kerberized 
client and admin client and moved the Kerberos dependency there.


- Kevin


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


On July 31, 2015, 10:56 a.m., Kevin Sweeney wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://reviews.apache.org/r/36972/
 ---
 
 (Updated July 31, 2015, 10:56 a.m.)
 
 
 Review request for Aurora, Bill Farner and Brian Wickman.
 
 
 Bugs: AURORA-1381
 https://issues.apache.org/jira/browse/AURORA-1381
 
 
 Repository: aurora
 
 
 Description
 ---
 
 Publishing this review now for early feedback, don't intend to ship until 
 most of the TODOs are addressed.
 
 This is a mostly red code diff and makes the pants build work similar to how 
 it already works in an IDE environment while minimizing duplicated 
 information. This change also removes the confusing versions of `thermos` and 
 `thermos_observer` in favor of new ones. Because of the way covering 
 dependencies were required it was easier to do this refactor than more 
 tactically create a working `setup_py` target for `apache.aurora.tools` 
 without cycles and without duplicated files.
 
 * Remove the `apache.thermos` package.
 * Rename the `apache.gen.aurora` package to `apache.aurora.thrift`.
 * Rename the `apache.gen.thermos` package to `apache.thermos.thrift`.
 * Introduce a new `apache.aurora.tools` package with the `thermos` and 
 `thermos_observer` binaries.
 * Create apache.thermos.runner package, rename `thermos/bin` to 
 `thermos/runner`.
 * Remove all `*-packaged` and virtual dependency trees, as well as the phrase 
 covering dependencies.
 * Use `_`-prefix naming convention for private target names.
 * Replace manual list of targets in `make-python-sdists` with 
 automatically-generated one (using new convention).
 * Introduce a new `apache.aurora.kerberos` package with the `kaurora` and 
 `kaurora_admin` binaries.
 * Remove all `BUILD` files in `src/main` that don't contain an exported 
 `setup.py` library (except one mentioned in TODO).
 * Use dictionary syntax in `with_binaries` (TODO: replace the underscores in 
 binary names with dashes?).
 * Remove unused/unreachable binaries (most `bin/` dirs under `thermos/`).
 * Create blank `__init__.py` files in directories that pants warns aren't 
 packages.
 * Added `thermos` command to vagrant image.
 
 * TODO: Write NEWS entry
 
 
 Diffs
 -
 
   api/src/main/thrift/org/apache/aurora/gen/BUILD 
 d196fefc2c5e5ee32d0cf9c901cffe7d247379d1 
   api/src/main/thrift/org/apache/thermos/BUILD 
 d0d789a6ee3971e3070f9397d53929563a77f7ea 
   build-support/packaging/debian/rules 
 17e00c02a3cb3294d5107516d795a73587ca4f70 
   build-support/packaging/rpm/aurora.spec 
 7cf8de6f7b99788ca461a90fc4aefba7dccd7b63 
   build-support/release/make-python-sdists 
 9608f68e16243da01434ce2fc7d61bb7c7efd712 
   examples/vagrant/aurorabuild.sh fbaa6ae9ef7ff2910af8c9c0d6b8ef90ea3e152a 
   src/main/python/apache/aurora/admin/BUILD 
 22bf3f9943ea11258ba681bdb80feb00206bb926 
   src/main/python/apache/aurora/admin/aurora_admin.py 
 1c39717b656465bb1966073340f9fe80be01a085 
   src/main/python/apache/aurora/client/BUILD 
 e73cd52289209bb9658b16bb77dc0b0a9c811a1a 
   src/main/python/apache/aurora/client/api/BUILD 
 a030a67b78fc4bc4682d0df169e27efc6810dce3 
   src/main/python/apache/aurora/client/cli/BUILD 
 973d05971bd940c7e38c48ce6bfbf5c8e1654c5a 
   src/main/python/apache/aurora/client/cli/client.py 
 c0974f3bef59f8f7c2320398d367cb4dd9048d2b 
   src/main/python/apache/aurora/client/hooks/BUILD 
 ddf813b5d2e7d63507a8e08745ebf6cb3dbac8e1 
   src/main/python/apache/aurora/common/BUILD 
 abc122b0775bb17b1df67bdb946c472010219b9b 
   src/main/python/apache/aurora/common/auth/BUILD 
 0abac94eeeb71e6af43ed191ea690e5f96a6be23 
   src/main/python/apache/aurora/common/auth/kerberos.py 
 2d782b63b611a9d2604ef0ab1116d3e68fb86dc7 
   src/main/python/apache/aurora/config/BUILD 
 0a3a93fa6bb785903f71bc067aecc79c0e45a0b5 
   src/main/python/apache/aurora/config/schema/BUILD 
 171f42a24ec7ddc2846eb68b6a60e7d8dec4383b 
   src/main/python/apache/aurora/executor/BUILD 
 

Re: Review Request 36972: One python_library per exported setup.py project

2015-07-31 Thread Bill Farner


 On July 31, 2015, 4:01 p.m., Maxim Khutornenko wrote:
  src/main/python/apache/aurora/admin/BUILD, lines 84-92
  https://reviews.apache.org/r/36972/diff/2/?file=1025863#file1025863line84
 
  Are we completely abondoning the idea of having a non-kerberized client 
  version with this? This was one of the sticking points in 
  https://reviews.apache.org/r/32541/.
 
 Bill Farner wrote:
 FWIW i think we should indeed abandon that idea.  The goal of 
 reducing/eliminating native dependncies is a good one, but i don't find it 
 beneficial to distribute different builds based on the features present.
 
 Kevin Sweeney wrote:
 Given where this was factored it would've added a new native dependency 
 to the executor which could complicate our already not-great deployment 
 story. I've kicked it into its own package for now but happy to revisit in 
 another diff.

Yes - tangential discussion.  Avoiding taking the new/unnecessary dep in other 
components is important.


- Bill


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


On July 31, 2015, 6:03 p.m., Kevin Sweeney wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://reviews.apache.org/r/36972/
 ---
 
 (Updated July 31, 2015, 6:03 p.m.)
 
 
 Review request for Aurora, Bill Farner and Brian Wickman.
 
 
 Bugs: AURORA-1381
 https://issues.apache.org/jira/browse/AURORA-1381
 
 
 Repository: aurora
 
 
 Description
 ---
 
 Publishing this review now for early feedback, don't intend to ship until 
 most of the TODOs are addressed.
 
 This is a mostly red code diff and makes the pants build work similar to how 
 it already works in an IDE environment while minimizing duplicated 
 information. This change also removes the confusing versions of `thermos` and 
 `thermos_observer` in favor of new ones. Because of the way covering 
 dependencies were required it was easier to do this refactor than more 
 tactically create a working `setup_py` target for `apache.aurora.tools` 
 without cycles and without duplicated files.
 
 * Remove the `apache.thermos` package.
 * Rename the `apache.gen.aurora` package to `apache.aurora.thrift`.
 * Rename the `apache.gen.thermos` package to `apache.thermos.thrift`.
 * Introduce a new `apache.aurora.tools` package with the `thermos` and 
 `thermos_observer` binaries.
 * Create apache.thermos.runner package, rename `thermos/bin` to 
 `thermos/runner`.
 * Remove all `*-packaged` and virtual dependency trees, as well as the phrase 
 covering dependencies.
 * Use `_`-prefix naming convention for private target names.
 * Replace manual list of targets in `make-python-sdists` with 
 automatically-generated one (using new convention).
 * Introduce a new `apache.aurora.kerberos` package with the `kaurora` and 
 `kaurora_admin` binaries.
 * Remove all `BUILD` files in `src/main` that don't contain an exported 
 `setup.py` library (except one mentioned in TODO).
 * Use dictionary syntax in `with_binaries` (TODO: replace the underscores in 
 binary names with dashes?).
 * Remove unused/unreachable binaries (most `bin/` dirs under `thermos/`).
 * Create blank `__init__.py` files in directories that pants warns aren't 
 packages.
 * Added `thermos` command to vagrant image.
 
 * TODO: Write NEWS entry
 
 
 Diffs
 -
 
   api/src/main/thrift/org/apache/aurora/gen/BUILD 
 d196fefc2c5e5ee32d0cf9c901cffe7d247379d1 
   api/src/main/thrift/org/apache/thermos/BUILD 
 d0d789a6ee3971e3070f9397d53929563a77f7ea 
   build-support/packaging/debian/rules 
 17e00c02a3cb3294d5107516d795a73587ca4f70 
   build-support/packaging/rpm/aurora.spec 
 7cf8de6f7b99788ca461a90fc4aefba7dccd7b63 
   build-support/release/make-python-sdists 
 9608f68e16243da01434ce2fc7d61bb7c7efd712 
   examples/vagrant/aurorabuild.sh fbaa6ae9ef7ff2910af8c9c0d6b8ef90ea3e152a 
   src/main/python/apache/aurora/admin/BUILD 
 22bf3f9943ea11258ba681bdb80feb00206bb926 
   src/main/python/apache/aurora/admin/aurora_admin.py 
 1c39717b656465bb1966073340f9fe80be01a085 
   src/main/python/apache/aurora/client/BUILD 
 e73cd52289209bb9658b16bb77dc0b0a9c811a1a 
   src/main/python/apache/aurora/client/api/BUILD 
 a030a67b78fc4bc4682d0df169e27efc6810dce3 
   src/main/python/apache/aurora/client/cli/BUILD 
 973d05971bd940c7e38c48ce6bfbf5c8e1654c5a 
   src/main/python/apache/aurora/client/cli/client.py 
 c0974f3bef59f8f7c2320398d367cb4dd9048d2b 
   src/main/python/apache/aurora/client/hooks/BUILD 
 ddf813b5d2e7d63507a8e08745ebf6cb3dbac8e1 
   src/main/python/apache/aurora/common/BUILD 
 abc122b0775bb17b1df67bdb946c472010219b9b 
   src/main/python/apache/aurora/common/auth/BUILD 
 0abac94eeeb71e6af43ed191ea690e5f96a6be23 
   

Re: Review Request 36972: One python_library per exported setup.py project

2015-07-31 Thread Brian Wickman

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


I think it makes sense to split into two binary-exporting packages: one 
client-side and one server-side.  The client side (aurora.client) should 
contain aurora client and aurora admin client. The server-side (reuse 
aurora.executor?) should contain aurora executor, thermos cli, thermos observer 
and thermos runner.

- Brian Wickman


On July 31, 2015, 10:03 p.m., Kevin Sweeney wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://reviews.apache.org/r/36972/
 ---
 
 (Updated July 31, 2015, 10:03 p.m.)
 
 
 Review request for Aurora, Bill Farner and Brian Wickman.
 
 
 Bugs: AURORA-1381
 https://issues.apache.org/jira/browse/AURORA-1381
 
 
 Repository: aurora
 
 
 Description
 ---
 
 Publishing this review now for early feedback, don't intend to ship until 
 most of the TODOs are addressed.
 
 This is a mostly red code diff and makes the pants build work similar to how 
 it already works in an IDE environment while minimizing duplicated 
 information. This change also removes the confusing versions of `thermos` and 
 `thermos_observer` in favor of new ones. Because of the way covering 
 dependencies were required it was easier to do this refactor than more 
 tactically create a working `setup_py` target for `apache.aurora.tools` 
 without cycles and without duplicated files.
 
 * Remove the `apache.thermos` package.
 * Rename the `apache.gen.aurora` package to `apache.aurora.thrift`.
 * Rename the `apache.gen.thermos` package to `apache.thermos.thrift`.
 * Introduce a new `apache.aurora.tools` package with the `thermos` and 
 `thermos_observer` binaries.
 * Create apache.thermos.runner package, rename `thermos/bin` to 
 `thermos/runner`.
 * Remove all `*-packaged` and virtual dependency trees, as well as the phrase 
 covering dependencies.
 * Use `_`-prefix naming convention for private target names.
 * Replace manual list of targets in `make-python-sdists` with 
 automatically-generated one (using new convention).
 * Introduce a new `apache.aurora.kerberos` package with the `kaurora` and 
 `kaurora_admin` binaries.
 * Remove all `BUILD` files in `src/main` that don't contain an exported 
 `setup.py` library (except one mentioned in TODO).
 * Use dictionary syntax in `with_binaries` (TODO: replace the underscores in 
 binary names with dashes?).
 * Remove unused/unreachable binaries (most `bin/` dirs under `thermos/`).
 * Create blank `__init__.py` files in directories that pants warns aren't 
 packages.
 * Added `thermos` command to vagrant image.
 
 * TODO: Write NEWS entry
 
 
 Diffs
 -
 
   api/src/main/thrift/org/apache/aurora/gen/BUILD 
 d196fefc2c5e5ee32d0cf9c901cffe7d247379d1 
   api/src/main/thrift/org/apache/thermos/BUILD 
 d0d789a6ee3971e3070f9397d53929563a77f7ea 
   build-support/packaging/debian/rules 
 17e00c02a3cb3294d5107516d795a73587ca4f70 
   build-support/packaging/rpm/aurora.spec 
 7cf8de6f7b99788ca461a90fc4aefba7dccd7b63 
   build-support/release/make-python-sdists 
 9608f68e16243da01434ce2fc7d61bb7c7efd712 
   examples/vagrant/aurorabuild.sh fbaa6ae9ef7ff2910af8c9c0d6b8ef90ea3e152a 
   src/main/python/apache/aurora/admin/BUILD 
 22bf3f9943ea11258ba681bdb80feb00206bb926 
   src/main/python/apache/aurora/admin/aurora_admin.py 
 1c39717b656465bb1966073340f9fe80be01a085 
   src/main/python/apache/aurora/client/BUILD 
 e73cd52289209bb9658b16bb77dc0b0a9c811a1a 
   src/main/python/apache/aurora/client/api/BUILD 
 a030a67b78fc4bc4682d0df169e27efc6810dce3 
   src/main/python/apache/aurora/client/cli/BUILD 
 973d05971bd940c7e38c48ce6bfbf5c8e1654c5a 
   src/main/python/apache/aurora/client/cli/client.py 
 c0974f3bef59f8f7c2320398d367cb4dd9048d2b 
   src/main/python/apache/aurora/client/hooks/BUILD 
 ddf813b5d2e7d63507a8e08745ebf6cb3dbac8e1 
   src/main/python/apache/aurora/common/BUILD 
 abc122b0775bb17b1df67bdb946c472010219b9b 
   src/main/python/apache/aurora/common/auth/BUILD 
 0abac94eeeb71e6af43ed191ea690e5f96a6be23 
   src/main/python/apache/aurora/common/auth/kerberos.py 
 2d782b63b611a9d2604ef0ab1116d3e68fb86dc7 
   src/main/python/apache/aurora/config/BUILD 
 0a3a93fa6bb785903f71bc067aecc79c0e45a0b5 
   src/main/python/apache/aurora/config/schema/BUILD 
 171f42a24ec7ddc2846eb68b6a60e7d8dec4383b 
   src/main/python/apache/aurora/executor/BUILD 
 891cbe63d23ea59a68ca99f62d29be5713c9b91d 
   src/main/python/apache/aurora/executor/bin/BUILD 
 b23429ab9d1d3db1af2bb1b77f5bce30de19f34b 
   src/main/python/apache/aurora/executor/common/BUILD 
 3d94792b9e3c2d0f7bb7ce42616f08947f5119ee 
   src/main/python/apache/aurora/kerberos/BUILD PRE-CREATION 
   src/main/python/apache/aurora/tools/BUILD 
 

Re: Review Request 36972: One python_library per exported setup.py project

2015-07-31 Thread Kevin Sweeney

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

(Updated July 31, 2015, 3:30 p.m.)


Review request for Aurora, Bill Farner and Brian Wickman.


Changes
---

NEWS entry.


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


Repository: aurora


Description (updated)
---

Publishing this review now for early feedback, don't intend to ship until most 
of the TODOs are addressed.

This is a mostly red code diff and makes the pants build work similar to how it 
already works in an IDE environment while minimizing duplicated information. 
This change also removes the confusing versions of `thermos` and 
`thermos_observer` in favor of new ones. Because of the way covering 
dependencies were required it was easier to do this refactor than more 
tactically create a working `setup_py` target for `apache.aurora.tools` without 
cycles and without duplicated files.

* Remove the `apache.thermos` package.
* Rename the `apache.gen.aurora` package to `apache.aurora.thrift`.
* Rename the `apache.gen.thermos` package to `apache.thermos.thrift`.
* Introduce a new `apache.aurora.tools` package with the `thermos` and 
`thermos_observer` binaries.
* Create apache.thermos.runner package, rename `thermos/bin` to 
`thermos/runner`.
* Remove all `*-packaged` and virtual dependency trees, as well as the phrase 
covering dependencies.
* Use `_`-prefix naming convention for private target names.
* Replace manual list of targets in `make-python-sdists` with 
automatically-generated one (using new convention).
* Introduce a new `apache.aurora.kerberos` package with the `kaurora` and 
`kaurora_admin` binaries.
* Remove all `BUILD` files in `src/main` that don't contain an exported 
`setup.py` library (except one mentioned in TODO).
* Use dictionary syntax in `with_binaries`.
* Remove unused/unreachable binaries (most `bin/` dirs under `thermos/`).
* Create blank `__init__.py` files in directories that pants warns aren't 
packages.
* Added `thermos` command to vagrant image.


Diffs (updated)
-

  NEWS 0a8500c524a92eaf51384125687128d2fbbb0b53 
  api/src/main/thrift/org/apache/aurora/gen/BUILD 
d196fefc2c5e5ee32d0cf9c901cffe7d247379d1 
  api/src/main/thrift/org/apache/thermos/BUILD 
d0d789a6ee3971e3070f9397d53929563a77f7ea 
  build-support/packaging/debian/rules 17e00c02a3cb3294d5107516d795a73587ca4f70 
  build-support/packaging/rpm/aurora.spec 
7cf8de6f7b99788ca461a90fc4aefba7dccd7b63 
  build-support/release/make-python-sdists 
9608f68e16243da01434ce2fc7d61bb7c7efd712 
  examples/vagrant/aurorabuild.sh fbaa6ae9ef7ff2910af8c9c0d6b8ef90ea3e152a 
  src/main/python/apache/aurora/admin/BUILD 
22bf3f9943ea11258ba681bdb80feb00206bb926 
  src/main/python/apache/aurora/admin/aurora_admin.py 
1c39717b656465bb1966073340f9fe80be01a085 
  src/main/python/apache/aurora/client/BUILD 
e73cd52289209bb9658b16bb77dc0b0a9c811a1a 
  src/main/python/apache/aurora/client/api/BUILD 
a030a67b78fc4bc4682d0df169e27efc6810dce3 
  src/main/python/apache/aurora/client/cli/BUILD 
973d05971bd940c7e38c48ce6bfbf5c8e1654c5a 
  src/main/python/apache/aurora/client/cli/client.py 
c0974f3bef59f8f7c2320398d367cb4dd9048d2b 
  src/main/python/apache/aurora/client/hooks/BUILD 
ddf813b5d2e7d63507a8e08745ebf6cb3dbac8e1 
  src/main/python/apache/aurora/common/BUILD 
abc122b0775bb17b1df67bdb946c472010219b9b 
  src/main/python/apache/aurora/common/auth/BUILD 
0abac94eeeb71e6af43ed191ea690e5f96a6be23 
  src/main/python/apache/aurora/common/auth/kerberos.py 
2d782b63b611a9d2604ef0ab1116d3e68fb86dc7 
  src/main/python/apache/aurora/config/BUILD 
0a3a93fa6bb785903f71bc067aecc79c0e45a0b5 
  src/main/python/apache/aurora/config/schema/BUILD 
171f42a24ec7ddc2846eb68b6a60e7d8dec4383b 
  src/main/python/apache/aurora/executor/BUILD 
891cbe63d23ea59a68ca99f62d29be5713c9b91d 
  src/main/python/apache/aurora/executor/bin/BUILD 
b23429ab9d1d3db1af2bb1b77f5bce30de19f34b 
  src/main/python/apache/aurora/executor/common/BUILD 
3d94792b9e3c2d0f7bb7ce42616f08947f5119ee 
  src/main/python/apache/aurora/kerberos/BUILD PRE-CREATION 
  src/main/python/apache/aurora/tools/BUILD 
9dfeb6c7e5a3796c76250aa9ff6fd4230d00cfb0 
  src/main/python/apache/thermos/BUILD 8221aa0bd4efe5f519550cba716d6a564ba9ae44 
  src/main/python/apache/thermos/bin/BUILD 
4f0cb9b67b1c3c52ec3278ce92ff0d765257796c 
  src/main/python/apache/thermos/bin/__init__.py  
  src/main/python/apache/thermos/bin/thermos_ckpt.py 
8ed69e0440b6aec85c5fa9e138215b592e9adcb1 
  src/main/python/apache/thermos/bin/thermos_runner.py  
  src/main/python/apache/thermos/cli/BUILD 
2b9bc6245718397e4cb1ba104194b167434a3112 
  src/main/python/apache/thermos/cli/bin/BUILD 
f33c7f838a6a0932abc737d0ecf7ca3a59580e2e 
  src/main/python/apache/thermos/cli/bin/thermos.py 
fcef38d33e7ca2005f35c3bdb90ffee6aeade3af 
  src/main/python/apache/thermos/cli/commands/BUILD 

Re: Review Request 36972: One python_library per exported setup.py project

2015-07-31 Thread Kevin Sweeney


 On July 31, 2015, 3:21 p.m., Brian Wickman wrote:
  I think it makes sense to split into two binary-exporting packages: one 
  client-side and one server-side.  The client side (aurora.client) should 
  contain aurora client and aurora admin client. The server-side (reuse 
  aurora.executor?) should contain aurora executor, thermos cli, thermos 
  observer and thermos runner.

I like this suggestion and would like to refactor the code to fit it into this 
framework. Would you accept that in a follow-up review?

Specifically there would then be 3 top-level packages (5 if you count the 
thrift API bindings, which I would also like to export to allow folks to write 
clients)

```
src/main/python/apache/aurora
  common/
  client/
  executor/
```

```
% pip install apache.aurora.executor
# thermos
# thermos-executor
# thermos-observer
# thermos-runner

% pip install apache.aurora.client
# aurora
# aurora-admin
```

Everything else would remain more-or-less organized the same but move to a 
subpackage of one of the top-level targets. The rule is simple - if both 
server-side and client-side import something it goes under common/, otherwise 
it goes under client/ or executor/ as appropriate.


- Kevin


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


On July 31, 2015, 3:30 p.m., Kevin Sweeney wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://reviews.apache.org/r/36972/
 ---
 
 (Updated July 31, 2015, 3:30 p.m.)
 
 
 Review request for Aurora, Bill Farner and Brian Wickman.
 
 
 Bugs: AURORA-1381
 https://issues.apache.org/jira/browse/AURORA-1381
 
 
 Repository: aurora
 
 
 Description
 ---
 
 Publishing this review now for early feedback, don't intend to ship until 
 most of the TODOs are addressed.
 
 This is a mostly red code diff and makes the pants build work similar to how 
 it already works in an IDE environment while minimizing duplicated 
 information. This change also removes the confusing versions of `thermos` and 
 `thermos_observer` in favor of new ones. Because of the way covering 
 dependencies were required it was easier to do this refactor than more 
 tactically create a working `setup_py` target for `apache.aurora.tools` 
 without cycles and without duplicated files.
 
 * Remove the `apache.thermos` package.
 * Rename the `apache.gen.aurora` package to `apache.aurora.thrift`.
 * Rename the `apache.gen.thermos` package to `apache.thermos.thrift`.
 * Introduce a new `apache.aurora.tools` package with the `thermos` and 
 `thermos_observer` binaries.
 * Create apache.thermos.runner package, rename `thermos/bin` to 
 `thermos/runner`.
 * Remove all `*-packaged` and virtual dependency trees, as well as the phrase 
 covering dependencies.
 * Use `_`-prefix naming convention for private target names.
 * Replace manual list of targets in `make-python-sdists` with 
 automatically-generated one (using new convention).
 * Introduce a new `apache.aurora.kerberos` package with the `kaurora` and 
 `kaurora_admin` binaries.
 * Remove all `BUILD` files in `src/main` that don't contain an exported 
 `setup.py` library (except one mentioned in TODO).
 * Use dictionary syntax in `with_binaries`.
 * Remove unused/unreachable binaries (most `bin/` dirs under `thermos/`).
 * Create blank `__init__.py` files in directories that pants warns aren't 
 packages.
 * Added `thermos` command to vagrant image.
 
 
 Diffs
 -
 
   NEWS 0a8500c524a92eaf51384125687128d2fbbb0b53 
   api/src/main/thrift/org/apache/aurora/gen/BUILD 
 d196fefc2c5e5ee32d0cf9c901cffe7d247379d1 
   api/src/main/thrift/org/apache/thermos/BUILD 
 d0d789a6ee3971e3070f9397d53929563a77f7ea 
   build-support/packaging/debian/rules 
 17e00c02a3cb3294d5107516d795a73587ca4f70 
   build-support/packaging/rpm/aurora.spec 
 7cf8de6f7b99788ca461a90fc4aefba7dccd7b63 
   build-support/release/make-python-sdists 
 9608f68e16243da01434ce2fc7d61bb7c7efd712 
   examples/vagrant/aurorabuild.sh fbaa6ae9ef7ff2910af8c9c0d6b8ef90ea3e152a 
   src/main/python/apache/aurora/admin/BUILD 
 22bf3f9943ea11258ba681bdb80feb00206bb926 
   src/main/python/apache/aurora/admin/aurora_admin.py 
 1c39717b656465bb1966073340f9fe80be01a085 
   src/main/python/apache/aurora/client/BUILD 
 e73cd52289209bb9658b16bb77dc0b0a9c811a1a 
   src/main/python/apache/aurora/client/api/BUILD 
 a030a67b78fc4bc4682d0df169e27efc6810dce3 
   src/main/python/apache/aurora/client/cli/BUILD 
 973d05971bd940c7e38c48ce6bfbf5c8e1654c5a 
   src/main/python/apache/aurora/client/cli/client.py 
 c0974f3bef59f8f7c2320398d367cb4dd9048d2b 
   src/main/python/apache/aurora/client/hooks/BUILD 
 ddf813b5d2e7d63507a8e08745ebf6cb3dbac8e1 
   src/main/python/apache/aurora/common/BUILD 
 

Re: Review Request 36972: One python_library per exported setup.py project

2015-07-31 Thread Aurora ReviewBot

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


Master (6cab9c5) is green with this patch.
  ./build-support/jenkins/build.sh

However, it appears that it might lack test coverage.

I will refresh this build result if you post a review containing @ReviewBot 
retry

- Aurora ReviewBot


On July 31, 2015, 10:03 p.m., Kevin Sweeney wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://reviews.apache.org/r/36972/
 ---
 
 (Updated July 31, 2015, 10:03 p.m.)
 
 
 Review request for Aurora, Bill Farner and Brian Wickman.
 
 
 Bugs: AURORA-1381
 https://issues.apache.org/jira/browse/AURORA-1381
 
 
 Repository: aurora
 
 
 Description
 ---
 
 Publishing this review now for early feedback, don't intend to ship until 
 most of the TODOs are addressed.
 
 This is a mostly red code diff and makes the pants build work similar to how 
 it already works in an IDE environment while minimizing duplicated 
 information. This change also removes the confusing versions of `thermos` and 
 `thermos_observer` in favor of new ones. Because of the way covering 
 dependencies were required it was easier to do this refactor than more 
 tactically create a working `setup_py` target for `apache.aurora.tools` 
 without cycles and without duplicated files.
 
 * Remove the `apache.thermos` package.
 * Rename the `apache.gen.aurora` package to `apache.aurora.thrift`.
 * Rename the `apache.gen.thermos` package to `apache.thermos.thrift`.
 * Introduce a new `apache.aurora.tools` package with the `thermos` and 
 `thermos_observer` binaries.
 * Create apache.thermos.runner package, rename `thermos/bin` to 
 `thermos/runner`.
 * Remove all `*-packaged` and virtual dependency trees, as well as the phrase 
 covering dependencies.
 * Use `_`-prefix naming convention for private target names.
 * Replace manual list of targets in `make-python-sdists` with 
 automatically-generated one (using new convention).
 * Introduce a new `apache.aurora.kerberos` package with the `kaurora` and 
 `kaurora_admin` binaries.
 * Remove all `BUILD` files in `src/main` that don't contain an exported 
 `setup.py` library (except one mentioned in TODO).
 * Use dictionary syntax in `with_binaries` (TODO: replace the underscores in 
 binary names with dashes?).
 * Remove unused/unreachable binaries (most `bin/` dirs under `thermos/`).
 * Create blank `__init__.py` files in directories that pants warns aren't 
 packages.
 * Added `thermos` command to vagrant image.
 
 * TODO: Write NEWS entry
 
 
 Diffs
 -
 
   api/src/main/thrift/org/apache/aurora/gen/BUILD 
 d196fefc2c5e5ee32d0cf9c901cffe7d247379d1 
   api/src/main/thrift/org/apache/thermos/BUILD 
 d0d789a6ee3971e3070f9397d53929563a77f7ea 
   build-support/packaging/debian/rules 
 17e00c02a3cb3294d5107516d795a73587ca4f70 
   build-support/packaging/rpm/aurora.spec 
 7cf8de6f7b99788ca461a90fc4aefba7dccd7b63 
   build-support/release/make-python-sdists 
 9608f68e16243da01434ce2fc7d61bb7c7efd712 
   examples/vagrant/aurorabuild.sh fbaa6ae9ef7ff2910af8c9c0d6b8ef90ea3e152a 
   src/main/python/apache/aurora/admin/BUILD 
 22bf3f9943ea11258ba681bdb80feb00206bb926 
   src/main/python/apache/aurora/admin/aurora_admin.py 
 1c39717b656465bb1966073340f9fe80be01a085 
   src/main/python/apache/aurora/client/BUILD 
 e73cd52289209bb9658b16bb77dc0b0a9c811a1a 
   src/main/python/apache/aurora/client/api/BUILD 
 a030a67b78fc4bc4682d0df169e27efc6810dce3 
   src/main/python/apache/aurora/client/cli/BUILD 
 973d05971bd940c7e38c48ce6bfbf5c8e1654c5a 
   src/main/python/apache/aurora/client/cli/client.py 
 c0974f3bef59f8f7c2320398d367cb4dd9048d2b 
   src/main/python/apache/aurora/client/hooks/BUILD 
 ddf813b5d2e7d63507a8e08745ebf6cb3dbac8e1 
   src/main/python/apache/aurora/common/BUILD 
 abc122b0775bb17b1df67bdb946c472010219b9b 
   src/main/python/apache/aurora/common/auth/BUILD 
 0abac94eeeb71e6af43ed191ea690e5f96a6be23 
   src/main/python/apache/aurora/common/auth/kerberos.py 
 2d782b63b611a9d2604ef0ab1116d3e68fb86dc7 
   src/main/python/apache/aurora/config/BUILD 
 0a3a93fa6bb785903f71bc067aecc79c0e45a0b5 
   src/main/python/apache/aurora/config/schema/BUILD 
 171f42a24ec7ddc2846eb68b6a60e7d8dec4383b 
   src/main/python/apache/aurora/executor/BUILD 
 891cbe63d23ea59a68ca99f62d29be5713c9b91d 
   src/main/python/apache/aurora/executor/bin/BUILD 
 b23429ab9d1d3db1af2bb1b77f5bce30de19f34b 
   src/main/python/apache/aurora/executor/common/BUILD 
 3d94792b9e3c2d0f7bb7ce42616f08947f5119ee 
   src/main/python/apache/aurora/kerberos/BUILD PRE-CREATION 
   src/main/python/apache/aurora/tools/BUILD 
 9dfeb6c7e5a3796c76250aa9ff6fd4230d00cfb0 
   src/main/python/apache/thermos/BUILD 
 

Re: Review Request 36972: One python_library per exported setup.py project

2015-07-31 Thread Joshua Cohen


 On July 31, 2015, 10:57 p.m., Joshua Cohen wrote:
  I'm -1 to shipping without something under docs/ explaining this 
  organizational structure.
 
 Bill Farner wrote:
 maybe a README.md under `src/main/python/apache` instead?
 
 Kevin Sweeney wrote:
 I've added a new file docs/build-system.md

Thanks!


- Joshua


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


On July 31, 2015, 11:22 p.m., Kevin Sweeney wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://reviews.apache.org/r/36972/
 ---
 
 (Updated July 31, 2015, 11:22 p.m.)
 
 
 Review request for Aurora, Bill Farner and Brian Wickman.
 
 
 Bugs: AURORA-1381
 https://issues.apache.org/jira/browse/AURORA-1381
 
 
 Repository: aurora
 
 
 Description
 ---
 
 This is a mostly red code diff and makes the pants build work similar to how 
 it already works in an IDE environment while minimizing duplicated 
 information. This change also removes the confusing versions of `thermos` and 
 `thermos_observer` in favor of new ones. Because of the way covering 
 dependencies were required it was easier to do this refactor than more 
 tactically create a working `setup_py` target for `apache.aurora.tools` 
 without cycles and without duplicated files.
 
 * Remove the `apache.thermos` package.
 * Rename the `apache.gen.aurora` package to `apache.aurora.thrift`.
 * Rename the `apache.gen.thermos` package to `apache.thermos.thrift`.
 * Introduce a new `apache.aurora.tools` package with the `thermos` and 
 `thermos_observer` binaries.
 * Create apache.thermos.runner package, rename `thermos/bin` to 
 `thermos/runner`.
 * Remove all `*-packaged` and virtual dependency trees, as well as the phrase 
 covering dependencies.
 * Use `_`-prefix naming convention for private target names.
 * Replace manual list of targets in `make-python-sdists` with 
 automatically-generated one (using new convention).
 * Introduce a new `apache.aurora.kerberos` package with the `kaurora` and 
 `kaurora_admin` binaries.
 * Remove all `BUILD` files in `src/main` that don't contain an exported 
 `setup.py` library (except one mentioned in TODO).
 * Use dictionary syntax in `with_binaries`.
 * Remove unused/unreachable binaries (most `bin/` dirs under `thermos/`).
 * Create blank `__init__.py` files in directories that pants warns aren't 
 packages.
 * Added `thermos` command to vagrant image.
 
 
 Diffs
 -
 
   NEWS 0a8500c524a92eaf51384125687128d2fbbb0b53 
   api/src/main/thrift/org/apache/aurora/gen/BUILD 
 d196fefc2c5e5ee32d0cf9c901cffe7d247379d1 
   api/src/main/thrift/org/apache/thermos/BUILD 
 d0d789a6ee3971e3070f9397d53929563a77f7ea 
   build-support/packaging/debian/rules 
 17e00c02a3cb3294d5107516d795a73587ca4f70 
   build-support/packaging/rpm/aurora.spec 
 7cf8de6f7b99788ca461a90fc4aefba7dccd7b63 
   build-support/release/make-python-sdists 
 9608f68e16243da01434ce2fc7d61bb7c7efd712 
   docs/README.md 9893763cb75faf1aeb66ed905e9f696d4b532d16 
   docs/build-system.md PRE-CREATION 
   examples/vagrant/aurorabuild.sh fbaa6ae9ef7ff2910af8c9c0d6b8ef90ea3e152a 
   src/main/python/apache/aurora/admin/BUILD 
 22bf3f9943ea11258ba681bdb80feb00206bb926 
   src/main/python/apache/aurora/admin/aurora_admin.py 
 1c39717b656465bb1966073340f9fe80be01a085 
   src/main/python/apache/aurora/client/BUILD 
 e73cd52289209bb9658b16bb77dc0b0a9c811a1a 
   src/main/python/apache/aurora/client/api/BUILD 
 a030a67b78fc4bc4682d0df169e27efc6810dce3 
   src/main/python/apache/aurora/client/cli/BUILD 
 973d05971bd940c7e38c48ce6bfbf5c8e1654c5a 
   src/main/python/apache/aurora/client/cli/client.py 
 c0974f3bef59f8f7c2320398d367cb4dd9048d2b 
   src/main/python/apache/aurora/client/hooks/BUILD 
 ddf813b5d2e7d63507a8e08745ebf6cb3dbac8e1 
   src/main/python/apache/aurora/common/BUILD 
 abc122b0775bb17b1df67bdb946c472010219b9b 
   src/main/python/apache/aurora/common/auth/BUILD 
 0abac94eeeb71e6af43ed191ea690e5f96a6be23 
   src/main/python/apache/aurora/common/auth/kerberos.py 
 2d782b63b611a9d2604ef0ab1116d3e68fb86dc7 
   src/main/python/apache/aurora/config/BUILD 
 0a3a93fa6bb785903f71bc067aecc79c0e45a0b5 
   src/main/python/apache/aurora/config/schema/BUILD 
 171f42a24ec7ddc2846eb68b6a60e7d8dec4383b 
   src/main/python/apache/aurora/executor/BUILD 
 891cbe63d23ea59a68ca99f62d29be5713c9b91d 
   src/main/python/apache/aurora/executor/bin/BUILD 
 b23429ab9d1d3db1af2bb1b77f5bce30de19f34b 
   src/main/python/apache/aurora/executor/common/BUILD 
 3d94792b9e3c2d0f7bb7ce42616f08947f5119ee 
   src/main/python/apache/aurora/kerberos/BUILD PRE-CREATION 
   src/main/python/apache/aurora/tools/BUILD 
 9dfeb6c7e5a3796c76250aa9ff6fd4230d00cfb0 
   src/main/python/apache/thermos/BUILD 
 

Re: Review Request 36972: One python_library per exported setup.py project

2015-07-31 Thread Joshua Cohen

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

Ship it!


Ship It!

- Joshua Cohen


On July 31, 2015, 11:22 p.m., Kevin Sweeney wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://reviews.apache.org/r/36972/
 ---
 
 (Updated July 31, 2015, 11:22 p.m.)
 
 
 Review request for Aurora, Bill Farner and Brian Wickman.
 
 
 Bugs: AURORA-1381
 https://issues.apache.org/jira/browse/AURORA-1381
 
 
 Repository: aurora
 
 
 Description
 ---
 
 This is a mostly red code diff and makes the pants build work similar to how 
 it already works in an IDE environment while minimizing duplicated 
 information. This change also removes the confusing versions of `thermos` and 
 `thermos_observer` in favor of new ones. Because of the way covering 
 dependencies were required it was easier to do this refactor than more 
 tactically create a working `setup_py` target for `apache.aurora.tools` 
 without cycles and without duplicated files.
 
 * Remove the `apache.thermos` package.
 * Rename the `apache.gen.aurora` package to `apache.aurora.thrift`.
 * Rename the `apache.gen.thermos` package to `apache.thermos.thrift`.
 * Introduce a new `apache.aurora.tools` package with the `thermos` and 
 `thermos_observer` binaries.
 * Create apache.thermos.runner package, rename `thermos/bin` to 
 `thermos/runner`.
 * Remove all `*-packaged` and virtual dependency trees, as well as the phrase 
 covering dependencies.
 * Use `_`-prefix naming convention for private target names.
 * Replace manual list of targets in `make-python-sdists` with 
 automatically-generated one (using new convention).
 * Introduce a new `apache.aurora.kerberos` package with the `kaurora` and 
 `kaurora_admin` binaries.
 * Remove all `BUILD` files in `src/main` that don't contain an exported 
 `setup.py` library (except one mentioned in TODO).
 * Use dictionary syntax in `with_binaries`.
 * Remove unused/unreachable binaries (most `bin/` dirs under `thermos/`).
 * Create blank `__init__.py` files in directories that pants warns aren't 
 packages.
 * Added `thermos` command to vagrant image.
 
 
 Diffs
 -
 
   NEWS 0a8500c524a92eaf51384125687128d2fbbb0b53 
   api/src/main/thrift/org/apache/aurora/gen/BUILD 
 d196fefc2c5e5ee32d0cf9c901cffe7d247379d1 
   api/src/main/thrift/org/apache/thermos/BUILD 
 d0d789a6ee3971e3070f9397d53929563a77f7ea 
   build-support/packaging/debian/rules 
 17e00c02a3cb3294d5107516d795a73587ca4f70 
   build-support/packaging/rpm/aurora.spec 
 7cf8de6f7b99788ca461a90fc4aefba7dccd7b63 
   build-support/release/make-python-sdists 
 9608f68e16243da01434ce2fc7d61bb7c7efd712 
   docs/README.md 9893763cb75faf1aeb66ed905e9f696d4b532d16 
   docs/build-system.md PRE-CREATION 
   examples/vagrant/aurorabuild.sh fbaa6ae9ef7ff2910af8c9c0d6b8ef90ea3e152a 
   src/main/python/apache/aurora/admin/BUILD 
 22bf3f9943ea11258ba681bdb80feb00206bb926 
   src/main/python/apache/aurora/admin/aurora_admin.py 
 1c39717b656465bb1966073340f9fe80be01a085 
   src/main/python/apache/aurora/client/BUILD 
 e73cd52289209bb9658b16bb77dc0b0a9c811a1a 
   src/main/python/apache/aurora/client/api/BUILD 
 a030a67b78fc4bc4682d0df169e27efc6810dce3 
   src/main/python/apache/aurora/client/cli/BUILD 
 973d05971bd940c7e38c48ce6bfbf5c8e1654c5a 
   src/main/python/apache/aurora/client/cli/client.py 
 c0974f3bef59f8f7c2320398d367cb4dd9048d2b 
   src/main/python/apache/aurora/client/hooks/BUILD 
 ddf813b5d2e7d63507a8e08745ebf6cb3dbac8e1 
   src/main/python/apache/aurora/common/BUILD 
 abc122b0775bb17b1df67bdb946c472010219b9b 
   src/main/python/apache/aurora/common/auth/BUILD 
 0abac94eeeb71e6af43ed191ea690e5f96a6be23 
   src/main/python/apache/aurora/common/auth/kerberos.py 
 2d782b63b611a9d2604ef0ab1116d3e68fb86dc7 
   src/main/python/apache/aurora/config/BUILD 
 0a3a93fa6bb785903f71bc067aecc79c0e45a0b5 
   src/main/python/apache/aurora/config/schema/BUILD 
 171f42a24ec7ddc2846eb68b6a60e7d8dec4383b 
   src/main/python/apache/aurora/executor/BUILD 
 891cbe63d23ea59a68ca99f62d29be5713c9b91d 
   src/main/python/apache/aurora/executor/bin/BUILD 
 b23429ab9d1d3db1af2bb1b77f5bce30de19f34b 
   src/main/python/apache/aurora/executor/common/BUILD 
 3d94792b9e3c2d0f7bb7ce42616f08947f5119ee 
   src/main/python/apache/aurora/kerberos/BUILD PRE-CREATION 
   src/main/python/apache/aurora/tools/BUILD 
 9dfeb6c7e5a3796c76250aa9ff6fd4230d00cfb0 
   src/main/python/apache/thermos/BUILD 
 8221aa0bd4efe5f519550cba716d6a564ba9ae44 
   src/main/python/apache/thermos/bin/BUILD 
 4f0cb9b67b1c3c52ec3278ce92ff0d765257796c 
   src/main/python/apache/thermos/bin/__init__.py  
   src/main/python/apache/thermos/bin/thermos_ckpt.py 
 8ed69e0440b6aec85c5fa9e138215b592e9adcb1 
   

Re: Review Request 36972: One python_library per exported setup.py project

2015-07-31 Thread Bill Farner


 On July 31, 2015, 10:57 p.m., Joshua Cohen wrote:
  I'm -1 to shipping without something under docs/ explaining this 
  organizational structure.

maybe a README.md under `src/main/python/apache` instead?


- Bill


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


On July 31, 2015, 10:49 p.m., Kevin Sweeney wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://reviews.apache.org/r/36972/
 ---
 
 (Updated July 31, 2015, 10:49 p.m.)
 
 
 Review request for Aurora, Bill Farner and Brian Wickman.
 
 
 Bugs: AURORA-1381
 https://issues.apache.org/jira/browse/AURORA-1381
 
 
 Repository: aurora
 
 
 Description
 ---
 
 This is a mostly red code diff and makes the pants build work similar to how 
 it already works in an IDE environment while minimizing duplicated 
 information. This change also removes the confusing versions of `thermos` and 
 `thermos_observer` in favor of new ones. Because of the way covering 
 dependencies were required it was easier to do this refactor than more 
 tactically create a working `setup_py` target for `apache.aurora.tools` 
 without cycles and without duplicated files.
 
 * Remove the `apache.thermos` package.
 * Rename the `apache.gen.aurora` package to `apache.aurora.thrift`.
 * Rename the `apache.gen.thermos` package to `apache.thermos.thrift`.
 * Introduce a new `apache.aurora.tools` package with the `thermos` and 
 `thermos_observer` binaries.
 * Create apache.thermos.runner package, rename `thermos/bin` to 
 `thermos/runner`.
 * Remove all `*-packaged` and virtual dependency trees, as well as the phrase 
 covering dependencies.
 * Use `_`-prefix naming convention for private target names.
 * Replace manual list of targets in `make-python-sdists` with 
 automatically-generated one (using new convention).
 * Introduce a new `apache.aurora.kerberos` package with the `kaurora` and 
 `kaurora_admin` binaries.
 * Remove all `BUILD` files in `src/main` that don't contain an exported 
 `setup.py` library (except one mentioned in TODO).
 * Use dictionary syntax in `with_binaries`.
 * Remove unused/unreachable binaries (most `bin/` dirs under `thermos/`).
 * Create blank `__init__.py` files in directories that pants warns aren't 
 packages.
 * Added `thermos` command to vagrant image.
 
 
 Diffs
 -
 
   NEWS 0a8500c524a92eaf51384125687128d2fbbb0b53 
   api/src/main/thrift/org/apache/aurora/gen/BUILD 
 d196fefc2c5e5ee32d0cf9c901cffe7d247379d1 
   api/src/main/thrift/org/apache/thermos/BUILD 
 d0d789a6ee3971e3070f9397d53929563a77f7ea 
   build-support/packaging/debian/rules 
 17e00c02a3cb3294d5107516d795a73587ca4f70 
   build-support/packaging/rpm/aurora.spec 
 7cf8de6f7b99788ca461a90fc4aefba7dccd7b63 
   build-support/release/make-python-sdists 
 9608f68e16243da01434ce2fc7d61bb7c7efd712 
   examples/vagrant/aurorabuild.sh fbaa6ae9ef7ff2910af8c9c0d6b8ef90ea3e152a 
   src/main/python/apache/aurora/admin/BUILD 
 22bf3f9943ea11258ba681bdb80feb00206bb926 
   src/main/python/apache/aurora/admin/aurora_admin.py 
 1c39717b656465bb1966073340f9fe80be01a085 
   src/main/python/apache/aurora/client/BUILD 
 e73cd52289209bb9658b16bb77dc0b0a9c811a1a 
   src/main/python/apache/aurora/client/api/BUILD 
 a030a67b78fc4bc4682d0df169e27efc6810dce3 
   src/main/python/apache/aurora/client/cli/BUILD 
 973d05971bd940c7e38c48ce6bfbf5c8e1654c5a 
   src/main/python/apache/aurora/client/cli/client.py 
 c0974f3bef59f8f7c2320398d367cb4dd9048d2b 
   src/main/python/apache/aurora/client/hooks/BUILD 
 ddf813b5d2e7d63507a8e08745ebf6cb3dbac8e1 
   src/main/python/apache/aurora/common/BUILD 
 abc122b0775bb17b1df67bdb946c472010219b9b 
   src/main/python/apache/aurora/common/auth/BUILD 
 0abac94eeeb71e6af43ed191ea690e5f96a6be23 
   src/main/python/apache/aurora/common/auth/kerberos.py 
 2d782b63b611a9d2604ef0ab1116d3e68fb86dc7 
   src/main/python/apache/aurora/config/BUILD 
 0a3a93fa6bb785903f71bc067aecc79c0e45a0b5 
   src/main/python/apache/aurora/config/schema/BUILD 
 171f42a24ec7ddc2846eb68b6a60e7d8dec4383b 
   src/main/python/apache/aurora/executor/BUILD 
 891cbe63d23ea59a68ca99f62d29be5713c9b91d 
   src/main/python/apache/aurora/executor/bin/BUILD 
 b23429ab9d1d3db1af2bb1b77f5bce30de19f34b 
   src/main/python/apache/aurora/executor/common/BUILD 
 3d94792b9e3c2d0f7bb7ce42616f08947f5119ee 
   src/main/python/apache/aurora/kerberos/BUILD PRE-CREATION 
   src/main/python/apache/aurora/tools/BUILD 
 9dfeb6c7e5a3796c76250aa9ff6fd4230d00cfb0 
   src/main/python/apache/thermos/BUILD 
 8221aa0bd4efe5f519550cba716d6a564ba9ae44 
   src/main/python/apache/thermos/bin/BUILD 
 4f0cb9b67b1c3c52ec3278ce92ff0d765257796c 
   src/main/python/apache/thermos/bin/__init__.py  
   

Re: Review Request 36972: One python_library per exported setup.py project

2015-07-31 Thread Kevin Sweeney

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

(Updated July 31, 2015, 4:18 p.m.)


Review request for Aurora, Bill Farner and Brian Wickman.


Changes
---

Add documentation (pushed to 
https://github.com/kevints/aurora/blob/36972/docs/build-system.md).


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


Repository: aurora


Description
---

This is a mostly red code diff and makes the pants build work similar to how it 
already works in an IDE environment while minimizing duplicated information. 
This change also removes the confusing versions of `thermos` and 
`thermos_observer` in favor of new ones. Because of the way covering 
dependencies were required it was easier to do this refactor than more 
tactically create a working `setup_py` target for `apache.aurora.tools` without 
cycles and without duplicated files.

* Remove the `apache.thermos` package.
* Rename the `apache.gen.aurora` package to `apache.aurora.thrift`.
* Rename the `apache.gen.thermos` package to `apache.thermos.thrift`.
* Introduce a new `apache.aurora.tools` package with the `thermos` and 
`thermos_observer` binaries.
* Create apache.thermos.runner package, rename `thermos/bin` to 
`thermos/runner`.
* Remove all `*-packaged` and virtual dependency trees, as well as the phrase 
covering dependencies.
* Use `_`-prefix naming convention for private target names.
* Replace manual list of targets in `make-python-sdists` with 
automatically-generated one (using new convention).
* Introduce a new `apache.aurora.kerberos` package with the `kaurora` and 
`kaurora_admin` binaries.
* Remove all `BUILD` files in `src/main` that don't contain an exported 
`setup.py` library (except one mentioned in TODO).
* Use dictionary syntax in `with_binaries`.
* Remove unused/unreachable binaries (most `bin/` dirs under `thermos/`).
* Create blank `__init__.py` files in directories that pants warns aren't 
packages.
* Added `thermos` command to vagrant image.


Diffs (updated)
-

  NEWS 0a8500c524a92eaf51384125687128d2fbbb0b53 
  api/src/main/thrift/org/apache/aurora/gen/BUILD 
d196fefc2c5e5ee32d0cf9c901cffe7d247379d1 
  api/src/main/thrift/org/apache/thermos/BUILD 
d0d789a6ee3971e3070f9397d53929563a77f7ea 
  build-support/packaging/debian/rules 17e00c02a3cb3294d5107516d795a73587ca4f70 
  build-support/packaging/rpm/aurora.spec 
7cf8de6f7b99788ca461a90fc4aefba7dccd7b63 
  build-support/release/make-python-sdists 
9608f68e16243da01434ce2fc7d61bb7c7efd712 
  docs/README.md 9893763cb75faf1aeb66ed905e9f696d4b532d16 
  docs/build-system.md PRE-CREATION 
  examples/vagrant/aurorabuild.sh fbaa6ae9ef7ff2910af8c9c0d6b8ef90ea3e152a 
  src/main/python/apache/aurora/admin/BUILD 
22bf3f9943ea11258ba681bdb80feb00206bb926 
  src/main/python/apache/aurora/admin/aurora_admin.py 
1c39717b656465bb1966073340f9fe80be01a085 
  src/main/python/apache/aurora/client/BUILD 
e73cd52289209bb9658b16bb77dc0b0a9c811a1a 
  src/main/python/apache/aurora/client/api/BUILD 
a030a67b78fc4bc4682d0df169e27efc6810dce3 
  src/main/python/apache/aurora/client/cli/BUILD 
973d05971bd940c7e38c48ce6bfbf5c8e1654c5a 
  src/main/python/apache/aurora/client/cli/client.py 
c0974f3bef59f8f7c2320398d367cb4dd9048d2b 
  src/main/python/apache/aurora/client/hooks/BUILD 
ddf813b5d2e7d63507a8e08745ebf6cb3dbac8e1 
  src/main/python/apache/aurora/common/BUILD 
abc122b0775bb17b1df67bdb946c472010219b9b 
  src/main/python/apache/aurora/common/auth/BUILD 
0abac94eeeb71e6af43ed191ea690e5f96a6be23 
  src/main/python/apache/aurora/common/auth/kerberos.py 
2d782b63b611a9d2604ef0ab1116d3e68fb86dc7 
  src/main/python/apache/aurora/config/BUILD 
0a3a93fa6bb785903f71bc067aecc79c0e45a0b5 
  src/main/python/apache/aurora/config/schema/BUILD 
171f42a24ec7ddc2846eb68b6a60e7d8dec4383b 
  src/main/python/apache/aurora/executor/BUILD 
891cbe63d23ea59a68ca99f62d29be5713c9b91d 
  src/main/python/apache/aurora/executor/bin/BUILD 
b23429ab9d1d3db1af2bb1b77f5bce30de19f34b 
  src/main/python/apache/aurora/executor/common/BUILD 
3d94792b9e3c2d0f7bb7ce42616f08947f5119ee 
  src/main/python/apache/aurora/kerberos/BUILD PRE-CREATION 
  src/main/python/apache/aurora/tools/BUILD 
9dfeb6c7e5a3796c76250aa9ff6fd4230d00cfb0 
  src/main/python/apache/thermos/BUILD 8221aa0bd4efe5f519550cba716d6a564ba9ae44 
  src/main/python/apache/thermos/bin/BUILD 
4f0cb9b67b1c3c52ec3278ce92ff0d765257796c 
  src/main/python/apache/thermos/bin/__init__.py  
  src/main/python/apache/thermos/bin/thermos_ckpt.py 
8ed69e0440b6aec85c5fa9e138215b592e9adcb1 
  src/main/python/apache/thermos/bin/thermos_runner.py  
  src/main/python/apache/thermos/cli/BUILD 
2b9bc6245718397e4cb1ba104194b167434a3112 
  src/main/python/apache/thermos/cli/bin/BUILD 
f33c7f838a6a0932abc737d0ecf7ca3a59580e2e 
  src/main/python/apache/thermos/cli/bin/thermos.py 

Re: Review Request 36972: One python_library per exported setup.py project

2015-07-31 Thread Kevin Sweeney


 On July 31, 2015, 3:57 p.m., Joshua Cohen wrote:
  I'm -1 to shipping without something under docs/ explaining this 
  organizational structure.
 
 Bill Farner wrote:
 maybe a README.md under `src/main/python/apache` instead?

I've added a new file docs/build-system.md


- Kevin


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


On July 31, 2015, 4:18 p.m., Kevin Sweeney wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://reviews.apache.org/r/36972/
 ---
 
 (Updated July 31, 2015, 4:18 p.m.)
 
 
 Review request for Aurora, Bill Farner and Brian Wickman.
 
 
 Bugs: AURORA-1381
 https://issues.apache.org/jira/browse/AURORA-1381
 
 
 Repository: aurora
 
 
 Description
 ---
 
 This is a mostly red code diff and makes the pants build work similar to how 
 it already works in an IDE environment while minimizing duplicated 
 information. This change also removes the confusing versions of `thermos` and 
 `thermos_observer` in favor of new ones. Because of the way covering 
 dependencies were required it was easier to do this refactor than more 
 tactically create a working `setup_py` target for `apache.aurora.tools` 
 without cycles and without duplicated files.
 
 * Remove the `apache.thermos` package.
 * Rename the `apache.gen.aurora` package to `apache.aurora.thrift`.
 * Rename the `apache.gen.thermos` package to `apache.thermos.thrift`.
 * Introduce a new `apache.aurora.tools` package with the `thermos` and 
 `thermos_observer` binaries.
 * Create apache.thermos.runner package, rename `thermos/bin` to 
 `thermos/runner`.
 * Remove all `*-packaged` and virtual dependency trees, as well as the phrase 
 covering dependencies.
 * Use `_`-prefix naming convention for private target names.
 * Replace manual list of targets in `make-python-sdists` with 
 automatically-generated one (using new convention).
 * Introduce a new `apache.aurora.kerberos` package with the `kaurora` and 
 `kaurora_admin` binaries.
 * Remove all `BUILD` files in `src/main` that don't contain an exported 
 `setup.py` library (except one mentioned in TODO).
 * Use dictionary syntax in `with_binaries`.
 * Remove unused/unreachable binaries (most `bin/` dirs under `thermos/`).
 * Create blank `__init__.py` files in directories that pants warns aren't 
 packages.
 * Added `thermos` command to vagrant image.
 
 
 Diffs
 -
 
   NEWS 0a8500c524a92eaf51384125687128d2fbbb0b53 
   api/src/main/thrift/org/apache/aurora/gen/BUILD 
 d196fefc2c5e5ee32d0cf9c901cffe7d247379d1 
   api/src/main/thrift/org/apache/thermos/BUILD 
 d0d789a6ee3971e3070f9397d53929563a77f7ea 
   build-support/packaging/debian/rules 
 17e00c02a3cb3294d5107516d795a73587ca4f70 
   build-support/packaging/rpm/aurora.spec 
 7cf8de6f7b99788ca461a90fc4aefba7dccd7b63 
   build-support/release/make-python-sdists 
 9608f68e16243da01434ce2fc7d61bb7c7efd712 
   docs/README.md 9893763cb75faf1aeb66ed905e9f696d4b532d16 
   docs/build-system.md PRE-CREATION 
   examples/vagrant/aurorabuild.sh fbaa6ae9ef7ff2910af8c9c0d6b8ef90ea3e152a 
   src/main/python/apache/aurora/admin/BUILD 
 22bf3f9943ea11258ba681bdb80feb00206bb926 
   src/main/python/apache/aurora/admin/aurora_admin.py 
 1c39717b656465bb1966073340f9fe80be01a085 
   src/main/python/apache/aurora/client/BUILD 
 e73cd52289209bb9658b16bb77dc0b0a9c811a1a 
   src/main/python/apache/aurora/client/api/BUILD 
 a030a67b78fc4bc4682d0df169e27efc6810dce3 
   src/main/python/apache/aurora/client/cli/BUILD 
 973d05971bd940c7e38c48ce6bfbf5c8e1654c5a 
   src/main/python/apache/aurora/client/cli/client.py 
 c0974f3bef59f8f7c2320398d367cb4dd9048d2b 
   src/main/python/apache/aurora/client/hooks/BUILD 
 ddf813b5d2e7d63507a8e08745ebf6cb3dbac8e1 
   src/main/python/apache/aurora/common/BUILD 
 abc122b0775bb17b1df67bdb946c472010219b9b 
   src/main/python/apache/aurora/common/auth/BUILD 
 0abac94eeeb71e6af43ed191ea690e5f96a6be23 
   src/main/python/apache/aurora/common/auth/kerberos.py 
 2d782b63b611a9d2604ef0ab1116d3e68fb86dc7 
   src/main/python/apache/aurora/config/BUILD 
 0a3a93fa6bb785903f71bc067aecc79c0e45a0b5 
   src/main/python/apache/aurora/config/schema/BUILD 
 171f42a24ec7ddc2846eb68b6a60e7d8dec4383b 
   src/main/python/apache/aurora/executor/BUILD 
 891cbe63d23ea59a68ca99f62d29be5713c9b91d 
   src/main/python/apache/aurora/executor/bin/BUILD 
 b23429ab9d1d3db1af2bb1b77f5bce30de19f34b 
   src/main/python/apache/aurora/executor/common/BUILD 
 3d94792b9e3c2d0f7bb7ce42616f08947f5119ee 
   src/main/python/apache/aurora/kerberos/BUILD PRE-CREATION 
   src/main/python/apache/aurora/tools/BUILD 
 9dfeb6c7e5a3796c76250aa9ff6fd4230d00cfb0 
   src/main/python/apache/thermos/BUILD 
 8221aa0bd4efe5f519550cba716d6a564ba9ae44 
   

Re: Review Request 36972: One python_library per exported setup.py project

2015-07-31 Thread Kevin Sweeney

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

(Updated July 31, 2015, 4:22 p.m.)


Review request for Aurora, Bill Farner and Brian Wickman.


Changes
---

s/binary/library/


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


Repository: aurora


Description
---

This is a mostly red code diff and makes the pants build work similar to how it 
already works in an IDE environment while minimizing duplicated information. 
This change also removes the confusing versions of `thermos` and 
`thermos_observer` in favor of new ones. Because of the way covering 
dependencies were required it was easier to do this refactor than more 
tactically create a working `setup_py` target for `apache.aurora.tools` without 
cycles and without duplicated files.

* Remove the `apache.thermos` package.
* Rename the `apache.gen.aurora` package to `apache.aurora.thrift`.
* Rename the `apache.gen.thermos` package to `apache.thermos.thrift`.
* Introduce a new `apache.aurora.tools` package with the `thermos` and 
`thermos_observer` binaries.
* Create apache.thermos.runner package, rename `thermos/bin` to 
`thermos/runner`.
* Remove all `*-packaged` and virtual dependency trees, as well as the phrase 
covering dependencies.
* Use `_`-prefix naming convention for private target names.
* Replace manual list of targets in `make-python-sdists` with 
automatically-generated one (using new convention).
* Introduce a new `apache.aurora.kerberos` package with the `kaurora` and 
`kaurora_admin` binaries.
* Remove all `BUILD` files in `src/main` that don't contain an exported 
`setup.py` library (except one mentioned in TODO).
* Use dictionary syntax in `with_binaries`.
* Remove unused/unreachable binaries (most `bin/` dirs under `thermos/`).
* Create blank `__init__.py` files in directories that pants warns aren't 
packages.
* Added `thermos` command to vagrant image.


Diffs (updated)
-

  NEWS 0a8500c524a92eaf51384125687128d2fbbb0b53 
  api/src/main/thrift/org/apache/aurora/gen/BUILD 
d196fefc2c5e5ee32d0cf9c901cffe7d247379d1 
  api/src/main/thrift/org/apache/thermos/BUILD 
d0d789a6ee3971e3070f9397d53929563a77f7ea 
  build-support/packaging/debian/rules 17e00c02a3cb3294d5107516d795a73587ca4f70 
  build-support/packaging/rpm/aurora.spec 
7cf8de6f7b99788ca461a90fc4aefba7dccd7b63 
  build-support/release/make-python-sdists 
9608f68e16243da01434ce2fc7d61bb7c7efd712 
  docs/README.md 9893763cb75faf1aeb66ed905e9f696d4b532d16 
  docs/build-system.md PRE-CREATION 
  examples/vagrant/aurorabuild.sh fbaa6ae9ef7ff2910af8c9c0d6b8ef90ea3e152a 
  src/main/python/apache/aurora/admin/BUILD 
22bf3f9943ea11258ba681bdb80feb00206bb926 
  src/main/python/apache/aurora/admin/aurora_admin.py 
1c39717b656465bb1966073340f9fe80be01a085 
  src/main/python/apache/aurora/client/BUILD 
e73cd52289209bb9658b16bb77dc0b0a9c811a1a 
  src/main/python/apache/aurora/client/api/BUILD 
a030a67b78fc4bc4682d0df169e27efc6810dce3 
  src/main/python/apache/aurora/client/cli/BUILD 
973d05971bd940c7e38c48ce6bfbf5c8e1654c5a 
  src/main/python/apache/aurora/client/cli/client.py 
c0974f3bef59f8f7c2320398d367cb4dd9048d2b 
  src/main/python/apache/aurora/client/hooks/BUILD 
ddf813b5d2e7d63507a8e08745ebf6cb3dbac8e1 
  src/main/python/apache/aurora/common/BUILD 
abc122b0775bb17b1df67bdb946c472010219b9b 
  src/main/python/apache/aurora/common/auth/BUILD 
0abac94eeeb71e6af43ed191ea690e5f96a6be23 
  src/main/python/apache/aurora/common/auth/kerberos.py 
2d782b63b611a9d2604ef0ab1116d3e68fb86dc7 
  src/main/python/apache/aurora/config/BUILD 
0a3a93fa6bb785903f71bc067aecc79c0e45a0b5 
  src/main/python/apache/aurora/config/schema/BUILD 
171f42a24ec7ddc2846eb68b6a60e7d8dec4383b 
  src/main/python/apache/aurora/executor/BUILD 
891cbe63d23ea59a68ca99f62d29be5713c9b91d 
  src/main/python/apache/aurora/executor/bin/BUILD 
b23429ab9d1d3db1af2bb1b77f5bce30de19f34b 
  src/main/python/apache/aurora/executor/common/BUILD 
3d94792b9e3c2d0f7bb7ce42616f08947f5119ee 
  src/main/python/apache/aurora/kerberos/BUILD PRE-CREATION 
  src/main/python/apache/aurora/tools/BUILD 
9dfeb6c7e5a3796c76250aa9ff6fd4230d00cfb0 
  src/main/python/apache/thermos/BUILD 8221aa0bd4efe5f519550cba716d6a564ba9ae44 
  src/main/python/apache/thermos/bin/BUILD 
4f0cb9b67b1c3c52ec3278ce92ff0d765257796c 
  src/main/python/apache/thermos/bin/__init__.py  
  src/main/python/apache/thermos/bin/thermos_ckpt.py 
8ed69e0440b6aec85c5fa9e138215b592e9adcb1 
  src/main/python/apache/thermos/bin/thermos_runner.py  
  src/main/python/apache/thermos/cli/BUILD 
2b9bc6245718397e4cb1ba104194b167434a3112 
  src/main/python/apache/thermos/cli/bin/BUILD 
f33c7f838a6a0932abc737d0ecf7ca3a59580e2e 
  src/main/python/apache/thermos/cli/bin/thermos.py 
fcef38d33e7ca2005f35c3bdb90ffee6aeade3af 
  src/main/python/apache/thermos/cli/commands/BUILD 

Re: Review Request 36972: One python_library per exported setup.py project

2015-07-31 Thread Joshua Cohen

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


I'm -1 to shipping without something under docs/ explaining this organizational 
structure.

- Joshua Cohen


On July 31, 2015, 10:49 p.m., Kevin Sweeney wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://reviews.apache.org/r/36972/
 ---
 
 (Updated July 31, 2015, 10:49 p.m.)
 
 
 Review request for Aurora, Bill Farner and Brian Wickman.
 
 
 Bugs: AURORA-1381
 https://issues.apache.org/jira/browse/AURORA-1381
 
 
 Repository: aurora
 
 
 Description
 ---
 
 This is a mostly red code diff and makes the pants build work similar to how 
 it already works in an IDE environment while minimizing duplicated 
 information. This change also removes the confusing versions of `thermos` and 
 `thermos_observer` in favor of new ones. Because of the way covering 
 dependencies were required it was easier to do this refactor than more 
 tactically create a working `setup_py` target for `apache.aurora.tools` 
 without cycles and without duplicated files.
 
 * Remove the `apache.thermos` package.
 * Rename the `apache.gen.aurora` package to `apache.aurora.thrift`.
 * Rename the `apache.gen.thermos` package to `apache.thermos.thrift`.
 * Introduce a new `apache.aurora.tools` package with the `thermos` and 
 `thermos_observer` binaries.
 * Create apache.thermos.runner package, rename `thermos/bin` to 
 `thermos/runner`.
 * Remove all `*-packaged` and virtual dependency trees, as well as the phrase 
 covering dependencies.
 * Use `_`-prefix naming convention for private target names.
 * Replace manual list of targets in `make-python-sdists` with 
 automatically-generated one (using new convention).
 * Introduce a new `apache.aurora.kerberos` package with the `kaurora` and 
 `kaurora_admin` binaries.
 * Remove all `BUILD` files in `src/main` that don't contain an exported 
 `setup.py` library (except one mentioned in TODO).
 * Use dictionary syntax in `with_binaries`.
 * Remove unused/unreachable binaries (most `bin/` dirs under `thermos/`).
 * Create blank `__init__.py` files in directories that pants warns aren't 
 packages.
 * Added `thermos` command to vagrant image.
 
 
 Diffs
 -
 
   NEWS 0a8500c524a92eaf51384125687128d2fbbb0b53 
   api/src/main/thrift/org/apache/aurora/gen/BUILD 
 d196fefc2c5e5ee32d0cf9c901cffe7d247379d1 
   api/src/main/thrift/org/apache/thermos/BUILD 
 d0d789a6ee3971e3070f9397d53929563a77f7ea 
   build-support/packaging/debian/rules 
 17e00c02a3cb3294d5107516d795a73587ca4f70 
   build-support/packaging/rpm/aurora.spec 
 7cf8de6f7b99788ca461a90fc4aefba7dccd7b63 
   build-support/release/make-python-sdists 
 9608f68e16243da01434ce2fc7d61bb7c7efd712 
   examples/vagrant/aurorabuild.sh fbaa6ae9ef7ff2910af8c9c0d6b8ef90ea3e152a 
   src/main/python/apache/aurora/admin/BUILD 
 22bf3f9943ea11258ba681bdb80feb00206bb926 
   src/main/python/apache/aurora/admin/aurora_admin.py 
 1c39717b656465bb1966073340f9fe80be01a085 
   src/main/python/apache/aurora/client/BUILD 
 e73cd52289209bb9658b16bb77dc0b0a9c811a1a 
   src/main/python/apache/aurora/client/api/BUILD 
 a030a67b78fc4bc4682d0df169e27efc6810dce3 
   src/main/python/apache/aurora/client/cli/BUILD 
 973d05971bd940c7e38c48ce6bfbf5c8e1654c5a 
   src/main/python/apache/aurora/client/cli/client.py 
 c0974f3bef59f8f7c2320398d367cb4dd9048d2b 
   src/main/python/apache/aurora/client/hooks/BUILD 
 ddf813b5d2e7d63507a8e08745ebf6cb3dbac8e1 
   src/main/python/apache/aurora/common/BUILD 
 abc122b0775bb17b1df67bdb946c472010219b9b 
   src/main/python/apache/aurora/common/auth/BUILD 
 0abac94eeeb71e6af43ed191ea690e5f96a6be23 
   src/main/python/apache/aurora/common/auth/kerberos.py 
 2d782b63b611a9d2604ef0ab1116d3e68fb86dc7 
   src/main/python/apache/aurora/config/BUILD 
 0a3a93fa6bb785903f71bc067aecc79c0e45a0b5 
   src/main/python/apache/aurora/config/schema/BUILD 
 171f42a24ec7ddc2846eb68b6a60e7d8dec4383b 
   src/main/python/apache/aurora/executor/BUILD 
 891cbe63d23ea59a68ca99f62d29be5713c9b91d 
   src/main/python/apache/aurora/executor/bin/BUILD 
 b23429ab9d1d3db1af2bb1b77f5bce30de19f34b 
   src/main/python/apache/aurora/executor/common/BUILD 
 3d94792b9e3c2d0f7bb7ce42616f08947f5119ee 
   src/main/python/apache/aurora/kerberos/BUILD PRE-CREATION 
   src/main/python/apache/aurora/tools/BUILD 
 9dfeb6c7e5a3796c76250aa9ff6fd4230d00cfb0 
   src/main/python/apache/thermos/BUILD 
 8221aa0bd4efe5f519550cba716d6a564ba9ae44 
   src/main/python/apache/thermos/bin/BUILD 
 4f0cb9b67b1c3c52ec3278ce92ff0d765257796c 
   src/main/python/apache/thermos/bin/__init__.py  
   src/main/python/apache/thermos/bin/thermos_ckpt.py 
 8ed69e0440b6aec85c5fa9e138215b592e9adcb1 
   

Re: Review Request 36972: One python_library per exported setup.py project

2015-07-31 Thread Kevin Sweeney

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

(Updated July 31, 2015, 3:49 p.m.)


Review request for Aurora, Bill Farner and Brian Wickman.


Changes
---

Remove disclaimer - I believe this is now ready to ship.


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


Repository: aurora


Description (updated)
---

This is a mostly red code diff and makes the pants build work similar to how it 
already works in an IDE environment while minimizing duplicated information. 
This change also removes the confusing versions of `thermos` and 
`thermos_observer` in favor of new ones. Because of the way covering 
dependencies were required it was easier to do this refactor than more 
tactically create a working `setup_py` target for `apache.aurora.tools` without 
cycles and without duplicated files.

* Remove the `apache.thermos` package.
* Rename the `apache.gen.aurora` package to `apache.aurora.thrift`.
* Rename the `apache.gen.thermos` package to `apache.thermos.thrift`.
* Introduce a new `apache.aurora.tools` package with the `thermos` and 
`thermos_observer` binaries.
* Create apache.thermos.runner package, rename `thermos/bin` to 
`thermos/runner`.
* Remove all `*-packaged` and virtual dependency trees, as well as the phrase 
covering dependencies.
* Use `_`-prefix naming convention for private target names.
* Replace manual list of targets in `make-python-sdists` with 
automatically-generated one (using new convention).
* Introduce a new `apache.aurora.kerberos` package with the `kaurora` and 
`kaurora_admin` binaries.
* Remove all `BUILD` files in `src/main` that don't contain an exported 
`setup.py` library (except one mentioned in TODO).
* Use dictionary syntax in `with_binaries`.
* Remove unused/unreachable binaries (most `bin/` dirs under `thermos/`).
* Create blank `__init__.py` files in directories that pants warns aren't 
packages.
* Added `thermos` command to vagrant image.


Diffs
-

  NEWS 0a8500c524a92eaf51384125687128d2fbbb0b53 
  api/src/main/thrift/org/apache/aurora/gen/BUILD 
d196fefc2c5e5ee32d0cf9c901cffe7d247379d1 
  api/src/main/thrift/org/apache/thermos/BUILD 
d0d789a6ee3971e3070f9397d53929563a77f7ea 
  build-support/packaging/debian/rules 17e00c02a3cb3294d5107516d795a73587ca4f70 
  build-support/packaging/rpm/aurora.spec 
7cf8de6f7b99788ca461a90fc4aefba7dccd7b63 
  build-support/release/make-python-sdists 
9608f68e16243da01434ce2fc7d61bb7c7efd712 
  examples/vagrant/aurorabuild.sh fbaa6ae9ef7ff2910af8c9c0d6b8ef90ea3e152a 
  src/main/python/apache/aurora/admin/BUILD 
22bf3f9943ea11258ba681bdb80feb00206bb926 
  src/main/python/apache/aurora/admin/aurora_admin.py 
1c39717b656465bb1966073340f9fe80be01a085 
  src/main/python/apache/aurora/client/BUILD 
e73cd52289209bb9658b16bb77dc0b0a9c811a1a 
  src/main/python/apache/aurora/client/api/BUILD 
a030a67b78fc4bc4682d0df169e27efc6810dce3 
  src/main/python/apache/aurora/client/cli/BUILD 
973d05971bd940c7e38c48ce6bfbf5c8e1654c5a 
  src/main/python/apache/aurora/client/cli/client.py 
c0974f3bef59f8f7c2320398d367cb4dd9048d2b 
  src/main/python/apache/aurora/client/hooks/BUILD 
ddf813b5d2e7d63507a8e08745ebf6cb3dbac8e1 
  src/main/python/apache/aurora/common/BUILD 
abc122b0775bb17b1df67bdb946c472010219b9b 
  src/main/python/apache/aurora/common/auth/BUILD 
0abac94eeeb71e6af43ed191ea690e5f96a6be23 
  src/main/python/apache/aurora/common/auth/kerberos.py 
2d782b63b611a9d2604ef0ab1116d3e68fb86dc7 
  src/main/python/apache/aurora/config/BUILD 
0a3a93fa6bb785903f71bc067aecc79c0e45a0b5 
  src/main/python/apache/aurora/config/schema/BUILD 
171f42a24ec7ddc2846eb68b6a60e7d8dec4383b 
  src/main/python/apache/aurora/executor/BUILD 
891cbe63d23ea59a68ca99f62d29be5713c9b91d 
  src/main/python/apache/aurora/executor/bin/BUILD 
b23429ab9d1d3db1af2bb1b77f5bce30de19f34b 
  src/main/python/apache/aurora/executor/common/BUILD 
3d94792b9e3c2d0f7bb7ce42616f08947f5119ee 
  src/main/python/apache/aurora/kerberos/BUILD PRE-CREATION 
  src/main/python/apache/aurora/tools/BUILD 
9dfeb6c7e5a3796c76250aa9ff6fd4230d00cfb0 
  src/main/python/apache/thermos/BUILD 8221aa0bd4efe5f519550cba716d6a564ba9ae44 
  src/main/python/apache/thermos/bin/BUILD 
4f0cb9b67b1c3c52ec3278ce92ff0d765257796c 
  src/main/python/apache/thermos/bin/__init__.py  
  src/main/python/apache/thermos/bin/thermos_ckpt.py 
8ed69e0440b6aec85c5fa9e138215b592e9adcb1 
  src/main/python/apache/thermos/bin/thermos_runner.py  
  src/main/python/apache/thermos/cli/BUILD 
2b9bc6245718397e4cb1ba104194b167434a3112 
  src/main/python/apache/thermos/cli/bin/BUILD 
f33c7f838a6a0932abc737d0ecf7ca3a59580e2e 
  src/main/python/apache/thermos/cli/bin/thermos.py 
fcef38d33e7ca2005f35c3bdb90ffee6aeade3af 
  src/main/python/apache/thermos/cli/commands/BUILD 
552eeb4f61693033d8828e789bd22e680b957d1d 
  

Re: Review Request 36972: One python_library per exported setup.py project

2015-07-31 Thread Aurora ReviewBot

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


Master (a45a8ee) is green with this patch.
  ./build-support/jenkins/build.sh

However, it appears that it might lack test coverage.

I will refresh this build result if you post a review containing @ReviewBot 
retry

- Aurora ReviewBot


On July 31, 2015, 11:22 p.m., Kevin Sweeney wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://reviews.apache.org/r/36972/
 ---
 
 (Updated July 31, 2015, 11:22 p.m.)
 
 
 Review request for Aurora, Bill Farner and Brian Wickman.
 
 
 Bugs: AURORA-1381
 https://issues.apache.org/jira/browse/AURORA-1381
 
 
 Repository: aurora
 
 
 Description
 ---
 
 This is a mostly red code diff and makes the pants build work similar to how 
 it already works in an IDE environment while minimizing duplicated 
 information. This change also removes the confusing versions of `thermos` and 
 `thermos_observer` in favor of new ones. Because of the way covering 
 dependencies were required it was easier to do this refactor than more 
 tactically create a working `setup_py` target for `apache.aurora.tools` 
 without cycles and without duplicated files.
 
 * Remove the `apache.thermos` package.
 * Rename the `apache.gen.aurora` package to `apache.aurora.thrift`.
 * Rename the `apache.gen.thermos` package to `apache.thermos.thrift`.
 * Introduce a new `apache.aurora.tools` package with the `thermos` and 
 `thermos_observer` binaries.
 * Create apache.thermos.runner package, rename `thermos/bin` to 
 `thermos/runner`.
 * Remove all `*-packaged` and virtual dependency trees, as well as the phrase 
 covering dependencies.
 * Use `_`-prefix naming convention for private target names.
 * Replace manual list of targets in `make-python-sdists` with 
 automatically-generated one (using new convention).
 * Introduce a new `apache.aurora.kerberos` package with the `kaurora` and 
 `kaurora_admin` binaries.
 * Remove all `BUILD` files in `src/main` that don't contain an exported 
 `setup.py` library (except one mentioned in TODO).
 * Use dictionary syntax in `with_binaries`.
 * Remove unused/unreachable binaries (most `bin/` dirs under `thermos/`).
 * Create blank `__init__.py` files in directories that pants warns aren't 
 packages.
 * Added `thermos` command to vagrant image.
 
 
 Diffs
 -
 
   NEWS 0a8500c524a92eaf51384125687128d2fbbb0b53 
   api/src/main/thrift/org/apache/aurora/gen/BUILD 
 d196fefc2c5e5ee32d0cf9c901cffe7d247379d1 
   api/src/main/thrift/org/apache/thermos/BUILD 
 d0d789a6ee3971e3070f9397d53929563a77f7ea 
   build-support/packaging/debian/rules 
 17e00c02a3cb3294d5107516d795a73587ca4f70 
   build-support/packaging/rpm/aurora.spec 
 7cf8de6f7b99788ca461a90fc4aefba7dccd7b63 
   build-support/release/make-python-sdists 
 9608f68e16243da01434ce2fc7d61bb7c7efd712 
   docs/README.md 9893763cb75faf1aeb66ed905e9f696d4b532d16 
   docs/build-system.md PRE-CREATION 
   examples/vagrant/aurorabuild.sh fbaa6ae9ef7ff2910af8c9c0d6b8ef90ea3e152a 
   src/main/python/apache/aurora/admin/BUILD 
 22bf3f9943ea11258ba681bdb80feb00206bb926 
   src/main/python/apache/aurora/admin/aurora_admin.py 
 1c39717b656465bb1966073340f9fe80be01a085 
   src/main/python/apache/aurora/client/BUILD 
 e73cd52289209bb9658b16bb77dc0b0a9c811a1a 
   src/main/python/apache/aurora/client/api/BUILD 
 a030a67b78fc4bc4682d0df169e27efc6810dce3 
   src/main/python/apache/aurora/client/cli/BUILD 
 973d05971bd940c7e38c48ce6bfbf5c8e1654c5a 
   src/main/python/apache/aurora/client/cli/client.py 
 c0974f3bef59f8f7c2320398d367cb4dd9048d2b 
   src/main/python/apache/aurora/client/hooks/BUILD 
 ddf813b5d2e7d63507a8e08745ebf6cb3dbac8e1 
   src/main/python/apache/aurora/common/BUILD 
 abc122b0775bb17b1df67bdb946c472010219b9b 
   src/main/python/apache/aurora/common/auth/BUILD 
 0abac94eeeb71e6af43ed191ea690e5f96a6be23 
   src/main/python/apache/aurora/common/auth/kerberos.py 
 2d782b63b611a9d2604ef0ab1116d3e68fb86dc7 
   src/main/python/apache/aurora/config/BUILD 
 0a3a93fa6bb785903f71bc067aecc79c0e45a0b5 
   src/main/python/apache/aurora/config/schema/BUILD 
 171f42a24ec7ddc2846eb68b6a60e7d8dec4383b 
   src/main/python/apache/aurora/executor/BUILD 
 891cbe63d23ea59a68ca99f62d29be5713c9b91d 
   src/main/python/apache/aurora/executor/bin/BUILD 
 b23429ab9d1d3db1af2bb1b77f5bce30de19f34b 
   src/main/python/apache/aurora/executor/common/BUILD 
 3d94792b9e3c2d0f7bb7ce42616f08947f5119ee 
   src/main/python/apache/aurora/kerberos/BUILD PRE-CREATION 
   src/main/python/apache/aurora/tools/BUILD 
 9dfeb6c7e5a3796c76250aa9ff6fd4230d00cfb0 
   src/main/python/apache/thermos/BUILD 
 8221aa0bd4efe5f519550cba716d6a564ba9ae44 
   src/main/python/apache/thermos/bin/BUILD 
 

Re: Review Request 36972: One python_library per exported setup.py project

2015-07-31 Thread Kevin Sweeney

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

(Updated July 31, 2015, 3:03 p.m.)


Review request for Aurora, Bill Farner and Brian Wickman.


Changes
---

rebase and verify that end-to-end test now passes.


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


Repository: aurora


Description
---

Publishing this review now for early feedback, don't intend to ship until most 
of the TODOs are addressed.

This is a mostly red code diff and makes the pants build work similar to how it 
already works in an IDE environment while minimizing duplicated information. 
This change also removes the confusing versions of `thermos` and 
`thermos_observer` in favor of new ones. Because of the way covering 
dependencies were required it was easier to do this refactor than more 
tactically create a working `setup_py` target for `apache.aurora.tools` without 
cycles and without duplicated files.

* Remove the `apache.thermos` package.
* Rename the `apache.gen.aurora` package to `apache.aurora.thrift`.
* Rename the `apache.gen.thermos` package to `apache.thermos.thrift`.
* Introduce a new `apache.aurora.tools` package with the `thermos` and 
`thermos_observer` binaries.
* Create apache.thermos.runner package, rename `thermos/bin` to 
`thermos/runner`.
* Remove all `*-packaged` and virtual dependency trees, as well as the phrase 
covering dependencies.
* Use `_`-prefix naming convention for private target names.
* Replace manual list of targets in `make-python-sdists` with 
automatically-generated one (using new convention).
* Introduce a new `apache.aurora.kerberos` package with the `kaurora` and 
`kaurora_admin` binaries.
* Remove all `BUILD` files in `src/main` that don't contain an exported 
`setup.py` library (except one mentioned in TODO).
* Use dictionary syntax in `with_binaries` (TODO: replace the underscores in 
binary names with dashes?).
* Remove unused/unreachable binaries (most `bin/` dirs under `thermos/`).
* Create blank `__init__.py` files in directories that pants warns aren't 
packages.
* Added `thermos` command to vagrant image.

* TODO: Write NEWS entry


Diffs (updated)
-

  api/src/main/thrift/org/apache/aurora/gen/BUILD 
d196fefc2c5e5ee32d0cf9c901cffe7d247379d1 
  api/src/main/thrift/org/apache/thermos/BUILD 
d0d789a6ee3971e3070f9397d53929563a77f7ea 
  build-support/packaging/debian/rules 17e00c02a3cb3294d5107516d795a73587ca4f70 
  build-support/packaging/rpm/aurora.spec 
7cf8de6f7b99788ca461a90fc4aefba7dccd7b63 
  build-support/release/make-python-sdists 
9608f68e16243da01434ce2fc7d61bb7c7efd712 
  examples/vagrant/aurorabuild.sh fbaa6ae9ef7ff2910af8c9c0d6b8ef90ea3e152a 
  src/main/python/apache/aurora/admin/BUILD 
22bf3f9943ea11258ba681bdb80feb00206bb926 
  src/main/python/apache/aurora/admin/aurora_admin.py 
1c39717b656465bb1966073340f9fe80be01a085 
  src/main/python/apache/aurora/client/BUILD 
e73cd52289209bb9658b16bb77dc0b0a9c811a1a 
  src/main/python/apache/aurora/client/api/BUILD 
a030a67b78fc4bc4682d0df169e27efc6810dce3 
  src/main/python/apache/aurora/client/cli/BUILD 
973d05971bd940c7e38c48ce6bfbf5c8e1654c5a 
  src/main/python/apache/aurora/client/cli/client.py 
c0974f3bef59f8f7c2320398d367cb4dd9048d2b 
  src/main/python/apache/aurora/client/hooks/BUILD 
ddf813b5d2e7d63507a8e08745ebf6cb3dbac8e1 
  src/main/python/apache/aurora/common/BUILD 
abc122b0775bb17b1df67bdb946c472010219b9b 
  src/main/python/apache/aurora/common/auth/BUILD 
0abac94eeeb71e6af43ed191ea690e5f96a6be23 
  src/main/python/apache/aurora/common/auth/kerberos.py 
2d782b63b611a9d2604ef0ab1116d3e68fb86dc7 
  src/main/python/apache/aurora/config/BUILD 
0a3a93fa6bb785903f71bc067aecc79c0e45a0b5 
  src/main/python/apache/aurora/config/schema/BUILD 
171f42a24ec7ddc2846eb68b6a60e7d8dec4383b 
  src/main/python/apache/aurora/executor/BUILD 
891cbe63d23ea59a68ca99f62d29be5713c9b91d 
  src/main/python/apache/aurora/executor/bin/BUILD 
b23429ab9d1d3db1af2bb1b77f5bce30de19f34b 
  src/main/python/apache/aurora/executor/common/BUILD 
3d94792b9e3c2d0f7bb7ce42616f08947f5119ee 
  src/main/python/apache/aurora/kerberos/BUILD PRE-CREATION 
  src/main/python/apache/aurora/tools/BUILD 
9dfeb6c7e5a3796c76250aa9ff6fd4230d00cfb0 
  src/main/python/apache/thermos/BUILD 8221aa0bd4efe5f519550cba716d6a564ba9ae44 
  src/main/python/apache/thermos/bin/BUILD 
4f0cb9b67b1c3c52ec3278ce92ff0d765257796c 
  src/main/python/apache/thermos/bin/__init__.py  
  src/main/python/apache/thermos/bin/thermos_ckpt.py 
8ed69e0440b6aec85c5fa9e138215b592e9adcb1 
  src/main/python/apache/thermos/bin/thermos_runner.py  
  src/main/python/apache/thermos/cli/BUILD 
2b9bc6245718397e4cb1ba104194b167434a3112 
  src/main/python/apache/thermos/cli/bin/BUILD 
f33c7f838a6a0932abc737d0ecf7ca3a59580e2e 
  src/main/python/apache/thermos/cli/bin/thermos.py 

Review Request 36972: One python_library per exported setup.py project

2015-07-30 Thread Kevin Sweeney

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

Review request for Aurora, Bill Farner and Brian Wickman.


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


Repository: aurora


Description
---

Publishing this review now for early feedback, don't intend to ship until most 
of the TODOs are addressed.

This is a mostly red code diff and makes the pants build work similar to how it 
already works in an IDE environment while minimizing duplicated information. 
This change also removes the confusing versions of `thermos` and 
`thermos_observer` in favor of new ones. Because of the way covering 
dependencies were required it was easier to do this refactor than more 
tactically create a working `setup_py` target for `apache.aurora.tools` without 
cycles and without duplicated files.

* Remove the `apache.thermos` package.
* Rename the `apache.gen.aurora` package to `apache.aurora.thrift`.
* Rename the `apache.gen.thermos` package to `apache.thermos.thrift`.
* Introduce a new `apache.aurora.tools` package.
* Create apache.thermos.runner package, rename `thermos/bin` to 
`thermos/runner`.
* Remove all `*-packaged` and virtual dependency trees, as well as the phrase 
covering dependencies.
* Use `_`-prefix naming convention for private target names.
* Replace manual list of targets in `make-python-sdists` with 
automatically-generated one (using new convention).
* Remove `kaurora` and `kaurora_admin` binaries.
* Remove all `BUILD` files in `src/main` that don't contain an exported 
`setup.py` library (except one mentioned in TODO).
* Use dictionary syntax in `with_binaries` (TODO: replace the underscores in 
binary names with dashes?).
* Remove unused/unreachable binaries (most `bin/` dirs under `thermos/`).
* Create blank `__init__.py` files in directories that pants warns aren't 
packages.

* TODO: Write NEWS entry


Diffs
-

  api/src/main/thrift/org/apache/aurora/gen/BUILD 
d196fefc2c5e5ee32d0cf9c901cffe7d247379d1 
  api/src/main/thrift/org/apache/thermos/BUILD 
d0d789a6ee3971e3070f9397d53929563a77f7ea 
  build-support/release/make-python-sdists 
9608f68e16243da01434ce2fc7d61bb7c7efd712 
  src/main/python/apache/aurora/admin/BUILD 
22bf3f9943ea11258ba681bdb80feb00206bb926 
  src/main/python/apache/aurora/client/BUILD 
e73cd52289209bb9658b16bb77dc0b0a9c811a1a 
  src/main/python/apache/aurora/client/api/BUILD 
a030a67b78fc4bc4682d0df169e27efc6810dce3 
  src/main/python/apache/aurora/client/cli/BUILD 
973d05971bd940c7e38c48ce6bfbf5c8e1654c5a 
  src/main/python/apache/aurora/client/hooks/BUILD 
ddf813b5d2e7d63507a8e08745ebf6cb3dbac8e1 
  src/main/python/apache/aurora/common/BUILD 
abc122b0775bb17b1df67bdb946c472010219b9b 
  src/main/python/apache/aurora/common/auth/BUILD 
0abac94eeeb71e6af43ed191ea690e5f96a6be23 
  src/main/python/apache/aurora/config/BUILD 
0a3a93fa6bb785903f71bc067aecc79c0e45a0b5 
  src/main/python/apache/aurora/config/schema/BUILD 
171f42a24ec7ddc2846eb68b6a60e7d8dec4383b 
  src/main/python/apache/aurora/executor/BUILD 
891cbe63d23ea59a68ca99f62d29be5713c9b91d 
  src/main/python/apache/aurora/executor/bin/BUILD 
b23429ab9d1d3db1af2bb1b77f5bce30de19f34b 
  src/main/python/apache/aurora/executor/common/BUILD 
3d94792b9e3c2d0f7bb7ce42616f08947f5119ee 
  src/main/python/apache/aurora/tools/BUILD 
9dfeb6c7e5a3796c76250aa9ff6fd4230d00cfb0 
  src/main/python/apache/thermos/BUILD 8221aa0bd4efe5f519550cba716d6a564ba9ae44 
  src/main/python/apache/thermos/bin/BUILD 
4f0cb9b67b1c3c52ec3278ce92ff0d765257796c 
  src/main/python/apache/thermos/bin/__init__.py  
  src/main/python/apache/thermos/bin/thermos_ckpt.py 
8ed69e0440b6aec85c5fa9e138215b592e9adcb1 
  src/main/python/apache/thermos/bin/thermos_runner.py  
  src/main/python/apache/thermos/cli/BUILD 
2b9bc6245718397e4cb1ba104194b167434a3112 
  src/main/python/apache/thermos/cli/bin/BUILD 
f33c7f838a6a0932abc737d0ecf7ca3a59580e2e 
  src/main/python/apache/thermos/cli/bin/thermos.py 
fcef38d33e7ca2005f35c3bdb90ffee6aeade3af 
  src/main/python/apache/thermos/cli/commands/BUILD 
552eeb4f61693033d8828e789bd22e680b957d1d 
  src/main/python/apache/thermos/common/BUILD 
942fc15f5a5d6a5ff58385b10f3783ac476a4f82 
  src/main/python/apache/thermos/config/BUILD 
d9099c5806eadb1190d2028142a7ec711023d39f 
  src/main/python/apache/thermos/config/bin/config_load.py 
d6e1f820ac6b0fa4e47e26f99df1602a2d3d021e 
  src/main/python/apache/thermos/config/bin/config_repl.py 
ae9ca3b2812f719b0a6185081434d557492ac825 
  src/main/python/apache/thermos/core/BUILD 
d47b7a2c5db8ba9a85e2403b7d6bf2dea3f045ea 
  src/main/python/apache/thermos/monitoring/BUILD 
e8851026cb7ff59f0fd719837fdb0110be356c31 
  src/main/python/apache/thermos/observer/BUILD 
41db2cc2e11234c434f58f55abec0b9f308096be 
  src/main/python/apache/thermos/observer/bin/BUILD 
0abe2ccfe9c5ccb509ad731125385900114ba352 
  

Re: Review Request 36972: One python_library per exported setup.py project

2015-07-30 Thread Aurora ReviewBot

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


Master (d327773) is green with this patch.
  ./build-support/jenkins/build.sh

However, it appears that it might lack test coverage.

I will refresh this build result if you post a review containing @ReviewBot 
retry

- Aurora ReviewBot


On July 31, 2015, 2:32 a.m., Kevin Sweeney wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://reviews.apache.org/r/36972/
 ---
 
 (Updated July 31, 2015, 2:32 a.m.)
 
 
 Review request for Aurora, Bill Farner and Brian Wickman.
 
 
 Bugs: AURORA-1381
 https://issues.apache.org/jira/browse/AURORA-1381
 
 
 Repository: aurora
 
 
 Description
 ---
 
 Publishing this review now for early feedback, don't intend to ship until 
 most of the TODOs are addressed.
 
 This is a mostly red code diff and makes the pants build work similar to how 
 it already works in an IDE environment while minimizing duplicated 
 information. This change also removes the confusing versions of `thermos` and 
 `thermos_observer` in favor of new ones. Because of the way covering 
 dependencies were required it was easier to do this refactor than more 
 tactically create a working `setup_py` target for `apache.aurora.tools` 
 without cycles and without duplicated files.
 
 * Remove the `apache.thermos` package.
 * Rename the `apache.gen.aurora` package to `apache.aurora.thrift`.
 * Rename the `apache.gen.thermos` package to `apache.thermos.thrift`.
 * Introduce a new `apache.aurora.tools` package.
 * Create apache.thermos.runner package, rename `thermos/bin` to 
 `thermos/runner`.
 * Remove all `*-packaged` and virtual dependency trees, as well as the phrase 
 covering dependencies.
 * Use `_`-prefix naming convention for private target names.
 * Replace manual list of targets in `make-python-sdists` with 
 automatically-generated one (using new convention).
 * Remove `kaurora` and `kaurora_admin` binaries.
 * Remove all `BUILD` files in `src/main` that don't contain an exported 
 `setup.py` library (except one mentioned in TODO).
 * Use dictionary syntax in `with_binaries` (TODO: replace the underscores in 
 binary names with dashes?).
 * Remove unused/unreachable binaries (most `bin/` dirs under `thermos/`).
 * Create blank `__init__.py` files in directories that pants warns aren't 
 packages.
 
 * TODO: Write NEWS entry
 
 
 Diffs
 -
 
   api/src/main/thrift/org/apache/aurora/gen/BUILD 
 d196fefc2c5e5ee32d0cf9c901cffe7d247379d1 
   api/src/main/thrift/org/apache/thermos/BUILD 
 d0d789a6ee3971e3070f9397d53929563a77f7ea 
   build-support/release/make-python-sdists 
 9608f68e16243da01434ce2fc7d61bb7c7efd712 
   src/main/python/apache/aurora/admin/BUILD 
 22bf3f9943ea11258ba681bdb80feb00206bb926 
   src/main/python/apache/aurora/client/BUILD 
 e73cd52289209bb9658b16bb77dc0b0a9c811a1a 
   src/main/python/apache/aurora/client/api/BUILD 
 a030a67b78fc4bc4682d0df169e27efc6810dce3 
   src/main/python/apache/aurora/client/cli/BUILD 
 973d05971bd940c7e38c48ce6bfbf5c8e1654c5a 
   src/main/python/apache/aurora/client/hooks/BUILD 
 ddf813b5d2e7d63507a8e08745ebf6cb3dbac8e1 
   src/main/python/apache/aurora/common/BUILD 
 abc122b0775bb17b1df67bdb946c472010219b9b 
   src/main/python/apache/aurora/common/auth/BUILD 
 0abac94eeeb71e6af43ed191ea690e5f96a6be23 
   src/main/python/apache/aurora/config/BUILD 
 0a3a93fa6bb785903f71bc067aecc79c0e45a0b5 
   src/main/python/apache/aurora/config/schema/BUILD 
 171f42a24ec7ddc2846eb68b6a60e7d8dec4383b 
   src/main/python/apache/aurora/executor/BUILD 
 891cbe63d23ea59a68ca99f62d29be5713c9b91d 
   src/main/python/apache/aurora/executor/bin/BUILD 
 b23429ab9d1d3db1af2bb1b77f5bce30de19f34b 
   src/main/python/apache/aurora/executor/common/BUILD 
 3d94792b9e3c2d0f7bb7ce42616f08947f5119ee 
   src/main/python/apache/aurora/tools/BUILD 
 9dfeb6c7e5a3796c76250aa9ff6fd4230d00cfb0 
   src/main/python/apache/thermos/BUILD 
 8221aa0bd4efe5f519550cba716d6a564ba9ae44 
   src/main/python/apache/thermos/bin/BUILD 
 4f0cb9b67b1c3c52ec3278ce92ff0d765257796c 
   src/main/python/apache/thermos/bin/__init__.py  
   src/main/python/apache/thermos/bin/thermos_ckpt.py 
 8ed69e0440b6aec85c5fa9e138215b592e9adcb1 
   src/main/python/apache/thermos/bin/thermos_runner.py  
   src/main/python/apache/thermos/cli/BUILD 
 2b9bc6245718397e4cb1ba104194b167434a3112 
   src/main/python/apache/thermos/cli/bin/BUILD 
 f33c7f838a6a0932abc737d0ecf7ca3a59580e2e 
   src/main/python/apache/thermos/cli/bin/thermos.py 
 fcef38d33e7ca2005f35c3bdb90ffee6aeade3af 
   src/main/python/apache/thermos/cli/commands/BUILD 
 552eeb4f61693033d8828e789bd22e680b957d1d 
   src/main/python/apache/thermos/common/BUILD 
 

Re: Review Request 36972: One python_library per exported setup.py project

2015-07-30 Thread Kevin Sweeney

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

(Updated July 30, 2015, 8:37 p.m.)


Review request for Aurora, Bill Farner and Brian Wickman.


Changes
---

RPMs, DEBs, and e2e test


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


Repository: aurora


Description (updated)
---

Publishing this review now for early feedback, don't intend to ship until most 
of the TODOs are addressed.

This is a mostly red code diff and makes the pants build work similar to how it 
already works in an IDE environment while minimizing duplicated information. 
This change also removes the confusing versions of `thermos` and 
`thermos_observer` in favor of new ones. Because of the way covering 
dependencies were required it was easier to do this refactor than more 
tactically create a working `setup_py` target for `apache.aurora.tools` without 
cycles and without duplicated files.

* Remove the `apache.thermos` package.
* Rename the `apache.gen.aurora` package to `apache.aurora.thrift`.
* Rename the `apache.gen.thermos` package to `apache.thermos.thrift`.
* Introduce a new `apache.aurora.tools` package.
* Create apache.thermos.runner package, rename `thermos/bin` to 
`thermos/runner`.
* Remove all `*-packaged` and virtual dependency trees, as well as the phrase 
covering dependencies.
* Use `_`-prefix naming convention for private target names.
* Replace manual list of targets in `make-python-sdists` with 
automatically-generated one (using new convention).
* Remove `kaurora` and `kaurora_admin` binaries.
* Remove all `BUILD` files in `src/main` that don't contain an exported 
`setup.py` library (except one mentioned in TODO).
* Use dictionary syntax in `with_binaries` (TODO: replace the underscores in 
binary names with dashes?).
* Remove unused/unreachable binaries (most `bin/` dirs under `thermos/`).
* Create blank `__init__.py` files in directories that pants warns aren't 
packages.
* Added `krb5-devel` to rpm spec `BuildRequires`
* Added `thermos` command to vagrant image.

* TODO: Write NEWS entry


Diffs (updated)
-

  api/src/main/thrift/org/apache/aurora/gen/BUILD 
d196fefc2c5e5ee32d0cf9c901cffe7d247379d1 
  api/src/main/thrift/org/apache/thermos/BUILD 
d0d789a6ee3971e3070f9397d53929563a77f7ea 
  build-support/packaging/debian/rules 17e00c02a3cb3294d5107516d795a73587ca4f70 
  build-support/packaging/rpm/aurora.spec 
7cf8de6f7b99788ca461a90fc4aefba7dccd7b63 
  build-support/release/make-python-sdists 
9608f68e16243da01434ce2fc7d61bb7c7efd712 
  examples/vagrant/aurorabuild.sh fbaa6ae9ef7ff2910af8c9c0d6b8ef90ea3e152a 
  src/main/python/apache/aurora/admin/BUILD 
22bf3f9943ea11258ba681bdb80feb00206bb926 
  src/main/python/apache/aurora/client/BUILD 
e73cd52289209bb9658b16bb77dc0b0a9c811a1a 
  src/main/python/apache/aurora/client/api/BUILD 
a030a67b78fc4bc4682d0df169e27efc6810dce3 
  src/main/python/apache/aurora/client/cli/BUILD 
973d05971bd940c7e38c48ce6bfbf5c8e1654c5a 
  src/main/python/apache/aurora/client/hooks/BUILD 
ddf813b5d2e7d63507a8e08745ebf6cb3dbac8e1 
  src/main/python/apache/aurora/common/BUILD 
abc122b0775bb17b1df67bdb946c472010219b9b 
  src/main/python/apache/aurora/common/auth/BUILD 
0abac94eeeb71e6af43ed191ea690e5f96a6be23 
  src/main/python/apache/aurora/config/BUILD 
0a3a93fa6bb785903f71bc067aecc79c0e45a0b5 
  src/main/python/apache/aurora/config/schema/BUILD 
171f42a24ec7ddc2846eb68b6a60e7d8dec4383b 
  src/main/python/apache/aurora/executor/BUILD 
891cbe63d23ea59a68ca99f62d29be5713c9b91d 
  src/main/python/apache/aurora/executor/bin/BUILD 
b23429ab9d1d3db1af2bb1b77f5bce30de19f34b 
  src/main/python/apache/aurora/executor/common/BUILD 
3d94792b9e3c2d0f7bb7ce42616f08947f5119ee 
  src/main/python/apache/aurora/tools/BUILD 
9dfeb6c7e5a3796c76250aa9ff6fd4230d00cfb0 
  src/main/python/apache/thermos/BUILD 8221aa0bd4efe5f519550cba716d6a564ba9ae44 
  src/main/python/apache/thermos/bin/BUILD 
4f0cb9b67b1c3c52ec3278ce92ff0d765257796c 
  src/main/python/apache/thermos/bin/__init__.py  
  src/main/python/apache/thermos/bin/thermos_ckpt.py 
8ed69e0440b6aec85c5fa9e138215b592e9adcb1 
  src/main/python/apache/thermos/bin/thermos_runner.py  
  src/main/python/apache/thermos/cli/BUILD 
2b9bc6245718397e4cb1ba104194b167434a3112 
  src/main/python/apache/thermos/cli/bin/BUILD 
f33c7f838a6a0932abc737d0ecf7ca3a59580e2e 
  src/main/python/apache/thermos/cli/bin/thermos.py 
fcef38d33e7ca2005f35c3bdb90ffee6aeade3af 
  src/main/python/apache/thermos/cli/commands/BUILD 
552eeb4f61693033d8828e789bd22e680b957d1d 
  src/main/python/apache/thermos/common/BUILD 
942fc15f5a5d6a5ff58385b10f3783ac476a4f82 
  src/main/python/apache/thermos/config/BUILD 
d9099c5806eadb1190d2028142a7ec711023d39f 
  src/main/python/apache/thermos/config/bin/config_load.py 
d6e1f820ac6b0fa4e47e26f99df1602a2d3d021e