aurora-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject git commit: Adding admin commands into aurora2 lib.
Date Mon, 02 Jun 2014 20:30:18 GMT
Repository: incubator-aurora
Updated Branches:
  refs/heads/master b772bff32 -> 627c97396


Adding admin commands into aurora2 lib.

Bugs closed: AURORA-502

Reviewed at https://reviews.apache.org/r/22154/


Project: http://git-wip-us.apache.org/repos/asf/incubator-aurora/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-aurora/commit/627c9739
Tree: http://git-wip-us.apache.org/repos/asf/incubator-aurora/tree/627c9739
Diff: http://git-wip-us.apache.org/repos/asf/incubator-aurora/diff/627c9739

Branch: refs/heads/master
Commit: 627c973969f060ec0abb68ddc64f6c792c26b2e5
Parents: b772bff
Author: Maxim Khutornenko <maxim@apache.org>
Authored: Mon Jun 2 13:30:12 2014 -0700
Committer: Maxim Khutornenko <maxim@apache.org>
Committed: Mon Jun 2 13:30:12 2014 -0700

----------------------------------------------------------------------
 src/main/python/apache/aurora/client/bin/BUILD | 23 ++++++++++++++-------
 src/main/python/apache/aurora/client/cli/BUILD |  1 +
 2 files changed, 16 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-aurora/blob/627c9739/src/main/python/apache/aurora/client/bin/BUILD
----------------------------------------------------------------------
diff --git a/src/main/python/apache/aurora/client/bin/BUILD b/src/main/python/apache/aurora/client/bin/BUILD
index 6a405e7..43d7479 100644
--- a/src/main/python/apache/aurora/client/bin/BUILD
+++ b/src/main/python/apache/aurora/client/bin/BUILD
@@ -33,15 +33,22 @@ python_library(
 
 python_binary(
   name = 'aurora_admin',
-  source = 'aurora_admin.py',
   entry_point = 'apache.aurora.client.bin.aurora_admin:proxy_main',
   dependencies = [
-    pants('3rdparty/python:twitter.common.app'),
-    pants('3rdparty/python:twitter.common.log'),
-    pants('src/main/python/apache/aurora/client/commands:admin'),
-    pants('src/main/python/apache/aurora/client/commands:help'),
-    pants('src/main/python/apache/aurora/client/commands:maintenance'),
-    pants('src/main/python/apache/aurora/client:base'),
-    pants('src/main/python/apache/aurora/client:options'),
+    pants(':aurora_admin_lib')
   ]
 )
+
+python_library(
+  name = 'aurora_admin_lib',
+  sources = [ 'aurora_admin.py' ],
+  dependencies = [
+      pants('3rdparty/python:twitter.common.app'),
+      pants('3rdparty/python:twitter.common.log'),
+      pants('src/main/python/apache/aurora/client/commands:admin'),
+      pants('src/main/python/apache/aurora/client/commands:help'),
+      pants('src/main/python/apache/aurora/client/commands:maintenance'),
+      pants('src/main/python/apache/aurora/client:base'),
+      pants('src/main/python/apache/aurora/client:options'),
+    ]
+)

http://git-wip-us.apache.org/repos/asf/incubator-aurora/blob/627c9739/src/main/python/apache/aurora/client/cli/BUILD
----------------------------------------------------------------------
diff --git a/src/main/python/apache/aurora/client/cli/BUILD b/src/main/python/apache/aurora/client/cli/BUILD
index 5392ed9..1c71d38 100644
--- a/src/main/python/apache/aurora/client/cli/BUILD
+++ b/src/main/python/apache/aurora/client/cli/BUILD
@@ -32,6 +32,7 @@ python_library(
     pants(':cli'),
     pants(':bridge'),
     pants('3rdparty/python:twitter.common.python'),
+    pants('src/main/python/apache/aurora/client/bin:aurora_admin_lib'),
     pants('src/main/python/apache/aurora/client/bin:aurora_client_lib')
   ]
 )


Mime
View raw message