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 about 4 years ago. Updated over 3 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 #1

Updated by Partha Aji about 4 years ago

Actions #2

Updated by Chris Roberts about 4 years ago

  • Target version set to Katello 4.0.0
  • Triaged changed from No to Yes
Actions #3

Updated by Chris Roberts almost 4 years ago

  • Target version changed from Katello 4.0.0 to Katello 3.17.0
Actions #4

Updated by Chris Roberts over 3 years ago

  • Target version changed from Katello 3.17.0 to Katello 3.18.0
Actions #5

Updated by The Foreman Bot over 3 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Partha Aji
  • Pull request https://github.com/Katello/katello/pull/8997 added
Actions #6

Updated by The Foreman Bot over 3 years ago

  • Fixed in Releases Katello 4.0.0 added
Actions #7

Updated by Partha Aji over 3 years ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF