Project

General

Profile

Actions

Feature #30003

closed

As a user, i can export a content view version and only get the ‘diff’ of the content view version (incremental export).

Added by Partha Aji over 4 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Inter Server Sync
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

As a user, i can export a content view version and only get the ‘diff’ of the content view version (incremental export).

hammer content-view export  --name=foo --version=2.0   --disconnected-server-name=disconnected.example.com  --from-history-event=1 --incremental

  • Pre Checks - Incremental can happen only if
    • If all the repositories from the previous version can be incrementally exported.
    • Filtered to Filtered and Non Filtered to filtered.
  • Identify the exporter associated to the version in the from-history-event value.
  • Ask pulp to generate an incremental export for the exporter
  • Pulp exports the repository versions to a file
CLI also generates a metadata json file containing the following information
  • CV Name,
  • Version
  • Repositories belonging to this version
  • Names and Checksums of the exported files

Make an entry in the ContentViewExportHistory along the lines of

ID  |   server name  |  content view  | version |   Date | Description
========================================================
2   |  disconnected.example.com || foo  | 2.0   | 01/01/2020  |    None

  • Verify the full export
  • Verify filtered non composite
  • Verify composite

Related issues 1 (0 open1 closed)

Blocks Katello - Tracker #29977: Import/Export StoriesResolved

Actions
Actions

Also available in: Atom PDF