Pulp-deb

Latest version: v3.4.0

Safety actively analyzes 675388 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 11

3.1.0

Features

- Add support for handling source packages.
[409](https://github.com/pulp/pulp_deb/issues/409)
- Added an option to publish by-hash/ files to mitigate the Hash Sum Mismatch error in debian repos as specified here: <https://wiki.debian.org/DebianRepository/Format#indices_acquisition_via_hashsums_.28by-hash.29>.
Use the APT_BY_HASH setting to enable this feature.
[795](https://github.com/pulp/pulp_deb/issues/795)
- Fixed the `create_repositories=True` parameter for importing content.
[872](https://github.com/pulp/pulp_deb/issues/872)
- Add additional package name filters such as `name__contains` and `name__startswith`.
Check the REST docs for a complete list.
[909](https://github.com/pulp/pulp_deb/issues/909)
- Added extra filters linking SourcePackages to Releases and ReleaseComponents.
[926](https://github.com/pulp/pulp_deb/issues/926)
- Made the plugin compatible with pulpcore 3.40.1+.
[928](https://github.com/pulp/pulp_deb/issues/928)

Bugfixes

- Improved the performance of structured `/pulp/api/v3/deb/copy/` actions.
[870](https://github.com/pulp/pulp_deb/issues/870)
- Optimize mode can now take effect, when switching from mirrored to not mirrored mode between syncs.
[903](https://github.com/pulp/pulp_deb/issues/903)

---

3.0.2

Bugfixes

- Fixed DEBUG logging of prohibited duplicate packages.
[994](https://github.com/pulp/pulp_deb/issues/994)
- Suppressed deb822's confusing log warning about python-apt not being installed.
[1019](https://github.com/pulp/pulp_deb/issues/1019)

---

3.0.1

Features

- Fixed the `create_repositories=True` parameter for importing content.
[872](https://github.com/pulp/pulp_deb/issues/872)

Bugfixes

- Improved the performance of structured `/pulp/api/v3/deb/copy/` actions.
[870](https://github.com/pulp/pulp_deb/issues/870)
- Optimize mode can now take effect, when switching from mirrored to not mirrored mode between syncs.
[903](https://github.com/pulp/pulp_deb/issues/903)
- Fixed repo uniqueness constraints.
Duplicate packages with identical checksums are now allowed.
In addition, duplicates are now also handled for the set of incoming content.
[921](https://github.com/pulp/pulp_deb/issues/921)
- Fixed a bug where pulp_deb was serving unpublished content when distributing a repository that has content but no publications.
[976](https://github.com/pulp/pulp_deb/issues/976)

Misc

- Added tests that verify the download of content served by `pulp_deb`.
[919](https://github.com/pulp/pulp_deb/issues/919)

---

3.0.0

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](https://github.com/pulp/pulp_deb/issues/449)
- Specify and remember the Signing Services we want to use for each Repo / Release.
[641](https://github.com/pulp/pulp_deb/issues/641)
- Added API filters to limit results by related pulp_deb content types.
[646](https://github.com/pulp/pulp_deb/issues/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](https://github.com/pulp/pulp_deb/issues/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](https://github.com/pulp/pulp_deb/issues/777)
- Fixed an async error preventing synchronization with `sync_installer` set to `True`.
[797](https://github.com/pulp/pulp_deb/issues/797)
- Fixed content creating code triggered in rare edge cases when unapplying DB migration 0021.
[806](https://github.com/pulp/pulp_deb/issues/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](https://github.com/pulp/pulp_deb/issues/807)

Improved Documentation

- Added `pulp-cli-deb` installation instructions.
[598](https://github.com/pulp/pulp_deb/issues/598)
- Replaced references to the Pulp Ansible installer with references to the Pulp OCI images.
[779](https://github.com/pulp/pulp_deb/issues/779)
- Added workflow documentation for creating and using signing services.
[867](https://github.com/pulp/pulp_deb/issues/867)
- Completely reworked the "Feature Overview" and "Workflows" docs with an emphasise on Pulp CLI and structured content.
[886](https://github.com/pulp/pulp_deb/issues/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](https://github.com/pulp/pulp_deb/issues/449)
- The codename and suite fields are removed from the ReleaseComponent and ReleaseArchitecture models and all associated filters and viewsets.
[599](https://github.com/pulp/pulp_deb/issues/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](https://github.com/pulp/pulp_deb/issues/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](https://github.com/pulp/pulp_deb/issues/599)
- Added test cases for advanced copy task.
[758](https://github.com/pulp/pulp_deb/issues/758)
- Add tests for content filters, and make filters return empty list if Content not in RepoVersion instead of raising ValidationError.
[780](https://github.com/pulp/pulp_deb/issues/780)
- Added better scoping for the pytest fixtures.
[790](https://github.com/pulp/pulp_deb/issues/790)
- Removed the `pulp-smash` test dependency.
[796](https://github.com/pulp/pulp_deb/issues/796)
- Converted the publish tests to use the pytest framework.
[828](https://github.com/pulp/pulp_deb/issues/828)
- Converted the import/export tests to use the pytest framework.
[846](https://github.com/pulp/pulp_deb/issues/846)

---

2.21.2

Bugfixes

- Fixed advanced copy due to pulpcore deprecations.
[869](https://github.com/pulp/pulp_deb/issues/869)

Misc

- Fixed the deb/copy/ API path for scenarios that modify the API root.
[879](https://github.com/pulp/pulp_deb/issues/879)

---

2.21.1

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](https://github.com/pulp/pulp_deb/issues/777)
- Fixed an async error preventing synchronization with `sync_installer` set to `True`.
[797](https://github.com/pulp/pulp_deb/issues/797)
- Fixed content creating code triggered in rare edge cases when unapplying DB migration 0021.
[806](https://github.com/pulp/pulp_deb/issues/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](https://github.com/pulp/pulp_deb/issues/807)

---

Page 2 of 11

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.