You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildstream.apache.org by tv...@apache.org on 2022/10/26 08:37:44 UTC

[buildstream-plugins] branch tristan/release-cleanups created (now e7ef46b)

This is an automated email from the ASF dual-hosted git repository.

tvb pushed a change to branch tristan/release-cleanups
in repository https://gitbox.apache.org/repos/asf/buildstream-plugins.git


      at e7ef46b  Cleanup license headers for initial apache release.

This branch includes the following new commits:

     new e7ef46b  Cleanup license headers for initial apache release.

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[buildstream-plugins] 01/01: Cleanup license headers for initial apache release.

Posted by tv...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

tvb pushed a commit to branch tristan/release-cleanups
in repository https://gitbox.apache.org/repos/asf/buildstream-plugins.git

commit e7ef46bd9f8c64bbc3db56cedc862477e6ebfca8
Author: Tristan van Berkom <tr...@codethink.co.uk>
AuthorDate: Wed Oct 26 17:36:06 2022 +0900

    Cleanup license headers for initial apache release.
    
    This patch removes the copyright statements from license
    headers, and adds license headers to files which are missing them.
---
 .pylintrc                                        | 13 +++++++++++++
 project.conf                                     | 14 ++++++++++++++
 pyproject.toml                                   | 13 +++++++++++++
 setup.cfg                                        | 13 +++++++++++++
 setup.py                                         |  2 --
 src/buildstream_plugins/__init__.py              | 14 ++++++++++++++
 src/buildstream_plugins/elements/autotools.py    |  2 --
 src/buildstream_plugins/elements/autotools.yaml  | 12 ++++++++++++
 src/buildstream_plugins/elements/cmake.py        |  2 --
 src/buildstream_plugins/elements/cmake.yaml      | 12 ++++++++++++
 src/buildstream_plugins/elements/make.py         |  2 --
 src/buildstream_plugins/elements/make.yaml       | 12 ++++++++++++
 src/buildstream_plugins/elements/meson.py        |  2 --
 src/buildstream_plugins/elements/meson.yaml      | 12 ++++++++++++
 src/buildstream_plugins/elements/pip.py          |  2 --
 src/buildstream_plugins/elements/pip.yaml        | 12 ++++++++++++
 src/buildstream_plugins/elements/setuptools.py   |  2 --
 src/buildstream_plugins/elements/setuptools.yaml | 12 ++++++++++++
 src/buildstream_plugins/sources/bzr.py           |  1 -
 src/buildstream_plugins/sources/cargo.py         |  2 --
 src/buildstream_plugins/sources/docker.py        |  3 ---
 src/buildstream_plugins/sources/git.py           |  3 ---
 src/buildstream_plugins/sources/patch.py         |  3 ---
 src/buildstream_plugins/sources/pip.py           |  2 --
 tests/conftest.py                                | 13 +++++++++++++
 tests/elements/autotools.py                      | 14 ++++++++++++++
 tests/elements/cmake.py                          | 14 ++++++++++++++
 tests/elements/make.py                           | 14 ++++++++++++++
 tests/elements/meson.py                          | 14 ++++++++++++++
 tests/elements/pip.py                            | 14 ++++++++++++++
 tests/elements/setuptools.py                     | 14 ++++++++++++++
 tests/sources/bzr.py                             | 14 ++++++++++++++
 tests/sources/docker.py                          | 14 ++++++++++++++
 tests/sources/git.py                             |  3 ---
 tests/sources/patch.py                           | 14 ++++++++++++++
 tests/sources/pip.py                             | 14 ++++++++++++++
 tests/sources/pip_build.py                       | 14 ++++++++++++++
 tox.ini                                          | 14 ++++++++++++++
 38 files changed, 320 insertions(+), 31 deletions(-)

diff --git a/.pylintrc b/.pylintrc
index 96bd85b..5bd9e47 100644
--- a/.pylintrc
+++ b/.pylintrc
@@ -1,3 +1,16 @@
+#
+#  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.
+#
 [MASTER]
 
 # A comma-separated list of package or module names from where C extensions may
diff --git a/project.conf b/project.conf
index a89e915..a685d47 100644
--- a/project.conf
+++ b/project.conf
@@ -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.
+#
+
 #
 # This project.conf exposes the plugins as a buildstream project so
 # that plugins can be loaded via junctions.
