diff --git a/app-openbis-command-line/src/python/obis/__init__.py b/app-openbis-command-line/src/python/obis/__init__.py index 16232cc84831c646b00e685bb2a30b91b09fec14..d2d3d4c48db2c95490dfceca8ba5514bdf997649 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 26ef109812c06757a67fd2130a9c063a0e48e47b..0c575b297ef09e9f42e34182710ccb762ea603fb 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 239ae62d551f49f6abeb36d44ab6dc9891bdd529..27363aa004cf1f3c0c73c03d1c57e0fa21b68961 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 106e3c16e5f68c059ca58c070e2c45e2cfba176f..78326abe45592b8ac165e61b18d3a9607307de1b 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 a503d828a17e17504683a6b75893270a853194e7..eb4b4a981307749c3eaf3cb30b5a781bd74b55a8 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 cb33fb9afae26947d6fb5f0eb903c98fe0e08279..a7341febf508689f87cac6a8012b7fa379bcd5d7 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 e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..6b5d1ce929b60094a402f1ff6e10dc47f67f1e8d 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 2c7ba0420e10e53ebf784bc3b54d980c6be61811..38e0c89a2442858db3525f855a89bd31a620c42d 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 dd7a36c79e4e324c83cadad6cb7f355ee156674b..3686533a6e64d0c570879c0d463d579221289bd3 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 a41fde6d35d0b112ab30b1ca0d66da65d14229ca..08f42a4467617d56c1fa40e4a819944e880c92e8 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 d3afd82093534b2ec7c85bdbd51158f7cbb4fb61..05c7aaad56b346627f83a55a34defdf9f463a25c 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 d521fc20e85a1922bef260679ea1eb6de686c8fa..8aa0a3ce1f20414563a76ba5d431dc2ad55ccd89 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 b53ee5594158d99115ad7f355e3664e14ac86731..1b58b14a17e393f0242484a60f09aa34c5ab8e22 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 ec17d364ccc3efbdd4fab848ba93b52b7a79fdb2..5c8de191d1bbd0978a2266a751c10ecc87a644d8 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 a145a80dd1d40e6a4959f27e175982815098770d..ee2694a85c3abf56b2328fb9a96087a1b49421b4 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 a49ee30f958773f10a66a745f8c00f5941ee7972..8b9d5f268b0fb27a7fca39ae8a240ce7a05a31ec 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 dfd1c79c38858935fc695f0bd68b991217fe74ca..c7a4e32ae4a07bb10e6786008bf1f82f73f9b488 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 613ae8275d674a648b07da74fcc199e715e0c093..a2cd2897e757c7dde93e96ca0f561052840bcf45 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 121f92834e5c5db66a9610402736af06f79c5ef7..977f091a15bbd11105dfc60ab0edc9c4d46a4de3 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 e2f5e6ab8f09cdf11f445cc7938c97c7093f0e51..a62b293eaafa9f231315b16a9d5caea0d84ed54a 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 7b4ee0257975877f21964d58415388c6eab75a2f..2a899089ca8f7ed837b353bdc17e3982f26ba9f9 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 5034cddeaec21ad7ec6797c7dac77f6ba55befa4..fc74dcfac36f7a76a392ca58924e41c8518d8703 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 3df31057c48b407cc619370f11461218d396c34e..3a68a34831737c8a6723c2c8f53d299275e44b8a 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 ffeb50a9ac50e1a7ad900ee9fac52b145355af99..4677dbb48f13fb51cd205389ef385397e2784b55 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 7597437a0cec44666ef2127993568e1bb81038d2..131bc54e64a676ae1bc85e63b8af0b91c67a4fd5 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 ee10c498af82498fd68fa7b3a73331f2644bc190..a0aac0f56bb78d10c10a19688b18e63504142792 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 a050a735cc3dd73d619820f6f123cbefef758312..98d5581491ab890918aa803da1cc43a744293fd8 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 9f9fa872a3f01022d61f79fc7c098fc5aa89adc1..8d61f0207fc107e409451e3554673511ba6032da 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