From a0684e90ab2a6a71872c553b48bd33eb102d34b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Pfeuffer?= Date: Mon, 9 Sep 2024 16:04:08 +0200 Subject: [PATCH 1/5] Replace license in package.jsons --- docs/en/development/plugins/migrate-plugin-from-v1.md | 2 +- scm-plugins/scm-git-plugin/package.json | 4 ++-- scm-plugins/scm-hg-plugin/package.json | 4 ++-- scm-plugins/scm-legacy-plugin/package.json | 4 ++-- scm-plugins/scm-svn-plugin/package.json | 4 ++-- scm-ui/e2e-tests/package.json | 4 ++-- scm-ui/ui-api/package.json | 4 ++-- scm-ui/ui-components/package.json | 4 ++-- scm-ui/ui-core/package.json | 4 ++-- scm-ui/ui-extensions/package.json | 4 ++-- scm-ui/ui-forms/package.json | 4 ++-- scm-ui/ui-layout/package.json | 4 ++-- scm-ui/ui-overlays/package.json | 4 ++-- scm-ui/ui-plugins/package.json | 4 ++-- scm-ui/ui-shortcuts/package.json | 4 ++-- scm-ui/ui-styles/package.json | 4 ++-- scm-ui/ui-tests/package.json | 4 ++-- scm-ui/ui-types/package.json | 4 ++-- 18 files changed, 35 insertions(+), 35 deletions(-) diff --git a/docs/en/development/plugins/migrate-plugin-from-v1.md b/docs/en/development/plugins/migrate-plugin-from-v1.md index 4377664713..71bc6df6bb 100644 --- a/docs/en/development/plugins/migrate-plugin-from-v1.md +++ b/docs/en/development/plugins/migrate-plugin-from-v1.md @@ -135,7 +135,7 @@ diff -r a988f4cfb7ab src/main/resources/META-INF/scm/plugin.xml ```json { "name": "@scm-manager/name-of-plugin", - "license": "MIT", + "license": "AGPLv3", "main": "src/main/js/index.tsx", "scripts": { "build": "ui-scripts plugin", diff --git a/scm-plugins/scm-git-plugin/package.json b/scm-plugins/scm-git-plugin/package.json index b4207fe63c..6ec3e94c51 100644 --- a/scm-plugins/scm-git-plugin/package.json +++ b/scm-plugins/scm-git-plugin/package.json @@ -2,7 +2,7 @@ "name": "@scm-manager/scm-git-plugin", "private": true, "version": "3.4.2-SNAPSHOT", - "license": "MIT", + "license": "AGPLv3", "main": "./src/main/js/index.ts", "scripts": { "build": "plugin-scripts build", @@ -33,4 +33,4 @@ "eslintConfig": { "extends": "@scm-manager/eslint-config" } -} \ No newline at end of file +} diff --git a/scm-plugins/scm-hg-plugin/package.json b/scm-plugins/scm-hg-plugin/package.json index 3f63285eb0..f8ef81dc0c 100644 --- a/scm-plugins/scm-hg-plugin/package.json +++ b/scm-plugins/scm-hg-plugin/package.json @@ -2,7 +2,7 @@ "name": "@scm-manager/scm-hg-plugin", "private": true, "version": "3.4.2-SNAPSHOT", - "license": "MIT", + "license": "AGPLv3", "main": "./src/main/js/index.ts", "scripts": { "build": "plugin-scripts build", @@ -32,4 +32,4 @@ "eslintConfig": { "extends": "@scm-manager/eslint-config" } -} \ No newline at end of file +} diff --git a/scm-plugins/scm-legacy-plugin/package.json b/scm-plugins/scm-legacy-plugin/package.json index 9891d55255..db49ab8ace 100644 --- a/scm-plugins/scm-legacy-plugin/package.json +++ b/scm-plugins/scm-legacy-plugin/package.json @@ -2,7 +2,7 @@ "name": "@scm-manager/scm-legacy-plugin", "private": true, "version": "3.4.2-SNAPSHOT", - "license": "MIT", + "license": "AGPLv3", "main": "./src/main/js/index.tsx", "scripts": { "build": "plugin-scripts build", @@ -32,4 +32,4 @@ "eslintConfig": { "extends": "@scm-manager/eslint-config" } -} \ No newline at end of file +} diff --git a/scm-plugins/scm-svn-plugin/package.json b/scm-plugins/scm-svn-plugin/package.json index 5b4e29b154..643a397b5e 100644 --- a/scm-plugins/scm-svn-plugin/package.json +++ b/scm-plugins/scm-svn-plugin/package.json @@ -2,7 +2,7 @@ "name": "@scm-manager/scm-svn-plugin", "private": true, "version": "3.4.2-SNAPSHOT", - "license": "MIT", + "license": "AGPLv3", "main": "./src/main/js/index.ts", "scripts": { "build": "plugin-scripts build", @@ -32,4 +32,4 @@ "eslintConfig": { "extends": "@scm-manager/eslint-config" } -} \ No newline at end of file +} diff --git a/scm-ui/e2e-tests/package.json b/scm-ui/e2e-tests/package.json index e669ce894b..dddec28563 100644 --- a/scm-ui/e2e-tests/package.json +++ b/scm-ui/e2e-tests/package.json @@ -4,7 +4,7 @@ "description": "End to end Tests for SCM-Manager", "main": "index.js", "author": "Eduard Heimbuch ", - "license": "MIT", + "license": "AGPLv3", "private": false, "scripts": { "headless": "cypress run", @@ -26,4 +26,4 @@ "publishConfig": { "access": "public" } -} \ No newline at end of file +} diff --git a/scm-ui/ui-api/package.json b/scm-ui/ui-api/package.json index b1602de501..e5f57e9769 100644 --- a/scm-ui/ui-api/package.json +++ b/scm-ui/ui-api/package.json @@ -10,7 +10,7 @@ ], "repository": "https://github.com/scm-manager/scm-manager", "author": "SCM Team ", - "license": "MIT", + "license": "AGPLv3", "scripts": { "build": "tsup ./src/index.ts -d build --format esm,cjs --dts", "typecheck": "tsc", @@ -53,4 +53,4 @@ "publishConfig": { "access": "public" } -} \ No newline at end of file +} diff --git a/scm-ui/ui-components/package.json b/scm-ui/ui-components/package.json index 4d4cdbcf09..5a27c71677 100644 --- a/scm-ui/ui-components/package.json +++ b/scm-ui/ui-components/package.json @@ -9,7 +9,7 @@ ], "repository": "https://bitbucket.org/sdorra/scm-manager", "author": "Sebastian Sdorra ", - "license": "MIT", + "license": "AGPLv3", "scripts": { "test": "jest", "typecheck": "tsc", @@ -106,4 +106,4 @@ "publishConfig": { "access": "public" } -} \ No newline at end of file +} diff --git a/scm-ui/ui-core/package.json b/scm-ui/ui-core/package.json index d2c0e7cee7..a791dd2211 100644 --- a/scm-ui/ui-core/package.json +++ b/scm-ui/ui-core/package.json @@ -2,7 +2,7 @@ "name": "@scm-manager/ui-core", "version": "3.4.2-SNAPSHOT", "main": "./src/index.ts", - "license": "MIT", + "license": "AGPLv3", "scripts": { "storybook": "start-storybook -p 6006", "build-storybook": "build-storybook" @@ -78,4 +78,4 @@ "jest-extended/all" ] } -} \ No newline at end of file +} diff --git a/scm-ui/ui-extensions/package.json b/scm-ui/ui-extensions/package.json index 9d7e04bce4..65d22ddc7d 100644 --- a/scm-ui/ui-extensions/package.json +++ b/scm-ui/ui-extensions/package.json @@ -1,7 +1,7 @@ { "name": "@scm-manager/ui-extensions", "version": "3.4.2-SNAPSHOT", - "license": "MIT", + "license": "AGPLv3", "private": false, "author": "Sebastian Sdorra ", "main": "build/index.js", @@ -46,4 +46,4 @@ "publishConfig": { "access": "public" } -} \ No newline at end of file +} diff --git a/scm-ui/ui-forms/package.json b/scm-ui/ui-forms/package.json index 84952b9f9c..7b8c82fc60 100644 --- a/scm-ui/ui-forms/package.json +++ b/scm-ui/ui-forms/package.json @@ -3,7 +3,7 @@ "private": false, "version": "3.4.2-SNAPSHOT", "main": "index.ts", - "license": "MIT", + "license": "AGPLv3", "devDependencies": { "@scm-manager/eslint-config": "^2.16.0", "@scm-manager/prettier-config": "^2.10.1", @@ -19,4 +19,4 @@ "publishConfig": { "access": "public" } -} \ No newline at end of file +} diff --git a/scm-ui/ui-layout/package.json b/scm-ui/ui-layout/package.json index f767d1c451..bfc99ce93c 100644 --- a/scm-ui/ui-layout/package.json +++ b/scm-ui/ui-layout/package.json @@ -3,7 +3,7 @@ "private": false, "version": "3.4.2-SNAPSHOT", "main": "index.ts", - "license": "MIT", + "license": "AGPLv3", "devDependencies": { "@scm-manager/eslint-config": "^2.16.0", "@scm-manager/prettier-config": "^2.10.1", @@ -19,4 +19,4 @@ "publishConfig": { "access": "public" } -} \ No newline at end of file +} diff --git a/scm-ui/ui-overlays/package.json b/scm-ui/ui-overlays/package.json index 6c5524c1a3..b6df0ce485 100644 --- a/scm-ui/ui-overlays/package.json +++ b/scm-ui/ui-overlays/package.json @@ -3,7 +3,7 @@ "private": false, "version": "3.4.2-SNAPSHOT", "main": "index.ts", - "license": "MIT", + "license": "AGPLv3", "devDependencies": { "@scm-manager/eslint-config": "^2.16.0", "@scm-manager/prettier-config": "^2.10.1", @@ -19,4 +19,4 @@ "publishConfig": { "access": "public" } -} \ No newline at end of file +} diff --git a/scm-ui/ui-plugins/package.json b/scm-ui/ui-plugins/package.json index 19a25772e4..3beb257e54 100644 --- a/scm-ui/ui-plugins/package.json +++ b/scm-ui/ui-plugins/package.json @@ -2,7 +2,7 @@ "name": "@scm-manager/ui-plugins", "description": "Defines the versions of SCM-Manager plugin dependencies provided by the core webapp. Exclusively used by the postinstall command of @scm-manager/plugin-scripts.", "version": "3.4.2-SNAPSHOT", - "license": "MIT", + "license": "AGPLv3", "dependencies": { "react": "17", "react-dom": "17", @@ -47,4 +47,4 @@ "publishConfig": { "access": "public" } -} \ No newline at end of file +} diff --git a/scm-ui/ui-shortcuts/package.json b/scm-ui/ui-shortcuts/package.json index fead68b4bc..665fd88ff5 100644 --- a/scm-ui/ui-shortcuts/package.json +++ b/scm-ui/ui-shortcuts/package.json @@ -1,7 +1,7 @@ { "name": "@scm-manager/ui-shortcuts", "version": "3.4.2-SNAPSHOT", - "license": "MIT", + "license": "AGPLv3", "private": true, "main": "index.ts", "peerDependencies": { @@ -16,4 +16,4 @@ "eslintConfig": { "extends": "@scm-manager/eslint-config" } -} \ No newline at end of file +} diff --git a/scm-ui/ui-styles/package.json b/scm-ui/ui-styles/package.json index 054d2ddfa3..3d0c498e1d 100644 --- a/scm-ui/ui-styles/package.json +++ b/scm-ui/ui-styles/package.json @@ -3,7 +3,7 @@ "version": "3.4.2-SNAPSHOT", "description": "Styles for SCM-Manager", "main": "src/scm.scss", - "license": "MIT", + "license": "AGPLv3", "private": true, "scripts": { "serve": "webpack serve" @@ -31,4 +31,4 @@ "eslintConfig": { "extends": "@scm-manager/eslint-config" } -} \ No newline at end of file +} diff --git a/scm-ui/ui-tests/package.json b/scm-ui/ui-tests/package.json index efa97045d7..996b0d0cb0 100644 --- a/scm-ui/ui-tests/package.json +++ b/scm-ui/ui-tests/package.json @@ -3,7 +3,7 @@ "version": "3.4.2-SNAPSHOT", "description": "UI-Tests helpers", "author": "Sebastian Sdorra ", - "license": "MIT", + "license": "AGPLv3", "private": false, "scripts": { "typecheck": "tsc" @@ -27,4 +27,4 @@ "@types/enzyme": "^3.10.3", "@types/jest": "^24.0.19" } -} \ No newline at end of file +} diff --git a/scm-ui/ui-types/package.json b/scm-ui/ui-types/package.json index 599b237136..3c94ae7c7b 100644 --- a/scm-ui/ui-types/package.json +++ b/scm-ui/ui-types/package.json @@ -9,7 +9,7 @@ ], "repository": "https://bitbucket.org/sdorra/scm-manager", "author": "Sebastian Sdorra ", - "license": "MIT", + "license": "AGPLv3", "scripts": { "typecheck": "tsc", "lint": "eslint src" @@ -30,4 +30,4 @@ "publishConfig": { "access": "public" } -} \ No newline at end of file +} From 9f07e10d9225e2c35c131cafd2960b1dffcd4f53 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Pfeuffer?= Date: Mon, 9 Sep 2024 16:26:23 +0200 Subject: [PATCH 2/5] Fix scm-packaging --- scm-packaging/deb/Vagrantfile | 28 ++++++---------- scm-packaging/deb/build.gradle | 28 ++++++---------- .../deb/src/main/fs/etc/default/scm-server | 28 ++++++---------- .../deb/src/main/fs/etc/scm/config.yml | 16 ++++++++++ .../scm-server/var/webapp/docroot/index.html | 28 ++++++---------- scm-packaging/deb/src/main/scripts/postinst | 32 +++++++------------ scm-packaging/deb/src/main/scripts/preinst | 28 ++++++---------- scm-packaging/docker/Dockerfile.alpine | 28 ++++++---------- scm-packaging/docker/Dockerfile.debian | 28 ++++++---------- scm-packaging/docker/build.gradle | 28 ++++++---------- scm-packaging/docker/docker-bake.hcl | 30 +++++++---------- .../docker/src/main/fs/etc/scm/config.yml | 16 ++++++++++ .../scm-server/var/webapp/docroot/index.html | 28 ++++++---------- scm-packaging/helm/build.gradle | 28 ++++++---------- .../src/main/chart/templates/configmap.yaml | 28 ++++++---------- .../src/main/chart/templates/deployment.yaml | 28 ++++++---------- .../src/main/chart/templates/ingress.yaml | 28 ++++++---------- .../helm/src/main/chart/templates/pvc.yaml | 28 ++++++---------- .../src/main/chart/templates/scripts.yaml | 28 ++++++---------- .../src/main/chart/templates/service-ssh.yaml | 28 ++++++---------- .../src/main/chart/templates/service.yaml | 28 ++++++---------- scm-packaging/helm/src/main/chart/values.yaml | 28 ++++++---------- scm-packaging/helm/src/main/docs/docs.sh | 28 ++++++---------- scm-packaging/release-yaml/build.gradle | 28 ++++++---------- scm-packaging/rpm/Vagrantfile | 28 ++++++---------- scm-packaging/rpm/build.gradle | 28 ++++++---------- .../rpm/src/main/fs/etc/default/scm-server | 28 ++++++---------- .../rpm/src/main/fs/etc/scm/config.yml | 16 ++++++++++ .../scm-server/var/webapp/docroot/index.html | 28 ++++++---------- .../src/main/scripts/after-installation.sh | 28 ++++++---------- .../src/main/scripts/before-installation.sh | 29 +++++++---------- scm-packaging/unix/build.gradle | 28 ++++++---------- .../unix/src/main/fs/conf/config.yml | 16 ++++++++++ .../src/main/fs/var/webapp/docroot/index.html | 28 ++++++---------- scm-packaging/windows/Vagrantfile | 28 ++++++---------- scm-packaging/windows/build.gradle | 28 ++++++---------- .../windows/src/main/fs/conf/config.yml | 16 ++++++++++ .../windows/src/main/fs/scm-server.xml | 28 ++++++---------- .../src/main/fs/var/webapp/docroot/index.html | 28 ++++++---------- 39 files changed, 424 insertions(+), 615 deletions(-) mode change 100755 => 100644 scm-packaging/helm/src/main/docs/docs.sh diff --git a/scm-packaging/deb/Vagrantfile b/scm-packaging/deb/Vagrantfile index 4734125d0f..72ffc6c62a 100644 --- a/scm-packaging/deb/Vagrantfile +++ b/scm-packaging/deb/Vagrantfile @@ -1,25 +1,17 @@ # -# MIT License +# Copyright (c) 2020 - present Cloudogu GmbH # -# Copyright (c) 2020-present Cloudogu GmbH and Contributors +# This program is free software: you can redistribute it and/or modify it under +# the terms of the GNU Affero General Public License as published by the Free +# Software Foundation, version 3. # -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: +# This program is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +# FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more +# details. # -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see https://www.gnu.org/licenses/. # Vagrant.configure("2") do |config| diff --git a/scm-packaging/deb/build.gradle b/scm-packaging/deb/build.gradle index 292f31a31d..1d30aba58e 100644 --- a/scm-packaging/deb/build.gradle +++ b/scm-packaging/deb/build.gradle @@ -1,25 +1,17 @@ /* - * MIT License + * Copyright (c) 2020 - present Cloudogu GmbH * - * Copyright (c) 2020-present Cloudogu GmbH and Contributors + * This program is free software: you can redistribute it and/or modify it under + * the terms of the GNU Affero General Public License as published by the Free + * Software Foundation, version 3. * - * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights - * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: + * This program is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + * FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more + * details. * - * The above copyright notice and this permission notice shall be included in all - * copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see https://www.gnu.org/licenses/. */ import org.gradle.util.VersionNumber diff --git a/scm-packaging/deb/src/main/fs/etc/default/scm-server b/scm-packaging/deb/src/main/fs/etc/default/scm-server index 5b26fe7c8c..4f0fc21f30 100644 --- a/scm-packaging/deb/src/main/fs/etc/default/scm-server +++ b/scm-packaging/deb/src/main/fs/etc/default/scm-server @@ -1,26 +1,18 @@ #!/bin/sh # -# MIT License +# Copyright (c) 2020 - present Cloudogu GmbH # -# Copyright (c) 2020-present Cloudogu GmbH and Contributors +# This program is free software: you can redistribute it and/or modify it under +# the terms of the GNU Affero General Public License as published by the Free +# Software Foundation, version 3. # -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: +# This program is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +# FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more +# details. # -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see https://www.gnu.org/licenses/. # # force jvm path diff --git a/scm-packaging/deb/src/main/fs/etc/scm/config.yml b/scm-packaging/deb/src/main/fs/etc/scm/config.yml index 51d2916ead..b768c4fd73 100644 --- a/scm-packaging/deb/src/main/fs/etc/scm/config.yml +++ b/scm-packaging/deb/src/main/fs/etc/scm/config.yml @@ -1,3 +1,19 @@ +# +# Copyright (c) 2020 - present Cloudogu GmbH +# +# This program is free software: you can redistribute it and/or modify it under +# the terms of the GNU Affero General Public License as published by the Free +# Software Foundation, version 3. +# +# This program is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +# FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more +# details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see https://www.gnu.org/licenses/. +# + # base server config ## Address to listen 0.0.0.0 means on every interface addressBinding: 0.0.0.0 diff --git a/scm-packaging/deb/src/main/fs/opt/scm-server/var/webapp/docroot/index.html b/scm-packaging/deb/src/main/fs/opt/scm-server/var/webapp/docroot/index.html index bf3ece6e22..38f698e7da 100644 --- a/scm-packaging/deb/src/main/fs/opt/scm-server/var/webapp/docroot/index.html +++ b/scm-packaging/deb/src/main/fs/opt/scm-server/var/webapp/docroot/index.html @@ -1,25 +1,17 @@ diff --git a/scm-packaging/deb/src/main/scripts/postinst b/scm-packaging/deb/src/main/scripts/postinst index 0ca852da1f..dd0de950aa 100644 --- a/scm-packaging/deb/src/main/scripts/postinst +++ b/scm-packaging/deb/src/main/scripts/postinst @@ -1,26 +1,18 @@ #!/bin/sh # -# MIT License +# Copyright (c) 2020 - present Cloudogu GmbH # -# Copyright (c) 2020-present Cloudogu GmbH and Contributors +# This program is free software: you can redistribute it and/or modify it under +# the terms of the GNU Affero General Public License as published by the Free +# Software Foundation, version 3. # -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: +# This program is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +# FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more +# details. # -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see https://www.gnu.org/licenses/. # # clear workdir after upgrade @@ -41,13 +33,13 @@ sudo systemctl enable scm-server systemctl --system daemon-reload || true # enable service -if ! systemctl is-enabled scm-server >/dev/null +if ! systemctl is-enabled scm-server >/dev/null then systemctl enable scm-server fi # start or restart service -if systemctl is-active scm-server >/dev/null +if systemctl is-active scm-server >/dev/null then systemctl restart scm-server else diff --git a/scm-packaging/deb/src/main/scripts/preinst b/scm-packaging/deb/src/main/scripts/preinst index 5e81195783..698960d905 100644 --- a/scm-packaging/deb/src/main/scripts/preinst +++ b/scm-packaging/deb/src/main/scripts/preinst @@ -1,26 +1,18 @@ #!/bin/bash # -# MIT License +# Copyright (c) 2020 - present Cloudogu GmbH # -# Copyright (c) 2020-present Cloudogu GmbH and Contributors +# This program is free software: you can redistribute it and/or modify it under +# the terms of the GNU Affero General Public License as published by the Free +# Software Foundation, version 3. # -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: +# This program is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +# FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more +# details. # -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see https://www.gnu.org/licenses/. # current_version=$(dpkg -s scm-server | grep '^Version:' | awk '{print $2}') diff --git a/scm-packaging/docker/Dockerfile.alpine b/scm-packaging/docker/Dockerfile.alpine index ff96da817c..b0a9b3978c 100644 --- a/scm-packaging/docker/Dockerfile.alpine +++ b/scm-packaging/docker/Dockerfile.alpine @@ -1,25 +1,17 @@ # -# MIT License +# Copyright (c) 2020 - present Cloudogu GmbH # -# Copyright (c) 2020-present Cloudogu GmbH and Contributors +# This program is free software: you can redistribute it and/or modify it under +# the terms of the GNU Affero General Public License as published by the Free +# Software Foundation, version 3. # -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: +# This program is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +# FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more +# details. # -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see https://www.gnu.org/licenses/. # # Create minimal java version diff --git a/scm-packaging/docker/Dockerfile.debian b/scm-packaging/docker/Dockerfile.debian index 81c2ac5e26..b6d1366e9a 100644 --- a/scm-packaging/docker/Dockerfile.debian +++ b/scm-packaging/docker/Dockerfile.debian @@ -1,25 +1,17 @@ # -# MIT License +# Copyright (c) 2020 - present Cloudogu GmbH # -# Copyright (c) 2020-present Cloudogu GmbH and Contributors +# This program is free software: you can redistribute it and/or modify it under +# the terms of the GNU Affero General Public License as published by the Free +# Software Foundation, version 3. # -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: +# This program is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +# FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more +# details. # -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see https://www.gnu.org/licenses/. # # Create minimal java version diff --git a/scm-packaging/docker/build.gradle b/scm-packaging/docker/build.gradle index 440848027e..4994e0b6da 100644 --- a/scm-packaging/docker/build.gradle +++ b/scm-packaging/docker/build.gradle @@ -1,25 +1,17 @@ /* - * MIT License + * Copyright (c) 2020 - present Cloudogu GmbH * - * Copyright (c) 2020-present Cloudogu GmbH and Contributors + * This program is free software: you can redistribute it and/or modify it under + * the terms of the GNU Affero General Public License as published by the Free + * Software Foundation, version 3. * - * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights - * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: + * This program is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + * FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more + * details. * - * The above copyright notice and this permission notice shall be included in all - * copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see https://www.gnu.org/licenses/. */ plugins { diff --git a/scm-packaging/docker/docker-bake.hcl b/scm-packaging/docker/docker-bake.hcl index db0f010a0d..ba3b3331b1 100644 --- a/scm-packaging/docker/docker-bake.hcl +++ b/scm-packaging/docker/docker-bake.hcl @@ -1,25 +1,17 @@ # -# MIT License +# Copyright (c) 2020 - present Cloudogu GmbH # -# Copyright (c) 2020-present Cloudogu GmbH and Contributors +# This program is free software: you can redistribute it and/or modify it under +# the terms of the GNU Affero General Public License as published by the Free +# Software Foundation, version 3. # -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: +# This program is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +# FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more +# details. # -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see https://www.gnu.org/licenses/. # group "prod" { @@ -66,7 +58,7 @@ target "base" { target "dev" { inherits = ["base"] dockerfile = "Dockerfile.alpine" - tags = ["${IMAGE}:${VERSION}"] + tags = ["${IMAGE}:${VERSION}"] } target "alpine" { diff --git a/scm-packaging/docker/src/main/fs/etc/scm/config.yml b/scm-packaging/docker/src/main/fs/etc/scm/config.yml index 8782599c37..76ed14c787 100644 --- a/scm-packaging/docker/src/main/fs/etc/scm/config.yml +++ b/scm-packaging/docker/src/main/fs/etc/scm/config.yml @@ -1,3 +1,19 @@ +# +# Copyright (c) 2020 - present Cloudogu GmbH +# +# This program is free software: you can redistribute it and/or modify it under +# the terms of the GNU Affero General Public License as published by the Free +# Software Foundation, version 3. +# +# This program is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +# FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more +# details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see https://www.gnu.org/licenses/. +# + # base server config ## Address to listen 0.0.0.0 means on every interface addressBinding: 0.0.0.0 diff --git a/scm-packaging/docker/src/main/fs/opt/scm-server/var/webapp/docroot/index.html b/scm-packaging/docker/src/main/fs/opt/scm-server/var/webapp/docroot/index.html index bf3ece6e22..38f698e7da 100644 --- a/scm-packaging/docker/src/main/fs/opt/scm-server/var/webapp/docroot/index.html +++ b/scm-packaging/docker/src/main/fs/opt/scm-server/var/webapp/docroot/index.html @@ -1,25 +1,17 @@ diff --git a/scm-packaging/helm/build.gradle b/scm-packaging/helm/build.gradle index f5bb586363..25452dd3a4 100644 --- a/scm-packaging/helm/build.gradle +++ b/scm-packaging/helm/build.gradle @@ -1,25 +1,17 @@ /* - * MIT License + * Copyright (c) 2020 - present Cloudogu GmbH * - * Copyright (c) 2020-present Cloudogu GmbH and Contributors + * This program is free software: you can redistribute it and/or modify it under + * the terms of the GNU Affero General Public License as published by the Free + * Software Foundation, version 3. * - * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights - * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: + * This program is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + * FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more + * details. * - * The above copyright notice and this permission notice shall be included in all - * copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see https://www.gnu.org/licenses/. */ plugins { diff --git a/scm-packaging/helm/src/main/chart/templates/configmap.yaml b/scm-packaging/helm/src/main/chart/templates/configmap.yaml index 2a9aec7f72..42a3587f3f 100644 --- a/scm-packaging/helm/src/main/chart/templates/configmap.yaml +++ b/scm-packaging/helm/src/main/chart/templates/configmap.yaml @@ -1,25 +1,17 @@ # -# MIT License +# Copyright (c) 2020 - present Cloudogu GmbH # -# Copyright (c) 2020-present Cloudogu GmbH and Contributors +# This program is free software: you can redistribute it and/or modify it under +# the terms of the GNU Affero General Public License as published by the Free +# Software Foundation, version 3. # -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: +# This program is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +# FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more +# details. # -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see https://www.gnu.org/licenses/. # apiVersion: v1 diff --git a/scm-packaging/helm/src/main/chart/templates/deployment.yaml b/scm-packaging/helm/src/main/chart/templates/deployment.yaml index 560ca263d6..e870009813 100644 --- a/scm-packaging/helm/src/main/chart/templates/deployment.yaml +++ b/scm-packaging/helm/src/main/chart/templates/deployment.yaml @@ -1,25 +1,17 @@ # -# MIT License +# Copyright (c) 2020 - present Cloudogu GmbH # -# Copyright (c) 2020-present Cloudogu GmbH and Contributors +# This program is free software: you can redistribute it and/or modify it under +# the terms of the GNU Affero General Public License as published by the Free +# Software Foundation, version 3. # -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: +# This program is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +# FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more +# details. # -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see https://www.gnu.org/licenses/. # apiVersion: apps/v1 diff --git a/scm-packaging/helm/src/main/chart/templates/ingress.yaml b/scm-packaging/helm/src/main/chart/templates/ingress.yaml index 16c3bbca17..ac74e78060 100644 --- a/scm-packaging/helm/src/main/chart/templates/ingress.yaml +++ b/scm-packaging/helm/src/main/chart/templates/ingress.yaml @@ -1,25 +1,17 @@ # -# MIT License +# Copyright (c) 2020 - present Cloudogu GmbH # -# Copyright (c) 2020-present Cloudogu GmbH and Contributors +# This program is free software: you can redistribute it and/or modify it under +# the terms of the GNU Affero General Public License as published by the Free +# Software Foundation, version 3. # -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: +# This program is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +# FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more +# details. # -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see https://www.gnu.org/licenses/. # {{ if .Values.ingress.enabled }} diff --git a/scm-packaging/helm/src/main/chart/templates/pvc.yaml b/scm-packaging/helm/src/main/chart/templates/pvc.yaml index 4be097f1cb..c49f838173 100644 --- a/scm-packaging/helm/src/main/chart/templates/pvc.yaml +++ b/scm-packaging/helm/src/main/chart/templates/pvc.yaml @@ -1,25 +1,17 @@ # -# MIT License +# Copyright (c) 2020 - present Cloudogu GmbH # -# Copyright (c) 2020-present Cloudogu GmbH and Contributors +# This program is free software: you can redistribute it and/or modify it under +# the terms of the GNU Affero General Public License as published by the Free +# Software Foundation, version 3. # -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: +# This program is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +# FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more +# details. # -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see https://www.gnu.org/licenses/. # {{ if .Values.persistence.enabled }} diff --git a/scm-packaging/helm/src/main/chart/templates/scripts.yaml b/scm-packaging/helm/src/main/chart/templates/scripts.yaml index 128d8ae54a..2253dbcd8a 100644 --- a/scm-packaging/helm/src/main/chart/templates/scripts.yaml +++ b/scm-packaging/helm/src/main/chart/templates/scripts.yaml @@ -1,25 +1,17 @@ # -# MIT License +# Copyright (c) 2020 - present Cloudogu GmbH # -# Copyright (c) 2020-present Cloudogu GmbH and Contributors +# This program is free software: you can redistribute it and/or modify it under +# the terms of the GNU Affero General Public License as published by the Free +# Software Foundation, version 3. # -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: +# This program is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +# FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more +# details. # -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see https://www.gnu.org/licenses/. # {{ if .Values.plugins }} diff --git a/scm-packaging/helm/src/main/chart/templates/service-ssh.yaml b/scm-packaging/helm/src/main/chart/templates/service-ssh.yaml index e9d1244a93..bb2bde1ed1 100644 --- a/scm-packaging/helm/src/main/chart/templates/service-ssh.yaml +++ b/scm-packaging/helm/src/main/chart/templates/service-ssh.yaml @@ -1,25 +1,17 @@ # -# MIT License +# Copyright (c) 2020 - present Cloudogu GmbH # -# Copyright (c) 2020-present Cloudogu GmbH and Contributors +# This program is free software: you can redistribute it and/or modify it under +# the terms of the GNU Affero General Public License as published by the Free +# Software Foundation, version 3. # -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: +# This program is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +# FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more +# details. # -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see https://www.gnu.org/licenses/. # {{ if .Values.ssh.enabled }} diff --git a/scm-packaging/helm/src/main/chart/templates/service.yaml b/scm-packaging/helm/src/main/chart/templates/service.yaml index 1f9f46a8f7..5b9250e805 100644 --- a/scm-packaging/helm/src/main/chart/templates/service.yaml +++ b/scm-packaging/helm/src/main/chart/templates/service.yaml @@ -1,25 +1,17 @@ # -# MIT License +# Copyright (c) 2020 - present Cloudogu GmbH # -# Copyright (c) 2020-present Cloudogu GmbH and Contributors +# This program is free software: you can redistribute it and/or modify it under +# the terms of the GNU Affero General Public License as published by the Free +# Software Foundation, version 3. # -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: +# This program is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +# FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more +# details. # -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see https://www.gnu.org/licenses/. # apiVersion: v1 diff --git a/scm-packaging/helm/src/main/chart/values.yaml b/scm-packaging/helm/src/main/chart/values.yaml index a72e7a3bb4..2de7483a75 100644 --- a/scm-packaging/helm/src/main/chart/values.yaml +++ b/scm-packaging/helm/src/main/chart/values.yaml @@ -1,25 +1,17 @@ # -# MIT License +# Copyright (c) 2020 - present Cloudogu GmbH # -# Copyright (c) 2020-present Cloudogu GmbH and Contributors +# This program is free software: you can redistribute it and/or modify it under +# the terms of the GNU Affero General Public License as published by the Free +# Software Foundation, version 3. # -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: +# This program is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +# FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more +# details. # -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see https://www.gnu.org/licenses/. # # Default values for SCM-Manager. diff --git a/scm-packaging/helm/src/main/docs/docs.sh b/scm-packaging/helm/src/main/docs/docs.sh old mode 100755 new mode 100644 index d00ca9e1c7..a4fdb6cb54 --- a/scm-packaging/helm/src/main/docs/docs.sh +++ b/scm-packaging/helm/src/main/docs/docs.sh @@ -1,26 +1,18 @@ #!/bin/bash # -# MIT License +# Copyright (c) 2020 - present Cloudogu GmbH # -# Copyright (c) 2020-present Cloudogu GmbH and Contributors +# This program is free software: you can redistribute it and/or modify it under +# the terms of the GNU Affero General Public License as published by the Free +# Software Foundation, version 3. # -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: +# This program is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +# FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more +# details. # -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see https://www.gnu.org/licenses/. # set -euo pipefail diff --git a/scm-packaging/release-yaml/build.gradle b/scm-packaging/release-yaml/build.gradle index b11c06070d..8884ca2662 100644 --- a/scm-packaging/release-yaml/build.gradle +++ b/scm-packaging/release-yaml/build.gradle @@ -1,25 +1,17 @@ /* - * MIT License + * Copyright (c) 2020 - present Cloudogu GmbH * - * Copyright (c) 2020-present Cloudogu GmbH and Contributors + * This program is free software: you can redistribute it and/or modify it under + * the terms of the GNU Affero General Public License as published by the Free + * Software Foundation, version 3. * - * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights - * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: + * This program is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + * FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more + * details. * - * The above copyright notice and this permission notice shall be included in all - * copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see https://www.gnu.org/licenses/. */ import com.cloudogu.scm.ScmManagerUploadTask diff --git a/scm-packaging/rpm/Vagrantfile b/scm-packaging/rpm/Vagrantfile index 3235b5bb99..4a1782c64d 100644 --- a/scm-packaging/rpm/Vagrantfile +++ b/scm-packaging/rpm/Vagrantfile @@ -1,25 +1,17 @@ # -# MIT License +# Copyright (c) 2020 - present Cloudogu GmbH # -# Copyright (c) 2020-present Cloudogu GmbH and Contributors +# This program is free software: you can redistribute it and/or modify it under +# the terms of the GNU Affero General Public License as published by the Free +# Software Foundation, version 3. # -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: +# This program is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +# FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more +# details. # -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see https://www.gnu.org/licenses/. # Vagrant.configure("2") do |config| diff --git a/scm-packaging/rpm/build.gradle b/scm-packaging/rpm/build.gradle index bbd8fe6be3..5ca6c713a0 100644 --- a/scm-packaging/rpm/build.gradle +++ b/scm-packaging/rpm/build.gradle @@ -1,25 +1,17 @@ /* - * MIT License + * Copyright (c) 2020 - present Cloudogu GmbH * - * Copyright (c) 2020-present Cloudogu GmbH and Contributors + * This program is free software: you can redistribute it and/or modify it under + * the terms of the GNU Affero General Public License as published by the Free + * Software Foundation, version 3. * - * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights - * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: + * This program is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + * FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more + * details. * - * The above copyright notice and this permission notice shall be included in all - * copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see https://www.gnu.org/licenses/. */ import org.gradle.util.VersionNumber diff --git a/scm-packaging/rpm/src/main/fs/etc/default/scm-server b/scm-packaging/rpm/src/main/fs/etc/default/scm-server index ad2a18d8cd..affc9275c1 100644 --- a/scm-packaging/rpm/src/main/fs/etc/default/scm-server +++ b/scm-packaging/rpm/src/main/fs/etc/default/scm-server @@ -1,26 +1,18 @@ #!/bin/sh # -# MIT License +# Copyright (c) 2020 - present Cloudogu GmbH # -# Copyright (c) 2020-present Cloudogu GmbH and Contributors +# This program is free software: you can redistribute it and/or modify it under +# the terms of the GNU Affero General Public License as published by the Free +# Software Foundation, version 3. # -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: +# This program is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +# FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more +# details. # -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see https://www.gnu.org/licenses/. # # force jvm path diff --git a/scm-packaging/rpm/src/main/fs/etc/scm/config.yml b/scm-packaging/rpm/src/main/fs/etc/scm/config.yml index e97fc658c2..057e18efbd 100644 --- a/scm-packaging/rpm/src/main/fs/etc/scm/config.yml +++ b/scm-packaging/rpm/src/main/fs/etc/scm/config.yml @@ -1,3 +1,19 @@ +# +# Copyright (c) 2020 - present Cloudogu GmbH +# +# This program is free software: you can redistribute it and/or modify it under +# the terms of the GNU Affero General Public License as published by the Free +# Software Foundation, version 3. +# +# This program is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +# FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more +# details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see https://www.gnu.org/licenses/. +# + # base server config ## Address to listen 0.0.0.0 means on every interface addressBinding: 0.0.0.0 diff --git a/scm-packaging/rpm/src/main/fs/opt/scm-server/var/webapp/docroot/index.html b/scm-packaging/rpm/src/main/fs/opt/scm-server/var/webapp/docroot/index.html index bf3ece6e22..38f698e7da 100644 --- a/scm-packaging/rpm/src/main/fs/opt/scm-server/var/webapp/docroot/index.html +++ b/scm-packaging/rpm/src/main/fs/opt/scm-server/var/webapp/docroot/index.html @@ -1,25 +1,17 @@ diff --git a/scm-packaging/rpm/src/main/scripts/after-installation.sh b/scm-packaging/rpm/src/main/scripts/after-installation.sh index 6bd95afbe0..97fc8286f8 100644 --- a/scm-packaging/rpm/src/main/scripts/after-installation.sh +++ b/scm-packaging/rpm/src/main/scripts/after-installation.sh @@ -1,26 +1,18 @@ #!/bin/sh # -# MIT License +# Copyright (c) 2020 - present Cloudogu GmbH # -# Copyright (c) 2020-present Cloudogu GmbH and Contributors +# This program is free software: you can redistribute it and/or modify it under +# the terms of the GNU Affero General Public License as published by the Free +# Software Foundation, version 3. # -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: +# This program is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +# FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more +# details. # -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see https://www.gnu.org/licenses/. # # clear workdir after upgrade diff --git a/scm-packaging/rpm/src/main/scripts/before-installation.sh b/scm-packaging/rpm/src/main/scripts/before-installation.sh index 690567ca70..6df4d89c99 100644 --- a/scm-packaging/rpm/src/main/scripts/before-installation.sh +++ b/scm-packaging/rpm/src/main/scripts/before-installation.sh @@ -1,27 +1,20 @@ #!/bin/bash # -# MIT License +# Copyright (c) 2020 - present Cloudogu GmbH # -# Copyright (c) 2020-present Cloudogu GmbH and Contributors +# This program is free software: you can redistribute it and/or modify it under +# the terms of the GNU Affero General Public License as published by the Free +# Software Foundation, version 3. # -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: +# This program is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +# FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more +# details. # -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see https://www.gnu.org/licenses/. # + current_version=$(yum info scm-server | grep Version | awk '{ print $3 }' | awk -F "" '{print $1}') if [ $((current_version)) -lt $(("3")) ]; then diff --git a/scm-packaging/unix/build.gradle b/scm-packaging/unix/build.gradle index e9a8e061e8..edab41e489 100644 --- a/scm-packaging/unix/build.gradle +++ b/scm-packaging/unix/build.gradle @@ -1,25 +1,17 @@ /* - * MIT License + * Copyright (c) 2020 - present Cloudogu GmbH * - * Copyright (c) 2020-present Cloudogu GmbH and Contributors + * This program is free software: you can redistribute it and/or modify it under + * the terms of the GNU Affero General Public License as published by the Free + * Software Foundation, version 3. * - * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights - * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: + * This program is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + * FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more + * details. * - * The above copyright notice and this permission notice shall be included in all - * copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see https://www.gnu.org/licenses/. */ import org.gradle.util.VersionNumber diff --git a/scm-packaging/unix/src/main/fs/conf/config.yml b/scm-packaging/unix/src/main/fs/conf/config.yml index 14e9675652..b76e7dd3e2 100644 --- a/scm-packaging/unix/src/main/fs/conf/config.yml +++ b/scm-packaging/unix/src/main/fs/conf/config.yml @@ -1,3 +1,19 @@ +# +# Copyright (c) 2020 - present Cloudogu GmbH +# +# This program is free software: you can redistribute it and/or modify it under +# the terms of the GNU Affero General Public License as published by the Free +# Software Foundation, version 3. +# +# This program is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +# FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more +# details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see https://www.gnu.org/licenses/. +# + # base server config ## Address to listen 0.0.0.0 means on every interface addressBinding: 0.0.0.0 diff --git a/scm-packaging/unix/src/main/fs/var/webapp/docroot/index.html b/scm-packaging/unix/src/main/fs/var/webapp/docroot/index.html index bf3ece6e22..38f698e7da 100644 --- a/scm-packaging/unix/src/main/fs/var/webapp/docroot/index.html +++ b/scm-packaging/unix/src/main/fs/var/webapp/docroot/index.html @@ -1,25 +1,17 @@ diff --git a/scm-packaging/windows/Vagrantfile b/scm-packaging/windows/Vagrantfile index 440798f832..27440cd741 100644 --- a/scm-packaging/windows/Vagrantfile +++ b/scm-packaging/windows/Vagrantfile @@ -1,25 +1,17 @@ # -# MIT License +# Copyright (c) 2020 - present Cloudogu GmbH # -# Copyright (c) 2020-present Cloudogu GmbH and Contributors +# This program is free software: you can redistribute it and/or modify it under +# the terms of the GNU Affero General Public License as published by the Free +# Software Foundation, version 3. # -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: +# This program is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +# FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more +# details. # -# The above copyright notice and this permission notice shall be included in all -# copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see https://www.gnu.org/licenses/. # Vagrant.configure("2") do |config| diff --git a/scm-packaging/windows/build.gradle b/scm-packaging/windows/build.gradle index 04270aa689..8efaf54b1c 100644 --- a/scm-packaging/windows/build.gradle +++ b/scm-packaging/windows/build.gradle @@ -1,25 +1,17 @@ /* - * MIT License + * Copyright (c) 2020 - present Cloudogu GmbH * - * Copyright (c) 2020-present Cloudogu GmbH and Contributors + * This program is free software: you can redistribute it and/or modify it under + * the terms of the GNU Affero General Public License as published by the Free + * Software Foundation, version 3. * - * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights - * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: + * This program is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + * FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more + * details. * - * The above copyright notice and this permission notice shall be included in all - * copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see https://www.gnu.org/licenses/. */ import org.gradle.util.VersionNumber diff --git a/scm-packaging/windows/src/main/fs/conf/config.yml b/scm-packaging/windows/src/main/fs/conf/config.yml index b4518f1e76..48394d0a68 100644 --- a/scm-packaging/windows/src/main/fs/conf/config.yml +++ b/scm-packaging/windows/src/main/fs/conf/config.yml @@ -1,3 +1,19 @@ +# +# Copyright (c) 2020 - present Cloudogu GmbH +# +# This program is free software: you can redistribute it and/or modify it under +# the terms of the GNU Affero General Public License as published by the Free +# Software Foundation, version 3. +# +# This program is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +# FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more +# details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see https://www.gnu.org/licenses/. +# + # base server config ## Address to listen 0.0.0.0 means on every interface addressBinding: 0.0.0.0 diff --git a/scm-packaging/windows/src/main/fs/scm-server.xml b/scm-packaging/windows/src/main/fs/scm-server.xml index 41403e9aea..3db84be780 100644 --- a/scm-packaging/windows/src/main/fs/scm-server.xml +++ b/scm-packaging/windows/src/main/fs/scm-server.xml @@ -1,25 +1,17 @@ diff --git a/scm-packaging/windows/src/main/fs/var/webapp/docroot/index.html b/scm-packaging/windows/src/main/fs/var/webapp/docroot/index.html index bf3ece6e22..38f698e7da 100644 --- a/scm-packaging/windows/src/main/fs/var/webapp/docroot/index.html +++ b/scm-packaging/windows/src/main/fs/var/webapp/docroot/index.html @@ -1,25 +1,17 @@ From d2b5b2ee9754d2d391ee42730b2eed4ace1544e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Pfeuffer?= Date: Mon, 9 Sep 2024 16:33:21 +0200 Subject: [PATCH 3/5] Fix intellij configuration --- .../intellij-idea-configuration.md | 8 ++++---- .../en/licenses/netbeans/license-SCM-AGPL.txt | 19 +++++++++++++++++++ 2 files changed, 23 insertions(+), 4 deletions(-) create mode 100644 docs/en/licenses/netbeans/license-SCM-AGPL.txt diff --git a/docs/en/development/intellij-idea-configuration.md b/docs/en/development/intellij-idea-configuration.md index 8b0510f843..65141909a6 100644 --- a/docs/en/development/intellij-idea-configuration.md +++ b/docs/en/development/intellij-idea-configuration.md @@ -59,12 +59,12 @@ title: Intellij IDEA Configuration * Editor / Copyright / Copyright Profiles * Add Profile - * Name: SCM-MIT - * Copyright text: *see LICENSE.txt in the main directory* - * Regex: MIT License + * Name: SCM-AGPL + * Copyright text: see https://www.gnu.org/licenses/ + * Regex: GNU Affero General Public License * Editor / Copyright - * Default project copyright: SCM-MIT + * Default project copyright: SCM-AGPL * Editor / Copyright / Formatting / XML * Use custom formatting options diff --git a/docs/en/licenses/netbeans/license-SCM-AGPL.txt b/docs/en/licenses/netbeans/license-SCM-AGPL.txt new file mode 100644 index 0000000000..7a2fef01b7 --- /dev/null +++ b/docs/en/licenses/netbeans/license-SCM-AGPL.txt @@ -0,0 +1,19 @@ +<#if licenseFirst??> +${licenseFirst}* + +${licensePrefix}Copyright (c) 2020 - present Cloudogu GmbH +${licensePrefix} +${licensePrefix}This program is free software: you can redistribute it and/or modify it under +${licensePrefix}the terms of the GNU Affero General Public License as published by the Free +${licensePrefix}Software Foundation, version 3. +${licensePrefix} +${licensePrefix}This program is distributed in the hope that it will be useful, but WITHOUT +${licensePrefix}ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +${licensePrefix}FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more +${licensePrefix}details. +${licensePrefix} +${licensePrefix}You should have received a copy of the GNU Affero General Public License +${licensePrefix}along with this program. If not, see https://www.gnu.org/licenses/. +<#if licenseLast??> +${licenseLast} + From 5f49b73b8b9044f25167880ef2ffcaf887a4c13a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Pfeuffer?= Date: Mon, 9 Sep 2024 16:34:12 +0200 Subject: [PATCH 4/5] plugin-development.md --- docs/en/development/plugins/plugin-development.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/en/development/plugins/plugin-development.md b/docs/en/development/plugins/plugin-development.md index f66236bb90..426365ae69 100644 --- a/docs/en/development/plugins/plugin-development.md +++ b/docs/en/development/plugins/plugin-development.md @@ -67,7 +67,7 @@ A quick look at the files and directories you'll see in a SCM-Manager project. 5. **`CHANGELOG.md`**: All notable changes to this project will be documented in this file. -6. **`LICENSE`**: This project is licensed under the MIT license. +6. **`LICENSE`**: This project is licensed under the AGPLv3 license. 7. **`package.json`**: Here you can find the dependency/build configuration and dependencies for the frontend. From 11fe1157d172f241f0633c43d4edb23f64ef9077 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Pfeuffer?= Date: Mon, 9 Sep 2024 16:34:35 +0200 Subject: [PATCH 5/5] Cleanup --- docs/en/licenses/netbeans/license-SCM-MIT.txt | 28 ------------------- 1 file changed, 28 deletions(-) delete mode 100644 docs/en/licenses/netbeans/license-SCM-MIT.txt diff --git a/docs/en/licenses/netbeans/license-SCM-MIT.txt b/docs/en/licenses/netbeans/license-SCM-MIT.txt deleted file mode 100644 index a7e0bc37a5..0000000000 --- a/docs/en/licenses/netbeans/license-SCM-MIT.txt +++ /dev/null @@ -1,28 +0,0 @@ -<#if licenseFirst??> -${licenseFirst}* - -${licensePrefix}MIT License -${licensePrefix} -${licensePrefix}Copyright (c) 2020-present Cloudogu GmbH and Contributors -${licensePrefix} -${licensePrefix}Permission is hereby granted, free of charge, to any person obtaining a copy -${licensePrefix}of this software and associated documentation files (the "Software"), to deal -${licensePrefix}in the Software without restriction, including without limitation the rights -${licensePrefix}to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -${licensePrefix}copies of the Software, and to permit persons to whom the Software is -${licensePrefix}furnished to do so, subject to the following conditions: -${licensePrefix} -${licensePrefix}The above copyright notice and this permission notice shall be included in all -${licensePrefix}copies or substantial portions of the Software. -${licensePrefix} -${licensePrefix}THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -${licensePrefix}IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -${licensePrefix}FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -${licensePrefix}AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -${licensePrefix}LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -${licensePrefix}OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -${licensePrefix}SOFTWARE. -${licensePrefix} -<#if licenseLast??> -${licenseLast} -