diff --git a/pyproject.toml b/pyproject.toml
index fefbbec..2944c29 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,3 +1,16 @@
+#
+#  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.
+#
 [build-system]
 requires = [
     # We need at least version 36.6.0 that introduced "build_meta"
diff --git a/setup.cfg b/setup.cfg
index 8058ebb..9ab5cda 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -1,3 +1,16 @@
+#
+#  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.
+#
 [aliases]
 test=pytest
 
diff --git a/setup.py b/setup.py
index bf28027..ed83bc0 100755
--- a/setup.py
+++ b/setup.py
@@ -1,7 +1,5 @@
 #!/usr/bin/env python3
 #
-#  Copyright (C) 2022 Codethink Limited
-#
 #  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
diff --git a/src/buildstream_plugins/__init__.py b/src/buildstream_plugins/__init__.py
index cec8be8..726939c 100644
--- a/src/buildstream_plugins/__init__.py
+++ b/src/buildstream_plugins/__init__.py
@@ -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.
+#
+
 #
 # Remember to adjust this version number before tagging releases
 #
diff --git a/src/buildstream_plugins/elements/autotools.py b/src/buildstream_plugins/elements/autotools.py
index 5d29870..500d8c9 100644
--- a/src/buildstream_plugins/elements/autotools.py
+++ b/src/buildstream_plugins/elements/autotools.py
@@ -1,6 +1,4 @@
 #
-#  Copyright (C) 2016, 2018 Codethink Limited
-#
 #  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
diff --git a/src/buildstream_plugins/elements/autotools.yaml b/src/buildstream_plugins/elements/autotools.yaml
index 159a07f..38cb1c4 100644
--- a/src/buildstream_plugins/elements/autotools.yaml
+++ b/src/buildstream_plugins/elements/autotools.yaml
@@ -1,3 +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.
+
 # Autotools default configurations
 
 variables:
diff --git a/src/buildstream_plugins/elements/cmake.py b/src/buildstream_plugins/elements/cmake.py
index 862732e..9fe5cdb 100644
--- a/src/buildstream_plugins/elements/cmake.py
+++ b/src/buildstream_plugins/elements/cmake.py
@@ -1,6 +1,4 @@
 #
-#  Copyright (C) 2018 Codethink Limited
-#
 #  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
diff --git a/src/buildstream_plugins/elements/cmake.yaml b/src/buildstream_plugins/elements/cmake.yaml
index cffa201..01ff8e3 100644
--- a/src/buildstream_plugins/elements/cmake.yaml
+++ b/src/buildstream_plugins/elements/cmake.yaml
@@ -1,3 +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.
+
 # CMake default configuration
 
 variables:
diff --git a/src/buildstream_plugins/elements/make.py b/src/buildstream_plugins/elements/make.py
index f4643af..c9d6375 100644
--- a/src/buildstream_plugins/elements/make.py
+++ b/src/buildstream_plugins/elements/make.py
@@ -1,6 +1,4 @@
 #
-#  Copyright Bloomberg Finance LP
-#
 #  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
diff --git a/src/buildstream_plugins/elements/make.yaml b/src/buildstream_plugins/elements/make.yaml
index 58e2da4..7377f1b 100644
--- a/src/buildstream_plugins/elements/make.yaml
+++ b/src/buildstream_plugins/elements/make.yaml
@@ -1,3 +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.
+
 # make default configurations
 
 variables:
diff --git a/src/buildstream_plugins/elements/meson.py b/src/buildstream_plugins/elements/meson.py
index fe80682..949b186 100644
--- a/src/buildstream_plugins/elements/meson.py
+++ b/src/buildstream_plugins/elements/meson.py
@@ -1,5 +1,3 @@
-#  Copyright (C) 2017 Patrick Griffis
-#  Copyright (C) 2018 Codethink Ltd.
 #
 #  Licensed under the Apache License, Version 2.0 (the "License");
 #  you may not use this file except in compliance with the License.
diff --git a/src/buildstream_plugins/elements/meson.yaml b/src/buildstream_plugins/elements/meson.yaml
index 2172cb3..82020d3 100644
--- a/src/buildstream_plugins/elements/meson.yaml
+++ b/src/buildstream_plugins/elements/meson.yaml
@@ -1,3 +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.
+
 # Meson default configuration
 
 variables:
diff --git a/src/buildstream_plugins/elements/pip.py b/src/buildstream_plugins/elements/pip.py
index a308959..c993c59 100644
--- a/src/buildstream_plugins/elements/pip.py
+++ b/src/buildstream_plugins/elements/pip.py
@@ -1,6 +1,4 @@
 #
-#  Copyright (C) 2017 Mathieu Bridon
-#
 #  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
diff --git a/src/buildstream_plugins/elements/pip.yaml b/src/buildstream_plugins/elements/pip.yaml
index e128d50..fefb948 100644
--- a/src/buildstream_plugins/elements/pip.yaml
+++ b/src/buildstream_plugins/elements/pip.yaml
@@ -1,3 +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.
+
 # Pip default configurations
 
 variables:
diff --git a/src/buildstream_plugins/elements/setuptools.py b/src/buildstream_plugins/elements/setuptools.py
index d16e7d3..53129ec 100644
--- a/src/buildstream_plugins/elements/setuptools.py
+++ b/src/buildstream_plugins/elements/setuptools.py
@@ -1,6 +1,4 @@
 #
-#  Copyright (C) 2016 Codethink Limited
-#
 #  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
diff --git a/src/buildstream_plugins/elements/setuptools.yaml b/src/buildstream_plugins/elements/setuptools.yaml
index c407937..4c4f75d 100644
--- a/src/buildstream_plugins/elements/setuptools.yaml
+++ b/src/buildstream_plugins/elements/setuptools.yaml
@@ -1,3 +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.
+
 # Default python distutils configuration
 
 variables:
diff --git a/src/buildstream_plugins/sources/bzr.py b/src/buildstream_plugins/sources/bzr.py
index e9cec09..bceb88b 100644
--- a/src/buildstream_plugins/sources/bzr.py
+++ b/src/buildstream_plugins/sources/bzr.py
@@ -1,4 +1,3 @@
-#  Copyright (C) 2017 Codethink Limited
 #
 #  Licensed under the Apache License, Version 2.0 (the "License");
 #  you may not use this file except in compliance with the License.
diff --git a/src/buildstream_plugins/sources/cargo.py b/src/buildstream_plugins/sources/cargo.py
index 268f624..e04af98 100644
--- a/src/buildstream_plugins/sources/cargo.py
+++ b/src/buildstream_plugins/sources/cargo.py
@@ -1,6 +1,4 @@
 #
-#  Copyright (C) 2019 Codethink Limited
-#
 #  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
diff --git a/src/buildstream_plugins/sources/docker.py b/src/buildstream_plugins/sources/docker.py
index 7e0146e..01da163 100644
--- a/src/buildstream_plugins/sources/docker.py
+++ b/src/buildstream_plugins/sources/docker.py
@@ -1,7 +1,4 @@
 #
-#  Copyright (C) 2017 Codethink Limited
-#  Copyright (C) 2018 Bloomberg Finance LP
-#
 #  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
diff --git a/src/buildstream_plugins/sources/git.py b/src/buildstream_plugins/sources/git.py
index 13c5fdf..0449c4e 100644
--- a/src/buildstream_plugins/sources/git.py
+++ b/src/buildstream_plugins/sources/git.py
@@ -1,7 +1,4 @@
 #
-#  Copyright (C) 2016 Codethink Limited
-#  Copyright (C) 2018 Bloomberg Finance LP
-#
 #  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
diff --git a/src/buildstream_plugins/sources/patch.py b/src/buildstream_plugins/sources/patch.py
index 7c999a5..1eece2b 100644
--- a/src/buildstream_plugins/sources/patch.py
+++ b/src/buildstream_plugins/sources/patch.py
@@ -1,7 +1,4 @@
 #
-#  Copyright Bloomberg Finance LP
-#  Copyright (C) 2018 Codethink Limited
-#
 #  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
diff --git a/src/buildstream_plugins/sources/pip.py b/src/buildstream_plugins/sources/pip.py
index 6589219..5c43263 100644
--- a/src/buildstream_plugins/sources/pip.py
+++ b/src/buildstream_plugins/sources/pip.py
@@ -1,6 +1,4 @@
 #
-#  Copyright 2018 Bloomberg Finance LP
-#
 #  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
diff --git a/tests/conftest.py b/tests/conftest.py
index 9f30476..3cbee58 100644
--- a/tests/conftest.py
+++ b/tests/conftest.py
@@ -1,3 +1,16 @@
+#
+#  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.
+#
 import pytest
 
 from buildstream._testing import sourcetests_collection_hook
diff --git a/tests/elements/autotools.py b/tests/elements/autotools.py
index 2b4ce65..bedaca7 100644
--- a/tests/elements/autotools.py
+++ b/tests/elements/autotools.py
@@ -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.
+#
+
 # Pylint doesn't play well with fixtures and dependency injection from pytest
 # pylint: disable=redefined-outer-name
 
diff --git a/tests/elements/cmake.py b/tests/elements/cmake.py
index 1cd9230..e4a031f 100644
--- a/tests/elements/cmake.py
+++ b/tests/elements/cmake.py
@@ -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.
+#
+
 # Pylint doesn't play well with fixtures and dependency injection from pytest
 # pylint: disable=redefined-outer-name
 
diff --git a/tests/elements/make.py b/tests/elements/make.py
index 15923d7..bf05af9 100644
--- a/tests/elements/make.py
+++ b/tests/elements/make.py
@@ -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.
+#
+
 # Pylint doesn't play well with fixtures and dependency injection from pytest
 # pylint: disable=redefined-outer-name
 
diff --git a/tests/elements/meson.py b/tests/elements/meson.py
index 46328d3..0856ead 100644
--- a/tests/elements/meson.py
+++ b/tests/elements/meson.py
@@ -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.
+#
+
 # Pylint doesn't play well with fixtures and dependency injection from pytest
 # pylint: disable=redefined-outer-name
 
diff --git a/tests/elements/pip.py b/tests/elements/pip.py
index 700b9ca..97133aa 100644
--- a/tests/elements/pip.py
+++ b/tests/elements/pip.py
@@ -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.
+#
+
 # Pylint doesn't play well with fixtures and dependency injection from pytest
 # pylint: disable=redefined-outer-name
 
diff --git a/tests/elements/setuptools.py b/tests/elements/setuptools.py
index 1580e4d..b856eb4 100644
--- a/tests/elements/setuptools.py
+++ b/tests/elements/setuptools.py
@@ -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.
+#
+
 # Pylint doesn't play well with fixtures and dependency injection from pytest
 # pylint: disable=redefined-outer-name
 
diff --git a/tests/sources/bzr.py b/tests/sources/bzr.py
index 4688423..180fe15 100644
--- a/tests/sources/bzr.py
+++ b/tests/sources/bzr.py
@@ -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.
+#
+
 # Pylint doesn't play well with fixtures and dependency injection from pytest
 # pylint: disable=redefined-outer-name
 
diff --git a/tests/sources/docker.py b/tests/sources/docker.py
index 232fb3d..374f9d8 100644
--- a/tests/sources/docker.py
+++ b/tests/sources/docker.py
@@ -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.
+#
+
 # Pylint doesn't play well with fixtures and dependency injection from pytest
 # pylint: disable=redefined-outer-name
 
diff --git a/tests/sources/git.py b/tests/sources/git.py
index 66b3f83..f292a69 100644
--- a/tests/sources/git.py
+++ b/tests/sources/git.py
@@ -1,7 +1,4 @@
 #
-#  Copyright (C) 2018 Codethink Limited
-#  Copyright (C) 2018 Bloomberg Finance LP
-#
 #  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
diff --git a/tests/sources/patch.py b/tests/sources/patch.py
index 4d1515a..ba6e151 100644
--- a/tests/sources/patch.py
+++ b/tests/sources/patch.py
@@ -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.
+#
+
 # Pylint doesn't play well with fixtures and dependency injection from pytest
 # pylint: disable=redefined-outer-name
 
diff --git a/tests/sources/pip.py b/tests/sources/pip.py
index c316296..9a98bba 100644
--- a/tests/sources/pip.py
+++ b/tests/sources/pip.py
@@ -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.
+#
+
 # Pylint doesn't play well with fixtures and dependency injection from pytest
 # pylint: disable=redefined-outer-name
 
diff --git a/tests/sources/pip_build.py b/tests/sources/pip_build.py
index 27084d9..b5e78c6 100644
--- a/tests/sources/pip_build.py
+++ b/tests/sources/pip_build.py
@@ -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.
+#
+
 # Pylint doesn't play well with fixtures and dependency injection from pytest
 # pylint: disable=redefined-outer-name
 
diff --git a/tox.ini b/tox.ini
index 9d6360f..0019b82 100644
--- a/tox.ini
+++ b/tox.ini
@@ -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.
+#
+
 #
 # Tox global configuration
 #