Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package ansible-core-2.18 for 
openSUSE:Factory checked in at 2025-11-06 18:12:49
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ansible-core-2.18 (Old)
 and      /work/SRC/openSUSE:Factory/.ansible-core-2.18.new.1980 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ansible-core-2.18"

Thu Nov  6 18:12:49 2025 rev:3 rq:1315703 version:2.18.11

Changes:
--------
--- /work/SRC/openSUSE:Factory/ansible-core-2.18/ansible-core-2.18.changes      
2025-10-16 17:38:58.292971911 +0200
+++ 
/work/SRC/openSUSE:Factory/.ansible-core-2.18.new.1980/ansible-core-2.18.changes
    2025-11-06 18:13:48.148931853 +0100
@@ -1,0 +2,9 @@
+Wed Nov  5 10:15:18 UTC 2025 - Johannes Kastl 
<[email protected]>
+
+- update to 2.18.11:
+  * Bugfixes
+    - ansible-doc - prevent crash when scanning collections in
+      paths that have more than one ansible_collections in it
+      (#84909, #85361).
+
+-------------------------------------------------------------------

Old:
----
  ansible_core-2.18.10.tar.gz
  ansible_core-2.18.10.tar.gz.sha256

New:
----
  ansible_core-2.18.11.tar.gz
  ansible_core-2.18.11.tar.gz.sha256

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ ansible-core-2.18.spec ++++++
--- /var/tmp/diff_new_pack.Ngg14d/_old  2025-11-06 18:13:48.876962775 +0100
+++ /var/tmp/diff_new_pack.Ngg14d/_new  2025-11-06 18:13:48.888963284 +0100
@@ -43,7 +43,7 @@
 %endif
 
 Name:           ansible-core-2.18
-Version:        2.18.10
+Version:        2.18.11
 Release:        0
 Summary:        Radically simple IT automation
 License:        GPL-3.0-or-later

++++++ ansible_core-2.18.10.tar.gz -> ansible_core-2.18.11.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ansible_core-2.18.10/PKG-INFO 
new/ansible_core-2.18.11/PKG-INFO
--- old/ansible_core-2.18.10/PKG-INFO   2025-10-06 19:22:03.000000000 +0200
+++ new/ansible_core-2.18.11/PKG-INFO   2025-11-05 00:26:58.000000000 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.4
 Name: ansible-core
-Version: 2.18.10
+Version: 2.18.11
 Summary: Radically simple IT automation
 Author: Ansible Project
 Project-URL: Homepage, https://ansible.com/
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ansible_core-2.18.10/ansible_core.egg-info/PKG-INFO 
new/ansible_core-2.18.11/ansible_core.egg-info/PKG-INFO
--- old/ansible_core-2.18.10/ansible_core.egg-info/PKG-INFO     2025-10-06 
19:22:03.000000000 +0200
+++ new/ansible_core-2.18.11/ansible_core.egg-info/PKG-INFO     2025-11-05 
00:26:58.000000000 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.4
 Name: ansible-core
-Version: 2.18.10
+Version: 2.18.11
 Summary: Radically simple IT automation
 Author: Ansible Project
 Project-URL: Homepage, https://ansible.com/
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/ansible_core-2.18.10/ansible_core.egg-info/SOURCES.txt 
new/ansible_core-2.18.11/ansible_core.egg-info/SOURCES.txt
--- old/ansible_core-2.18.10/ansible_core.egg-info/SOURCES.txt  2025-10-06 
19:22:03.000000000 +0200
+++ new/ansible_core-2.18.11/ansible_core.egg-info/SOURCES.txt  2025-11-05 
00:26:58.000000000 +0100
@@ -768,6 +768,7 @@
 
test/integration/targets/ansible-doc/broken-docs/collections/ansible_collections/testns/testcol/plugins/modules/randommodule.py
 
test/integration/targets/ansible-doc/broken-docs/collections/ansible_collections/testns/testcol/plugins/vars/noop_vars_plugin.py
 
test/integration/targets/ansible-doc/collections/ansible_collections/testns/testcol/MANIFEST.json
+test/integration/targets/ansible-doc/collections/ansible_collections/testns/testcol/playbooks/collections/ansible_collections/ns/col/plugins/modules/test.py
 
test/integration/targets/ansible-doc/collections/ansible_collections/testns/testcol/plugins/cache/notjsonfile.py
 
test/integration/targets/ansible-doc/collections/ansible_collections/testns/testcol/plugins/filter/grouped.py
 
test/integration/targets/ansible-doc/collections/ansible_collections/testns/testcol/plugins/filter/ultimatequestion.yml
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ansible_core-2.18.10/changelogs/CHANGELOG-v2.18.rst 
new/ansible_core-2.18.11/changelogs/CHANGELOG-v2.18.rst
--- old/ansible_core-2.18.10/changelogs/CHANGELOG-v2.18.rst     2025-10-06 
19:22:03.000000000 +0200
+++ new/ansible_core-2.18.11/changelogs/CHANGELOG-v2.18.rst     2025-11-05 
00:26:58.000000000 +0100
@@ -4,6 +4,20 @@
 
 .. contents:: Topics
 
+v2.18.11
+========
+
+Release Summary
+---------------
+
+| Release Date: 2025-11-04
+| `Porting Guide 
<https://docs.ansible.com/ansible-core/2.18/porting_guides/porting_guide_core_2.18.html>`__
+
+Bugfixes
+--------
+
+- ansible-doc - prevent crash when scanning collections in paths that have 
more than one ``ansible_collections`` in it 
(https://github.com/ansible/ansible/issues/84909, 
https://github.com/ansible/ansible/pull/85361).
+
 v2.18.10
 ========
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ansible_core-2.18.10/changelogs/changelog.yaml 
new/ansible_core-2.18.11/changelogs/changelog.yaml
--- old/ansible_core-2.18.10/changelogs/changelog.yaml  2025-10-06 
19:22:03.000000000 +0200
+++ new/ansible_core-2.18.11/changelogs/changelog.yaml  2025-11-05 
00:26:58.000000000 +0100
@@ -651,6 +651,33 @@
     - respawn_os_env.yml
     - run_command_output_selector.yml
     release_date: '2025-09-29'
+  2.18.11:
+    changes:
+      release_summary: '| Release Date: 2025-11-04
+
+        | `Porting Guide 
<https://docs.ansible.com/ansible-core/2.18/porting_guides/porting_guide_core_2.18.html>`__
+
+        '
+    codename: Fool in the Rain
+    fragments:
+    - 2.18.11_summary.yaml
+    release_date: '2025-11-04'
+  2.18.11rc1:
+    changes:
+      bugfixes:
+      - ansible-doc - prevent crash when scanning collections in paths that 
have more
+        than one ``ansible_collections`` in it 
(https://github.com/ansible/ansible/issues/84909,
+        https://github.com/ansible/ansible/pull/85361).
+      release_summary: '| Release Date: 2025-10-29
+
+        | `Porting Guide 
<https://docs.ansible.com/ansible-core/2.18/porting_guides/porting_guide_core_2.18.html>`__
+
+        '
+    codename: Fool in the Rain
+    fragments:
+    - 2.18.11rc1_summary.yaml
+    - 85361-collection-name-from-path-none.yml
+    release_date: '2025-10-29'
   2.18.1rc1:
     changes:
       bugfixes:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ansible_core-2.18.10/lib/ansible/cli/doc.py 
new/ansible_core-2.18.11/lib/ansible/cli/doc.py
--- old/ansible_core-2.18.10/lib/ansible/cli/doc.py     2025-10-06 
19:22:03.000000000 +0200
+++ new/ansible_core-2.18.11/lib/ansible/cli/doc.py     2025-11-05 
00:26:58.000000000 +0100
@@ -231,7 +231,9 @@
         b_colldirs = list_collection_dirs(coll_filter=collection_filter)
         for b_path in b_colldirs:
             path = to_text(b_path, errors='surrogate_or_strict')
-            collname = _get_collection_name_from_path(b_path)
+            if not (collname := _get_collection_name_from_path(b_path)):
+                display.debug(f'Skipping invalid path {b_path!r}')
+                continue
 
             roles_dir = os.path.join(path, 'roles')
             if os.path.exists(roles_dir):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ansible_core-2.18.10/lib/ansible/collections/list.py 
new/ansible_core-2.18.11/lib/ansible/collections/list.py
--- old/ansible_core-2.18.10/lib/ansible/collections/list.py    2025-10-06 
19:22:03.000000000 +0200
+++ new/ansible_core-2.18.11/lib/ansible/collections/list.py    2025-11-05 
00:26:58.000000000 +0100
@@ -17,8 +17,10 @@
 
     collections = {}
     for candidate in list_collection_dirs(search_paths=search_paths, 
coll_filter=coll_filter, artifacts_manager=artifacts_manager, dedupe=dedupe):
-        collection = _get_collection_name_from_path(candidate)
-        collections[collection] = candidate
+        if collection := _get_collection_name_from_path(candidate):
+            collections[collection] = candidate
+        else:
+            display.debug(f'Skipping invalid collection in path: 
{candidate!r}')
     return collections
 
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/ansible_core-2.18.10/lib/ansible/module_utils/ansible_release.py 
new/ansible_core-2.18.11/lib/ansible/module_utils/ansible_release.py
--- old/ansible_core-2.18.10/lib/ansible/module_utils/ansible_release.py        
2025-10-06 19:22:03.000000000 +0200
+++ new/ansible_core-2.18.11/lib/ansible/module_utils/ansible_release.py        
2025-11-05 00:26:58.000000000 +0100
@@ -17,6 +17,6 @@
 
 from __future__ import annotations
 
-__version__ = '2.18.10'
+__version__ = '2.18.11'
 __author__ = 'Ansible, Inc.'
 __codename__ = "Fool in the Rain"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ansible_core-2.18.10/lib/ansible/release.py 
new/ansible_core-2.18.11/lib/ansible/release.py
--- old/ansible_core-2.18.10/lib/ansible/release.py     2025-10-06 
19:22:03.000000000 +0200
+++ new/ansible_core-2.18.11/lib/ansible/release.py     2025-11-05 
00:26:58.000000000 +0100
@@ -17,6 +17,6 @@
 
 from __future__ import annotations
 
-__version__ = '2.18.10'
+__version__ = '2.18.11'
 __author__ = 'Ansible, Inc.'
 __codename__ = "Fool in the Rain"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/ansible_core-2.18.10/test/integration/targets/ansible-doc/runme.sh 
new/ansible_core-2.18.11/test/integration/targets/ansible-doc/runme.sh
--- old/ansible_core-2.18.10/test/integration/targets/ansible-doc/runme.sh      
2025-10-06 19:22:03.000000000 +0200
+++ new/ansible_core-2.18.11/test/integration/targets/ansible-doc/runme.sh      
2025-11-05 00:26:58.000000000 +0100
@@ -208,6 +208,13 @@
 output=$(ANSIBLE_LIBRARY='./nolibrary' ansible-doc --metadata-dump 
--playbook-dir broken-docs testns.testcol 2>&1 | grep -c 'ERROR!' || true)
 test "${output}" -eq 1
 
+# ensure --metadata-dump does not crash if the ansible_collections is nested 
(https://github.com/ansible/ansible/issues/84909)
+testdir="$(pwd)"
+pbdir="collections/ansible_collections/testns/testcol/playbooks"
+cd "$pbdir"
+ANSIBLE_COLLECTIONS_PATH="$testdir/$pbdir/collections" ansible-doc -vvv 
--metadata-dump --no-fail-on-errors
+cd "$testdir"
+
 # ensure that role doc does not fail when --no-fail-on-errors is supplied
 ANSIBLE_LIBRARY='./nolibrary' ansible-doc --no-fail-on-errors --playbook-dir 
broken-docs testns.testcol.testrole -t role 1>/dev/null 2>&1
 

++++++ ansible_core-2.18.10.tar.gz.sha256 -> ansible_core-2.18.11.tar.gz.sha256 
++++++
--- 
/work/SRC/openSUSE:Factory/ansible-core-2.18/ansible_core-2.18.10.tar.gz.sha256 
    2025-10-08 18:20:07.596520861 +0200
+++ 
/work/SRC/openSUSE:Factory/.ansible-core-2.18.new.1980/ansible_core-2.18.11.tar.gz.sha256
   2025-11-06 18:13:48.224935082 +0100
@@ -1 +1 @@
-99e614cdb6f49b5f08935d7772bae3ae41d06216ec8f3a0fbc6952f4951c6127  
ansible_core-2.18.10.tar.gz
+e1e6611559d730e95a9456895e8e157c378e97c479d1dd8299e25a89689bfd9f  
ansible_core-2.18.11.tar.gz

Reply via email to