From 6fc07e49ea261d9cedf17d89561747ce72b46658 Mon Sep 17 00:00:00 2001 From: Lukas Holecek Date: Jun 25 2018 06:50:58 +0000 Subject: Update Release Notes for next release --- diff --git a/docs/policies.rst b/docs/policies.rst index f2a67e6..68d3ef3 100644 --- a/docs/policies.rst +++ b/docs/policies.rst @@ -62,6 +62,8 @@ The document is a map (dictionary) with the following keys: passes this value when it asks Greenwave to decide whether a Bodhi update is ready to be pushed to the stable repositories. +.. _subject_type: + ``subject_type`` When you ask Greenwave for a decision, you ask it about a specific software artefact (the "subject" of the decision). Each policy applies to some type diff --git a/docs/release-notes.rst b/docs/release-notes.rst index 40f19aa..1694442 100644 --- a/docs/release-notes.rst +++ b/docs/release-notes.rst @@ -5,8 +5,41 @@ Release Notes Next Release ============ -* Old `remote-original-spec-nvr-rule` for extending policies (#75) renamed - to :ref:`remote-rule` (#220). +* Policies require :ref:`subject_type ` to be defined (#126). + Policy attributes `relevance_key` and `relevance_value` are no longer used + (#74). Both ``relevance_key: original_spec_nvr`` and ``relevance_value: + koji_build`` in policy files should be changed to ``subject_type: + koji_build``. + +* Messages for decisions contain single ``subject_type`` (:ref:`subject-types`) + and ``subject_identifier`` (#123). + +* Asking for a decision about a Bodhi update no longer requires to pass a list + of NVRs of the builds in the update. This is now done automatically by + querying Bodhi and applying the relevant policies for those builds as well. + The ``BODHI_URL`` config setting must be set for this feature to work. + +* Old ``RemoteOriginalSpecNvrRule`` for extending policies renamed to + ``RemoteRule``. See :ref:`remote-rule` (#220). + +* Policy attribute ``id`` is now optional in ``gating.yaml`` (#217). + +* Policy attribute ``blacklist`` is now optional. + +* Settings ``greenwave_cache`` for fedmsg was dropped in favor of ``CACHE`` + settings in ``settings.py``. + +* Verbose decisions contain ``satisfied_requirements`` (#124). + +* New endpoint :http:get:`/api/v1.0/about` deprecates + :http:get:`/api/v1.0/version` (#189). + +* Switch to Python 3 and drop Python 2 support. + +* HTTP status codes 502 and 504 are now returned for timeouts and connection + errors to related services (previously HTTP 500 was returned). + +* Fixed giving incorrect test decisions for multiple items. Greenwave 0.7.1 =============== @@ -21,7 +54,7 @@ Greenwave 0.7 Released 10 May 2018. -* New `remote-original-spec-nvr-rule` for extending policies (#75). +* New ``RemoteOriginalSpecNvrRule`` for extending policies (#75). * In case Greenwave found no matching results for a decision, the summary text has been re-worded to be clearer and to indicate how many results were