Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-oslo.policy for openSUSE:Factory checked in at 2024-01-05 21:41:43 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-oslo.policy (Old) and /work/SRC/openSUSE:Factory/.python-oslo.policy.new.28375 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-oslo.policy" Fri Jan 5 21:41:43 2024 rev:22 rq:1136728 version:4.2.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-oslo.policy/python-oslo.policy.changes 2023-12-01 21:27:36.382811912 +0100 +++ /work/SRC/openSUSE:Factory/.python-oslo.policy.new.28375/python-oslo.policy.changes 2024-01-05 21:42:55.045579893 +0100 @@ -1,0 +2,6 @@ +Thu Jan 4 09:09:55 UTC 2024 - cloud-de...@suse.de + +- update to version 4.2.1 + - Imported Translations from Zanata + +------------------------------------------------------------------- Old: ---- oslo.policy-4.2.0.tar.gz New: ---- oslo.policy-4.2.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-oslo.policy.spec ++++++ --- /var/tmp/diff_new_pack.arZ14i/_old 2024-01-05 21:42:55.977613973 +0100 +++ /var/tmp/diff_new_pack.arZ14i/_new 2024-01-05 21:42:55.981614119 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-oslo.policy # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,16 +17,17 @@ Name: python-oslo.policy -Version: 4.2.0 +Version: 4.2.1 Release: 0 Summary: OpenStack Oslo Policy library License: Apache-2.0 Group: Development/Languages/Python URL: https://docs.openstack.org/oslo.policy -Source0: https://files.pythonhosted.org/packages/source/o/oslo.policy/oslo.policy-4.2.0.tar.gz +Source0: https://files.pythonhosted.org/packages/source/o/oslo.policy/oslo.policy-4.2.1.tar.gz Patch1: 0001-Avoid-TypeError-when-building-with-Sphinx-6.1.1-and-.patch BuildRequires: openstack-macros BuildRequires: python3-PyYAML >= 5.1 +BuildRequires: python3-defusedxml BuildRequires: python3-oslo.config >= 6.0.0 BuildRequires: python3-oslo.context >= 2.22.0 BuildRequires: python3-oslo.i18n >= 3.15.3 @@ -46,6 +47,7 @@ %package -n python3-oslo.policy Summary: OpenStack Oslo Policy library Requires: python3-PyYAML >= 5.1 +Requires: python3-defusedxml Requires: python3-oslo.config >= 6.0.0 Requires: python3-oslo.context >= 2.22.0 Requires: python3-oslo.i18n >= 3.15.3 @@ -74,7 +76,7 @@ Documentation for the Oslo Policy library. %prep -%autosetup -p1 -n oslo.policy-4.2.0 +%autosetup -p1 -n oslo.policy-4.2.1 %py_req_cleanup %build ++++++ oslo.policy-4.2.0.tar.gz -> oslo.policy-4.2.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.policy-4.2.0/ChangeLog new/oslo.policy-4.2.1/ChangeLog --- old/oslo.policy-4.2.0/ChangeLog 2023-05-15 10:53:36.000000000 +0200 +++ new/oslo.policy-4.2.1/ChangeLog 2023-08-28 14:58:03.000000000 +0200 @@ -1,6 +1,11 @@ CHANGES ======= +4.2.1 +----- + +* Imported Translations from Zanata + 4.2.0 ----- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.policy-4.2.0/PKG-INFO new/oslo.policy-4.2.1/PKG-INFO --- old/oslo.policy-4.2.0/PKG-INFO 2023-05-15 10:53:37.074841000 +0200 +++ new/oslo.policy-4.2.1/PKG-INFO 2023-08-28 14:58:04.199221100 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.2 Name: oslo.policy -Version: 4.2.0 +Version: 4.2.1 Summary: Oslo Policy library Home-page: https://docs.openstack.org/oslo.policy/latest/ Author: OpenStack diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.policy-4.2.0/oslo.policy.egg-info/PKG-INFO new/oslo.policy-4.2.1/oslo.policy.egg-info/PKG-INFO --- old/oslo.policy-4.2.0/oslo.policy.egg-info/PKG-INFO 2023-05-15 10:53:36.000000000 +0200 +++ new/oslo.policy-4.2.1/oslo.policy.egg-info/PKG-INFO 2023-08-28 14:58:03.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.2 Name: oslo.policy -Version: 4.2.0 +Version: 4.2.1 Summary: Oslo Policy library Home-page: https://docs.openstack.org/oslo.policy/latest/ Author: OpenStack diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.policy-4.2.0/oslo.policy.egg-info/pbr.json new/oslo.policy-4.2.1/oslo.policy.egg-info/pbr.json --- old/oslo.policy-4.2.0/oslo.policy.egg-info/pbr.json 2023-05-15 10:53:36.000000000 +0200 +++ new/oslo.policy-4.2.1/oslo.policy.egg-info/pbr.json 2023-08-28 14:58:03.000000000 +0200 @@ -1 +1 @@ -{"git_version": "93129eb", "is_release": true} \ No newline at end of file +{"git_version": "37de6f3", "is_release": true} \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.policy-4.2.0/releasenotes/source/locale/en_GB/LC_MESSAGES/releasenotes.po new/oslo.policy-4.2.1/releasenotes/source/locale/en_GB/LC_MESSAGES/releasenotes.po --- old/oslo.policy-4.2.0/releasenotes/source/locale/en_GB/LC_MESSAGES/releasenotes.po 2023-05-15 10:52:40.000000000 +0200 +++ new/oslo.policy-4.2.1/releasenotes/source/locale/en_GB/LC_MESSAGES/releasenotes.po 2023-08-28 14:57:37.000000000 +0200 @@ -1,15 +1,16 @@ # Andi Chandler <a...@gowling.com>, 2016. #zanata # Andi Chandler <a...@gowling.com>, 2017. #zanata # Andi Chandler <a...@gowling.com>, 2018. #zanata +# Andi Chandler <a...@gowling.com>, 2023. #zanata msgid "" msgstr "" "Project-Id-Version: oslo.policy\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-09-09 16:02+0000\n" +"POT-Creation-Date: 2023-05-08 11:38+0000\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"PO-Revision-Date: 2018-08-08 09:50+0000\n" +"PO-Revision-Date: 2023-06-21 08:56+0000\n" "Last-Translator: Andi Chandler <a...@gowling.com>\n" "Language-Team: English (United Kingdom)\n" "Language: en_GB\n" @@ -22,12 +23,21 @@ msgid "1.22.1" msgstr "1.22.1" +msgid "1.25.3" +msgstr "1.25.3" + msgid "1.29.0" msgstr "1.29.0" msgid "1.33.0" msgstr "1.33.0" +msgid "1.33.2" +msgstr "1.33.2" + +msgid "1.33.2-3" +msgstr "1.33.2-3" + msgid "1.37.0" msgstr "1.37.0" @@ -37,9 +47,103 @@ msgid "1.38.1" msgstr "1.38.1" +msgid "1.38.1-6" +msgstr "1.38.1-6" + +msgid "1.41.0" +msgstr "1.41.0" + msgid "1.9.0" msgstr "1.9.0" +msgid "2.1.0" +msgstr "2.1.0" + +msgid "2.1.3" +msgstr "2.1.3" + +msgid "2.3.3" +msgstr "2.3.3" + +msgid "2.3.4" +msgstr "2.3.4" + +msgid "2.4.0" +msgstr "2.4.0" + +msgid "2023.1 Series Release Notes" +msgstr "2023.1 Series Release Notes" + +msgid "3.0.0" +msgstr "3.0.0" + +msgid "3.1.0" +msgstr "3.1.0" + +msgid "3.1.1" +msgstr "3.1.1" + +msgid "3.1.2" +msgstr "3.1.2" + +msgid "3.10.0" +msgstr "3.10.0" + +msgid "3.10.1" +msgstr "3.10.1" + +msgid "3.12.0" +msgstr "3.12.0" + +msgid "3.12.1" +msgstr "3.12.1" + +msgid "3.2.1" +msgstr "3.2.1" + +msgid "3.3.0" +msgstr "3.3.0" + +msgid "3.4.0" +msgstr "3.4.0" + +msgid "3.6.1" +msgstr "3.6.1" + +msgid "3.6.2" +msgstr "3.6.2" + +msgid "3.7.0" +msgstr "3.7.0" + +msgid "3.7.1" +msgstr "3.7.1" + +msgid "3.8.3" +msgstr "3.8.3" + +msgid "3.9.0" +msgstr "3.9.0" + +msgid "" +"A new configuration option ``enforce_new_defaults`` has been added to the " +"``[oslo_policy]`` group to control whether or not to use the old deprecated " +"defaults. If ``True``, the old deprecated defaults are not going to be " +"evaluated which means if any existing token is allowed for old defaults but " +"disallowed for new defaults it will be disallowed. It is encouraged to " +"enable this flag along with the ``enforce_scope`` flag so that you can get " +"the benefits of new defaults and ``scope_type`` together. This way operators " +"can switch to new defaults without overwriting the rules in the policy file." +msgstr "" +"A new configuration option ``enforce_new_defaults`` has been added to the " +"``[oslo_policy]`` group to control whether or not to use the old deprecated " +"defaults. If ``True``, the old deprecated defaults are not going to be " +"evaluated which means if any existing token is allowed for old defaults but " +"disallowed for new defaults it will be disallowed. It is encouraged to " +"enable this flag along with the ``enforce_scope`` flag so that you can get " +"the benefits of new defaults and ``scope_type`` together. This way operators " +"can switch to new defaults without overwriting the rules in the policy file." + msgid "" "A new configuration option has been added to the ``[oslo_policy]`` group " "called ``enforce_scope``. When set to ``True``, oslo.policy will raise an " @@ -64,6 +168,35 @@ "``scope_types`` for policies used in their service." msgid "" +"A new tool, ``oslopolicy-validator``, has been added. It allows deployers to " +"easily run basic sanity checks against their policy files. See the " +"documentation for full details." +msgstr "" +"A new tool, ``oslopolicy-validator``, has been added. It allows deployers to " +"easily run basic sanity checks against their policy files. See the " +"documentation for full details." + +msgid "" +"Add ``oslopolicy-convert-json-to-yaml`` tool to convert the json formatted " +"policy file to yaml format in compatible way. Refer to `this document " +"<https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-" +"to-yaml.html>`_ for details." +msgstr "" +"Add ``oslopolicy-convert-json-to-yaml`` tool to convert the JSON formatted " +"policy file to YAML format in a compatible way. Refer to `this document " +"<https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-convert-json-" +"to-yaml.html>`_ for details." + +msgid "" +"Add ``oslopolicy-policy-upgrade`` command to help operators upgrade their " +"self-defined policy file to new release format. It will upgrade the " +"deprected policy name with the new name." +msgstr "" +"Add ``oslopolicy-policy-upgrade`` command to help operators upgrade their " +"self-defined policy file to a new release format. It will upgrade the " +"deprecated policy name with the new name." + +msgid "" "Add ``sphinxpolicygen`` Sphinx plugin, which can be used to generate a " "sample policy file for use in documentation." msgstr "" @@ -97,6 +230,23 @@ "html>`_." msgid "" +"Adds the ability to exclude deprecated policies from generated samples by " +"utilizing the ``--exclude-deprecated`` setting when generating YAML example " +"files. The Spinx generator can also be controlled using the " +"``exclude_deprecated`` environment variable. By default, these rules will be " +"included, but operators and projects may not desire these deprecated rules " +"to exist in latest documentation, espescially when considering the number of " +"policy rules projects have made in the Secure RBAC effort." +msgstr "" +"Adds the ability to exclude deprecated policies from generated samples by " +"utilizing the ``--exclude-deprecated`` setting when generating YAML example " +"files. The Spinx generator can also be controlled using the " +"``exclude_deprecated`` environment variable. By default, these rules will be " +"included, but operators and projects may not desire these deprecated rules " +"to exist in the latest documentation, especially when considering the number " +"of policy rules projects have made in the Secure RBAC effort." + +msgid "" "As reported in launchpad bug 1723030, under some circumstances policy checks " "caused a significant performance degradation. This release includes improved " "logic around rule validation to prevent that." @@ -108,6 +258,58 @@ msgid "Bug Fixes" msgstr "Bug Fixes" +msgid "" +"Deprecated policy warnings are now suppressed in the ``oslopolicy-list-" +"redundant`` tool so that they don't overwhelm the relevant output." +msgstr "" +"Deprecated policy warnings are now suppressed in the ``oslopolicy-list-" +"redundant`` tool so that they don't overwhelm the relevant output." + +msgid "Deprecation Notes" +msgstr "Deprecation Notes" + +msgid "" +"Fixed passing ``--exclude-deprecated`` boolean value to sphinx-build " +"command. Now ``--exclude-deprecated`` is only passed when it is True without " +"bool True/False value." +msgstr "" +"Fixed passing ``--exclude-deprecated`` boolean value to sphinx-build " +"command. Now ``--exclude-deprecated`` is only passed when it is True without " +"bool True/False value." + +msgid "" +"Fixes handling of deprecated rules when generating sample policy files such " +"that legacy rules are no longer automatically aliased in the resulting " +"output. Previously, the behavior led to operator confusion when attempting " +"to evaluate the output to determine if customized rules were required, as " +"the aliases were always added as active rules. A warning is now also added " +"to the generated output. For more information, please see `launchpad bug " +"#1945336 <https://bugs.launchpad.net/oslo.policy/+bug/1945336>`_." +msgstr "" +"Fixes handling of deprecated rules when generating sample policy files such " +"that legacy rules are no longer automatically aliased in the resulting " +"output. Previously, the behaviour led to operator confusion when attempting " +"to evaluate the output to determine if customised rules were required, as " +"the aliases were always added as active rules. A warning is now also added " +"to the generated output. For more information, please see `launchpad bug " +"#1945336 <https://bugs.launchpad.net/oslo.policy/+bug/1945336>`_." + +msgid "" +"Fixes the mapping of 'system_scope' to 'system' when enforce is called with " +"a 'creds' dictionary instead of a RequestContext." +msgstr "" +"Fixes the mapping of 'system_scope' to 'system' when enforce is called with " +"a 'creds' dictionary instead of a RequestContext." + +msgid "" +"JSON format support and ``--format`` option in ``oslopolicy-sample-" +"generator`` and ``oslopolicy-policy-upgrade`` tools are also deprecated. In " +"future release, ``--format`` option will be removed." +msgstr "" +"JSON format support and ``--format`` option in ``oslopolicy-sample-" +"generator`` and ``oslopolicy-policy-upgrade`` tools are also deprecated. In " +"future release, ``--format`` option will be removed." + msgid "New Features" msgstr "New Features" @@ -129,12 +331,75 @@ msgid "Rocky Series Release Notes" msgstr "Rocky Series Release Notes" +msgid "" +"Scope check is enforced for all rules, registered ones as well as the ones " +"which are subclasses of the ``BaseCheck`` class if rule has ``scope_types`` " +"set." +msgstr "" +"Scope check is enforced for all rules, registered ones as well as the ones " +"which are subclasses of the ``BaseCheck`` class if rule has ``scope_types`` " +"set." + +msgid "Stein Series Release Notes" +msgstr "Stein Series Release Notes" + +msgid "" +"Support for Python 2.7 has been dropped. The minimum version of Python now " +"supported is Python 3.6." +msgstr "" +"Support for Python 2.7 has been dropped. The minimum version of Python now " +"supported is Python 3.6." + msgid "Switch to reno for managing release notes." msgstr "Switch to reno for managing release notes." +msgid "" +"This fixes the Bug# 1914095. Policy engine has bug of modifying the " +"registered rule original object which caused issue when there are multiple " +"policy objects are processing rules in parallel. With this fix. policy " +"engine will make copies of all the registered rules and process accordingly." +msgstr "" +"This fixes Bug #1914095. Policy engine has a bug of modifying the registered " +"rule original object which caused issue when there are multiple policy " +"objects processing rules in parallel. With this fix. the policy engine will " +"make copies of all the registered rules and process them accordingly." + +msgid "Train Series Release Notes" +msgstr "Train Series Release Notes" + msgid "Unreleased Release Notes" msgstr "Unreleased Release Notes" +msgid "Upgrade Notes" +msgstr "Upgrade Notes" + +msgid "" +"Users with a ``RuleDefault`` or ``DocumentedRuleDefault`` that have " +"configured a ``deprecated_rule`` should move the ``deprecated_reason`` and " +"``deprecated_since`` parameters to this ``DeprecatedRule``." +msgstr "" +"Users with a ``RuleDefault`` or ``DocumentedRuleDefault`` that have " +"configured a ``deprecated_rule`` should move the ``deprecated_reason`` and " +"``deprecated_since`` parameters to this ``DeprecatedRule``." + +msgid "Ussuri Series Release Notes" +msgstr "Ussuri Series Release Notes" + +msgid "Victoria Series Release Notes" +msgstr "Victoria Series Release Notes" + +msgid "Wallaby Series Release Notes" +msgstr "Wallaby Series Release Notes" + +msgid "Xena Series Release Notes" +msgstr "Xena Series Release Notes" + +msgid "Yoga Series Release Notes" +msgstr "Yoga Series Release Notes" + +msgid "Zed Series Release Notes" +msgstr "Zed Series Release Notes" + msgid "" "[`bug 1741073 <https://bugs.launchpad.net/oslo.policy/+bug/1741073>`_] " "Documentation has been improved to include ``oslopolicy-sample-generator`` " @@ -179,5 +444,73 @@ "they are being standardised through the ``oslo_context.context." "RequestContext.to_policy_values()`` method." +msgid "" +"[`bug 1880959 <https://bugs.launchpad.net/keystone/+bug/1880959>`_] The " +"behavior of policy file reloading from policy directories was fixed. " +"Previously the rules from policy files located in the directories specified " +"in the ``policy_dirs`` option were not reapplied after the rules from the " +"primary policy file have been reapplied due to a change." +msgstr "" +"[`bug 1880959 <https://bugs.launchpad.net/keystone/+bug/1880959>`_] The " +"behaviour of policy file reloading from policy directories was fixed. " +"Previously the rules from policy files located in the directories specified " +"in the ``policy_dirs`` option were not reapplied after the rules from the " +"primary policy file have been reapplied due to a change." + +msgid "" +"[`bug 1913718 <https://launchpad.net/bugs/1913718>`_] The `Enforcer()` " +"object now only processes deprecated rules once at load or enforcement time, " +"improving performance for users that make extensive use of policy " +"enforcement." +msgstr "" +"[`bug 1913718 <https://launchpad.net/bugs/1913718>`_] The `Enforcer()` " +"object now only processes deprecated rules once at load or enforcement time, " +"improving performance for users that make extensive use of policy " +"enforcement." + +msgid "" +"[`bug 1943584 <https://bugs.launchpad.net/oslo.policy/+bug/1943584>`_] If " +"file in policy directory was emptied, rules were not re-calculated. The only " +"workaround was to restart an application. Now rules are re-calculated \"on " +"the fly\", without app restart." +msgstr "" +"[`bug 1943584 <https://bugs.launchpad.net/oslo.policy/+bug/1943584>`_] If " +"file in policy directory was emptied, rules were not re-calculated. The only " +"workaround was to restart an application. Now rules are re-calculated \"on " +"the fly\", without app restart." + +msgid "" +"``DeprecatedRule`` now accepts two new parameters: ``deprecated_reason`` and " +"``deprecated_since``. These should be used in place of the equivalent " +"parameters on the rule that is replacing this rule in order to avoid " +"confusion." +msgstr "" +"``DeprecatedRule`` now accepts two new parameters: ``deprecated_reason`` and " +"``deprecated_since``. These should be used in place of the equivalent " +"parameters on the rule that is replacing this rule in order to avoid " +"confusion." + +msgid "" +"``policy_file`` support for JSON formatted file is deprecated. Use YAML " +"formatted file which will be default in future. Use `oslopolicy-convert-json-" +"to-yaml <https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-" +"convert-json-to-yaml.html>`_ tool to convert the existing JSON to YAML " +"formatted policy file in backward compatible way." +msgstr "" +"``policy_file`` support for JSON formatted files is deprecated. Use YAML " +"formatted file which will be the default in future. Use `oslopolicy-convert-" +"json-to-yaml <https://docs.openstack.org/oslo.policy/latest/cli/oslopolicy-" +"convert-json-to-yaml.html>`_ tool to convert the existing JSON to YAML " +"formatted policy file in a backwards-compatible way." + msgid "oslo.policy Release Notes" msgstr "oslo.policy Release Notes" + +msgid "" +"oslopolicy-checker was added the ability to accept a file containing a hash " +"that represents the target. This makes it possible to check policies that " +"have non-conventional targets such as barbican." +msgstr "" +"oslopolicy-checker has added the ability to accept a file containing a hash " +"that represents the target. This makes it possible to check policies that " +"have non-conventional targets such as Barbican."