Starting with the next pulpcore-plugin beta (0.1.0b5) the Plugin API will offer DeclarativeVersion to plugin writers. It's designed to make writing high performing sync code as easy as possible.
Here are the docs [0]. See the pulp_file code using it [1]. Please file any issues you encounter, or feel free to reach out on irc or via the mailing list. Thanks to @gmbnomis for providing the original prototype and additional input, to @jortel for so much review and contribution, and to @dalley and @dkliban for their testing support. [0]: https://docs.pulpproject.org/en/3.0/nightly/plugins/plugin-a pi/stages.html#declarativeversion [1]: https://github.com/pulp/pulp_file/blob/master/pulp_file/app/ tasks/synchronizing.py#L19-L78 -Brian
_______________________________________________ Pulp-dev mailing list Pulp-dev@redhat.com https://www.redhat.com/mailman/listinfo/pulp-dev