From 8e8f03055ec3229620515219244796adbb4c69b2 Mon Sep 17 00:00:00 2001
From: alaskowski <alaskowski@ethz.ch>
Date: Fri, 17 Feb 2023 17:00:37 +0100
Subject: [PATCH] SSDM-13365: Updated copyright comments in
 app-openbis-command-line project

---
 .../src/python/obis/__init__.py                  | 14 ++++++++++++++
 .../src/python/obis/conftest.py                  | 15 +++++++++++++++
 .../src/python/obis/dm/__init__.py               | 16 ++++++++++++++++
 .../src/python/obis/dm/checksum.py               | 14 ++++++++++++++
 .../src/python/obis/dm/command_log.py            | 14 ++++++++++++++
 .../src/python/obis/dm/command_result.py         | 14 ++++++++++++++
 .../src/python/obis/dm/commands/__init__.py      | 14 ++++++++++++++
 .../src/python/obis/dm/commands/addref.py        | 14 ++++++++++++++
 .../src/python/obis/dm/commands/clone.py         | 14 ++++++++++++++
 .../src/python/obis/dm/commands/download.py      | 14 ++++++++++++++
 .../src/python/obis/dm/commands/move.py          | 14 ++++++++++++++
 .../python/obis/dm/commands/openbis_command.py   | 14 ++++++++++++++
 .../obis/dm/commands/openbis_command_test.py     | 15 +++++++++++++++
 .../src/python/obis/dm/commands/openbis_sync.py  | 14 ++++++++++++++
 .../src/python/obis/dm/commands/removeref.py     | 14 ++++++++++++++
 .../src/python/obis/dm/config.py                 | 16 ++++++++++++++++
 .../src/python/obis/dm/config_test.py            | 15 +++++++++++++++
 .../src/python/obis/dm/data_mgmt.py              | 15 +++++++++++++++
 .../src/python/obis/dm/data_mgmt_test.py         | 16 ++++++++++++++++
 .../src/python/obis/dm/git.py                    | 14 ++++++++++++++
 .../src/python/obis/dm/repository_utils.py       | 14 ++++++++++++++
 .../src/python/obis/dm/utils.py                  | 14 ++++++++++++++
 .../src/python/obis/dm/utils_test.py             | 14 ++++++++++++++
 .../src/python/obis/scripts/__init__.py          | 15 +++++++++++++++
 .../src/python/obis/scripts/cli.py               | 15 +++++++++++++++
 .../src/python/obis/scripts/click_util.py        | 14 ++++++++++++++
 .../src/python/obis/scripts/data_mgmt_runner.py  | 14 ++++++++++++++
 app-openbis-command-line/src/python/setup.py     | 14 ++++++++++++++
 28 files changed, 404 insertions(+)

diff --git a/app-openbis-command-line/src/python/obis/__init__.py b/app-openbis-command-line/src/python/obis/__init__.py
index 16232cc8483..d2d3d4c48db 100644
--- a/app-openbis-command-line/src/python/obis/__init__.py
+++ b/app-openbis-command-line/src/python/obis/__init__.py
@@ -1,3 +1,17 @@
+#   Copyright ETH 2018 - 2023 Zürich, Scientific IT Services
+# 
+#   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.
+#
 __author__ = "ID SIS • ETH Zürich"
 __email__ = "swen@ethz.ch"
 __version__ = "0.3.2"
diff --git a/app-openbis-command-line/src/python/obis/conftest.py b/app-openbis-command-line/src/python/obis/conftest.py
index 26ef109812c..0c575b297ef 100644
--- a/app-openbis-command-line/src/python/obis/conftest.py
+++ b/app-openbis-command-line/src/python/obis/conftest.py
@@ -1,6 +1,21 @@
 #!/usr/bin/env python
 # -*- coding: utf-8 -*-
 
