Skip to content

Commit

Permalink
Release 2.29.0
Browse files Browse the repository at this point in the history
  • Loading branch information
rohanpm committed Mar 27, 2022
1 parent 6130afd commit 87db1c6
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 7 deletions.
11 changes: 10 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- n/a

## [2.29.0] - 2022-03-28

- Fixed upload of RPMs with versionless dependencies via fake client
- Fixed `repr` for `RpmDependency`
- Added fields to repository model: `arch`, `platform_full_version`, `product_versions`
- Added `update_repository` method to update a repository's mutable fields
- Added `CopyOptions` for `copy_content` method

## [2.28.1] - 2022-03-16

- Fixed a deprecation warning logged during upload of comps.xml.
Expand Down Expand Up @@ -375,7 +383,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- Initial release to PyPI

[Unreleased]: https://github.com/release-engineering/pubtools-pulplib/compare/v2.28.1...HEAD
[Unreleased]: https://github.com/release-engineering/pubtools-pulplib/compare/v2.29.0...HEAD
[2.29.0]: https://github.com/release-engineering/pubtools-pulplib/compare/v2.28.1...v2.29.0
[2.28.1]: https://github.com/release-engineering/pubtools-pulplib/compare/v2.28.0...v2.28.1
[2.28.0]: https://github.com/release-engineering/pubtools-pulplib/compare/v2.27.0...v2.28.0
[2.27.0]: https://github.com/release-engineering/pubtools-pulplib/compare/v2.26.1...v2.27.0
Expand Down
4 changes: 2 additions & 2 deletions pubtools/pulplib/_impl/client/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ def copy_content(
.. versionadded:: 2.17.0
.. versionadded:: 2.30.0
.. versionadded:: 2.29.0
Added the ``options`` argument.
"""

Expand Down Expand Up @@ -415,7 +415,7 @@ def update_repository(self, repository):
A future which is resolved with a value of ``None`` once the
repository has been updated.
.. versionadded:: 2.30.0
.. versionadded:: 2.29.0
"""

url = os.path.join(self._url, "pulp/api/v2/repositories/%s/" % repository.id)
Expand Down
6 changes: 3 additions & 3 deletions pubtools/pulplib/_impl/model/repository/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ class Repository(PulpObject, Deletable):
arch = pulp_attrib(default=None, type=str, pulp_field="notes.arch")
"""The primary architecture of content within this repository (e.g. 'x86_64').
.. versionadded:: 2.30.0
.. versionadded:: 2.29.0
"""

platform_full_version = pulp_attrib(
Expand All @@ -280,7 +280,7 @@ class Repository(PulpObject, Deletable):
Due to the unclear meaning of this field, it's strongly recommended to avoid
making use of it in any new code.
.. versionadded:: 2.30.0
.. versionadded:: 2.29.0
"""

product_versions = pulp_attrib(
Expand All @@ -300,7 +300,7 @@ class Repository(PulpObject, Deletable):
This field is **mutable** and may be set by :meth:`~Client.update_repository`.
.. versionadded:: 2.30.0
.. versionadded:: 2.29.0
"""

@distributors.validator
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def get_requirements():

setup(
name="pubtools-pulplib",
version="2.30.0",
version="2.29.0",
packages=find_packages(exclude=["tests"]),
package_data={"pubtools.pulplib._impl.schema": ["*.yaml"]},
url="https://github.com/release-engineering/pubtools-pulplib",
Expand Down

0 comments on commit 87db1c6

Please sign in to comment.