From dfbe88c9df4def788ad136d93c417bbd64b25adf Mon Sep 17 00:00:00 2001 From: Florian Scholdei Date: Mon, 9 Sep 2024 16:34:28 +0200 Subject: [PATCH] Replace licenses in scm-plugins folder or with .xml or .py ending --- .../resources/sonia/scm/python/cgiserve.py | 28 ++++++---------- .../resources/sonia/scm/python/fileview.py | 28 ++++++---------- .../sonia/scm/python/fileview_test.py | 28 ++++++---------- .../resources/sonia/scm/python/scmhooks.py | 28 ++++++---------- .../resources/sonia/scm/python/scmversion.py | 28 ++++++---------- .../anonymous_mode_protocol_only_spec.ts | 24 -------------- .../scripts/write-mapping.mjs | 28 ++++++---------- .../src/main/webapp/META-INF/context.xml | 30 ++++++----------- scm-webapp/src/main/webapp/WEB-INF/beans.xml | 32 +++++++------------ .../src/main/webapp/WEB-INF/glassfish-web.xml | 30 ++++++----------- .../src/main/webapp/WEB-INF/sun-web.xml | 30 ++++++----------- scm-webapp/src/main/webapp/WEB-INF/web.xml | 30 ++++++----------- 12 files changed, 111 insertions(+), 233 deletions(-) diff --git a/scm-plugins/scm-hg-plugin/src/main/resources/sonia/scm/python/cgiserve.py b/scm-plugins/scm-hg-plugin/src/main/resources/sonia/scm/python/cgiserve.py index 747c3c7024..bb653533bf 100644 --- a/scm-plugins/scm-hg-plugin/src/main/resources/sonia/scm/python/cgiserve.py +++ b/scm-plugins/scm-hg-plugin/src/main/resources/sonia/scm/python/cgiserve.py @@ -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/. # from mercurial import registrar diff --git a/scm-plugins/scm-hg-plugin/src/main/resources/sonia/scm/python/fileview.py b/scm-plugins/scm-hg-plugin/src/main/resources/sonia/scm/python/fileview.py index 0bcc1cfe4f..ce66b4911b 100644 --- a/scm-plugins/scm-hg-plugin/src/main/resources/sonia/scm/python/fileview.py +++ b/scm-plugins/scm-hg-plugin/src/main/resources/sonia/scm/python/fileview.py @@ -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/. # """fileview diff --git a/scm-plugins/scm-hg-plugin/src/main/resources/sonia/scm/python/fileview_test.py b/scm-plugins/scm-hg-plugin/src/main/resources/sonia/scm/python/fileview_test.py index c32023acc6..252eb287fb 100644 --- a/scm-plugins/scm-hg-plugin/src/main/resources/sonia/scm/python/fileview_test.py +++ b/scm-plugins/scm-hg-plugin/src/main/resources/sonia/scm/python/fileview_test.py @@ -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/. # from fileview import File_Viewer, File_Printer, SubRepository diff --git a/scm-plugins/scm-hg-plugin/src/main/resources/sonia/scm/python/scmhooks.py b/scm-plugins/scm-hg-plugin/src/main/resources/sonia/scm/python/scmhooks.py index 492b6f53ba..1c3ba9bbca 100644 --- a/scm-plugins/scm-hg-plugin/src/main/resources/sonia/scm/python/scmhooks.py +++ b/scm-plugins/scm-hg-plugin/src/main/resources/sonia/scm/python/scmhooks.py @@ -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/. # # diff --git a/scm-plugins/scm-hg-plugin/src/main/resources/sonia/scm/python/scmversion.py b/scm-plugins/scm-hg-plugin/src/main/resources/sonia/scm/python/scmversion.py index 41e047367f..a552f48b4d 100644 --- a/scm-plugins/scm-hg-plugin/src/main/resources/sonia/scm/python/scmversion.py +++ b/scm-plugins/scm-hg-plugin/src/main/resources/sonia/scm/python/scmversion.py @@ -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/. # from mercurial import util diff --git a/scm-ui/e2e-tests/cypress/integration/anonymous_mode_protocol_only_spec.ts b/scm-ui/e2e-tests/cypress/integration/anonymous_mode_protocol_only_spec.ts index 40106dc60b..d086978bdc 100644 --- a/scm-ui/e2e-tests/cypress/integration/anonymous_mode_protocol_only_spec.ts +++ b/scm-ui/e2e-tests/cypress/integration/anonymous_mode_protocol_only_spec.ts @@ -14,30 +14,6 @@ * along with this program. If not, see https://www.gnu.org/licenses/. */ -/* - * MIT License - * - * Copyright (c) 2020-present Cloudogu GmbH and Contributors - * - * 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: - * - * 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. - */ - describe("Anonymous Mode with Protocol Only", () => { beforeEach(() => { cy.restSetAnonymousMode("PROTOCOL_ONLY"); diff --git a/scm-ui/ui-syntaxhighlighting/scripts/write-mapping.mjs b/scm-ui/ui-syntaxhighlighting/scripts/write-mapping.mjs index 23becf4fb0..71d1afe9a9 100644 --- a/scm-ui/ui-syntaxhighlighting/scripts/write-mapping.mjs +++ b/scm-ui/ui-syntaxhighlighting/scripts/write-mapping.mjs @@ -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 fs from "fs/promises"; diff --git a/scm-webapp/src/main/webapp/META-INF/context.xml b/scm-webapp/src/main/webapp/META-INF/context.xml index d431516a96..62b06370f4 100644 --- a/scm-webapp/src/main/webapp/META-INF/context.xml +++ b/scm-webapp/src/main/webapp/META-INF/context.xml @@ -1,27 +1,17 @@ diff --git a/scm-webapp/src/main/webapp/WEB-INF/beans.xml b/scm-webapp/src/main/webapp/WEB-INF/beans.xml index ccf9e1b377..814bc72edb 100644 --- a/scm-webapp/src/main/webapp/WEB-INF/beans.xml +++ b/scm-webapp/src/main/webapp/WEB-INF/beans.xml @@ -1,31 +1,21 @@ - \ No newline at end of file + diff --git a/scm-webapp/src/main/webapp/WEB-INF/glassfish-web.xml b/scm-webapp/src/main/webapp/WEB-INF/glassfish-web.xml index 0dda63c728..608ceb0a25 100644 --- a/scm-webapp/src/main/webapp/WEB-INF/glassfish-web.xml +++ b/scm-webapp/src/main/webapp/WEB-INF/glassfish-web.xml @@ -1,28 +1,18 @@ diff --git a/scm-webapp/src/main/webapp/WEB-INF/sun-web.xml b/scm-webapp/src/main/webapp/WEB-INF/sun-web.xml index 9a5ddf679d..36d3d57bd7 100644 --- a/scm-webapp/src/main/webapp/WEB-INF/sun-web.xml +++ b/scm-webapp/src/main/webapp/WEB-INF/sun-web.xml @@ -1,28 +1,18 @@ diff --git a/scm-webapp/src/main/webapp/WEB-INF/web.xml b/scm-webapp/src/main/webapp/WEB-INF/web.xml index 2923ca2857..247af0c373 100644 --- a/scm-webapp/src/main/webapp/WEB-INF/web.xml +++ b/scm-webapp/src/main/webapp/WEB-INF/web.xml @@ -1,28 +1,18 @@