+#   Copyright ETH 2018 - 2023 Zürich, Scientific IT Services
+# 
+#   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.
+#
+
 """
 conftest.py
 
diff --git a/app-openbis-command-line/src/python/obis/dm/__init__.py b/app-openbis-command-line/src/python/obis/dm/__init__.py
index 239ae62d551..27363aa004c 100644
--- a/app-openbis-command-line/src/python/obis/dm/__init__.py
+++ b/app-openbis-command-line/src/python/obis/dm/__init__.py
@@ -1,6 +1,22 @@
 #!/usr/bin/env python
 # -*- coding: utf-8 -*-
 
+#   Copyright ETH 2018 - 2023 Zürich, Scientific IT Services
+# 
+#   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.
+#
+
+
 """
 __init__.py
 
diff --git a/app-openbis-command-line/src/python/obis/dm/checksum.py b/app-openbis-command-line/src/python/obis/dm/checksum.py
index 106e3c16e5f..78326abe455 100644
--- a/app-openbis-command-line/src/python/obis/dm/checksum.py
+++ b/app-openbis-command-line/src/python/obis/dm/checksum.py
@@ -1,3 +1,17 @@
+#   Copyright ETH 2018 - 2023 Zürich, Scientific IT Services
+# 
+#   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 abc
 import ctypes
 import hashlib
diff --git a/app-openbis-command-line/src/python/obis/dm/command_log.py b/app-openbis-command-line/src/python/obis/dm/command_log.py
index a503d828a17..eb4b4a98130 100644
--- a/app-openbis-command-line/src/python/obis/dm/command_log.py
+++ b/app-openbis-command-line/src/python/obis/dm/command_log.py
@@ -1,3 +1,17 @@
+#   Copyright ETH 2018 - 2023 Zürich, Scientific IT Services
+# 
+#   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 datetime import datetime
 import os
 
diff --git a/app-openbis-command-line/src/python/obis/dm/command_result.py b/app-openbis-command-line/src/python/obis/dm/command_result.py
index cb33fb9afae..a7341febf50 100644
--- a/app-openbis-command-line/src/python/obis/dm/command_result.py
+++ b/app-openbis-command-line/src/python/obis/dm/command_result.py
@@ -1,3 +1,17 @@
+#   Copyright ETH 2018 - 2023 Zürich, Scientific IT Services
+# 
+#   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.
+#
 class CommandResult(object):
     """Encapsulate result from a subprocess call."""
 
diff --git a/app-openbis-command-line/src/python/obis/dm/commands/__init__.py b/app-openbis-command-line/src/python/obis/dm/commands/__init__.py
index e69de29bb2d..6b5d1ce929b 100644
--- a/app-openbis-command-line/src/python/obis/dm/commands/__init__.py
+++ b/app-openbis-command-line/src/python/obis/dm/commands/__init__.py
@@ -0,0 +1,14 @@
+#   Copyright ETH 2007 - 2023 Zürich, Scientific IT Services
+# 
+#   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.
+#
diff --git a/app-openbis-command-line/src/python/obis/dm/commands/addref.py b/app-openbis-command-line/src/python/obis/dm/commands/addref.py
index 2c7ba0420e1..38e0c89a244 100644
--- a/app-openbis-command-line/src/python/obis/dm/commands/addref.py
+++ b/app-openbis-command-line/src/python/obis/dm/commands/addref.py
@@ -1,3 +1,17 @@
+#   Copyright ETH 2018 - 2023 Zürich, Scientific IT Services
+# 
+#   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 .openbis_command import OpenbisCommand
 from ..command_result import CommandResult, CommandException
diff --git a/app-openbis-command-line/src/python/obis/dm/commands/clone.py b/app-openbis-command-line/src/python/obis/dm/commands/clone.py
index dd7a36c79e4..3686533a6e6 100644
--- a/app-openbis-command-line/src/python/obis/dm/commands/clone.py
+++ b/app-openbis-command-line/src/python/obis/dm/commands/clone.py
@@ -1,3 +1,17 @@
+#   Copyright ETH 2018 - 2023 Zürich, Scientific IT Services
+# 
+#   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 pybis
 from .openbis_command import OpenbisCommand, ContentCopySelector
