diff --git a/bodhi-client/bodhi-client.spec b/bodhi-client/bodhi-client.spec index 5620301b7a..dec024aa8c 100644 --- a/bodhi-client/bodhi-client.spec +++ b/bodhi-client/bodhi-client.spec @@ -1,7 +1,7 @@ # Created by pyp2rpm-3.3.7 %global pypi_name bodhi-client %global src_name bodhi_client -%global pypi_version 8.1.1 +%global pypi_version 8.2.0 Name: %{pypi_name} Version: %{pypi_version} @@ -65,6 +65,9 @@ install -pm0644 bodhi-client.bash %{buildroot}%{_sysconfdir}/bash_completion.d/b %config(noreplace) %{_sysconfdir}/bash_completion.d/bodhi-client.bash %changelog +* Sat Oct 26 2024 Mattia Verga - 8.2.0-1 +- Update to 8.2.0 + * Sat Jun 22 2024 Mattia Verga - 8.1.1-1 - Update to 8.1.1 diff --git a/bodhi-client/pyproject.toml b/bodhi-client/pyproject.toml index 442f8078a5..aa1af13d22 100644 --- a/bodhi-client/pyproject.toml +++ b/bodhi-client/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "bodhi-client" -version = "8.1.1" +version = "8.2.0" description = "Bodhi client" authors = ["Fedora Infrastructure team"] maintainers = ["Fedora Infrastructure Team "] @@ -21,6 +21,7 @@ classifiers = [ "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", "Topic :: System :: Software Distribution" ] packages = [ diff --git a/bodhi-messages/bodhi-messages.spec b/bodhi-messages/bodhi-messages.spec index 76065ce99d..5db0ad4721 100644 --- a/bodhi-messages/bodhi-messages.spec +++ b/bodhi-messages/bodhi-messages.spec @@ -1,7 +1,7 @@ # Created by pyp2rpm-3.3.7 %global pypi_name bodhi-messages %global src_name bodhi_messages -%global pypi_version 8.1.1 +%global pypi_version 8.2.0 Name: %{pypi_name} Version: %{pypi_version} @@ -53,6 +53,9 @@ rm -rf %{pypi_name}.egg-info %doc README.rst %changelog +* Sat Oct 26 2024 Mattia Verga - 8.2.0-1 +- Update to 8.2.0 + * Sat Jun 22 2024 Mattia Verga - 8.1.1-1 - Update to 8.1.1 diff --git a/bodhi-messages/pyproject.toml b/bodhi-messages/pyproject.toml index 97006b9c14..c10d440825 100644 --- a/bodhi-messages/pyproject.toml +++ b/bodhi-messages/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "bodhi-messages" -version = "8.1.1" +version = "8.2.0" description = "JSON schema for messages sent by Bodhi" readme = "README.rst" authors = ["Fedora Infrastructure Team"] @@ -22,6 +22,7 @@ classifiers = [ "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", "Topic :: System :: Software Distribution" ] diff --git a/bodhi-server/bodhi-server.spec b/bodhi-server/bodhi-server.spec index 9a0f8c5331..aeab74cff3 100644 --- a/bodhi-server/bodhi-server.spec +++ b/bodhi-server/bodhi-server.spec @@ -1,8 +1,8 @@ %global pypi_name bodhi-server %global src_name bodhi_server -%global pypi_version 8.1.1 -%global client_min_version 8.0.0 -%global messages_min_version 8.0.0 +%global pypi_version 8.2.0 +%global client_min_version 8.1.1 +%global messages_min_version 8.1.1 Name: %{pypi_name} Version: %{pypi_version} @@ -160,6 +160,9 @@ install -p -D -m 0644 %{name}.sysusers %{buildroot}%{_sysusersdir}/%{name}.sysus %pycached %{python3_sitelib}/bodhi/server/metadata.py %changelog +* Sat Oct 26 2024 Mattia Verga - 8.2.0-1 +- Update to 8.2.0 + * Sat Jun 22 2024 Mattia Verga - 8.1.1-1 - Update to 8.1.1 diff --git a/bodhi-server/pyproject.toml b/bodhi-server/pyproject.toml index a528711944..45a1ecef75 100644 --- a/bodhi-server/pyproject.toml +++ b/bodhi-server/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "bodhi-server" -version = "8.1.1" +version = "8.2.0" description = "Bodhi server" readme = "README.rst" authors = ["Fedora Infrastructure Team"] @@ -21,6 +21,7 @@ classifiers = [ "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", "Topic :: System :: Software Distribution", "Framework :: Pyramid", "Programming Language :: JavaScript", diff --git a/docs/user/release_notes.rst b/docs/user/release_notes.rst index b540e29e89..833459cd6c 100644 --- a/docs/user/release_notes.rst +++ b/docs/user/release_notes.rst @@ -4,6 +4,104 @@ Release notes .. towncrier release notes start +v8.2.0 +====== + + + +Released on 2024-10-26. +This is a feature release that needs configuration file adjustments. See the +following notes for the details. + + +Backwards incompatible changes +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +* Bodhi's update status checking has been overhauled, and some configuration + options have changed. + + * `critpath.num_admin_approvals` is removed. This backed the old Fedora "proven + testers" concept, which has not been used for some years. + * `critpath.min_karma` is removed and is replaced by a new setting just called + `min_karma`. This applies to all updates, not just critical path. + * `critpath.stable_after_days_without_negative_karma` is renamed to + `critpath.mandatory_days_in_testing` and its behavior has changed: there is no + longer any check for 'no negative karma'. Critical path updates, like + non-critical path updates, can now be manually pushed stable after reaching + this time threshold even if they have negative karma. + + As before, these settings can be specified with prefixes to apply only to + particular releases and milestones. `min_karma` and + `(critpath.)mandatory_days_in_testing` now act strictly and consistently as + minimum requirements for stable push. Any update may be pushed stable once it + reaches either of those thresholds (and passes gating requirements, if gating + is enabled). The update's `stable_karma` value is no longer ever considered in + determining whether it may be pushed stable. `stable_karma` and `stable_days` are + only used as triggers for automatic stable pushes (but for an update to be + automatically pushed it must *also* reach either `min_karma` or + `(critpath.)mandatory_days_in_testing`). + + The most obvious practical result of this change for Fedora is that, during + phases where the policy minimum karma requirement is +2, you will no longer + be able to make non-critical path updates pushable with +1 karma by setting + this as their `stable_karma` value. Additionally: + + * It is no longer possible to set an update's request to 'stable' if it has + previously met requirements but currently does not + * Two cases where updates that reached their unstable_karma thresholds were + not obsoleted are resolved + * Updates in 'pending' as well as 'testing' status have autopush disabled + upon receiving any negative karma + * The `date_approved` property of updates is more consistently set as the + date the update first became eligible for stable push (:pr:`5630`). + +Features +^^^^^^^^ + +* When searching updates, you can now specify multiple gating statuses by + passing the 'gating' query arg more than once (:pr:`5658`). +* Bundled fedora-bootstrap has been updated to 5.3.3-0 (:pr:`5711`). +* A packager can now edit a side-tag update even if the side-tag is not owned + by them, provided they have commit rights on all packages included in the + side-tag (:pr:`5764`). + +Bug fixes +^^^^^^^^^ + +* The development.ini.example config - on which the BCD config is based - is + now set up to listen on both IPv4 and IPv6 (:pr:`5659`). +* Openid based login support has been removed from Bodhi. `python-openid` and + `pyramid-fas-openid` are EOL and we moved to OIDC authentication. + (:issue:`5601`). +* Fixed a build validation issue which would prevent a sidetag update from + being submitted in some circumstances (:issue:`5725`). +* Fixed broken pagination for listing updates in webUI and JSON + (:issue:`5738`). + +Development improvements +^^^^^^^^^^^^^^^^^^^^^^^^ + +* Calls to `datetime.datetime.utcnow()` have been changed to + `datetime.datetime.now(datetime.timezone.utc)`. We previously assumed all + datetimes were UTC based, now this is explicit by using timezone aware + datetimes (:pr:`5702`). + +Documentation improvements +^^^^^^^^^^^^^^^^^^^^^^^^^^ + +* Bodhi's documentation is now served from ReadTheDocs pages (:pr:`5774`). + +Contributors +^^^^^^^^^^^^ + +The following developers contributed to this release of Bodhi: + +* Adam Williamson +* Mattia Verga +* Nikola Forró +* Ryan Lerch + + v8.1.1 ====== diff --git a/news/5601.bug b/news/5601.bug deleted file mode 100644 index 89b68d5a74..0000000000 --- a/news/5601.bug +++ /dev/null @@ -1 +0,0 @@ -Openid based login support has been removed from Bodhi. `python-openid` and `pyramid-fas-openid` are EOL and we moved to OIDC authentication. diff --git a/news/5725.bug b/news/5725.bug deleted file mode 100644 index bdf41ba000..0000000000 --- a/news/5725.bug +++ /dev/null @@ -1 +0,0 @@ -Fixed a build validation issue which would prevent a sidetag update from being submitted in some circumstances diff --git a/news/5738.bug b/news/5738.bug deleted file mode 100644 index 70d8325eba..0000000000 --- a/news/5738.bug +++ /dev/null @@ -1 +0,0 @@ -Fixed broken pagination for listing updates in webUI and JSON diff --git a/news/PR5630.bic b/news/PR5630.bic deleted file mode 100644 index b02932efe9..0000000000 --- a/news/PR5630.bic +++ /dev/null @@ -1,14 +0,0 @@ -Bodhi's update status checking has been overhauled, and some configuration options have changed. - -* critpath.num_admin_approvals is removed. This backed the old Fedora "proven testers" concept, which has not been used for some years. -* critpath.min_karma is removed and is replaced by a new setting just called min_karma. This applies to all updates, not just critical path. -* critpath.stable_after_days_without_negative_karma is renamed to critpath.mandatory_days_in_testing and its behavior has changed: there is no longer any check for 'no negative karma'. Critical path updates, like non-critical path updates, can now be manually pushed stable after reaching this time threshold even if they have negative karma. - -As before, these settings can be specified with prefixes to apply only to particular releases and milestones. min_karma and (critpath.)mandatory_days_in_testing now act strictly and consistently as minimum requirements for stable push. Any update may be pushed stable once it reaches either of those thresholds (and passes gating requirements, if gating is enabled). The update's stable_karma value is no longer ever considered in determining whether it may be pushed stable. stable_karma and stable_days are only used as triggers for automatic stable pushes (but for an update to be automatically pushed it must *also* reach either min_karma or (critpath.)mandatory_days_in_testing). - -The most obvious practical result of this change for Fedora is that, during phases where the policy minimum karma requirement is +2, you will no longer be able to make non-critical path updates pushable with +1 karma by setting this as their stable_karma value. Additionally: - -* It is no longer possible to set an update's request to 'stable' if it has previously met requirements but currently does not -* Two cases where updates that reached their unstable_karma thresholds were not obsoleted are resolved -* Updates in 'pending' as well as 'testing' status have autopush disabled upon receiving any negative karma -* The 'date_approved' property of updates is more consistently set as the date the update first became eligible for stable push diff --git a/news/PR5658.feature b/news/PR5658.feature deleted file mode 100644 index 99c677348d..0000000000 --- a/news/PR5658.feature +++ /dev/null @@ -1 +0,0 @@ -When searching updates, you can now specify multiple gating statuses by passing the 'gating' query arg more than once diff --git a/news/PR5659.bug b/news/PR5659.bug deleted file mode 100644 index 9d5822ab2d..0000000000 --- a/news/PR5659.bug +++ /dev/null @@ -1 +0,0 @@ -The development.ini.example config - on which the BCD config is based - is now set up to listen on both IPv4 and IPv6 diff --git a/news/PR5702.dev b/news/PR5702.dev deleted file mode 100644 index 87d35c59b3..0000000000 --- a/news/PR5702.dev +++ /dev/null @@ -1 +0,0 @@ -Calls to `datetime.datetime.utcnow()` have been changed to `datetime.datetime.now(datetime.timezone.utc)`. We previously assumed all datetimes were UTC based, now this is explicit by using timezone aware datetimes diff --git a/news/PR5711.feature b/news/PR5711.feature deleted file mode 100644 index 7e93674662..0000000000 --- a/news/PR5711.feature +++ /dev/null @@ -1 +0,0 @@ -Bundled fedora-bootstrap has been updated to 5.3.3-0 diff --git a/news/PR5764.feature b/news/PR5764.feature deleted file mode 100644 index a26dd3832f..0000000000 --- a/news/PR5764.feature +++ /dev/null @@ -1 +0,0 @@ -A packager can now edit a side-tag update even if the side-tag is not owned by them, provided they have commit rights on all packages included in the side-tag diff --git a/news/PR5774.docs b/news/PR5774.docs deleted file mode 100644 index a9bfabcea6..0000000000 --- a/news/PR5774.docs +++ /dev/null @@ -1 +0,0 @@ -Bodhi's documentation is now served from ReadTheDocs pages