Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package ansible-core-2.16 for 
openSUSE:Factory checked in at 2024-10-11 17:02:53
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ansible-core-2.16 (Old)
 and      /work/SRC/openSUSE:Factory/.ansible-core-2.16.new.19354 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ansible-core-2.16"

Fri Oct 11 17:02:53 2024 rev:4 rq:1207041 version:2.16.12

Changes:
--------
--- /work/SRC/openSUSE:Factory/ansible-core-2.16/ansible-core-2.16.changes      
2024-09-16 17:41:04.360086919 +0200
+++ 
/work/SRC/openSUSE:Factory/.ansible-core-2.16.new.19354/ansible-core-2.16.changes
   2024-10-11 17:03:29.649652399 +0200
@@ -1,0 +2,14 @@
+Fri Oct 11 05:02:58 UTC 2024 - Johannes Kastl 
<opensuse_buildserv...@ojkastl.de>
+
+- update to 2.16.12:
+  
https://github.com/ansible/ansible/blob/v2.16.12/changelogs/CHANGELOG-v2.16.rst
+  * Bugfixes
+    - Add descriptions for ansible-galaxy install --help` and
+      `ansible-galaxy role|collection install --help`.
+    - ansible-galaxy install --help - Fix the usage text and
+      document that the requirements file passed to -r can include
+      collections and roles.
+    - dnf5 - re-introduce the state: installed alias to state:
+      present (#83960)
+
+-------------------------------------------------------------------

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

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

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

Other differences:
------------------
++++++ ansible-core-2.16.spec ++++++
--- /var/tmp/diff_new_pack.LXJxtu/_old  2024-10-11 17:03:30.185674687 +0200
+++ /var/tmp/diff_new_pack.LXJxtu/_new  2024-10-11 17:03:30.185674687 +0200
@@ -38,7 +38,7 @@
 %endif
 
 Name:           ansible-core-2.16
-Version:        2.16.11
+Version:        2.16.12
 Release:        0
 Summary:        Radically simple IT automation
 License:        GPL-3.0-or-later

++++++ ansible_core-2.16.11.tar.gz -> ansible_core-2.16.12.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ansible_core-2.16.11/PKG-INFO 
new/ansible_core-2.16.12/PKG-INFO
--- old/ansible_core-2.16.11/PKG-INFO   2024-09-09 21:26:18.000000000 +0200
+++ new/ansible_core-2.16.12/PKG-INFO   2024-10-07 21:36:35.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: ansible-core
-Version: 2.16.11
+Version: 2.16.12
 Summary: Radically simple IT automation
 Home-page: https://ansible.com/
 Author: Ansible, Inc.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ansible_core-2.16.11/bin/ansible-galaxy 
new/ansible_core-2.16.12/bin/ansible-galaxy
--- old/ansible_core-2.16.11/bin/ansible-galaxy 2024-09-09 21:26:18.000000000 
+0200
+++ new/ansible_core-2.16.12/bin/ansible-galaxy 2024-10-07 21:36:35.000000000 
+0200
@@ -489,12 +489,31 @@
             ignore_errors_help = 'Ignore errors during installation and 
continue with the next specified ' \
                                  'collection. This will not ignore dependency 
conflict errors.'
         else:
-            args_kwargs['help'] = 'Role name, URL or tar file'
+            args_kwargs['help'] = 'Role name, URL or tar file. This is 
mutually exclusive with -r.'
             ignore_errors_help = 'Ignore errors and continue with the next 
specified role.'
 
+        if self._implicit_role:
+            # might install both roles and collections
+            description_text = (
+                'Install roles and collections from file(s), URL(s) or Ansible 
'
+                'Galaxy to the first entry in the config COLLECTIONS_PATH for 
collections '
+                'and first entry in the config ROLES_PATH for roles. '
+                'The first entry in the config ROLES_PATH can be overridden by 
--roles-path '
+                'or -p, but this will result in only roles being installed.'
+            )
+            prog = 'ansible-galaxy install'
+        else:
+            prog = f"ansible-galaxy {galaxy_type} install"
+            description_text = (
+                'Install {0}(s) from file(s), URL(s) or Ansible '
+                'Galaxy to the first entry in the config {1}S_PATH '
+                'unless overridden by --{0}s-path.'.format(galaxy_type, 
galaxy_type.upper())
+            )
         install_parser = parser.add_parser('install', parents=parents,
                                            help='Install {0}(s) from file(s), 
URL(s) or Ansible '
-                                                'Galaxy'.format(galaxy_type))
+                                                'Galaxy'.format(galaxy_type),
+                                           description=description_text,
+                                           prog=prog,)
         install_parser.set_defaults(func=self.execute_install)
 
         install_parser.add_argument('args', 
metavar='{0}_name'.format(galaxy_type), nargs='*', **args_kwargs)
@@ -547,8 +566,12 @@
                                              'This does not apply to 
collections in remote Git repositories or URLs to remote tarballs.'
                                         )
         else:
-            install_parser.add_argument('-r', '--role-file', 
dest='requirements',
-                                        help='A file containing a list of 
roles to be installed.')
+            if self._implicit_role:
+                install_parser.add_argument('-r', '--role-file', 
dest='requirements',
+                                            help='A file containing a list of 
collections and roles to be installed.')
+            else:
+                install_parser.add_argument('-r', '--role-file', 
dest='requirements',
+                                            help='A file containing a list of 
roles to be installed.')
 
             r_re = re.compile(r'^(?<!-)-[a-zA-Z]*r[a-zA-Z]*')  # -r, -fr
             contains_r = bool([a for a in self._raw_args if r_re.match(a)])
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ansible_core-2.16.11/changelogs/CHANGELOG-v2.16.rst 
new/ansible_core-2.16.12/changelogs/CHANGELOG-v2.16.rst
--- old/ansible_core-2.16.11/changelogs/CHANGELOG-v2.16.rst     2024-09-09 
21:26:18.000000000 +0200
+++ new/ansible_core-2.16.12/changelogs/CHANGELOG-v2.16.rst     2024-10-07 
21:36:35.000000000 +0200
@@ -5,6 +5,23 @@
 .. contents:: Topics
 
 
+v2.16.12
+========
+
+Release Summary
+---------------
+
+| Release Date: 2024-10-07
+| `Porting Guide 
<https://docs.ansible.com/ansible-core/2.16/porting_guides/porting_guide_core_2.16.html>`__
+
+
+Bugfixes
+--------
+
+- Add descriptions for ``ansible-galaxy install --help` and ``ansible-galaxy 
role|collection install --help``.
+- ``ansible-galaxy install --help`` - Fix the usage text and document that the 
requirements file passed to ``-r`` can include collections and roles.
+- dnf5 - re-introduce the ``state: installed`` alias to ``state: present`` 
(https://github.com/ansible/ansible/issues/83960)
+
 v2.16.11
 ========
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ansible_core-2.16.11/changelogs/changelog.yaml 
new/ansible_core-2.16.12/changelogs/changelog.yaml
--- old/ansible_core-2.16.11/changelogs/changelog.yaml  2024-09-09 
21:26:18.000000000 +0200
+++ new/ansible_core-2.16.12/changelogs/changelog.yaml  2024-10-07 
21:36:35.000000000 +0200
@@ -875,6 +875,37 @@
     - fix-inconsistent-csvfile-missing-search-error.yml
     - powershell-clixml.yml
     release_date: '2024-09-03'
+  2.16.12:
+    changes:
+      release_summary: '| Release Date: 2024-10-07
+
+        | `Porting Guide 
<https://docs.ansible.com/ansible-core/2.16/porting_guides/porting_guide_core_2.16.html>`__
+
+        '
+    codename: All My Love
+    fragments:
+    - 2.16.12_summary.yaml
+    release_date: '2024-10-07'
+  2.16.12rc1:
+    changes:
+      bugfixes:
+      - Add descriptions for ``ansible-galaxy install --help` and 
``ansible-galaxy
+        role|collection install --help``.
+      - '``ansible-galaxy install --help`` - Fix the usage text and document 
that
+        the requirements file passed to ``-r`` can include collections and 
roles.'
+      - 'dnf5 - re-introduce the ``state: installed`` alias to ``state: 
present``
+        (https://github.com/ansible/ansible/issues/83960)'
+      release_summary: '| Release Date: 2024-09-30
+
+        | `Porting Guide 
<https://docs.ansible.com/ansible-core/2.16/porting_guides/porting_guide_core_2.16.html>`__
+
+        '
+    codename: All My Love
+    fragments:
+    - 2.16.12rc1_summary.yaml
+    - 83960-dnf5-state-installed-fix.yml
+    - ansible-galaxy-install-help.yml
+    release_date: '2024-09-30'
   2.16.1rc1:
     changes:
       breaking_changes:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ansible_core-2.16.11/lib/ansible/cli/galaxy.py 
