From 0c081eddd6031b1ac94b90db5b5e549195341d7f Mon Sep 17 00:00:00 2001 From: Clement Verna Date: Thu, 26 Nov 2020 10:20:12 +0100 Subject: [PATCH] Release 5.6 Signed-off-by: Clement Verna --- .mergify.yml | 40 ++++-------------- bodhi/__init__.py | 2 +- docs/user/release_notes.rst | 82 +++++++++++++++++++++++++++++++++++++ news/1809.bug | 1 - news/3916.bug | 1 - news/3993.bug | 1 - news/4014.feature | 1 - news/4020.bug | 1 - news/4066.bug | 1 - news/4087.bug | 1 - news/4122.bug | 1 - news/4144.bug | 1 - news/4146.bug | 1 - news/4147.bug | 1 - news/4155.bug | 1 - news/4158.bug | 1 - news/PR3875.dependency | 1 - news/PR4104.bug | 1 - news/PR4109.dev | 1 - news/PR4110.bug | 1 - news/PR4111.bug | 1 - news/PR4119.feature | 1 - news/PR4132.dev | 1 - news/PR4134.dependency | 1 - news/PR4135.feature | 1 - news/summary.migration | 1 - 26 files changed, 91 insertions(+), 56 deletions(-) delete mode 100644 news/1809.bug delete mode 100644 news/3916.bug delete mode 100644 news/3993.bug delete mode 100644 news/4014.feature delete mode 100644 news/4020.bug delete mode 100644 news/4066.bug delete mode 100644 news/4087.bug delete mode 100644 news/4122.bug delete mode 100644 news/4144.bug delete mode 100644 news/4146.bug delete mode 100644 news/4147.bug delete mode 100644 news/4155.bug delete mode 100644 news/4158.bug delete mode 100644 news/PR3875.dependency delete mode 100644 news/PR4104.bug delete mode 100644 news/PR4109.dev delete mode 100644 news/PR4110.bug delete mode 100644 news/PR4111.bug delete mode 100644 news/PR4119.feature delete mode 100644 news/PR4132.dev delete mode 100644 news/PR4134.dependency delete mode 100644 news/PR4135.feature delete mode 100644 news/summary.migration diff --git a/.mergify.yml b/.mergify.yml index 1ad0fd4ada..da59512208 100644 --- a/.mergify.yml +++ b/.mergify.yml @@ -21,38 +21,6 @@ pull_request_rules: - status-success=pip-unit - status-success=pip-diff-cover name: default -- actions: - backport: - branches: - - '5.0' - conditions: - - label!=WIP - - label=5.0-backports - name: backport 5.0 -- actions: - backport: - branches: - - '5.1' - conditions: - - label!=WIP - - label=5.1-backports - name: backport 5.1 -- actions: - backport: - branches: - - '5.2' - conditions: - - label!=WIP - - label=5.2-backports - name: backport 5.2 -- actions: - backport: - branches: - - '5.3' - conditions: - - label!=WIP - - label=5.3-backports - name: backport 5.3 - actions: backport: branches: @@ -69,3 +37,11 @@ pull_request_rules: - label!=WIP - label=5.5-backports name: backport 5.5 +- actions: + backport: + branches: + - '5.6' + conditions: + - label!=WIP + - label=5.6-backports + name: backport 5.6 diff --git a/bodhi/__init__.py b/bodhi/__init__.py index eec9c4c0c6..dcbf0121cf 100644 --- a/bodhi/__init__.py +++ b/bodhi/__init__.py @@ -17,7 +17,7 @@ # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. """Fedora's update manager.""" -__version__ = "5.5" +__version__ = "5.6.0" # This is a regular expression used to match username mentions in comments. MENTION_RE = r'(?= 3.0 is now required (:pr:`4134`). + +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 +^^^^^^^^ + +* Added a `from_side_tag` bool search parameter for Updates and allow searching + for that and for gating status from WebUI (:pr:`4119`). +* Allow overriding `critpath.stable_after_days_without_negative_karma` based on + release status (:pr:`4135`). +* Users which owns a side-tag can now create updates from that side-tag even if + it contains builds for which they haven't commit access (:issue:`4014`). + +Bug fixes +^^^^^^^^^ + +* Fix encoding of package and user names in search results (:pr:`4104`). +* Fix autotime display on update page (:pr:`4110`). +* Set update.stable_days to 0 for Releases not composed by Bodhi itself + (:pr:`4111`). +* Ignore builds in Unpushed updates when checking for duplicate builds + (:issue:`1809`). +* Make automatic updates obsolete older updates stuck in testing due to failing + gating tests (:issue:`3916`). +* Fix 404 pages for bot users with nonstandard characters in usernames + (:issue:`3993`). +* Fixed documentation build with Sphinx3 (:issue:`4020`). +* Serve the documentation directly from the WSGI application using WhiteNoise. + (:issue:`4066`). +* Updates from side-tag for non-rawhide releases were not pushed to testing + (:issue:`4087`). +* Side-tag updates builds were not editable in the WebUI (:issue:`4122`). +* Fixed "re-trigger tests" button not showed on update page (:issue:`4144`). +* Fixed a crash in automatic_updates handler due to `get_changelog()` returning + an unhandled exception (:issue:`4146`). +* Fixed a crash in automatic_updates handler due to trying access update.alias + after the session was closed (:issue:`4147`). +* Some comments orphaned from their update where causing internal server + errors. We now enforce a not null check so that a comment cannot be created + without associating it to an update. The orphaned comments are removed from + the database by the migration script. (:issue:`4155`). +* Dockerfile for pip CI tests has been fixed (:issue:`4158`). + +Development improvements +^^^^^^^^^^^^^^^^^^^^^^^^ + +* Rename `Release.get_testing_side_tag()` to `get_pending_testing_side_tag()` + to avoid confusion (:pr:`4109`). +* Added F33 to tests pipeline (:pr:`4132`). + +Contributors +^^^^^^^^^^^^ + +The following developers contributed to this release of Bodhi: + +* Adam Saleh +* Clement Verna +* Justin Caratzas +* Jonathan Wakely +* Karma Dolkar +* Mattia Verga +* Pierre-Yves Chibon +* Rayan Das +* Sebastian Wojciechowski + + v5.5 ==== This is a bugfix release. diff --git a/news/1809.bug b/news/1809.bug deleted file mode 100644 index 71531d9495..0000000000 --- a/news/1809.bug +++ /dev/null @@ -1 +0,0 @@ -Ignore builds in Unpushed updates when checking for duplicate builds diff --git a/news/3916.bug b/news/3916.bug deleted file mode 100644 index 99a31ec331..0000000000 --- a/news/3916.bug +++ /dev/null @@ -1 +0,0 @@ -Make automatic updates obsolete older updates stuck in testing due to failing gating tests diff --git a/news/3993.bug b/news/3993.bug deleted file mode 100644 index 9d45052737..0000000000 --- a/news/3993.bug +++ /dev/null @@ -1 +0,0 @@ -Fix 404 pages for bot users with nonstandard characters in usernames diff --git a/news/4014.feature b/news/4014.feature deleted file mode 100644 index d0e82824d1..0000000000 --- a/news/4014.feature +++ /dev/null @@ -1 +0,0 @@ -Users which owns a side-tag can now create updates from that side-tag even if it contains builds for which they haven't commit access diff --git a/news/4020.bug b/news/4020.bug deleted file mode 100644 index a60ffbffc3..0000000000 --- a/news/4020.bug +++ /dev/null @@ -1 +0,0 @@ -Fixed documentation build with Sphinx3 diff --git a/news/4066.bug b/news/4066.bug deleted file mode 100644 index 4866bcf25e..0000000000 --- a/news/4066.bug +++ /dev/null @@ -1 +0,0 @@ -Serve the documentation directly from the WSGI application using WhiteNoise. diff --git a/news/4087.bug b/news/4087.bug deleted file mode 100644 index 6365b3bda2..0000000000 --- a/news/4087.bug +++ /dev/null @@ -1 +0,0 @@ -Updates from side-tag for non-rawhide releases were not pushed to testing diff --git a/news/4122.bug b/news/4122.bug deleted file mode 100644 index d887c7d0a6..0000000000 --- a/news/4122.bug +++ /dev/null @@ -1 +0,0 @@ -Side-tag updates builds were not editable in the WebUI diff --git a/news/4144.bug b/news/4144.bug deleted file mode 100644 index 9d1a3aca80..0000000000 --- a/news/4144.bug +++ /dev/null @@ -1 +0,0 @@ -Fixed "re-trigger tests" button not showed on update page diff --git a/news/4146.bug b/news/4146.bug deleted file mode 100644 index 4e6366cdbc..0000000000 --- a/news/4146.bug +++ /dev/null @@ -1 +0,0 @@ -Fixed a crash in automatic_updates handler due to `get_changelog()` returning an unhandled exception diff --git a/news/4147.bug b/news/4147.bug deleted file mode 100644 index e202f2617d..0000000000 --- a/news/4147.bug +++ /dev/null @@ -1 +0,0 @@ -Fixed a crash in automatic_updates handler due to trying access update.alias after the session was closed diff --git a/news/4155.bug b/news/4155.bug deleted file mode 100644 index b575febb43..0000000000 --- a/news/4155.bug +++ /dev/null @@ -1 +0,0 @@ -Some comments orphaned from their update where causing internal server errors. We now enforce a not null check so that a comment cannot be created without associating it to an update. The orphaned comments are removed from the database by the migration script. diff --git a/news/4158.bug b/news/4158.bug deleted file mode 100644 index fa2e5cead1..0000000000 --- a/news/4158.bug +++ /dev/null @@ -1 +0,0 @@ -Dockerfile for pip CI tests has been fixed diff --git a/news/PR3875.dependency b/news/PR3875.dependency deleted file mode 100644 index 2382b6cd7b..0000000000 --- a/news/PR3875.dependency +++ /dev/null @@ -1 +0,0 @@ -Drop support for bleach 1.0 api diff --git a/news/PR4104.bug b/news/PR4104.bug deleted file mode 100644 index 5b4b8d3848..0000000000 --- a/news/PR4104.bug +++ /dev/null @@ -1 +0,0 @@ -Fix encoding of package and user names in search results diff --git a/news/PR4109.dev b/news/PR4109.dev deleted file mode 100644 index d23ff1f649..0000000000 --- a/news/PR4109.dev +++ /dev/null @@ -1 +0,0 @@ -Rename `Release.get_testing_side_tag()` to `get_pending_testing_side_tag()` to avoid confusion diff --git a/news/PR4110.bug b/news/PR4110.bug deleted file mode 100644 index 7a29dcac38..0000000000 --- a/news/PR4110.bug +++ /dev/null @@ -1 +0,0 @@ -Fix autotime display on update page diff --git a/news/PR4111.bug b/news/PR4111.bug deleted file mode 100644 index d2c79074a3..0000000000 --- a/news/PR4111.bug +++ /dev/null @@ -1 +0,0 @@ -Set update.stable_days to 0 for Releases not composed by Bodhi itself diff --git a/news/PR4119.feature b/news/PR4119.feature deleted file mode 100644 index 689e580d12..0000000000 --- a/news/PR4119.feature +++ /dev/null @@ -1 +0,0 @@ -Added a `from_side_tag` bool search parameter for Updates and allow searching for that and for gating status from WebUI diff --git a/news/PR4132.dev b/news/PR4132.dev deleted file mode 100644 index 062a7fd3f8..0000000000 --- a/news/PR4132.dev +++ /dev/null @@ -1 +0,0 @@ -Added F33 to tests pipeline diff --git a/news/PR4134.dependency b/news/PR4134.dependency deleted file mode 100644 index abbb2adeaf..0000000000 --- a/news/PR4134.dependency +++ /dev/null @@ -1 +0,0 @@ -Markdown >= 3.0 is now required diff --git a/news/PR4135.feature b/news/PR4135.feature deleted file mode 100644 index 0ab46f9580..0000000000 --- a/news/PR4135.feature +++ /dev/null @@ -1 +0,0 @@ -Allow overriding `critpath.stable_after_days_without_negative_karma` based on release status diff --git a/news/summary.migration b/news/summary.migration deleted file mode 100644 index e1f6b06a3f..0000000000 --- a/news/summary.migration +++ /dev/null @@ -1 +0,0 @@ -The Comments.update_id column is now set to be not null. The comments orphaned from their update object are deleted from the database and so are BugKarma and TestCaseKarma objects orphaned from their Comment.