diff --git a/app-openbis-command-line/src/python/obis/dm/commands/download.py b/app-openbis-command-line/src/python/obis/dm/commands/download.py
index a41fde6d35d..08f42a44676 100644
--- a/app-openbis-command-line/src/python/obis/dm/commands/download.py
+++ b/app-openbis-command-line/src/python/obis/dm/commands/download.py
@@ -1,3 +1,17 @@
+#   Copyright ETH 2018 - 2023 Zürich, Scientific IT Services
+# 
+#   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 pybis
 from .openbis_command import OpenbisCommand, ContentCopySelector
diff --git a/app-openbis-command-line/src/python/obis/dm/commands/move.py b/app-openbis-command-line/src/python/obis/dm/commands/move.py
index d3afd820935..05c7aaad56b 100644
--- a/app-openbis-command-line/src/python/obis/dm/commands/move.py
+++ b/app-openbis-command-line/src/python/obis/dm/commands/move.py
@@ -1,3 +1,17 @@
+#   Copyright ETH 2018 - 2023 Zürich, Scientific IT Services
+# 
+#   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 socket
 import os
 import pybis
diff --git a/app-openbis-command-line/src/python/obis/dm/commands/openbis_command.py b/app-openbis-command-line/src/python/obis/dm/commands/openbis_command.py
index d521fc20e85..8aa0a3ce1f2 100644
--- a/app-openbis-command-line/src/python/obis/dm/commands/openbis_command.py
+++ b/app-openbis-command-line/src/python/obis/dm/commands/openbis_command.py
@@ -1,3 +1,17 @@
+#   Copyright ETH 2018 - 2023 Zürich, Scientific IT Services
+# 
+#   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 getpass
 import hashlib
 import os
diff --git a/app-openbis-command-line/src/python/obis/dm/commands/openbis_command_test.py b/app-openbis-command-line/src/python/obis/dm/commands/openbis_command_test.py
index b53ee559415..1b58b14a17e 100644
--- a/app-openbis-command-line/src/python/obis/dm/commands/openbis_command_test.py
+++ b/app-openbis-command-line/src/python/obis/dm/commands/openbis_command_test.py
@@ -1,6 +1,21 @@
 #!/usr/bin/env python
 # -*- coding: utf-8 -*-
 
+#   Copyright ETH 2018 - 2023 Zürich, Scientific IT Services
+# 
+#   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 getpass
 from unittest.mock import Mock, MagicMock, ANY
 
diff --git a/app-openbis-command-line/src/python/obis/dm/commands/openbis_sync.py b/app-openbis-command-line/src/python/obis/dm/commands/openbis_sync.py
index ec17d364ccc..5c8de191d1b 100644
--- a/app-openbis-command-line/src/python/obis/dm/commands/openbis_sync.py
+++ b/app-openbis-command-line/src/python/obis/dm/commands/openbis_sync.py
@@ -1,3 +1,17 @@
+#   Copyright ETH 2018 - 2023 Zürich, Scientific IT Services
+# 
+#   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 pybis
 from ..command_result import CommandResult
 import uuid
diff --git a/app-openbis-command-line/src/python/obis/dm/commands/removeref.py b/app-openbis-command-line/src/python/obis/dm/commands/removeref.py
index a145a80dd1d..ee2694a85c3 100644
--- a/app-openbis-command-line/src/python/obis/dm/commands/removeref.py
+++ b/app-openbis-command-line/src/python/obis/dm/commands/removeref.py
@@ -1,3 +1,17 @@
+#   Copyright ETH 2018 - 2023 Zürich, Scientific IT Services
+# 
+#   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 json
 import os
 from .openbis_command import OpenbisCommand, ContentCopySelector
