[Pulp-list] pulpcore 3.4.0 and pulp_file 1.0.0 are Generally Available

Dennis Kliban dkliban at redhat.com
Thu May 28 12:56:24 UTC 2020


Pulpcore 3.4.0[0] and pulp_file 1.0.0 [1] have been released. For a list of
changes, please check the changelogs for pulpcore[2] and pulp_file[3].

It should be noted that this release removes SecretCharFields and therefore
until Role-Based Access Control is added to Pulp, REST API is not safe for
multi-user use. Sensitive credentials can be read by any user, e.g.
Remote.password, Remote.client_key.

Here are some of the other highlights:

* Implemented incremental-exporting for PulpExport. #6136
* Added support for S3 and other non-filesystem storage options to pulp
import/export functionality. #6456
* Optimized imports by having repository versions processed using child
tasks. #6484
* Added repository type check during Pulp imports. #6532
* Added version checking to import process. #6558
* Taught PulpExport to export by RepositoryVersions if specified. #6566
* Task groups now have an ‘all_tasks_dispatched’ field which denotes that
no more tasks will spawn as part of this group. #6591
* Taught export how to split export-file into chunk_size bytes. #6736

The only backwards incompatible change is the one mentioned in the notice
above:

* Content of ssl certificates and keys changed to be return their full
value instead of sha256 through REST API. #6691

# Installation and Upgrade

Users should use the 3.4.0 release of pulp_installer (previously known as
ansible-pulp) [5] to install or upgrade their installations. This version
of the installer will check compatibility of all installed plugins with
pulpcore 3.4. The installer will abort if any plugin is incompatible.

# Plugin API

Plugin writers can see the plugin API changes here[4]. Some highlights:

* Added new NoArtifactContentUploadSerializer and
NoArtifactContentUploadViewSet to enable plugin writers to upload content
without storing an Artifact #6281
* Added view_name_pattern to DetailRelatedField and DetailIdentityField to
properly identify wrong resource types. #6521
* Added support for Distributions to provide non-Artifact content via a
content_handler. #6570
* Added constants to the plugin API at pulpcore.plugin.constants. #6579
* TaskGroups now have an ‘all_tasks_dispatched’ field that can be used to
notify systems that no further tasks will be dispatched for a TaskGroup.
Plugin writers should call “.finish()” on all TaskGroups created once they
are done using them to set this field. #6591

And in keeping with the recommended strategy to pin plugins to a 3.y
version of pulpcore, plugins should release compatibility releases with 3.4
as soon as they can. We recommend using "pulpcore>=3.4,<3.5".

[0] https://pypi.org/project/pulpcore/3.4.0/
[1] https://pypi.org/project/pulp-file/1.0.0/
[2] https://docs.pulpproject.org/en/3.4/changes.html#id1
[3] https://pulp-file.readthedocs.io/en/latest/changes.html#id1
[4] https://docs.pulpproject.org/en/3.4/changes.html#plugin-api
[5] https://github.com/pulp/pulp_installer/releases/tag/3.4.0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/pulp-list/attachments/20200528/ae3c3820/attachment.htm>


More information about the Pulp-list mailing list