Feature #35948
closedNeed incremental export for syncable format
Description
Description of problem:
As of today we only have support for complete exports in a syncable format. Need ability to incrementally export in the syncable format.
1. hammer content-export incremental <library, repository, version> -h
The --format option is not present.
Actual results:
Usage:
hammer content-export incremental version [OPTIONS]
Options:
--async Do not wait for the task
--chunk-size-gb NUMBER Split the exported content into archives no greater than the specified size in
gigabytes.
--content-view[-id] VALUE/NUMBER Name/Id of associated content view
--destination-server VALUE Destination Server name
--fail-on-missing-content Fails if any of the repositories belonging to this version are unexportable.
--from-history-id NUMBER Export history id used for incremental export. If not provided the most recent
export history will be used.
--id NUMBER Content view version id
--lifecycle-environment[-id] VALUE/NUMBER Name/Id of associated lifecycle environment
--organization[-id|-title|-label] VALUE/NUMBER Name/Title/Label/Id of associated organization
--version VALUE Filter versions by version number.
-h, --help Print help
Expected results:
Usage:
hammer content-export incremental version [OPTIONS]
Options:
--async Do not wait for the task
--chunk-size-gb NUMBER Split the exported content into archives no greater than the specified size in
gigabytes.
--content-view[-id] VALUE/NUMBER Name/Id of associated content view
--destination-server VALUE Destination Server name
--fail-on-missing-content Fails if any of the repositories belonging to this version are unexportable.
--format ENUM Export formats. Choose syncable if content is to be imported via repository
sync. Choose importable if content is to be imported via hammer content-import.
--from-history-id NUMBER Export history id used for incremental export. If not provided the most recent
export history will be used.
--id NUMBER Content view version id
--lifecycle-environment[-id] VALUE/NUMBER Name/Id of associated lifecycle environment
--organization[-id|-title|-label] VALUE/NUMBER Name/Title/Label/Id of associated organization
--version VALUE Filter versions by version number.
-h, --help Print help
Additional info:
Also, when a library export is performed, a sort of Content View is created...but it doesn't appear under the Content View list.
Updated by Partha Aji almost 2 years ago
Also note this issue needs to resolved in parallel to https://github.com/pulp/pulpcore/pull/3511
Updated by The Foreman Bot almost 2 years ago
- Status changed from New to Ready For Testing
- Assignee set to Partha Aji
- Pull request https://github.com/Katello/katello/pull/10417 added
Updated by Jeremy Lenz almost 2 years ago
- Target version set to Katello 4.8.0
- Triaged changed from No to Yes
Updated by Chris Roberts almost 2 years ago
- Difficulty set to hard
- Triaged changed from No to Yes
Updated by The Foreman Bot almost 2 years ago
- Fixed in Releases Katello 4.8.0 added
Updated by Partha Aji almost 2 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset katello|3dd58df7579341b0b1dba7017b2e7086cd6477bd.