This is an automated email from the ASF dual-hosted git repository. bbannier pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/mesos.git
commit a98e7386abe195ac34631efb40167db872efe44d Author: Benjamin Bannier <[email protected]> AuthorDate: Sat Mar 2 16:20:49 2019 +0100 Added license header to some Python source files. Review: https://reviews.apache.org/r/70093 --- mpi/mpiexec-mesos.py | 17 +++++++++++++++++ src/python/cli/src/mesos/__init__.py | 16 ++++++++++++++++ src/python/executor/src/mesos/__init__.py | 16 ++++++++++++++++ src/python/interface/src/mesos/__init__.py | 16 ++++++++++++++++ src/python/interface/src/mesos/v1/__init__.py | 15 +++++++++++++++ src/python/interface/src/mesos/v1/interface/__init__.py | 15 +++++++++++++++ src/python/native/src/mesos/__init__.py | 16 ++++++++++++++++ src/python/protocol/src/mesos/__init__.py | 16 ++++++++++++++++ src/python/scheduler/src/mesos/__init__.py | 16 ++++++++++++++++ src/python/src/mesos/__init__.py | 16 ++++++++++++++++ 10 files changed, 159 insertions(+) diff --git a/mpi/mpiexec-mesos.py b/mpi/mpiexec-mesos.py index d86c85b..932e2f1 100755 --- a/mpi/mpiexec-mesos.py +++ b/mpi/mpiexec-mesos.py @@ -1,5 +1,22 @@ #!/usr/bin/env python +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you 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. + + import mesos.interface import mesos.native from mesos.interface import mesos_pb2 diff --git a/src/python/cli/src/mesos/__init__.py b/src/python/cli/src/mesos/__init__.py index 3fcba01..e1b0df6 100644 --- a/src/python/cli/src/mesos/__init__.py +++ b/src/python/cli/src/mesos/__init__.py @@ -1,3 +1,19 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you 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. + # See http://peak.telecommunity.com/DevCenter/setuptools#namespace-packages # Because python does not normally allow the contents of a package to be # retrieved from more than one location, this code snippet ensures that the diff --git a/src/python/executor/src/mesos/__init__.py b/src/python/executor/src/mesos/__init__.py index 3fcba01..e1b0df6 100644 --- a/src/python/executor/src/mesos/__init__.py +++ b/src/python/executor/src/mesos/__init__.py @@ -1,3 +1,19 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you 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. + # See http://peak.telecommunity.com/DevCenter/setuptools#namespace-packages # Because python does not normally allow the contents of a package to be # retrieved from more than one location, this code snippet ensures that the diff --git a/src/python/interface/src/mesos/__init__.py b/src/python/interface/src/mesos/__init__.py index 3fcba01..e1b0df6 100644 --- a/src/python/interface/src/mesos/__init__.py +++ b/src/python/interface/src/mesos/__init__.py @@ -1,3 +1,19 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you 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. + # See http://peak.telecommunity.com/DevCenter/setuptools#namespace-packages # Because python does not normally allow the contents of a package to be # retrieved from more than one location, this code snippet ensures that the diff --git a/src/python/interface/src/mesos/v1/__init__.py b/src/python/interface/src/mesos/v1/__init__.py index e69de29..635f0d9 100644 --- a/src/python/interface/src/mesos/v1/__init__.py +++ b/src/python/interface/src/mesos/v1/__init__.py @@ -0,0 +1,15 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you 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. diff --git a/src/python/interface/src/mesos/v1/interface/__init__.py b/src/python/interface/src/mesos/v1/interface/__init__.py index e69de29..635f0d9 100644 --- a/src/python/interface/src/mesos/v1/interface/__init__.py +++ b/src/python/interface/src/mesos/v1/interface/__init__.py @@ -0,0 +1,15 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you 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. diff --git a/src/python/native/src/mesos/__init__.py b/src/python/native/src/mesos/__init__.py index 3fcba01..e1b0df6 100644 --- a/src/python/native/src/mesos/__init__.py +++ b/src/python/native/src/mesos/__init__.py @@ -1,3 +1,19 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you 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. + # See http://peak.telecommunity.com/DevCenter/setuptools#namespace-packages # Because python does not normally allow the contents of a package to be # retrieved from more than one location, this code snippet ensures that the diff --git a/src/python/protocol/src/mesos/__init__.py b/src/python/protocol/src/mesos/__init__.py index 3fcba01..e1b0df6 100644 --- a/src/python/protocol/src/mesos/__init__.py +++ b/src/python/protocol/src/mesos/__init__.py @@ -1,3 +1,19 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you 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. + # See http://peak.telecommunity.com/DevCenter/setuptools#namespace-packages # Because python does not normally allow the contents of a package to be # retrieved from more than one location, this code snippet ensures that the diff --git a/src/python/scheduler/src/mesos/__init__.py b/src/python/scheduler/src/mesos/__init__.py index 3fcba01..e1b0df6 100644 --- a/src/python/scheduler/src/mesos/__init__.py +++ b/src/python/scheduler/src/mesos/__init__.py @@ -1,3 +1,19 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you 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. + # See http://peak.telecommunity.com/DevCenter/setuptools#namespace-packages # Because python does not normally allow the contents of a package to be # retrieved from more than one location, this code snippet ensures that the diff --git a/src/python/src/mesos/__init__.py b/src/python/src/mesos/__init__.py index f48ad10..3cfabf0 100644 --- a/src/python/src/mesos/__init__.py +++ b/src/python/src/mesos/__init__.py @@ -1,3 +1,19 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you 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. + # See http://peak.telecommunity.com/DevCenter/setuptools#namespace-packages try: __import__('pkg_resources').declare_namespace(__name__)
