From e8a7d91c1185dcac5ca75e2e57a18c7fe73bd8c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Ne=C4=8Das?= Date: Thu, 27 Oct 2022 10:44:45 +0200 Subject: [PATCH] Bump to 3.0.0 (#610) * Bump upstream to 3.0.0 * Bump the deprecation version of fetch_nested and nested_attributes * Add changelog --- build.sh | 2 +- changelogs/fragments/610-bump-info-deprecation.yml | 3 +++ galaxy.yml | 2 +- plugins/modules/ovirt_affinity_label_info.py | 2 +- plugins/modules/ovirt_cluster_info.py | 2 +- plugins/modules/ovirt_datacenter_info.py | 2 +- plugins/modules/ovirt_disk_info.py | 2 +- plugins/modules/ovirt_event_info.py | 2 +- plugins/modules/ovirt_external_provider_info.py | 2 +- plugins/modules/ovirt_group_info.py | 2 +- plugins/modules/ovirt_host_info.py | 2 +- plugins/modules/ovirt_host_storage_info.py | 2 +- plugins/modules/ovirt_network_info.py | 2 +- plugins/modules/ovirt_nic_info.py | 2 +- plugins/modules/ovirt_permission_info.py | 2 +- plugins/modules/ovirt_quota_info.py | 2 +- plugins/modules/ovirt_scheduling_policy_info.py | 2 +- plugins/modules/ovirt_snapshot_info.py | 2 +- plugins/modules/ovirt_storage_domain_info.py | 2 +- plugins/modules/ovirt_storage_template_info.py | 2 +- plugins/modules/ovirt_storage_vm_info.py | 2 +- plugins/modules/ovirt_system_option_info.py | 2 +- plugins/modules/ovirt_tag_info.py | 2 +- plugins/modules/ovirt_template_info.py | 2 +- plugins/modules/ovirt_user_info.py | 2 +- plugins/modules/ovirt_vm_info.py | 2 +- plugins/modules/ovirt_vm_os_info.py | 2 +- plugins/modules/ovirt_vmpool_info.py | 2 +- plugins/modules/ovirt_vnic_profile_info.py | 2 +- 29 files changed, 31 insertions(+), 28 deletions(-) create mode 100644 changelogs/fragments/610-bump-info-deprecation.yml diff --git a/build.sh b/build.sh index 8b33bf02..facf096a 100755 --- a/build.sh +++ b/build.sh @@ -1,6 +1,6 @@ #!/bin/bash -VERSION="2.3.1" +VERSION="3.0.0" MILESTONE="master" RPM_RELEASE="0.1.$MILESTONE.$(date -u +%Y%m%d%H%M%S)" diff --git a/changelogs/fragments/610-bump-info-deprecation.yml b/changelogs/fragments/610-bump-info-deprecation.yml new file mode 100644 index 00000000..6594a1b7 --- /dev/null +++ b/changelogs/fragments/610-bump-info-deprecation.yml @@ -0,0 +1,3 @@ +--- +bugfixes: + - info modules - Bump the deprecation version of fetch_nested and nested_attributes (https://github.com/oVirt/ovirt-ansible-collection/pull/610). diff --git a/galaxy.yml b/galaxy.yml index 81a3df96..3401c470 100644 --- a/galaxy.yml +++ b/galaxy.yml @@ -1,6 +1,6 @@ namespace: "@NAMESPACE@" name: "@NAME@" -version: 2.3.1 +version: 3.0.0 authors: - Martin Necas license: diff --git a/plugins/modules/ovirt_affinity_label_info.py b/plugins/modules/ovirt_affinity_label_info.py index 93aa057f..8ba4e56a 100644 --- a/plugins/modules/ovirt_affinity_label_info.py +++ b/plugins/modules/ovirt_affinity_label_info.py @@ -133,7 +133,7 @@ def main(): if module.params['fetch_nested'] or module.params['nested_attributes']: module.deprecate( "The 'fetch_nested' and 'nested_attributes' are deprecated please use 'follow' parameter", - version='3.0.0', + version='4.0.0', collection_name='ovirt.ovirt' ) diff --git a/plugins/modules/ovirt_cluster_info.py b/plugins/modules/ovirt_cluster_info.py index 53d789f9..6924245c 100644 --- a/plugins/modules/ovirt_cluster_info.py +++ b/plugins/modules/ovirt_cluster_info.py @@ -101,7 +101,7 @@ def main(): if module.params['fetch_nested'] or module.params['nested_attributes']: module.deprecate( "The 'fetch_nested' and 'nested_attributes' are deprecated please use 'follow' parameter", - version='3.0.0', + version='4.0.0', collection_name='ovirt.ovirt' ) diff --git a/plugins/modules/ovirt_datacenter_info.py b/plugins/modules/ovirt_datacenter_info.py index 396afeab..8613b39e 100644 --- a/plugins/modules/ovirt_datacenter_info.py +++ b/plugins/modules/ovirt_datacenter_info.py @@ -85,7 +85,7 @@ def main(): if module.params['fetch_nested'] or module.params['nested_attributes']: module.deprecate( "The 'fetch_nested' and 'nested_attributes' are deprecated please use 'follow' parameter", - version='3.0.0', + version='4.0.0', collection_name='ovirt.ovirt' ) diff --git a/plugins/modules/ovirt_disk_info.py b/plugins/modules/ovirt_disk_info.py index 4356426a..509af924 100644 --- a/plugins/modules/ovirt_disk_info.py +++ b/plugins/modules/ovirt_disk_info.py @@ -98,7 +98,7 @@ def main(): if module.params['fetch_nested'] or module.params['nested_attributes']: module.deprecate( "The 'fetch_nested' and 'nested_attributes' are deprecated please use 'follow' parameter", - version='3.0.0', + version='4.0.0', collection_name='ovirt.ovirt' ) diff --git a/plugins/modules/ovirt_event_info.py b/plugins/modules/ovirt_event_info.py index 13fbb100..436d85bd 100644 --- a/plugins/modules/ovirt_event_info.py +++ b/plugins/modules/ovirt_event_info.py @@ -131,7 +131,7 @@ def main(): if module.params['fetch_nested'] or module.params['nested_attributes']: module.deprecate( "The 'fetch_nested' and 'nested_attributes' are deprecated please use 'follow' parameter", - version='3.0.0', + version='4.0.0', collection_name='ovirt.ovirt' ) diff --git a/plugins/modules/ovirt_external_provider_info.py b/plugins/modules/ovirt_external_provider_info.py index cacc9b0e..4035a068 100644 --- a/plugins/modules/ovirt_external_provider_info.py +++ b/plugins/modules/ovirt_external_provider_info.py @@ -138,7 +138,7 @@ def main(): if module.params['fetch_nested'] or module.params['nested_attributes']: module.deprecate( "The 'fetch_nested' and 'nested_attributes' are deprecated please use 'follow' parameter", - version='3.0.0', + version='4.0.0', collection_name='ovirt.ovirt' ) diff --git a/plugins/modules/ovirt_group_info.py b/plugins/modules/ovirt_group_info.py index 4b8f3cb3..b7f8f1de 100644 --- a/plugins/modules/ovirt_group_info.py +++ b/plugins/modules/ovirt_group_info.py @@ -97,7 +97,7 @@ def main(): if module.params['fetch_nested'] or module.params['nested_attributes']: module.deprecate( "The 'fetch_nested' and 'nested_attributes' are deprecated please use 'follow' parameter", - version='3.0.0', + version='4.0.0', collection_name='ovirt.ovirt' ) diff --git a/plugins/modules/ovirt_host_info.py b/plugins/modules/ovirt_host_info.py index 362733cc..29906188 100644 --- a/plugins/modules/ovirt_host_info.py +++ b/plugins/modules/ovirt_host_info.py @@ -116,7 +116,7 @@ def main(): if module.params['fetch_nested'] or module.params['nested_attributes']: module.deprecate( "The 'fetch_nested' and 'nested_attributes' are deprecated please use 'follow' parameter", - version='3.0.0', + version='4.0.0', collection_name='ovirt.ovirt' ) diff --git a/plugins/modules/ovirt_host_storage_info.py b/plugins/modules/ovirt_host_storage_info.py index 47d49e9e..be107dd8 100644 --- a/plugins/modules/ovirt_host_storage_info.py +++ b/plugins/modules/ovirt_host_storage_info.py @@ -149,7 +149,7 @@ def main(): if module.params['fetch_nested'] or module.params['nested_attributes']: module.deprecate( "The 'fetch_nested' and 'nested_attributes' are deprecated please use 'follow' parameter", - version='3.0.0', + version='4.0.0', collection_name='ovirt.ovirt' ) diff --git a/plugins/modules/ovirt_network_info.py b/plugins/modules/ovirt_network_info.py index a1c2c5f0..de2aa220 100644 --- a/plugins/modules/ovirt_network_info.py +++ b/plugins/modules/ovirt_network_info.py @@ -101,7 +101,7 @@ def main(): if module.params['fetch_nested'] or module.params['nested_attributes']: module.deprecate( "The 'fetch_nested' and 'nested_attributes' are deprecated please use 'follow' parameter", - version='3.0.0', + version='4.0.0', collection_name='ovirt.ovirt' ) diff --git a/plugins/modules/ovirt_nic_info.py b/plugins/modules/ovirt_nic_info.py index 91fc26de..0c76a1ba 100644 --- a/plugins/modules/ovirt_nic_info.py +++ b/plugins/modules/ovirt_nic_info.py @@ -115,7 +115,7 @@ def main(): if module.params['fetch_nested'] or module.params['nested_attributes']: module.deprecate( "The 'fetch_nested' and 'nested_attributes' are deprecated please use 'follow' parameter", - version='3.0.0', + version='4.0.0', collection_name='ovirt.ovirt' ) diff --git a/plugins/modules/ovirt_permission_info.py b/plugins/modules/ovirt_permission_info.py index 8deb973f..75bb6c94 100644 --- a/plugins/modules/ovirt_permission_info.py +++ b/plugins/modules/ovirt_permission_info.py @@ -146,7 +146,7 @@ def main(): if module.params['fetch_nested'] or module.params['nested_attributes']: module.deprecate( "The 'fetch_nested' and 'nested_attributes' are deprecated please use 'follow' parameter", - version='3.0.0', + version='4.0.0', collection_name='ovirt.ovirt' ) diff --git a/plugins/modules/ovirt_quota_info.py b/plugins/modules/ovirt_quota_info.py index 1d2bb55a..99046269 100644 --- a/plugins/modules/ovirt_quota_info.py +++ b/plugins/modules/ovirt_quota_info.py @@ -105,7 +105,7 @@ def main(): if module.params['fetch_nested'] or module.params['nested_attributes']: module.deprecate( "The 'fetch_nested' and 'nested_attributes' are deprecated please use 'follow' parameter", - version='3.0.0', + version='4.0.0', collection_name='ovirt.ovirt' ) diff --git a/plugins/modules/ovirt_scheduling_policy_info.py b/plugins/modules/ovirt_scheduling_policy_info.py index 7821996b..d7703d2e 100644 --- a/plugins/modules/ovirt_scheduling_policy_info.py +++ b/plugins/modules/ovirt_scheduling_policy_info.py @@ -105,7 +105,7 @@ def main(): if module.params['fetch_nested'] or module.params['nested_attributes']: module.deprecate( "The 'fetch_nested' and 'nested_attributes' are deprecated please use 'follow' parameter", - version='3.0.0', + version='4.0.0', collection_name='ovirt.ovirt' ) diff --git a/plugins/modules/ovirt_snapshot_info.py b/plugins/modules/ovirt_snapshot_info.py index eb265136..9913a7cb 100644 --- a/plugins/modules/ovirt_snapshot_info.py +++ b/plugins/modules/ovirt_snapshot_info.py @@ -98,7 +98,7 @@ def main(): if module.params['fetch_nested'] or module.params['nested_attributes']: module.deprecate( "The 'fetch_nested' and 'nested_attributes' are deprecated please use 'follow' parameter", - version='3.0.0', + version='4.0.0', collection_name='ovirt.ovirt' ) diff --git a/plugins/modules/ovirt_storage_domain_info.py b/plugins/modules/ovirt_storage_domain_info.py index b1810071..85c04aee 100644 --- a/plugins/modules/ovirt_storage_domain_info.py +++ b/plugins/modules/ovirt_storage_domain_info.py @@ -101,7 +101,7 @@ def main(): if module.params['fetch_nested'] or module.params['nested_attributes']: module.deprecate( "The 'fetch_nested' and 'nested_attributes' are deprecated please use 'follow' parameter", - version='3.0.0', + version='4.0.0', collection_name='ovirt.ovirt' ) diff --git a/plugins/modules/ovirt_storage_template_info.py b/plugins/modules/ovirt_storage_template_info.py index b2f2d0a9..75d3b860 100644 --- a/plugins/modules/ovirt_storage_template_info.py +++ b/plugins/modules/ovirt_storage_template_info.py @@ -112,7 +112,7 @@ def main(): if module.params['fetch_nested'] or module.params['nested_attributes']: module.deprecate( "The 'fetch_nested' and 'nested_attributes' are deprecated please use 'follow' parameter", - version='3.0.0', + version='4.0.0', collection_name='ovirt.ovirt' ) diff --git a/plugins/modules/ovirt_storage_vm_info.py b/plugins/modules/ovirt_storage_vm_info.py index 93231451..fe52fc03 100644 --- a/plugins/modules/ovirt_storage_vm_info.py +++ b/plugins/modules/ovirt_storage_vm_info.py @@ -112,7 +112,7 @@ def main(): if module.params['fetch_nested'] or module.params['nested_attributes']: module.deprecate( "The 'fetch_nested' and 'nested_attributes' are deprecated please use 'follow' parameter", - version='3.0.0', + version='4.0.0', collection_name='ovirt.ovirt' ) diff --git a/plugins/modules/ovirt_system_option_info.py b/plugins/modules/ovirt_system_option_info.py index d2753e80..11f5d622 100644 --- a/plugins/modules/ovirt_system_option_info.py +++ b/plugins/modules/ovirt_system_option_info.py @@ -99,7 +99,7 @@ def main(): if module.params['fetch_nested'] or module.params['nested_attributes']: module.deprecate( "The 'fetch_nested' and 'nested_attributes' are deprecated please use 'follow' parameter", - version='3.0.0', + version='4.0.0', collection_name='ovirt.ovirt' ) diff --git a/plugins/modules/ovirt_tag_info.py b/plugins/modules/ovirt_tag_info.py index d4e51b59..d9f8df2d 100644 --- a/plugins/modules/ovirt_tag_info.py +++ b/plugins/modules/ovirt_tag_info.py @@ -124,7 +124,7 @@ def main(): if module.params['fetch_nested'] or module.params['nested_attributes']: module.deprecate( "The 'fetch_nested' and 'nested_attributes' are deprecated please use 'follow' parameter", - version='3.0.0', + version='4.0.0', collection_name='ovirt.ovirt' ) diff --git a/plugins/modules/ovirt_template_info.py b/plugins/modules/ovirt_template_info.py index 9e0f7a62..28262336 100644 --- a/plugins/modules/ovirt_template_info.py +++ b/plugins/modules/ovirt_template_info.py @@ -101,7 +101,7 @@ def main(): if module.params['fetch_nested'] or module.params['nested_attributes']: module.deprecate( "The 'fetch_nested' and 'nested_attributes' are deprecated please use 'follow' parameter", - version='3.0.0', + version='4.0.0', collection_name='ovirt.ovirt' ) diff --git a/plugins/modules/ovirt_user_info.py b/plugins/modules/ovirt_user_info.py index 881c3f3b..fbb000d5 100644 --- a/plugins/modules/ovirt_user_info.py +++ b/plugins/modules/ovirt_user_info.py @@ -97,7 +97,7 @@ def main(): if module.params['fetch_nested'] or module.params['nested_attributes']: module.deprecate( "The 'fetch_nested' and 'nested_attributes' are deprecated please use 'follow' parameter", - version='3.0.0', + version='4.0.0', collection_name='ovirt.ovirt' ) diff --git a/plugins/modules/ovirt_vm_info.py b/plugins/modules/ovirt_vm_info.py index cb3b84fe..bad199ac 100644 --- a/plugins/modules/ovirt_vm_info.py +++ b/plugins/modules/ovirt_vm_info.py @@ -149,7 +149,7 @@ def main(): if module.params['fetch_nested'] or module.params['nested_attributes']: module.deprecate( "The 'fetch_nested' and 'nested_attributes' are deprecated please use 'follow' parameter", - version='3.0.0', + version='4.0.0', collection_name='ovirt.ovirt' ) diff --git a/plugins/modules/ovirt_vm_os_info.py b/plugins/modules/ovirt_vm_os_info.py index ccc0773b..4fbc49f9 100644 --- a/plugins/modules/ovirt_vm_os_info.py +++ b/plugins/modules/ovirt_vm_os_info.py @@ -109,7 +109,7 @@ def main(): if module.params['fetch_nested'] or module.params['nested_attributes']: module.deprecate( "The 'fetch_nested' and 'nested_attributes' are deprecated please use 'follow' parameter", - version='3.0.0', + version='4.0.0', collection_name='ovirt.ovirt' ) diff --git a/plugins/modules/ovirt_vmpool_info.py b/plugins/modules/ovirt_vmpool_info.py index 27e6a6c6..1b3b241a 100644 --- a/plugins/modules/ovirt_vmpool_info.py +++ b/plugins/modules/ovirt_vmpool_info.py @@ -99,7 +99,7 @@ def main(): if module.params['fetch_nested'] or module.params['nested_attributes']: module.deprecate( "The 'fetch_nested' and 'nested_attributes' are deprecated please use 'follow' parameter", - version='3.0.0', + version='4.0.0', collection_name='ovirt.ovirt' ) diff --git a/plugins/modules/ovirt_vnic_profile_info.py b/plugins/modules/ovirt_vnic_profile_info.py index 931527ee..0e36c1d6 100644 --- a/plugins/modules/ovirt_vnic_profile_info.py +++ b/plugins/modules/ovirt_vnic_profile_info.py @@ -99,7 +99,7 @@ def main(): if module.params['fetch_nested'] or module.params['nested_attributes']: module.deprecate( "The 'fetch_nested' and 'nested_attributes' are deprecated please use 'follow' parameter", - version='3.0.0', + version='4.0.0', collection_name='ovirt.ovirt' )