Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package ansible for openSUSE:Factory checked in at 2026-11-03 17:58:57 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ansible (Old) and /work/SRC/openSUSE:Factory/.ansible.new.1257 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ansible" Tue Nov 3 17:58:57 2026 rev:149 rq:1394631 version:14.5.0 Changes: -------- --- /work/SRC/openSUSE:Factory/ansible/ansible.changes 2026-10-08 13:28:47.678324536 +0200 +++ /work/SRC/openSUSE:Factory/.ansible.new.1257/ansible.changes 2026-11-03 18:02:37.357124238 +0100 @@ -1,0 +2,9 @@ +Tue Oct 27 10:41:00 UTC 2026 - Harshvardhan Sharma <[email protected]> + +- Add google-cloud-documentation-short_description-first.patch + from upstream (gh#ansible-collections/google.cloud#785): fix + ansible-doc --list crashing on the + google.cloud.gcp_containeranalysis_note module (bsc#1285531) +- Use %autosetup in %prep + +------------------------------------------------------------------- New: ---- google-cloud-documentation-short_description-first.patch ----------(New B)---------- New: - Add google-cloud-documentation-short_description-first.patch from upstream (gh#ansible-collections/google.cloud#785): fix ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ansible.spec ++++++ --- /var/tmp/diff_new_pack.q8iX45/_old 2026-11-03 18:02:47.486548259 +0100 +++ /var/tmp/diff_new_pack.q8iX45/_new 2026-11-03 18:02:47.491548469 +0100 @@ -50,6 +50,8 @@ URL: https://ansible.com/ Source: https://files.pythonhosted.org/packages/source/a/ansible/ansible-%{version}.tar.gz Source99: ansible-rpmlintrc +# PATCH-FIX-UPSTREAM bsc#1285531 gh#ansible-collections/google.cloud#785 ansible-doc --list crash; drop once the packaged google.cloud includes it +Patch0: google-cloud-documentation-short_description-first.patch BuildRequires: python-rpm-macros BuildRequires: %{ansible_python}-base >= 3.10 BuildRequires: %{ansible_python}-setuptools @@ -84,7 +86,7 @@ automatically. %prep -%setup -q -n ansible-%{version} +%autosetup -p1 -n ansible-%{version} for file in .git_keep .travis.yml ; do find . -name "$file" -delete ++++++ google-cloud-documentation-short_description-first.patch ++++++ From: Jorge Gallegos <[email protected]> Subject: google.cloud: list short_description first in the containeranalysis note modules ansible-doc --list reads short_description with a line-based reader that takes the first "short_description:" it finds. gcp_containeranalysis_note has an option named short_description before the module's own key, so ansible-doc --list crashed with "'_AnsibleTaggedDict' object has no attribute 'strip'". The module template now puts module and short_description at the top of DOCUMENTATION. Upstream: https://github.com/ansible-collections/google.cloud/pull/785 (commit 1538d876bba9d9054048d7fdd5f2625879351f11, not yet released) References: bsc#1285531, gh#ansible-collections/google.cloud#789 diff --git a/ansible_collections/google/cloud/plugins/modules/gcp_containeranalysis_note.py b/ansible_collections/google/cloud/plugins/modules/gcp_containeranalysis_note.py index 6319483cb..d83d0f962 100644 --- a/ansible_collections/google/cloud/plugins/modules/gcp_containeranalysis_note.py +++ b/ansible_collections/google/cloud/plugins/modules/gcp_containeranalysis_note.py @@ -31,18 +31,13 @@ DOCUMENTATION = r""" --- -author: - - Google Inc. (@googlecloudplatform) +module: gcp_containeranalysis_note +short_description: Manages a ContainerAnalysis.Note resource description: - A Container Analysis note is a high-level piece of metadata that - describes a type of analysis that can be done for a resource. -extends_documentation_fragment: - - google.cloud.gcp -module: gcp_containeranalysis_note -notes: - - 'API Reference: U(https://cloud.google.com/container-analysis/api/reference/rest/)' - - 'Creating Attestations (Occurrences) Guide: U(https://cloud.google.com/binary-authorization/docs/making-attestations)' - - 'Official Documentation Guide: U(https://cloud.google.com/container-analysis/)' +author: + - Google Inc. (@googlecloudplatform) options: attestation_authority: description: @@ -118,7 +113,12 @@ - python >= 3.8 - requests >= 2.18.4 - google-auth >= 2.25.1 -short_description: Manages a ContainerAnalysis.Note resource +notes: + - 'API Reference: U(https://cloud.google.com/container-analysis/api/reference/rest/)' + - 'Creating Attestations (Occurrences) Guide: U(https://cloud.google.com/binary-authorization/docs/making-attestations)' + - 'Official Documentation Guide: U(https://cloud.google.com/container-analysis/)' +extends_documentation_fragment: + - google.cloud.gcp """ # noqa: E501 EXAMPLES = r""" diff --git a/ansible_collections/google/cloud/plugins/modules/gcp_containeranalysis_note_info.py b/ansible_collections/google/cloud/plugins/modules/gcp_containeranalysis_note_info.py index fdfc1e7af..7d59985d5 100644 --- a/ansible_collections/google/cloud/plugins/modules/gcp_containeranalysis_note_info.py +++ b/ansible_collections/google/cloud/plugins/modules/gcp_containeranalysis_note_info.py @@ -31,19 +31,13 @@ DOCUMENTATION = r""" --- -author: - - Google Inc. (@googlecloudplatform) +module: gcp_containeranalysis_note_info +short_description: List ContainerAnalysis.Note resources description: - A Container Analysis note is a high-level piece of metadata that - describes a type of analysis that can be done for a resource. -extends_documentation_fragment: - - google.cloud.gcp - - google.cloud.info -module: gcp_containeranalysis_note_info -notes: - - 'API Reference: U(https://cloud.google.com/container-analysis/api/reference/rest/)' - - 'Creating Attestations (Occurrences) Guide: U(https://cloud.google.com/binary-authorization/docs/making-attestations)' - - 'Official Documentation Guide: U(https://cloud.google.com/container-analysis/)' +author: + - Google Inc. (@googlecloudplatform) options: filters: elements: str @@ -52,7 +46,13 @@ - python >= 3.8 - requests >= 2.18.4 - google-auth >= 2.25.1 -short_description: List ContainerAnalysis.Note resources +notes: + - 'API Reference: U(https://cloud.google.com/container-analysis/api/reference/rest/)' + - 'Creating Attestations (Occurrences) Guide: U(https://cloud.google.com/binary-authorization/docs/making-attestations)' + - 'Official Documentation Guide: U(https://cloud.google.com/container-analysis/)' +extends_documentation_fragment: + - google.cloud.gcp + - google.cloud.info """ # noqa: E501 EXAMPLES = r"""
