aurora-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jfarr...@apache.org
Subject git commit: AURORA-594: RC1 files missing Apache license headers
Date Thu, 24 Jul 2014 02:52:40 GMT
Repository: incubator-aurora
Updated Branches:
  refs/heads/master 2d7aa386a -> c7990bf13


AURORA-594: RC1 files missing Apache license headers

Adds missing license headers to empty and newly added files.

Testing Done:
ran: build-support/jenkins/build.sh

All test passed except test_cluster_option as outlined in AURORA-595

Bugs closed: AURORA-594

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


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

Branch: refs/heads/master
Commit: c7990bf130f639b398a3254f5aa3522aeb04f469
Parents: 2d7aa38
Author: Jake Farrell <jfarrell@apache.org>
Authored: Wed Jul 23 22:32:03 2014 -0400
Committer: jfarrell <jfarrell@apache.org>
Committed: Wed Jul 23 22:52:20 2014 -0400

----------------------------------------------------------------------
 src/main/python/apache/aurora/BUILD                 |  0
 .../python/apache/aurora/client/cli/AuroraHooks     | 16 +++++++++++++++-
 .../cli/hook_test_data/bad_syntax/AuroraHooks       | 14 ++++++++++++++
 .../cli/hook_test_data/exec_error/AuroraHooks       | 14 ++++++++++++++
 .../apache/aurora/client/cli/test_command_hooks.py  |  2 +-
 5 files changed, 44 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-aurora/blob/c7990bf1/src/main/python/apache/aurora/BUILD
----------------------------------------------------------------------
diff --git a/src/main/python/apache/aurora/BUILD b/src/main/python/apache/aurora/BUILD
deleted file mode 100644
index e69de29..0000000

http://git-wip-us.apache.org/repos/asf/incubator-aurora/blob/c7990bf1/src/test/python/apache/aurora/client/cli/AuroraHooks
----------------------------------------------------------------------
diff --git a/src/test/python/apache/aurora/client/cli/AuroraHooks b/src/test/python/apache/aurora/client/cli/AuroraHooks
index c25bcfb..e27fcc8 100644
--- a/src/test/python/apache/aurora/client/cli/AuroraHooks
+++ b/src/test/python/apache/aurora/client/cli/AuroraHooks
@@ -1,3 +1,17 @@
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
 from apache.aurora.client.cli.command_hooks import CommandHook
 
 class DynamicHook(CommandHook):
@@ -26,4 +40,4 @@ class DynamicHook(CommandHook):
   def post_command(self, noun, verb, context, commandline, result):
     self.ran_post = True
 
-hooks = [ DynamicHook(True) ]
\ No newline at end of file
+hooks = [ DynamicHook(True) ]

http://git-wip-us.apache.org/repos/asf/incubator-aurora/blob/c7990bf1/src/test/python/apache/aurora/client/cli/hook_test_data/bad_syntax/AuroraHooks
----------------------------------------------------------------------
diff --git a/src/test/python/apache/aurora/client/cli/hook_test_data/bad_syntax/AuroraHooks
b/src/test/python/apache/aurora/client/cli/hook_test_data/bad_syntax/AuroraHooks
index 6333986..9a22159 100644
--- a/src/test/python/apache/aurora/client/cli/hook_test_data/bad_syntax/AuroraHooks
+++ b/src/test/python/apache/aurora/client/cli/hook_test_data/bad_syntax/AuroraHooks
@@ -1 +1,15 @@
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
 This is not valid python syntax.

http://git-wip-us.apache.org/repos/asf/incubator-aurora/blob/c7990bf1/src/test/python/apache/aurora/client/cli/hook_test_data/exec_error/AuroraHooks
----------------------------------------------------------------------
diff --git a/src/test/python/apache/aurora/client/cli/hook_test_data/exec_error/AuroraHooks
b/src/test/python/apache/aurora/client/cli/hook_test_data/exec_error/AuroraHooks
index 768c124..5dc5907 100644
--- a/src/test/python/apache/aurora/client/cli/hook_test_data/exec_error/AuroraHooks
+++ b/src/test/python/apache/aurora/client/cli/hook_test_data/exec_error/AuroraHooks
@@ -1,3 +1,17 @@
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
 from apache.aurora.client.cli.command_hooks import CommandHook
 
 class DynamicHook(CommandHook):

http://git-wip-us.apache.org/repos/asf/incubator-aurora/blob/c7990bf1/src/test/python/apache/aurora/client/cli/test_command_hooks.py
----------------------------------------------------------------------
diff --git a/src/test/python/apache/aurora/client/cli/test_command_hooks.py b/src/test/python/apache/aurora/client/cli/test_command_hooks.py
index aa99939..3acd2ba 100644
--- a/src/test/python/apache/aurora/client/cli/test_command_hooks.py
+++ b/src/test/python/apache/aurora/client/cli/test_command_hooks.py
@@ -219,7 +219,7 @@ class TestClientCreateCommand(AuroraClientCommandTest):
           "./src/test/python/apache/aurora/client/cli/hook_test_data/bad_syntax")
       log_patch.assert_called_with("Error compiling hooks file "
           "./src/test/python/apache/aurora/client/cli/hook_test_data/bad_syntax/AuroraHooks:
"
-          "invalid syntax (AuroraHooks, line 1)")
+          "invalid syntax (AuroraHooks, line 15)")
 
   def test_dynamic_hook_exec_error(self):
     with patch("logging.warn") as log_patch:


Mime
View raw message