new/ansible_core-2.16.12/lib/ansible/cli/galaxy.py
--- old/ansible_core-2.16.11/lib/ansible/cli/galaxy.py  2024-09-09 
21:26:18.000000000 +0200
+++ new/ansible_core-2.16.12/lib/ansible/cli/galaxy.py  2024-10-07 
21:36:35.000000000 +0200
@@ -489,12 +489,31 @@
             ignore_errors_help = 'Ignore errors during installation and 
continue with the next specified ' \
                                  'collection. This will not ignore dependency 
conflict errors.'
         else:
-            args_kwargs['help'] = 'Role name, URL or tar file'
+            args_kwargs['help'] = 'Role name, URL or tar file. This is 
mutually exclusive with -r.'
             ignore_errors_help = 'Ignore errors and continue with the next 
specified role.'
 
+        if self._implicit_role:
+            # might install both roles and collections
+            description_text = (
+                'Install roles and collections from file(s), URL(s) or Ansible 
'
+                'Galaxy to the first entry in the config COLLECTIONS_PATH for 
collections '
+                'and first entry in the config ROLES_PATH for roles. '
+                'The first entry in the config ROLES_PATH can be overridden by 
--roles-path '
+                'or -p, but this will result in only roles being installed.'
+            )
+            prog = 'ansible-galaxy install'
+        else:
+            prog = f"ansible-galaxy {galaxy_type} install"
+            description_text = (
+                'Install {0}(s) from file(s), URL(s) or Ansible '
+                'Galaxy to the first entry in the config {1}S_PATH '
+                'unless overridden by --{0}s-path.'.format(galaxy_type, 
galaxy_type.upper())
+            )
         install_parser = parser.add_parser('install', parents=parents,
                                            help='Install {0}(s) from file(s), 
URL(s) or Ansible '
-                                                'Galaxy'.format(galaxy_type))
+                                                'Galaxy'.format(galaxy_type),
+                                           description=description_text,
+                                           prog=prog,)
         install_parser.set_defaults(func=self.execute_install)
 
         install_parser.add_argument('args', 
metavar='{0}_name'.format(galaxy_type), nargs='*', **args_kwargs)
@@ -547,8 +566,12 @@
                                              'This does not apply to 