diff --git a/app-openbis-command-line/src/python/obis/dm/config.py b/app-openbis-command-line/src/python/obis/dm/config.py
index a49ee30f958..8b9d5f268b0 100644
--- a/app-openbis-command-line/src/python/obis/dm/config.py
+++ b/app-openbis-command-line/src/python/obis/dm/config.py
@@ -1,6 +1,22 @@
 #!/usr/bin/env python
 # -*- coding: utf-8 -*-
 
+#   Copyright ETH 2018 - 2023 Zürich, Scientific IT Services
+# 
+#   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.
+#
+
+
 """
 config.py
 
diff --git a/app-openbis-command-line/src/python/obis/dm/config_test.py b/app-openbis-command-line/src/python/obis/dm/config_test.py
index dfd1c79c388..c7a4e32ae4a 100644
--- a/app-openbis-command-line/src/python/obis/dm/config_test.py
+++ b/app-openbis-command-line/src/python/obis/dm/config_test.py
@@ -1,6 +1,21 @@
 #!/usr/bin/env python
 # -*- coding: utf-8 -*-
 
+#   Copyright ETH 2018 - 2023 Zürich, Scientific IT Services
+# 
+#   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.
+#
+
 """
 config_test.py
 
diff --git a/app-openbis-command-line/src/python/obis/dm/data_mgmt.py b/app-openbis-command-line/src/python/obis/dm/data_mgmt.py
index 613ae8275d6..a2cd2897e75 100644
--- a/app-openbis-command-line/src/python/obis/dm/data_mgmt.py
+++ b/app-openbis-command-line/src/python/obis/dm/data_mgmt.py
@@ -1,6 +1,21 @@
 #!/usr/bin/env python
 # -*- coding: utf-8 -*-
 
+#   Copyright ETH 2018 - 2023 Zürich, Scientific IT Services
+# 
+#   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.
+#
+
 """
 data_mgmt.py
 
diff --git a/app-openbis-command-line/src/python/obis/dm/data_mgmt_test.py b/app-openbis-command-line/src/python/obis/dm/data_mgmt_test.py
index 121f92834e5..977f091a15b 100644
--- a/app-openbis-command-line/src/python/obis/dm/data_mgmt_test.py
+++ b/app-openbis-command-line/src/python/obis/dm/data_mgmt_test.py
@@ -1,6 +1,22 @@
 #!/usr/bin/env python
 # -*- coding: utf-8 -*-
 
+#   Copyright ETH 2018 - 2023 Zürich, Scientific IT Services
+# 
+#   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.
+#
+
+
 """
 data_mgmt_test.py
 
diff --git a/app-openbis-command-line/src/python/obis/dm/git.py b/app-openbis-command-line/src/python/obis/dm/git.py
index e2f5e6ab8f0..a62b293eaaf 100644
--- a/app-openbis-command-line/src/python/obis/dm/git.py
+++ b/app-openbis-command-line/src/python/obis/dm/git.py
@@ -1,3 +1,17 @@
+#   Copyright ETH 2018 - 2023 Zürich, Scientific IT Services
+# 
+#   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 shutil
 import os
 from pathlib import Path
diff --git a/app-openbis-command-line/src/python/obis/dm/repository_utils.py b/app-openbis-command-line/src/python/obis/dm/repository_utils.py
index 7b4ee025797..2a899089ca8 100644
--- a/app-openbis-command-line/src/python/obis/dm/repository_utils.py
+++ b/app-openbis-command-line/src/python/obis/dm/repository_utils.py
@@ -1,3 +1,17 @@
+#   Copyright ETH 2018 - 2023 Zürich, Scientific IT Services
+# 
+#   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 socket
 from .commands.openbis_command import CommandResult
