From a19403df3ab720a3e11288b46038febdda1078e6 Mon Sep 17 00:00:00 2001 From: Mattia Verga Date: Sat, 26 Nov 2022 14:54:32 +0100 Subject: [PATCH] Release 7.0.0 Signed-off-by: Mattia Verga --- .github/workflows/docs.yml | 1 + .github/workflows/tests.yml | 2 + .mergify.yml | 22 +++----- bodhi-client/bodhi-client.spec | 5 +- bodhi-client/pyproject.toml | 3 +- bodhi-messages/bodhi-messages.spec | 5 +- bodhi-messages/pyproject.toml | 3 +- bodhi-server/bodhi-server.spec | 5 +- bodhi-server/pyproject.toml | 5 +- docs/user/release_notes.rst | 82 ++++++++++++++++++++++++++++++ news/2487.bug | 1 - news/4103.bug | 1 - news/4171.bug | 1 - news/4270.bug | 1 - news/4320.bug | 1 - news/4478.feature | 1 - news/4623.bug | 1 - news/4837.dev | 1 - news/PR4602.feature | 1 - news/PR4603.dev | 1 - news/PR4745.bug | 1 - news/PR4755.feature | 1 - news/PR4814.bug | 1 - news/PR4819.bug | 1 - news/PR4821.dev | 1 - news/PR4823.dev | 1 - news/PR4831.feature | 1 - news/PR4834.feature | 1 - news/summary.migration | 3 -- 29 files changed, 110 insertions(+), 44 deletions(-) delete mode 100644 news/2487.bug delete mode 100644 news/4103.bug delete mode 100644 news/4171.bug delete mode 100644 news/4270.bug delete mode 100644 news/4320.bug delete mode 100644 news/4478.feature delete mode 100644 news/4623.bug delete mode 100644 news/4837.dev delete mode 100644 news/PR4602.feature delete mode 100644 news/PR4603.dev delete mode 100644 news/PR4745.bug delete mode 100644 news/PR4755.feature delete mode 100644 news/PR4814.bug delete mode 100644 news/PR4819.bug delete mode 100644 news/PR4821.dev delete mode 100644 news/PR4823.dev delete mode 100644 news/PR4831.feature delete mode 100644 news/PR4834.feature delete mode 100644 news/summary.migration diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index a7f495d45f..692770bdda 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -5,6 +5,7 @@ on: - 'develop' - '5.7' - '6.0' + - '7.0' paths: - docs/** diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 7eaf890cc6..fa9cd5bacd 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -4,10 +4,12 @@ on: branches: - develop - 6.0 + - 7.0 pull_request: branches: - develop - 6.0 + - 7.0 name: Run tests diff --git a/.mergify.yml b/.mergify.yml index a78a699944..3b9b4f5eb9 100644 --- a/.mergify.yml +++ b/.mergify.yml @@ -50,35 +50,25 @@ pull_request_rules: - status-success=Build Documentation (f37) - status-success=Build Documentation (pip) -- name: backport 5.6 - actions: - backport: - branches: - - '5.6' - conditions: - - label!=WIP - - -draft - - label=5.6-backports - -- name: backport 5.7 +- name: backport 6.0 actions: backport: branches: - - '5.7' + - '6.0' conditions: - label!=WIP - -draft - - label=5.7-backports + - label=6.0-backports -- name: backport 6.0 +- name: backport 7.0 actions: backport: branches: - - '6.0' + - '7.0' conditions: - label!=WIP - -draft - - label=6.0-backports + - label=7.0-backports - name: dependabot actions: diff --git a/bodhi-client/bodhi-client.spec b/bodhi-client/bodhi-client.spec index 370f590cfe..f617527de7 100644 --- a/bodhi-client/bodhi-client.spec +++ b/bodhi-client/bodhi-client.spec @@ -1,6 +1,6 @@ # Created by pyp2rpm-3.3.7 %global pypi_name bodhi-client -%global pypi_version 6.0.1 +%global pypi_version 7.0.0 Name: %{pypi_name} Version: %{pypi_version} @@ -63,6 +63,9 @@ install -pm0644 bodhi-client.bash %{buildroot}%{_sysconfdir}/bash_completion.d/b %config(noreplace) %{_sysconfdir}/bash_completion.d/bodhi-client.bash %changelog +* Sat Nov 26 2022 Mattia Verga - 7.0.0-1 +- Update to 7.0.0. + * Fri Apr 08 2022 Aurelien Bompard - 6.0.0-1 - Update to 6.0.0. diff --git a/bodhi-client/pyproject.toml b/bodhi-client/pyproject.toml index 400f9c0009..541065f2bd 100644 --- a/bodhi-client/pyproject.toml +++ b/bodhi-client/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "bodhi-client" -version = "6.0.1" +version = "7.0.0" description = "Bodhi client" authors = ["Fedora Infrastructure team"] maintainers = ["Fedora Infrastructure Team "] @@ -19,6 +19,7 @@ classifiers = [ "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", "Topic :: System :: Software Distribution" ] packages = [ diff --git a/bodhi-messages/bodhi-messages.spec b/bodhi-messages/bodhi-messages.spec index 426021bb5c..99b0ffcd27 100644 --- a/bodhi-messages/bodhi-messages.spec +++ b/bodhi-messages/bodhi-messages.spec @@ -1,6 +1,6 @@ # Created by pyp2rpm-3.3.7 %global pypi_name bodhi-messages -%global pypi_version 6.0.1 +%global pypi_version 7.0.0 Name: %{pypi_name} Version: %{pypi_version} @@ -51,6 +51,9 @@ rm -rf %{pypi_name}.egg-info %doc README.rst %changelog +* Sat Nov 26 2022 Mattia Verga - 7.0.0-1 +- Update to 7.0.0. + * Fri Apr 08 2022 Aurelien Bompard - 6.0.0-1 - Update to 6.0.0. diff --git a/bodhi-messages/pyproject.toml b/bodhi-messages/pyproject.toml index 5c178ad640..f99dfbaf09 100644 --- a/bodhi-messages/pyproject.toml +++ b/bodhi-messages/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "bodhi-messages" -version = "6.0.1" +version = "7.0.0" description = "JSON schema for messages sent by Bodhi" readme = "README.rst" authors = ["Fedora Infrastructure Team"] @@ -20,6 +20,7 @@ classifiers = [ "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", "Topic :: System :: Software Distribution" ] diff --git a/bodhi-server/bodhi-server.spec b/bodhi-server/bodhi-server.spec index 42ccb30cc3..88c5a25094 100644 --- a/bodhi-server/bodhi-server.spec +++ b/bodhi-server/bodhi-server.spec @@ -1,5 +1,5 @@ %global pypi_name bodhi-server -%global pypi_version 6.0.1 +%global pypi_version 7.0.0 Name: %{pypi_name} Version: %{pypi_version} @@ -158,6 +158,9 @@ install -p -D -m 0644 %{name}.sysusers %{buildroot}%{_sysusersdir}/%{name}.sysus %pycached %{python3_sitelib}/bodhi/server/metadata.py %changelog +* Sat Nov 26 2022 Mattia Verga - 7.0.0-1 +- Update to 7.0.0. + * Fri Apr 08 2022 Aurelien Bompard - 6.0.0-1 - Update to 6.0.0. diff --git a/bodhi-server/pyproject.toml b/bodhi-server/pyproject.toml index 0e84f6493b..3d2a7db8a7 100644 --- a/bodhi-server/pyproject.toml +++ b/bodhi-server/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "bodhi-server" -version = "6.0.1" +version = "7.0.0" description = "Bodhi server" readme = "README.rst" authors = ["Fedora Infrastructure Team"] @@ -19,6 +19,7 @@ classifiers = [ "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", "Topic :: System :: Software Distribution", "Framework :: Pyramid", "Programming Language :: JavaScript", @@ -81,7 +82,7 @@ arrow = ">=0.17.0" authlib = ">=0.15.4" backoff = ">=1.10.0" bleach = ">=3.2.3" -bodhi-messages = "^6.0.0" +bodhi-messages = "^7.0.0" celery = ">=5.2.1" click = ">=7.1.2" colander = ">=1.8.3" diff --git a/docs/user/release_notes.rst b/docs/user/release_notes.rst index c337f7714c..5fe2587c7d 100644 --- a/docs/user/release_notes.rst +++ b/docs/user/release_notes.rst @@ -4,6 +4,88 @@ Release notes .. towncrier release notes start +v7.0.0 +====== + +Released on 2022-11-26. +This is a major release that fully enables `frozen` release state in bodhi-server +and adds Kerberos authentication to bodhi-client. + + +Server upgrade instructions +^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +This release contains database migrations. To apply them, run:: + + $ sudo -u apache /usr/bin/alembic -c /etc/bodhi/alembic.ini upgrade head + + +Features +^^^^^^^^ + +* Bodhi client now autenticates using Kerberos by default and falls back to + browser-based OIDC mechanism. (:pr:`4602`). +* Critical path information can now be read from JSON files (in the form output + by the releng `critpath.py` script), using config options `critpath.type = + json` and `critpath.jsonpath` (:pr:`4755`). +* Frozen releases updates will now be forced into testing before being pushed + to stable (:pr:`4831`). +* The new update form UI will now display a warning when a release is + approaching EOL (:pr:`4834`). +* Bodhi-push now defaults to push only testing composes for frozen releases + (:issue:`4478`). + +Bug fixes +^^^^^^^^^ + +* Editing a stuck Rawhide side-tag update (usually when gating tests fail) will + no more cause builds to be tagged with the release candidate-tag to prevent + the automatic update consumer from creating an automatic update and breaking + the side-tag update (:pr:`4745`). +* Bodhi client will not show the secret in terminal when logging in via browser + (:pr:`4814`). +* The check_signed_builds sometimes failed to unstuck updates due to the use of + a wrong tag (:pr:`4819`). +* Updateinfo.xml metadata generation has been changed in order to try to fix + errors reported by yum on EPEL (:issue:`2487`). +* Releases in frozen state will now be listed in the release page and a warning + box will be showed for updates of those releases (:issue:`4103`). +* The `date_approved` property of the `Update` model is now set when the update + is ready to be pushed to stable (:issue:`4171`). +* Scenario is now included in request data when waiving test results + (:issue:`4270`). +* The update page now shows a single combined gating status, instead of listing + the result of each separate greenwave query (:issue:`4320`). +* Bodhi-client now raises a generic `SysExit` exception instead of + `click.exceptions.Abort` when a user aborts authentication, so external + scripts can avoid importing Click in their code (:issue:`4623`). + +Development improvements +^^^^^^^^^^^^^^^^^^^^^^^^ + +* Bodhi client now supports configuring OIDC storage path. (:pr:`4603`). +* For gating, Bodhi now queries all Greenwave 'decision contexts' together, + reducing the number of queries needed. (:pr:`4821`). +* References to never used `side_tag_active` and `side_tag_expired` update + statuses and the `Update.side_tag_locked` property have been removed + (:pr:`4823`). +* The `date_pushed` database column of the `Update` model has been dropped and + replaced by a property, no change should be noticeable to users + (:issue:`4837`). + +Contributors +^^^^^^^^^^^^ + +The following developers contributed to this release of Bodhi: + +* Aurélien Bompard +* Adam Williamson +* Maxwell G +* Mattia Verga +* Matej Focko +* Tomas Tomecek + + v6.0.1 ====== diff --git a/news/2487.bug b/news/2487.bug deleted file mode 100644 index 37cd51a471..0000000000 --- a/news/2487.bug +++ /dev/null @@ -1 +0,0 @@ -Updateinfo.xml metadata generation has been changed in order to try to fix errors reported by yum on EPEL diff --git a/news/4103.bug b/news/4103.bug deleted file mode 100644 index 33b215e516..0000000000 --- a/news/4103.bug +++ /dev/null @@ -1 +0,0 @@ -Releases in frozen state will now be listed in the release page and a warning box will be showed for updates of those releases diff --git a/news/4171.bug b/news/4171.bug deleted file mode 100644 index 82a00248af..0000000000 --- a/news/4171.bug +++ /dev/null @@ -1 +0,0 @@ -The `date_approved` property of the `Update` model is now set when the update is ready to be pushed to stable diff --git a/news/4270.bug b/news/4270.bug deleted file mode 100644 index 2cbc674442..0000000000 --- a/news/4270.bug +++ /dev/null @@ -1 +0,0 @@ -Scenario is now included in request data when waiving test results diff --git a/news/4320.bug b/news/4320.bug deleted file mode 100644 index a60e7fec0d..0000000000 --- a/news/4320.bug +++ /dev/null @@ -1 +0,0 @@ -The update page now shows a single combined gating status, instead of listing the result of each separate greenwave query diff --git a/news/4478.feature b/news/4478.feature deleted file mode 100644 index f19e02ab37..0000000000 --- a/news/4478.feature +++ /dev/null @@ -1 +0,0 @@ -Bodhi-push now defaults to push only testing composes for frozen releases diff --git a/news/4623.bug b/news/4623.bug deleted file mode 100644 index 5bcffaf665..0000000000 --- a/news/4623.bug +++ /dev/null @@ -1 +0,0 @@ -Bodhi-client now raises a generic `SysExit` exception instead of `click.exceptions.Abort` when a user aborts authentication, so external scripts can avoid importing Click in their code diff --git a/news/4837.dev b/news/4837.dev deleted file mode 100644 index d2bb5bafb4..0000000000 --- a/news/4837.dev +++ /dev/null @@ -1 +0,0 @@ -The `date_pushed` database column of the `Update` model has been dropped and replaced by a property, no change should be noticeable to users diff --git a/news/PR4602.feature b/news/PR4602.feature deleted file mode 100644 index 537869ba2f..0000000000 --- a/news/PR4602.feature +++ /dev/null @@ -1 +0,0 @@ -Bodhi client now autenticates using Kerberos by default and falls back to browser-based OIDC mechanism. diff --git a/news/PR4603.dev b/news/PR4603.dev deleted file mode 100644 index c545208ceb..0000000000 --- a/news/PR4603.dev +++ /dev/null @@ -1 +0,0 @@ -Bodhi client now supports configuring OIDC storage path. diff --git a/news/PR4745.bug b/news/PR4745.bug deleted file mode 100644 index 5af49a71af..0000000000 --- a/news/PR4745.bug +++ /dev/null @@ -1 +0,0 @@ -Editing a stuck Rawhide side-tag update (usually when gating tests fail) will no more cause builds to be tagged with the release candidate-tag to prevent the automatic update consumer from creating an automatic update and breaking the side-tag update diff --git a/news/PR4755.feature b/news/PR4755.feature deleted file mode 100644 index c17d4b9dea..0000000000 --- a/news/PR4755.feature +++ /dev/null @@ -1 +0,0 @@ -Critical path information can now be read from JSON files (in the form output by the releng `critpath.py` script), using config options `critpath.type = json` and `critpath.jsonpath` diff --git a/news/PR4814.bug b/news/PR4814.bug deleted file mode 100644 index 3f740b5e09..0000000000 --- a/news/PR4814.bug +++ /dev/null @@ -1 +0,0 @@ -Bodhi client will not show the secret in terminal when logging in via browser diff --git a/news/PR4819.bug b/news/PR4819.bug deleted file mode 100644 index 6a210e4680..0000000000 --- a/news/PR4819.bug +++ /dev/null @@ -1 +0,0 @@ -The check_signed_builds sometimes failed to unstuck updates due to the use of a wrong tag diff --git a/news/PR4821.dev b/news/PR4821.dev deleted file mode 100644 index 1d6c49bc0a..0000000000 --- a/news/PR4821.dev +++ /dev/null @@ -1 +0,0 @@ -For gating, Bodhi now queries all Greenwave 'decision contexts' together, reducing the number of queries needed. diff --git a/news/PR4823.dev b/news/PR4823.dev deleted file mode 100644 index da862f4a22..0000000000 --- a/news/PR4823.dev +++ /dev/null @@ -1 +0,0 @@ -References to never used `side_tag_active` and `side_tag_expired` update statuses and the `Update.side_tag_locked` property have been removed diff --git a/news/PR4831.feature b/news/PR4831.feature deleted file mode 100644 index bfeade61eb..0000000000 --- a/news/PR4831.feature +++ /dev/null @@ -1 +0,0 @@ -Frozen releases updates will now be forced into testing before being pushed to stable diff --git a/news/PR4834.feature b/news/PR4834.feature deleted file mode 100644 index 7afd15edc0..0000000000 --- a/news/PR4834.feature +++ /dev/null @@ -1 +0,0 @@ -The new update form UI will now display a warning when a release is approaching EOL diff --git a/news/summary.migration b/news/summary.migration deleted file mode 100644 index d9e9178cf1..0000000000 --- a/news/summary.migration +++ /dev/null @@ -1,3 +0,0 @@ -The `critpath_groups` column has been added to the Update model (pr:4759) -The `side_tag_active` and `side_tag_expired` update statuses have been removed, since they were never used (pr:4823) -The `date_pushed` database column of the `Update` model has been dropped and replaced by a property