From 54bf6ef6defad5282b5cd2a2cdecc16127e390cf Mon Sep 17 00:00:00 2001 From: Felix Fontein Date: Fri, 5 Aug 2022 12:47:18 +0200 Subject: [PATCH] Add MIT-license.txt (#5072) (partially cherry picked from commit b5eae69e367fb204cc8c96074243ca1650fa9a2c) --- MIT-license.txt | 9 +++++++++ changelogs/fragments/licenses.yml | 2 ++ .../unit/plugins/modules/packaging/language/test_gem.py | 3 ++- 3 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 MIT-license.txt create mode 100644 changelogs/fragments/licenses.yml diff --git a/MIT-license.txt b/MIT-license.txt new file mode 100644 index 0000000000..2071b23b0e --- /dev/null +++ b/MIT-license.txt @@ -0,0 +1,9 @@ +MIT License + +Copyright (c) + +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. diff --git a/changelogs/fragments/licenses.yml b/changelogs/fragments/licenses.yml new file mode 100644 index 0000000000..95cc46d63b --- /dev/null +++ b/changelogs/fragments/licenses.yml @@ -0,0 +1,2 @@ +minor_changes: + - "Added MIT license as ``MIT-license.txt`` for ``tests/unit/plugins/modules/packaging/language/test_gem.py`` (https://github.com/ansible-collections/community.general/pull/5065, https://github.com/ansible-collections/community.general/pull/5072)." diff --git a/tests/unit/plugins/modules/packaging/language/test_gem.py b/tests/unit/plugins/modules/packaging/language/test_gem.py index 41f504f6c0..aab64935dc 100644 --- a/tests/unit/plugins/modules/packaging/language/test_gem.py +++ b/tests/unit/plugins/modules/packaging/language/test_gem.py @@ -1,5 +1,6 @@ # Copyright (c) 2018 Antoine Catton -# MIT License (see licenses/MIT-license.txt or https://opensource.org/licenses/MIT) +# MIT License (see MIT-license.txt or https://opensource.org/licenses/MIT) +# SPDX-License-Identifier: MIT from __future__ import (absolute_import, division, print_function) __metaclass__ = type