diff --git a/app-openbis-command-line/src/python/obis/dm/utils.py b/app-openbis-command-line/src/python/obis/dm/utils.py
index 5034cddeaec..fc74dcfac36 100644
--- a/app-openbis-command-line/src/python/obis/dm/utils.py
+++ b/app-openbis-command-line/src/python/obis/dm/utils.py
@@ -1,3 +1,17 @@
+#   Copyright ETH 2018 - 2023 Zürich, Scientific IT Services
+# 
+#   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 subprocess
 import os
 from contextlib import contextmanager
diff --git a/app-openbis-command-line/src/python/obis/dm/utils_test.py b/app-openbis-command-line/src/python/obis/dm/utils_test.py
index 3df31057c48..3a68a348317 100644
--- a/app-openbis-command-line/src/python/obis/dm/utils_test.py
+++ b/app-openbis-command-line/src/python/obis/dm/utils_test.py
@@ -1,3 +1,17 @@
+#   Copyright ETH 2018 - 2023 Zürich, Scientific IT Services
+# 
+#   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 . import utils
 
 
diff --git a/app-openbis-command-line/src/python/obis/scripts/__init__.py b/app-openbis-command-line/src/python/obis/scripts/__init__.py
index ffeb50a9ac5..4677dbb48f1 100644
--- a/app-openbis-command-line/src/python/obis/scripts/__init__.py
+++ b/app-openbis-command-line/src/python/obis/scripts/__init__.py
@@ -1,6 +1,21 @@
 #!/usr/bin/env python
 # -*- coding: utf-8 -*-
 
+#   Copyright ETH 2018 - 2023 Zürich, Scientific IT Services
+# 
+#   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.
+#
+
 """
 __init__.py
 
diff --git a/app-openbis-command-line/src/python/obis/scripts/cli.py b/app-openbis-command-line/src/python/obis/scripts/cli.py
index 7597437a0ce..131bc54e64a 100644
--- a/app-openbis-command-line/src/python/obis/scripts/cli.py
+++ b/app-openbis-command-line/src/python/obis/scripts/cli.py
@@ -1,6 +1,21 @@
 #!/usr/bin/env python
 # -*- coding: utf-8 -*-
 
+#   Copyright ETH 2018 - 2023 Zürich, Scientific IT Services
+# 
+#   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.
+#
+
 """
 cli.py
 
diff --git a/app-openbis-command-line/src/python/obis/scripts/click_util.py b/app-openbis-command-line/src/python/obis/scripts/click_util.py
index ee10c498af8..a0aac0f56bb 100644
--- a/app-openbis-command-line/src/python/obis/scripts/click_util.py
+++ b/app-openbis-command-line/src/python/obis/scripts/click_util.py
@@ -1,3 +1,17 @@
+#   Copyright ETH 2018 - 2023 Zürich, Scientific IT Services
+# 
+#   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 click
 from datetime import datetime
 
diff --git a/app-openbis-command-line/src/python/obis/scripts/data_mgmt_runner.py b/app-openbis-command-line/src/python/obis/scripts/data_mgmt_runner.py
index a050a735cc3..98d5581491a 100644
--- a/app-openbis-command-line/src/python/obis/scripts/data_mgmt_runner.py
+++ b/app-openbis-command-line/src/python/obis/scripts/data_mgmt_runner.py
@@ -1,3 +1,17 @@
+#   Copyright ETH 2018 - 2023 Zürich, Scientific IT Services
+# 
+#   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 click
 import json
 import os
diff --git a/app-openbis-command-line/src/python/setup.py b/app-openbis-command-line/src/python/setup.py
index 9f9fa872a3f..8d61f0207fc 100644
--- a/app-openbis-command-line/src/python/setup.py
+++ b/app-openbis-command-line/src/python/setup.py
@@ -1,3 +1,17 @@
+#   Copyright ETH 2018 - 2023 Zürich, Scientific IT Services
+# 
+#   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 sys
 
-- 
GitLab