diff --git a/base-notebook/resources/awscli/install.sh b/base-notebook/resources/awscli/install.sh index f21c9314..21bcc73d 100644 --- a/base-notebook/resources/awscli/install.sh +++ b/base-notebook/resources/awscli/install.sh @@ -1,4 +1,9 @@ #!/bin/bash +# Copyright 2024 CS GROUP - https://www.csgroup.eu +# Copyright 2024 CNES - https://cnes.fr +# All rights reserved +# This file is provided under MIT license. See LICENSE file. + set -e # AWS cli @@ -8,4 +13,3 @@ unzip -q awscliv2.zip ./aws/install rm -rf /opt/aws /opt/awscliv2.zip pip install --quiet awscli-plugin-endpoint -layer-cleanup.sh \ No newline at end of file diff --git a/base-notebook/resources/layer-cleanup.sh b/base-notebook/resources/layer-cleanup.sh index 920a5029..9a6f01dc 100644 --- a/base-notebook/resources/layer-cleanup.sh +++ b/base-notebook/resources/layer-cleanup.sh @@ -1,6 +1,7 @@ #!/bin/bash -# Copyright 2020 CS GROUP - France, http://www.c-s.fr +# Copyright 2024 CS GROUP - https://www.csgroup.eu # All rights reserved +# This file is provided under MIT license. See LICENSE file. apt-get autoclean --yes apt-get autoremove --yes diff --git a/base-notebook/resources/nbproxy/install.sh b/base-notebook/resources/nbproxy/install.sh index 0566f823..fa4c519d 100644 --- a/base-notebook/resources/nbproxy/install.sh +++ b/base-notebook/resources/nbproxy/install.sh @@ -1,4 +1,8 @@ #!/bin/bash +# Copyright 2024 CS GROUP - https://www.csgroup.eu +# Copyright 2024 CNES - https://cnes.fr +# All rights reserved +# This file is provided under MIT license. See LICENSE file. set -e cp -r resources/nbproxy /opt/jupyter_proxy diff --git a/base-notebook/resources/nbproxy/jupyter_proxy/__init__.py b/base-notebook/resources/nbproxy/jupyter_proxy/__init__.py index 3ce0dad5..92fdadd1 100644 --- a/base-notebook/resources/nbproxy/jupyter_proxy/__init__.py +++ b/base-notebook/resources/nbproxy/jupyter_proxy/__init__.py @@ -1,5 +1,6 @@ -# Copyright 2020 CS GROUP - France, http://www.c-s.fr +# Copyright 2024 CS GROUP - https://www.csgroup.eu # All rights reserved +# This file is provided under MIT license. See LICENSE file. """ Return config on servers diff --git a/base-notebook/resources/nbproxy/setup.py b/base-notebook/resources/nbproxy/setup.py index 6613b0f1..ed34e75c 100644 --- a/base-notebook/resources/nbproxy/setup.py +++ b/base-notebook/resources/nbproxy/setup.py @@ -1,5 +1,6 @@ -# Copyright 2020 CS GROUP - France, http://www.c-s.fr +# Copyright 2024 CS GROUP - https://www.csgroup.eu # All rights reserved +# This file is provided under MIT license. See LICENSE file. import setuptools diff --git a/base-notebook/resources/vnc/install.sh b/base-notebook/resources/vnc/install.sh index 6f64abe2..4594d058 100644 --- a/base-notebook/resources/vnc/install.sh +++ b/base-notebook/resources/vnc/install.sh @@ -1,4 +1,8 @@ #!/bin/bash +# Copyright 2024 CS GROUP - https://www.csgroup.eu +# Copyright 2024 CNES - https://cnes.fr +# All rights reserved +# This file is provided under MIT license. See LICENSE file. set -e # noVNC setup diff --git a/base-notebook/resources/vnc/start-notebook-genvnctoken.sh b/base-notebook/resources/vnc/start-notebook-genvnctoken.sh index 230b34ef..7475750e 100644 --- a/base-notebook/resources/vnc/start-notebook-genvnctoken.sh +++ b/base-notebook/resources/vnc/start-notebook-genvnctoken.sh @@ -1,3 +1,8 @@ +#!/bin/bash +# Copyright 2024 CS GROUP - https://www.csgroup.eu +# All rights reserved +# This file is provided under MIT license. See LICENSE file. + # Generate token for VNC Server. VNC Server uses password of 8 char max. export NOVNC_TOKEN=$(echo $(cat /proc/sys/kernel/random/uuid) | cut -c 1-8) diff --git a/base-notebook/resources/vscode/install.sh b/base-notebook/resources/vscode/install.sh index 248aa30a..2c9dc059 100644 --- a/base-notebook/resources/vscode/install.sh +++ b/base-notebook/resources/vscode/install.sh @@ -1,4 +1,8 @@ #!/bin/bash +# Copyright 2024 CS GROUP - https://www.csgroup.eu +# Copyright 2024 CNES - https://cnes.fr +# All rights reserved +# This file is provided under MIT license. See LICENSE file. set -e # Code server setup diff --git a/base-notebook/resources/vscode/start-notebook-vscode.sh b/base-notebook/resources/vscode/start-notebook-vscode.sh index c0c57707..b658a8fb 100644 --- a/base-notebook/resources/vscode/start-notebook-vscode.sh +++ b/base-notebook/resources/vscode/start-notebook-vscode.sh @@ -1,6 +1,7 @@ #!/bin/bash -# Copyright 2022 CS GROUP - France, http://www.c-s.fr +# Copyright 2024 CS GROUP - https://www.csgroup.eu # All rights reserved +# This file is provided under MIT license. See LICENSE file. # VSCode base extensions copy if not already set export PATH=/opt/code-server/bin:$PATH diff --git a/merge-apt.sh b/merge-apt.sh index 3052ef77..4130470f 100755 --- a/merge-apt.sh +++ b/merge-apt.sh @@ -1,4 +1,8 @@ #!/bin/bash +# Copyright 2024 CS GROUP - https://www.csgroup.eu +# Copyright 2024 CNES - https://cnes.fr +# All rights reserved +# This file is provided under MIT license. See LICENSE file. # Check if at least two files are provided if [ "$#" -lt 2 ]; then diff --git a/pangeo-notebook/resources/awscli/install.sh b/pangeo-notebook/resources/awscli/install.sh index f21c9314..21bcc73d 100644 --- a/pangeo-notebook/resources/awscli/install.sh +++ b/pangeo-notebook/resources/awscli/install.sh @@ -1,4 +1,9 @@ #!/bin/bash +# Copyright 2024 CS GROUP - https://www.csgroup.eu +# Copyright 2024 CNES - https://cnes.fr +# All rights reserved +# This file is provided under MIT license. See LICENSE file. + set -e # AWS cli @@ -8,4 +13,3 @@ unzip -q awscliv2.zip ./aws/install rm -rf /opt/aws /opt/awscliv2.zip pip install --quiet awscli-plugin-endpoint -layer-cleanup.sh \ No newline at end of file diff --git a/pangeo-notebook/resources/layer-cleanup.sh b/pangeo-notebook/resources/layer-cleanup.sh index 920a5029..9a6f01dc 100644 --- a/pangeo-notebook/resources/layer-cleanup.sh +++ b/pangeo-notebook/resources/layer-cleanup.sh @@ -1,6 +1,7 @@ #!/bin/bash -# Copyright 2020 CS GROUP - France, http://www.c-s.fr +# Copyright 2024 CS GROUP - https://www.csgroup.eu # All rights reserved +# This file is provided under MIT license. See LICENSE file. apt-get autoclean --yes apt-get autoremove --yes diff --git a/pangeo-notebook/resources/nbproxy/install.sh b/pangeo-notebook/resources/nbproxy/install.sh index 0566f823..fa4c519d 100644 --- a/pangeo-notebook/resources/nbproxy/install.sh +++ b/pangeo-notebook/resources/nbproxy/install.sh @@ -1,4 +1,8 @@ #!/bin/bash +# Copyright 2024 CS GROUP - https://www.csgroup.eu +# Copyright 2024 CNES - https://cnes.fr +# All rights reserved +# This file is provided under MIT license. See LICENSE file. set -e cp -r resources/nbproxy /opt/jupyter_proxy diff --git a/pangeo-notebook/resources/nbproxy/jupyter_proxy/__init__.py b/pangeo-notebook/resources/nbproxy/jupyter_proxy/__init__.py index 3ce0dad5..92fdadd1 100644 --- a/pangeo-notebook/resources/nbproxy/jupyter_proxy/__init__.py +++ b/pangeo-notebook/resources/nbproxy/jupyter_proxy/__init__.py @@ -1,5 +1,6 @@ -# Copyright 2020 CS GROUP - France, http://www.c-s.fr +# Copyright 2024 CS GROUP - https://www.csgroup.eu # All rights reserved +# This file is provided under MIT license. See LICENSE file. """ Return config on servers diff --git a/pangeo-notebook/resources/nbproxy/setup.py b/pangeo-notebook/resources/nbproxy/setup.py index 6613b0f1..ed34e75c 100644 --- a/pangeo-notebook/resources/nbproxy/setup.py +++ b/pangeo-notebook/resources/nbproxy/setup.py @@ -1,5 +1,6 @@ -# Copyright 2020 CS GROUP - France, http://www.c-s.fr +# Copyright 2024 CS GROUP - https://www.csgroup.eu # All rights reserved +# This file is provided under MIT license. See LICENSE file. import setuptools diff --git a/pangeo-notebook/resources/qgis/install.sh b/pangeo-notebook/resources/qgis/install.sh index 3694ffb1..4bfbb3bb 100644 --- a/pangeo-notebook/resources/qgis/install.sh +++ b/pangeo-notebook/resources/qgis/install.sh @@ -1,4 +1,8 @@ #!/bin/bash +# Copyright 2024 CS GROUP - https://www.csgroup.eu +# Copyright 2024 CNES - https://cnes.fr +# All rights reserved +# This file is provided under MIT license. See LICENSE file. set -e # Libs diff --git a/pangeo-notebook/resources/vnc/install.sh b/pangeo-notebook/resources/vnc/install.sh index 6f64abe2..4594d058 100644 --- a/pangeo-notebook/resources/vnc/install.sh +++ b/pangeo-notebook/resources/vnc/install.sh @@ -1,4 +1,8 @@ #!/bin/bash +# Copyright 2024 CS GROUP - https://www.csgroup.eu +# Copyright 2024 CNES - https://cnes.fr +# All rights reserved +# This file is provided under MIT license. See LICENSE file. set -e # noVNC setup diff --git a/pangeo-notebook/resources/vnc/start-notebook-genvnctoken.sh b/pangeo-notebook/resources/vnc/start-notebook-genvnctoken.sh index 230b34ef..7475750e 100644 --- a/pangeo-notebook/resources/vnc/start-notebook-genvnctoken.sh +++ b/pangeo-notebook/resources/vnc/start-notebook-genvnctoken.sh @@ -1,3 +1,8 @@ +#!/bin/bash +# Copyright 2024 CS GROUP - https://www.csgroup.eu +# All rights reserved +# This file is provided under MIT license. See LICENSE file. + # Generate token for VNC Server. VNC Server uses password of 8 char max. export NOVNC_TOKEN=$(echo $(cat /proc/sys/kernel/random/uuid) | cut -c 1-8) diff --git a/pangeo-notebook/resources/vscode/install.sh b/pangeo-notebook/resources/vscode/install.sh index 248aa30a..2c9dc059 100644 --- a/pangeo-notebook/resources/vscode/install.sh +++ b/pangeo-notebook/resources/vscode/install.sh @@ -1,4 +1,8 @@ #!/bin/bash +# Copyright 2024 CS GROUP - https://www.csgroup.eu +# Copyright 2024 CNES - https://cnes.fr +# All rights reserved +# This file is provided under MIT license. See LICENSE file. set -e # Code server setup diff --git a/pangeo-notebook/resources/vscode/start-notebook-vscode.sh b/pangeo-notebook/resources/vscode/start-notebook-vscode.sh index c0c57707..b658a8fb 100644 --- a/pangeo-notebook/resources/vscode/start-notebook-vscode.sh +++ b/pangeo-notebook/resources/vscode/start-notebook-vscode.sh @@ -1,6 +1,7 @@ #!/bin/bash -# Copyright 2022 CS GROUP - France, http://www.c-s.fr +# Copyright 2024 CS GROUP - https://www.csgroup.eu # All rights reserved +# This file is provided under MIT license. See LICENSE file. # VSCode base extensions copy if not already set export PATH=/opt/code-server/bin:$PATH diff --git a/pytorch-notebook/resources/awscli/install.sh b/pytorch-notebook/resources/awscli/install.sh index f21c9314..21bcc73d 100644 --- a/pytorch-notebook/resources/awscli/install.sh +++ b/pytorch-notebook/resources/awscli/install.sh @@ -1,4 +1,9 @@ #!/bin/bash +# Copyright 2024 CS GROUP - https://www.csgroup.eu +# Copyright 2024 CNES - https://cnes.fr +# All rights reserved +# This file is provided under MIT license. See LICENSE file. + set -e # AWS cli @@ -8,4 +13,3 @@ unzip -q awscliv2.zip ./aws/install rm -rf /opt/aws /opt/awscliv2.zip pip install --quiet awscli-plugin-endpoint -layer-cleanup.sh \ No newline at end of file diff --git a/pytorch-notebook/resources/layer-cleanup.sh b/pytorch-notebook/resources/layer-cleanup.sh index 920a5029..9a6f01dc 100644 --- a/pytorch-notebook/resources/layer-cleanup.sh +++ b/pytorch-notebook/resources/layer-cleanup.sh @@ -1,6 +1,7 @@ #!/bin/bash -# Copyright 2020 CS GROUP - France, http://www.c-s.fr +# Copyright 2024 CS GROUP - https://www.csgroup.eu # All rights reserved +# This file is provided under MIT license. See LICENSE file. apt-get autoclean --yes apt-get autoremove --yes diff --git a/pytorch-notebook/resources/nbproxy/install.sh b/pytorch-notebook/resources/nbproxy/install.sh index 0566f823..fa4c519d 100644 --- a/pytorch-notebook/resources/nbproxy/install.sh +++ b/pytorch-notebook/resources/nbproxy/install.sh @@ -1,4 +1,8 @@ #!/bin/bash +# Copyright 2024 CS GROUP - https://www.csgroup.eu +# Copyright 2024 CNES - https://cnes.fr +# All rights reserved +# This file is provided under MIT license. See LICENSE file. set -e cp -r resources/nbproxy /opt/jupyter_proxy diff --git a/pytorch-notebook/resources/nbproxy/jupyter_proxy/__init__.py b/pytorch-notebook/resources/nbproxy/jupyter_proxy/__init__.py index 3ce0dad5..92fdadd1 100644 --- a/pytorch-notebook/resources/nbproxy/jupyter_proxy/__init__.py +++ b/pytorch-notebook/resources/nbproxy/jupyter_proxy/__init__.py @@ -1,5 +1,6 @@ -# Copyright 2020 CS GROUP - France, http://www.c-s.fr +# Copyright 2024 CS GROUP - https://www.csgroup.eu # All rights reserved +# This file is provided under MIT license. See LICENSE file. """ Return config on servers diff --git a/pytorch-notebook/resources/nbproxy/jupyter_proxy/icons/rstudio.svg b/pytorch-notebook/resources/nbproxy/jupyter_proxy/icons/rstudio.svg deleted file mode 100644 index 3fb496e1..00000000 --- a/pytorch-notebook/resources/nbproxy/jupyter_proxy/icons/rstudio.svg +++ /dev/null @@ -1 +0,0 @@ - diff --git a/pytorch-notebook/resources/nbproxy/setup.py b/pytorch-notebook/resources/nbproxy/setup.py index 6613b0f1..ed34e75c 100644 --- a/pytorch-notebook/resources/nbproxy/setup.py +++ b/pytorch-notebook/resources/nbproxy/setup.py @@ -1,5 +1,6 @@ -# Copyright 2020 CS GROUP - France, http://www.c-s.fr +# Copyright 2024 CS GROUP - https://www.csgroup.eu # All rights reserved +# This file is provided under MIT license. See LICENSE file. import setuptools diff --git a/pytorch-notebook/resources/qgis/install.sh b/pytorch-notebook/resources/qgis/install.sh index 3694ffb1..4bfbb3bb 100644 --- a/pytorch-notebook/resources/qgis/install.sh +++ b/pytorch-notebook/resources/qgis/install.sh @@ -1,4 +1,8 @@ #!/bin/bash +# Copyright 2024 CS GROUP - https://www.csgroup.eu +# Copyright 2024 CNES - https://cnes.fr +# All rights reserved +# This file is provided under MIT license. See LICENSE file. set -e # Libs diff --git a/pytorch-notebook/resources/vnc/install.sh b/pytorch-notebook/resources/vnc/install.sh index 6f64abe2..4594d058 100644 --- a/pytorch-notebook/resources/vnc/install.sh +++ b/pytorch-notebook/resources/vnc/install.sh @@ -1,4 +1,8 @@ #!/bin/bash +# Copyright 2024 CS GROUP - https://www.csgroup.eu +# Copyright 2024 CNES - https://cnes.fr +# All rights reserved +# This file is provided under MIT license. See LICENSE file. set -e # noVNC setup diff --git a/pytorch-notebook/resources/vnc/start-notebook-genvnctoken.sh b/pytorch-notebook/resources/vnc/start-notebook-genvnctoken.sh index 230b34ef..7475750e 100644 --- a/pytorch-notebook/resources/vnc/start-notebook-genvnctoken.sh +++ b/pytorch-notebook/resources/vnc/start-notebook-genvnctoken.sh @@ -1,3 +1,8 @@ +#!/bin/bash +# Copyright 2024 CS GROUP - https://www.csgroup.eu +# All rights reserved +# This file is provided under MIT license. See LICENSE file. + # Generate token for VNC Server. VNC Server uses password of 8 char max. export NOVNC_TOKEN=$(echo $(cat /proc/sys/kernel/random/uuid) | cut -c 1-8) diff --git a/pytorch-notebook/resources/vscode/install.sh b/pytorch-notebook/resources/vscode/install.sh index 248aa30a..2c9dc059 100644 --- a/pytorch-notebook/resources/vscode/install.sh +++ b/pytorch-notebook/resources/vscode/install.sh @@ -1,4 +1,8 @@ #!/bin/bash +# Copyright 2024 CS GROUP - https://www.csgroup.eu +# Copyright 2024 CNES - https://cnes.fr +# All rights reserved +# This file is provided under MIT license. See LICENSE file. set -e # Code server setup diff --git a/pytorch-notebook/resources/vscode/start-notebook-vscode.sh b/pytorch-notebook/resources/vscode/start-notebook-vscode.sh index c0c57707..b658a8fb 100644 --- a/pytorch-notebook/resources/vscode/start-notebook-vscode.sh +++ b/pytorch-notebook/resources/vscode/start-notebook-vscode.sh @@ -1,6 +1,7 @@ #!/bin/bash -# Copyright 2022 CS GROUP - France, http://www.c-s.fr +# Copyright 2024 CS GROUP - https://www.csgroup.eu # All rights reserved +# This file is provided under MIT license. See LICENSE file. # VSCode base extensions copy if not already set export PATH=/opt/code-server/bin:$PATH