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/12/03 05:35:03 UTC

[buildstream] 01/01: Adding missing license headers in the _testing module.

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

tvb pushed a commit to branch tristan/add-more-missing-license-headers
in repository https://gitbox.apache.org/repos/asf/buildstream.git

commit faeb07ebc55a1f4671106943645fcdac2ff2acbf
Author: Tristan van Berkom <tr...@codethink.co.uk>
AuthorDate: Sat Dec 3 14:34:33 2022 +0900

    Adding missing license headers in the _testing module.
---
 src/buildstream/_testing/_utils/__init__.py | 13 +++++++++++++
 src/buildstream/_testing/_utils/junction.py | 13 +++++++++++++
 src/buildstream/_testing/_utils/site.py     | 13 +++++++++++++
 src/buildstream/_testing/_yaml.py           | 13 +++++++++++++
 4 files changed, 52 insertions(+)

diff --git a/src/buildstream/_testing/_utils/__init__.py b/src/buildstream/_testing/_utils/__init__.py
index 5938e6a5e..9f2c1df96 100644
--- a/src/buildstream/_testing/_utils/__init__.py
+++ b/src/buildstream/_testing/_utils/__init__.py
@@ -1 +1,14 @@
+#
+#  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 .junction import generate_junction
diff --git a/src/buildstream/_testing/_utils/junction.py b/src/buildstream/_testing/_utils/junction.py
index a3537ac20..bc1869fe3 100644
--- a/src/buildstream/_testing/_utils/junction.py
+++ b/src/buildstream/_testing/_utils/junction.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 os
 import tarfile
 
diff --git a/src/buildstream/_testing/_utils/site.py b/src/buildstream/_testing/_utils/site.py
index d0e4cdbe0..0895e2b11 100644
--- a/src/buildstream/_testing/_utils/site.py
+++ b/src/buildstream/_testing/_utils/site.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.
+#
 # Some things resolved about the execution site,
 # so we dont have to repeat this everywhere
 #
diff --git a/src/buildstream/_testing/_yaml.py b/src/buildstream/_testing/_yaml.py
index 396266b85..34642190e 100644
--- a/src/buildstream/_testing/_yaml.py
+++ b/src/buildstream/_testing/_yaml.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 os
 from buildstream import _yaml