collections in remote Git repositories or URLs to remote tarballs.'
                                         )
         else:
-            install_parser.add_argument('-r', '--role-file', 
dest='requirements',
-                                        help='A file containing a list of 
roles to be installed.')
+            if self._implicit_role:
+                install_parser.add_argument('-r', '--role-file', 
dest='requirements',
+                                            help='A file containing a list of 
collections and roles to be installed.')
+            else:
+                install_parser.add_argument('-r', '--role-file', 
dest='requirements',
+                                            help='A file containing a list of 
roles to be installed.')
 
             r_re = re.compile(r'^(?<!-)-[a-zA-Z]*r[a-zA-Z]*')  # -r, -fr
             contains_r = bool([a for a in self._raw_args if r_re.match(a)])
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/ansible_core-2.16.11/lib/ansible/module_utils/ansible_release.py 
new/ansible_core-2.16.12/lib/ansible/module_utils/ansible_release.py
--- old/ansible_core-2.16.11/lib/ansible/module_utils/ansible_release.py        
2024-09-09 21:26:18.000000000 +0200
+++ new/ansible_core-2.16.12/lib/ansible/module_utils/ansible_release.py        
2024-10-07 21:36:35.000000000 +0200
@@ -19,6 +19,6 @@
 from __future__ import (absolute_import, division, print_function)
 __metaclass__ = type
 
-__version__ = '2.16.11'
+__version__ = '2.16.12'
 __author__ = 'Ansible, Inc.'
 __codename__ = "All My Love"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ansible_core-2.16.11/lib/ansible/modules/dnf5.py 
new/ansible_core-2.16.12/lib/ansible/modules/dnf5.py
--- old/ansible_core-2.16.11/lib/ansible/modules/dnf5.py        2024-09-09 
21:26:18.000000000 +0200
+++ new/ansible_core-2.16.12/lib/ansible/modules/dnf5.py        2024-10-07 
21:36:35.000000000 +0200
@@ -632,7 +632,7 @@
         results = []
         if self.names == ["*"] and self.state == "latest":
             goal.add_rpm_upgrade(settings)
-        elif self.state in {"install", "present", "latest"}:
+        elif self.state in {"installed", "present", "latest"}:
             upgrade = self.state == "latest"
             for spec in self.names:
                 if is_newer_version_installed(base, spec):
@@ -665,7 +665,7 @@
         if transaction.get_problems():
             failures = []
             for log_event in transaction.get_resolve_logs():
-                if log_event.get_problem() == 
libdnf5.base.GoalProblem_NOT_FOUND and self.state in {"install", "present", 
"latest"}:
+                if log_event.get_problem() == 
libdnf5.base.GoalProblem_NOT_FOUND and self.state in {"installed", "present", 
"latest"}:
                     # NOTE dnf module compat
                     failures.append("No package {} 
available.".format(log_event.get_spec()))
                 else:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ansible_core-2.16.11/lib/ansible/release.py 
new/ansible_core-2.16.12/lib/ansible/release.py
--- old/ansible_core-2.16.11/lib/ansible/release.py     2024-09-09 
21:26:18.000000000 +0200
+++ new/ansible_core-2.16.12/lib/ansible/release.py     2024-10-07 
21:36:35.000000000 +0200
@@ -19,6 +19,6 @@
 from __future__ import (absolute_import, division, print_function)
 __metaclass__ = type
 
-__version__ = '2.16.11'
+__version__ = '2.16.12'
 __author__ = 'Ansible, Inc.'
 __codename__ = "All My Love"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/ansible_core-2.16.11/lib/ansible_core.egg-info/PKG-INFO 
new/ansible_core-2.16.12/lib/ansible_core.egg-info/PKG-INFO
--- old/ansible_core-2.16.11/lib/ansible_core.egg-info/PKG-INFO 2024-09-09 
21:26:18.000000000 +0200
+++ new/ansible_core-2.16.12/lib/ansible_core.egg-info/PKG-INFO 2024-10-07 
21:36:35.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: ansible-core
-Version: 2.16.11
+Version: 2.16.12
 Summary: Radically simple IT automation
 Home-page: https://ansible.com/
 Author: Ansible, Inc.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ansible_core-2.16.11/packaging/release.py 
new/ansible_core-2.16.12/packaging/release.py
--- old/ansible_core-2.16.11/packaging/release.py       2024-09-09 
21:26:18.000000000 +0200
+++ new/ansible_core-2.16.12/packaging/release.py       2024-10-07 
21:36:35.000000000 +0200
@@ -1324,6 +1324,7 @@
         add=(
             CHANGELOGS_DIR,
             ANSIBLE_RELEASE_FILE,
+            ANSIBLE_PYPROJECT_TOML_FILE,
         ),
         allow_stale=allow_stale,
     )
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ansible_core-2.16.11/pyproject.toml 
new/ansible_core-2.16.12/pyproject.toml
--- old/ansible_core-2.16.11/pyproject.toml     2024-09-09 21:26:18.000000000 
+0200
+++ new/ansible_core-2.16.12/pyproject.toml     2024-10-07 21:36:35.000000000 
+0200
@@ -1,3 +1,3 @@
 [build-system]
-requires = ["setuptools >= 66.1.0, <= 72.1.0"]  # lower bound to support 
controller Python versions, upper bound for latest version tested at release
+requires = ["setuptools >= 66.1.0, <= 75.1.0"]  # lower bound to support 
controller Python versions, upper bound for latest version tested at release
 build-backend = "setuptools.build_meta"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/ansible_core-2.16.11/test/integration/targets/dnf/tasks/repo.yml 
new/ansible_core-2.16.12/test/integration/targets/dnf/tasks/repo.yml
--- old/ansible_core-2.16.11/test/integration/targets/dnf/tasks/repo.yml        
2024-09-09 21:26:18.000000000 +0200
+++ new/ansible_core-2.16.12/test/integration/targets/dnf/tasks/repo.yml        
2024-10-07 21:36:35.000000000 +0200
@@ -2,7 +2,7 @@
     - name: Install dinginessentail-1.0-1
       dnf:
         name: dinginessentail-1.0-1
-        state: present
+        state: installed
       register: dnf_result
 
     - name: Check dinginessentail with rpm

++++++ ansible_core-2.16.11.tar.gz.sha256 -> ansible_core-2.16.12.tar.gz.sha256 
++++++
--- 
/work/SRC/openSUSE:Factory/ansible-core-2.16/ansible_core-2.16.11.tar.gz.sha256 
    2024-09-16 17:41:04.812105628 +0200
+++ 
/work/SRC/openSUSE:Factory/.ansible-core-2.16.new.19354/ansible_core-2.16.12.tar.gz.sha256
  2024-10-11 17:03:29.697654395 +0200
@@ -1 +1 @@
-573829ccf4ca925816bf6b64860c86a986365b8b5d8861de82e319b63287e553  
ansible_core-2.16.11.tar.gz
+5b594cf5fda0d49d5f21448e4b708c1859f61713bfa6fb85674dbbb0a44af1be 
ansible_core-2.16.12.tar.gz

Reply via email to