diff --git a/CHANGES.rst b/CHANGES.rst index 7b26e6fe2..45767bcad 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -13,6 +13,90 @@ Changelog .. towncrier release notes start +3.0.0 (2023-09-05) +================== + +Features +-------- + +- Added ``version``, ``origin``, ``label``, and ``description`` fields to Releases. + These fields can be set when creating new Releases via the API. + Going forward, they will also be synced from upstream release files if present. + `#449 `_ +- Specify and remember the Signing Services we want to use for each Repo / Release. + `#641 `_ +- Added API filters to limit results by related pulp_deb content types. + `#646 `_ +- Added the ``publish_upstream_release_fields`` field to the repository model. + To avoid a breaking change in publication behaviour, existing repositories are populated with the setting set to ``False``, while any newly created repostiroies will default to ``True``. + Whatever the value on the repository, it can be overriden when creating a new publication. + `#793 `_ + + +Bugfixes +-------- + +- Fixed KeyError during publish if package has architecture that's not supported in the Packages file. + Instead, a warning message will be logged. + `#777 `_ +- Fixed an async error preventing synchronization with ``sync_installer`` set to ``True``. + `#797 `_ +- Fixed content creating code triggered in rare edge cases when unapplying DB migration 0021. + `#806 `_ +- Fixed a bug where structured package upload was only working as intended for the first package uploaded to each repository. + Also added logging and ensured structure content is added to the creating tasks ``created_resources`` list. + `#807 `_ + + +Improved Documentation +---------------------- + +- Added ``pulp-cli-deb`` installation instructions. + `#598 `_ +- Replaced references to the Pulp Ansible installer with references to the Pulp OCI images. + `#779 `_ +- Added workflow documentation for creating and using signing services. + `#867 `_ +- Completely reworked the "Feature Overview" and "Workflows" docs with an emphasise on Pulp CLI and structured content. + `#886 `_ + + +Removals +-------- + +- Since release file fields including "Label" and "Version", are now synced from upstream repositories, we have dropped the PUBLISH_RELEASE_FILE_LABEL and PUBLISH_RELEASE_FILE_VERSION settings. + This removes the ability to publish Pulp internal "Label" and "Version" values that never made much sense, and had been disabled by default since at least pulp_deb 2.18.0. + `#449 `_ +- The codename and suite fields are removed from the ReleaseComponent and ReleaseArchitecture models and all associated filters and viewsets. + `#599 `_ +- The ``pulp/api/v3/publications/deb/apt/`` API endpoint, used to require users to explicitly set at least one of ``simple`` or ``structured`` to ``True`` on the POST. + The new behavior is to default to ``structured=True`` and ``simple=False``. + `#858 `_ + + +Misc +---- + +- This change includes a large DB migration to drop 'codename' and 'suite' from the uniqueness constraints of all structure content. + The migration will merge any resulting collisions and alter all records with a foreign key relation to the so eliminated content to point at the merge result instead. + `#599 `_ +- Added test cases for advanced copy task. + `#758 `_ +- Add tests for content filters, and make filters return empty list if Content not in RepoVersion instead of raising ValidationError. + `#780 `_ +- Added better scoping for the pytest fixtures. + `#790 `_ +- Removed the ``pulp-smash`` test dependency. + `#796 `_ +- Converted the publish tests to use the pytest framework. + `#828 `_ +- Converted the import/export tests to use the pytest framework. + `#846 `_ + + +---- + + 2.21.2 (2023-09-05) =================== diff --git a/CHANGES/449.feature b/CHANGES/449.feature deleted file mode 100644 index bdff9ebd7..000000000 --- a/CHANGES/449.feature +++ /dev/null @@ -1,3 +0,0 @@ -Added ``version``, ``origin``, ``label``, and ``description`` fields to Releases. -These fields can be set when creating new Releases via the API. -Going forward, they will also be synced from upstream release files if present. diff --git a/CHANGES/449.removal b/CHANGES/449.removal deleted file mode 100644 index c1219a11f..000000000 --- a/CHANGES/449.removal +++ /dev/null @@ -1,2 +0,0 @@ -Since release file fields including "Label" and "Version", are now synced from upstream repositories, we have dropped the PUBLISH_RELEASE_FILE_LABEL and PUBLISH_RELEASE_FILE_VERSION settings. -This removes the ability to publish Pulp internal "Label" and "Version" values that never made much sense, and had been disabled by default since at least pulp_deb 2.18.0. diff --git a/CHANGES/598.doc b/CHANGES/598.doc deleted file mode 100644 index 2d3060d38..000000000 --- a/CHANGES/598.doc +++ /dev/null @@ -1 +0,0 @@ -Added ``pulp-cli-deb`` installation instructions. diff --git a/CHANGES/599.misc b/CHANGES/599.misc deleted file mode 100644 index 973edc8eb..000000000 --- a/CHANGES/599.misc +++ /dev/null @@ -1,2 +0,0 @@ -This change includes a large DB migration to drop 'codename' and 'suite' from the uniqueness constraints of all structure content. -The migration will merge any resulting collisions and alter all records with a foreign key relation to the so eliminated content to point at the merge result instead. diff --git a/CHANGES/599.removal b/CHANGES/599.removal deleted file mode 100644 index f24345f87..000000000 --- a/CHANGES/599.removal +++ /dev/null @@ -1 +0,0 @@ -The codename and suite fields are removed from the ReleaseComponent and ReleaseArchitecture models and all associated filters and viewsets. diff --git a/CHANGES/641.feature b/CHANGES/641.feature deleted file mode 100644 index bfddd810c..000000000 --- a/CHANGES/641.feature +++ /dev/null @@ -1 +0,0 @@ -Specify and remember the Signing Services we want to use for each Repo / Release. \ No newline at end of file diff --git a/CHANGES/646.feature b/CHANGES/646.feature deleted file mode 100644 index ac689916f..000000000 --- a/CHANGES/646.feature +++ /dev/null @@ -1 +0,0 @@ -Added API filters to limit results by related pulp_deb content types. diff --git a/CHANGES/758.misc b/CHANGES/758.misc deleted file mode 100644 index b52b848db..000000000 --- a/CHANGES/758.misc +++ /dev/null @@ -1 +0,0 @@ -Added test cases for advanced copy task. diff --git a/CHANGES/777.bugfix b/CHANGES/777.bugfix deleted file mode 100644 index 269578f5f..000000000 --- a/CHANGES/777.bugfix +++ /dev/null @@ -1,2 +0,0 @@ -Fixed KeyError during publish if package has architecture that's not supported in the Packages file. -Instead, a warning message will be logged. diff --git a/CHANGES/779.doc b/CHANGES/779.doc deleted file mode 100644 index 66eebb0ac..000000000 --- a/CHANGES/779.doc +++ /dev/null @@ -1 +0,0 @@ -Replaced references to the Pulp Ansible installer with references to the Pulp OCI images. diff --git a/CHANGES/780.misc b/CHANGES/780.misc deleted file mode 100644 index 92bcbdb67..000000000 --- a/CHANGES/780.misc +++ /dev/null @@ -1 +0,0 @@ -Add tests for content filters, and make filters return empty list if Content not in RepoVersion instead of raising ValidationError. \ No newline at end of file diff --git a/CHANGES/790.misc b/CHANGES/790.misc deleted file mode 100644 index 94b055021..000000000 --- a/CHANGES/790.misc +++ /dev/null @@ -1 +0,0 @@ -Added better scoping for the pytest fixtures. diff --git a/CHANGES/793.feature b/CHANGES/793.feature deleted file mode 100644 index 671be1fa8..000000000 --- a/CHANGES/793.feature +++ /dev/null @@ -1,3 +0,0 @@ -Added the ``publish_upstream_release_fields`` field to the repository model. -To avoid a breaking change in publication behaviour, existing repositories are populated with the setting set to ``False``, while any newly created repostiroies will default to ``True``. -Whatever the value on the repository, it can be overriden when creating a new publication. diff --git a/CHANGES/796.misc b/CHANGES/796.misc deleted file mode 100644 index b867b069f..000000000 --- a/CHANGES/796.misc +++ /dev/null @@ -1 +0,0 @@ -Removed the ``pulp-smash`` test dependency. diff --git a/CHANGES/797.bugfix b/CHANGES/797.bugfix deleted file mode 100644 index 12627d740..000000000 --- a/CHANGES/797.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fixed an async error preventing synchronization with ``sync_installer`` set to ``True``. diff --git a/CHANGES/806.bugfix b/CHANGES/806.bugfix deleted file mode 100644 index e514ba22a..000000000 --- a/CHANGES/806.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fixed content creating code triggered in rare edge cases when unapplying DB migration 0021. diff --git a/CHANGES/807.bugfix b/CHANGES/807.bugfix deleted file mode 100644 index 25ca89740..000000000 --- a/CHANGES/807.bugfix +++ /dev/null @@ -1,2 +0,0 @@ -Fixed a bug where structured package upload was only working as intended for the first package uploaded to each repository. -Also added logging and ensured structure content is added to the creating tasks ``created_resources`` list. diff --git a/CHANGES/828.misc b/CHANGES/828.misc deleted file mode 100644 index 8e2c95db3..000000000 --- a/CHANGES/828.misc +++ /dev/null @@ -1 +0,0 @@ -Converted the publish tests to use the pytest framework. diff --git a/CHANGES/846.misc b/CHANGES/846.misc deleted file mode 100644 index 43dfceea5..000000000 --- a/CHANGES/846.misc +++ /dev/null @@ -1 +0,0 @@ -Converted the import/export tests to use the pytest framework. diff --git a/CHANGES/858.removal b/CHANGES/858.removal deleted file mode 100644 index a946ed242..000000000 --- a/CHANGES/858.removal +++ /dev/null @@ -1,2 +0,0 @@ -The ``pulp/api/v3/publications/deb/apt/`` API endpoint, used to require users to explicitly set at least one of ``simple`` or ``structured`` to ``True`` on the POST. -The new behavior is to default to ``structured=True`` and ``simple=False``. diff --git a/CHANGES/867.doc b/CHANGES/867.doc deleted file mode 100644 index f63809a43..000000000 --- a/CHANGES/867.doc +++ /dev/null @@ -1 +0,0 @@ -Added workflow documentation for creating and using signing services. diff --git a/CHANGES/886.doc b/CHANGES/886.doc deleted file mode 100644 index 82f915fe7..000000000 --- a/CHANGES/886.doc +++ /dev/null @@ -1 +0,0 @@ -Completely reworked the "Feature Overview" and "Workflows" docs with an emphasise on Pulp CLI and structured content.