Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move licenses to LICENSES/, use SPDX-License-Identifier, mention all licenses in galaxy.yml #430

Merged
merged 18 commits into from
Jul 20, 2022
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 4 additions & 0 deletions .azure-pipelines/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@

[comment]: # GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
[comment]: # SPDX-License-Identifier: GPL-3.0-or-later
felixfontein marked this conversation as resolved.
Show resolved Hide resolved

## Azure Pipelines Configuration

Please see the [Documentation](https://github.com/ansible/community/wiki/Testing:-Azure-Pipelines) for more information.
4 changes: 4 additions & 0 deletions .azure-pipelines/azure-pipelines.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
# 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

trigger:
batch: true
branches:
Expand Down
3 changes: 3 additions & 0 deletions .azure-pipelines/scripts/aggregate-coverage.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
#!/usr/bin/env bash
# Aggregate code coverage results for later processing.

# 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

set -o pipefail -eu

agent_temp_directory="$1"
Expand Down
3 changes: 3 additions & 0 deletions .azure-pipelines/scripts/combine-coverage.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
#!/usr/bin/env python
# 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

"""
Combine coverage data from multiple jobs, keeping the data only from the most recent attempt from each job.
Coverage artifacts must be named using the format: "Coverage $(System.JobAttempt) {StableUniqueNameForEachJob}"
Expand Down
3 changes: 3 additions & 0 deletions .azure-pipelines/scripts/process-results.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
#!/usr/bin/env bash
# Check the test results and set variables for use in later steps.

# 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

set -o pipefail -eu

if [[ "$PWD" =~ /ansible_collections/ ]]; then
Expand Down
3 changes: 3 additions & 0 deletions .azure-pipelines/scripts/publish-codecov.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
#!/usr/bin/env python
# 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

"""
Upload code coverage reports to codecov.io.
Multiple coverage files from multiple languages are accepted and aggregated after upload.
Expand Down
3 changes: 3 additions & 0 deletions .azure-pipelines/scripts/report-coverage.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
#!/usr/bin/env bash
# Generate code coverage reports for uploading to Azure Pipelines and codecov.io.

# 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

set -o pipefail -eu

PATH="${PWD}/bin:${PATH}"
Expand Down
3 changes: 3 additions & 0 deletions .azure-pipelines/scripts/run-tests.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
#!/usr/bin/env bash
# Configure the test environment and run the tests.

# 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

set -o pipefail -eu

entry_point="$1"
Expand Down
3 changes: 3 additions & 0 deletions .azure-pipelines/scripts/time-command.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
#!/usr/bin/env python
# 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

"""Prepends a relative timestamp to each input line from stdin and writes it to stdout."""

from __future__ import (absolute_import, division, print_function)
Expand Down
3 changes: 3 additions & 0 deletions .azure-pipelines/templates/coverage.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# 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

# This template adds a job for processing code coverage data.
# It will upload results to Azure Pipelines and codecov.io.
# Use it from a job stage that completes after all other jobs have completed.
Expand Down
3 changes: 3 additions & 0 deletions .azure-pipelines/templates/matrix.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# 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

# This template uses the provided targets and optional groups to generate a matrix which is then passed to the test template.
# If this matrix template does not provide the required functionality, consider using the test template directly instead.

Expand Down
3 changes: 3 additions & 0 deletions .azure-pipelines/templates/test.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# 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

# This template uses the provided list of jobs to create test one or more test jobs.
# It can be used directly if needed, or through the matrix template.

Expand Down
3 changes: 3 additions & 0 deletions .github/patchback.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
---
# 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

backport_branch_prefix: patchback/backports/
backport_label_prefix: backport-
target_branch_prefix: stable-
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/docs-pr.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
# 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

name: Collection Docs
concurrency:
group: docs-${{ github.head_ref }}
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/ee.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
---
# 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

name: execution environment
on:
# Run CI against all pushes (direct commits, also merged PRs), Pull Requests
Expand Down
File renamed without changes.
1 change: 1 addition & 0 deletions LICENSES/GPL-3.0-or-later.txt
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@

[comment]: # GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
[comment]: # SPDX-License-Identifier: GPL-3.0-or-later

# Docker Community Collection

[![Doc](https://img.shields.io/badge/docs-brightgreen.svg)](https://docs.ansible.com/ansible/latest/collections/community/docker/)
Expand Down Expand Up @@ -112,3 +116,5 @@ See the [changelog](https://github.com/ansible-collections/community.docker/tree
GNU General Public License v3.0 or later.

See [COPYING](https://www.gnu.org/licenses/gpl-3.0.txt) to see the full text.

Parts of the collection are licensed under the [Apache 2.0 license](https://spdx.org/licenses/Apache-2.0). This applies mostly to files vendored from the [Docker SDK for Python](https://github.com/docker/docker-py/).
felixfontein marked this conversation as resolved.
Show resolved Hide resolved
4 changes: 4 additions & 0 deletions changelogs/config.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
# 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

changelog_filename_template: ../CHANGELOG.rst
changelog_filename_version_depth: 0
changes_file: changelog.yaml
Expand Down
2 changes: 2 additions & 0 deletions changelogs/fragments/430-licenses.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
minor_changes:
- "All software licenses are now in the ``LICENSES/`` directory of the collection root. Moreover, ``SPDX-License-Identifier:`` is used to declare the applicable license for every file that is not automatically generated (https://github.com/ansible-collections/community.docker/pull/430)."
3 changes: 3 additions & 0 deletions docs/docsite/extra-docs.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
---
# 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

sections:
- title: Scenario Guide
toctree:
Expand Down
3 changes: 3 additions & 0 deletions docs/docsite/links.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
---
# 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

edit_on_github:
repository: ansible-collections/community.docker
branch: main
Expand Down
4 changes: 4 additions & 0 deletions docs/docsite/rst/scenario_guide.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
..
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

.. _ansible_collections.community.docker.docsite.scenario_guide:

Docker Guide
Expand Down
9 changes: 8 additions & 1 deletion galaxy.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
# 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

# See https://docs.ansible.com/ansible/latest/dev_guide/collections_galaxy_meta.html

namespace: community
Expand All @@ -7,7 +11,10 @@ readme: README.md
authors:
- Ansible Docker Working Group
description: Modules and plugins for working with Docker
license_file: COPYING
license:
- GPL-3.0-or-later
- Apache-2.0
#license_file: COPYING
tags:
- docker
repository: https://github.com/ansible-collections/community.docker
Expand Down
2 changes: 2 additions & 0 deletions meta/ee-bindep.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# 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
3 changes: 3 additions & 0 deletions meta/ee-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# 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

docker
requests
paramiko
Expand Down
3 changes: 3 additions & 0 deletions meta/execution-environment.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
---
# 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

version: 1
dependencies:
python: meta/ee-requirements.txt
Expand Down
3 changes: 3 additions & 0 deletions meta/runtime.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
---
# 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

requires_ansible: '>=2.11.0'
action_groups:
docker:
Expand Down
3 changes: 2 additions & 1 deletion plugins/connection/docker.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
# (c) 2015, Leendert Brouwer (https://github.com/objectified)
# (c) 2015, Toshio Kuratomi <[email protected]>
# Copyright (c) 2017 Ansible Project
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
# 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

from __future__ import (absolute_import, division, print_function)
__metaclass__ = type
Expand Down
3 changes: 2 additions & 1 deletion plugins/connection/docker_api.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Copyright (c) 2019-2020, Felix Fontein <[email protected]>
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
# 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

from __future__ import (absolute_import, division, print_function)
__metaclass__ = type
Expand Down
3 changes: 2 additions & 1 deletion plugins/connection/nsenter.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
# Based on Ansible local connection plugin by:
# (c) 2012 Michael DeHaan <[email protected]>
# (c) 2015, 2017 Toshio Kuratomi <[email protected]>
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
# 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

from __future__ import (absolute_import, division, print_function)
__metaclass__ = type
Expand Down
3 changes: 2 additions & 1 deletion plugins/doc_fragments/docker.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# -*- coding: utf-8 -*-

# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
# 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

from __future__ import (absolute_import, division, print_function)
__metaclass__ = type
Expand Down
3 changes: 2 additions & 1 deletion plugins/inventory/docker_containers.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
# Copyright (c) 2016, Paul Durivage <[email protected]>
# Copyright (c) 2016, Chris Houseknecht <[email protected]>
# Copyright (c) 2016, James Tanner <[email protected]>
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
# 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

from __future__ import (absolute_import, division, print_function)

Expand Down
3 changes: 2 additions & 1 deletion plugins/inventory/docker_machine.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2019, Ximon Eighteen <[email protected]>
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
# 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

from __future__ import (absolute_import, division, print_function)
__metaclass__ = type
Expand Down
3 changes: 2 additions & 1 deletion plugins/inventory/docker_swarm.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2018, Stefan Heitmueller <[email protected]>
# Copyright (c) 2018 Ansible Project
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
# 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

from __future__ import (absolute_import, division, print_function)

Expand Down
Empty file removed plugins/module_utils/__init__.py
Empty file.
3 changes: 2 additions & 1 deletion plugins/module_utils/_api/_import_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
#
# Copyright (c) 2016-2022 Docker, Inc.
#
# It is licensed under the Apache 2.0 license (see Apache-2.0.txt in this collection)
# It is licensed under the Apache 2.0 license (see LICENSES/Apache-2.0.txt in this collection)
# SPDX-License-Identifier: Apache-2.0

from __future__ import (absolute_import, division, print_function)
__metaclass__ = type
Expand Down
3 changes: 2 additions & 1 deletion plugins/module_utils/_api/api/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
#
# Copyright (c) 2016-2022 Docker, Inc.
#
# It is licensed under the Apache 2.0 license (see Apache-2.0.txt in this collection)
# It is licensed under the Apache 2.0 license (see LICENSES/Apache-2.0.txt in this collection)
# SPDX-License-Identifier: Apache-2.0

from __future__ import (absolute_import, division, print_function)
__metaclass__ = type
Expand Down
3 changes: 2 additions & 1 deletion plugins/module_utils/_api/api/daemon.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
#
# Copyright (c) 2016-2022 Docker, Inc.
#
# It is licensed under the Apache 2.0 license (see Apache-2.0.txt in this collection)
# It is licensed under the Apache 2.0 license (see LICENSES/Apache-2.0.txt in this collection)
# SPDX-License-Identifier: Apache-2.0

from __future__ import (absolute_import, division, print_function)
__metaclass__ = type
Expand Down
3 changes: 2 additions & 1 deletion plugins/module_utils/_api/auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
#
# Copyright (c) 2016-2022 Docker, Inc.
#
# It is licensed under the Apache 2.0 license (see Apache-2.0.txt in this collection)
# It is licensed under the Apache 2.0 license (see LICENSES/Apache-2.0.txt in this collection)
# SPDX-License-Identifier: Apache-2.0

from __future__ import (absolute_import, division, print_function)
__metaclass__ = type
Expand Down
3 changes: 2 additions & 1 deletion plugins/module_utils/_api/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
#
# Copyright (c) 2016-2022 Docker, Inc.
#
# It is licensed under the Apache 2.0 license (see Apache-2.0.txt in this collection)
# It is licensed under the Apache 2.0 license (see LICENSES/Apache-2.0.txt in this collection)
# SPDX-License-Identifier: Apache-2.0

from __future__ import (absolute_import, division, print_function)
__metaclass__ = type
Expand Down
3 changes: 2 additions & 1 deletion plugins/module_utils/_api/credentials/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
#
# Copyright (c) 2016-2022 Docker, Inc.
#
# It is licensed under the Apache 2.0 license (see Apache-2.0.txt in this collection)
# It is licensed under the Apache 2.0 license (see LICENSES/Apache-2.0.txt in this collection)
# SPDX-License-Identifier: Apache-2.0

from __future__ import (absolute_import, division, print_function)
__metaclass__ = type
Expand Down
3 changes: 2 additions & 1 deletion plugins/module_utils/_api/credentials/errors.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
#
# Copyright (c) 2016-2022 Docker, Inc.
#
# It is licensed under the Apache 2.0 license (see Apache-2.0.txt in this collection)
# It is licensed under the Apache 2.0 license (see LICENSES/Apache-2.0.txt in this collection)
# SPDX-License-Identifier: Apache-2.0

from __future__ import (absolute_import, division, print_function)
__metaclass__ = type
Expand Down
3 changes: 2 additions & 1 deletion plugins/module_utils/_api/credentials/store.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
#
# Copyright (c) 2016-2022 Docker, Inc.
#
# It is licensed under the Apache 2.0 license (see Apache-2.0.txt in this collection)
# It is licensed under the Apache 2.0 license (see LICENSES/Apache-2.0.txt in this collection)
# SPDX-License-Identifier: Apache-2.0

from __future__ import (absolute_import, division, print_function)
__metaclass__ = type
Expand Down
3 changes: 2 additions & 1 deletion plugins/module_utils/_api/credentials/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
#
# Copyright (c) 2016-2022 Docker, Inc.
#
# It is licensed under the Apache 2.0 license (see Apache-2.0.txt in this collection)
# It is licensed under the Apache 2.0 license (see LICENSES/Apache-2.0.txt in this collection)
# SPDX-License-Identifier: Apache-2.0

from __future__ import (absolute_import, division, print_function)
__metaclass__ = type
Expand Down
3 changes: 2 additions & 1 deletion plugins/module_utils/_api/errors.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
#
# Copyright (c) 2016-2022 Docker, Inc.
#
# It is licensed under the Apache 2.0 license (see Apache-2.0.txt in this collection)
# It is licensed under the Apache 2.0 license (see LICENSES/Apache-2.0.txt in this collection)
# SPDX-License-Identifier: Apache-2.0

from __future__ import (absolute_import, division, print_function)
__metaclass__ = type
Expand Down
3 changes: 2 additions & 1 deletion plugins/module_utils/_api/tls.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
#
# Copyright (c) 2016-2022 Docker, Inc.
#
# It is licensed under the Apache 2.0 license (see Apache-2.0.txt in this collection)
# It is licensed under the Apache 2.0 license (see LICENSES/Apache-2.0.txt in this collection)
# SPDX-License-Identifier: Apache-2.0

from __future__ import (absolute_import, division, print_function)
__metaclass__ = type
Expand Down
Loading