From 8de0221ae63bb7cf78f3c696fabef3e1c71ce6f5 Mon Sep 17 00:00:00 2001 From: Felix Fontein Date: Sun, 6 Nov 2022 20:28:56 +0100 Subject: [PATCH] Convert copyright docstings to proper copyright comments (#5480) * Drop stable-3 from weekly CI; migrate stable-4 from nightly to weekly. * Convert copyright docstings to proper copyright comments. --- plugins/modules/one_image.py | 21 +-------------------- plugins/modules/one_image_info.py | 21 +-------------------- plugins/modules/one_service.py | 21 +-------------------- plugins/modules/one_vm.py | 23 ++--------------------- 4 files changed, 5 insertions(+), 81 deletions(-) diff --git a/plugins/modules/one_image.py b/plugins/modules/one_image.py index 04a6b57083..fb255dc590 100644 --- a/plugins/modules/one_image.py +++ b/plugins/modules/one_image.py @@ -1,6 +1,6 @@ #!/usr/bin/python # -*- coding: utf-8 -*- -# Copyright (c) Ansible Project +# Copyright (c) 2018, Milan Ilic # GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt) # SPDX-License-Identifier: GPL-3.0-or-later @@ -8,25 +8,6 @@ from __future__ import (absolute_import, division, print_function) __metaclass__ = type -""" -(c) 2018, Milan Ilic - -This file is part of Ansible - -Ansible is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 3 of the License, or -(at your option) any later version. - -Ansible 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 General Public License for more details. - -You should have received a clone of the GNU General Public License -along with Ansible. If not, see . -""" - DOCUMENTATION = ''' --- module: one_image diff --git a/plugins/modules/one_image_info.py b/plugins/modules/one_image_info.py index 08521a7acd..a908b46776 100644 --- a/plugins/modules/one_image_info.py +++ b/plugins/modules/one_image_info.py @@ -1,6 +1,6 @@ #!/usr/bin/python # -*- coding: utf-8 -*- -# Copyright (c) Ansible Project +# Copyright (c) 2018, Milan Ilic # GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt) # SPDX-License-Identifier: GPL-3.0-or-later @@ -8,25 +8,6 @@ from __future__ import (absolute_import, division, print_function) __metaclass__ = type -""" -(c) 2018, Milan Ilic - -This file is part of Ansible - -Ansible is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 3 of the License, or -(at your option) any later version. - -Ansible 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 General Public License for more details. - -You should have received a clone of the GNU General Public License -along with Ansible. If not, see . -""" - DOCUMENTATION = ''' --- module: one_image_info diff --git a/plugins/modules/one_service.py b/plugins/modules/one_service.py index 96f200a39e..6bc3137cc3 100644 --- a/plugins/modules/one_service.py +++ b/plugins/modules/one_service.py @@ -1,6 +1,6 @@ #!/usr/bin/python # -*- coding: utf-8 -*- -# Copyright (c) Ansible Project +# Copyright (c) 2017, Milan Ilic # GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt) # SPDX-License-Identifier: GPL-3.0-or-later @@ -8,25 +8,6 @@ from __future__ import (absolute_import, division, print_function) __metaclass__ = type -""" -(c) 2017, Milan Ilic - -This file is part of Ansible - -Ansible is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 3 of the License, or -(at your option) any later version. - -Ansible 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 General Public License for more details. - -You should have received a copy of the GNU General Public License -along with Ansible. If not, see . -""" - DOCUMENTATION = ''' --- module: one_service diff --git a/plugins/modules/one_vm.py b/plugins/modules/one_vm.py index dca65d6db3..6bfc793603 100644 --- a/plugins/modules/one_vm.py +++ b/plugins/modules/one_vm.py @@ -1,6 +1,7 @@ #!/usr/bin/python # -*- coding: utf-8 -*- -# Copyright (c) Ansible Project +# Copyright (c) 2017, Milan Ilic +# Copyright (c) 2019, Jan Meerkamp # GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt) # SPDX-License-Identifier: GPL-3.0-or-later @@ -8,26 +9,6 @@ from __future__ import (absolute_import, division, print_function) __metaclass__ = type -""" -(c) 2017, Milan Ilic -(c) 2019, Jan Meerkamp - -This file is part of Ansible - -Ansible is free software: you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation, either version 3 of the License, or -(at your option) any later version. - -Ansible 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 General Public License for more details. - -You should have received a copy of the GNU General Public License -along with Ansible. If not, see . -""" - DOCUMENTATION = ''' --- module: one_vm