Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package docsible for openSUSE:Factory 
checked in at 2025-08-04 15:25:36
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/docsible (Old)
 and      /work/SRC/openSUSE:Factory/.docsible.new.1085 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "docsible"

Mon Aug  4 15:25:36 2025 rev:2 rq:1297426 version:0.7.25

Changes:
--------
--- /work/SRC/openSUSE:Factory/docsible/docsible.changes        2025-06-12 
15:55:53.895744968 +0200
+++ /work/SRC/openSUSE:Factory/.docsible.new.1085/docsible.changes      
2025-08-04 15:26:45.086854596 +0200
@@ -1,0 +2,7 @@
+Mon Aug  4 08:16:50 UTC 2025 - Johannes Kastl 
<opensuse_buildserv...@ojkastl.de>
+
+- update to 0.7.25:
+  * Added support for playbooks with lists of hosts in mermaid.py by
+    @zachjud in #102
+
+-------------------------------------------------------------------

Old:
----
  docsible-0.7.24.tar.gz

New:
----
  docsible-0.7.25.tar.gz

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

Other differences:
------------------
++++++ docsible.spec ++++++
--- /var/tmp/diff_new_pack.1Rhseb/_old  2025-08-04 15:26:45.706880641 +0200
+++ /var/tmp/diff_new_pack.1Rhseb/_new  2025-08-04 15:26:45.710880809 +0200
@@ -38,7 +38,7 @@
 %endif
 
 Name:           docsible
-Version:        0.7.24
+Version:        0.7.25
 Release:        0
 Summary:        Auto documentation for Ansible roles and collections
 License:        MIT

++++++ docsible-0.7.24.tar.gz -> docsible-0.7.25.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/docsible-0.7.24/docsible/cli.py 
new/docsible-0.7.25/docsible/cli.py
--- old/docsible-0.7.24/docsible/cli.py 2025-06-09 20:32:01.000000000 +0200
+++ new/docsible-0.7.25/docsible/cli.py 2025-06-23 23:22:49.000000000 +0200
@@ -17,7 +17,7 @@
 
 
 def get_version():
-    return "0.7.24"
+    return "0.7.25"
 
 
 def manage_docsible_file_keys(docsible_path):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/docsible-0.7.24/docsible/utils/mermaid.py 
new/docsible-0.7.25/docsible/utils/mermaid.py
--- old/docsible-0.7.24/docsible/utils/mermaid.py       2025-06-09 
20:32:01.000000000 +0200
+++ new/docsible-0.7.25/docsible/utils/mermaid.py       2025-06-23 
23:22:49.000000000 +0200
@@ -184,8 +184,15 @@
         hosts = play.get("hosts", "UndefinedHost")
         tasks = play.get("tasks", [])
         roles = play.get("roles", [])
-        hosts = re.sub(r"{{\s*(\w+)\s*}}", r"\1", hosts)
-        sanitized_hosts = sanitize_for_mermaid_id(hosts)
+        if not isinstance(hosts, list):
+            hosts = [hosts]
+        sanitized_hosts = []
+        for host in hosts:
+            host = re.sub(r"{{\s*(\w+)\s*}}", r"\1", host)
+            host = sanitize_for_mermaid_id(host)
+            sanitized_hosts.append(host)
+        sanitized_hosts = ", ".join(sanitized_hosts)
+        sanitized_hosts = "hosts[" + sanitized_hosts + "]"
         last_node = sanitized_hosts
         if roles:
             for i, role in enumerate(roles):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/docsible-0.7.24/pyproject.toml 
new/docsible-0.7.25/pyproject.toml
--- old/docsible-0.7.24/pyproject.toml  2025-06-09 20:32:01.000000000 +0200
+++ new/docsible-0.7.25/pyproject.toml  2025-06-23 23:22:49.000000000 +0200
@@ -1,6 +1,6 @@
 [tool.poetry]
 name = "docsible"
-version = "0.7.24"
+version = "0.7.25"
 description = "Document generator for ansible role/collection"
 authors = ["Lucian BLETAN <neura...@gmail.com>"]
 repository = "https://github.com/docsible/docsible";
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/docsible-0.7.24/setup.py new/docsible-0.7.25/setup.py
--- old/docsible-0.7.24/setup.py        2025-06-09 20:32:01.000000000 +0200
+++ new/docsible-0.7.25/setup.py        2025-06-23 23:22:49.000000000 +0200
@@ -3,7 +3,7 @@
 
 setup(
     name='docsible',
-    version='0.7.24',
+    version='0.7.25',
     packages=find_packages(),
     include_package_data=True,
     author='Lucian BLETAN',

Reply via email to