Project

General

Profile

Feature #30003

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 8 months ago. Updated 3 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Inter Server Sync
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
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

Blocks Katello - Tracker #29977: Import/Export StoriesNew

Associated revisions

Revision 254767cf (diff)
Added by Partha Aji 3 months ago

Fixes #30003 - Add pulp3 incremental export feature (#8997)

This commit adds the incremental export option to the pulp3 exporter.

Refs #30003 - Added check for bad toc

History

#1 Updated by Partha Aji 8 months ago

#2 Updated by Chris Roberts 8 months ago

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

#3 Updated by Chris Roberts 6 months ago

  • Target version changed from Katello 4.0.0 to Katello 3.17.0

#4 Updated by Chris Roberts 4 months ago

  • Target version changed from Katello 3.17.0 to Katello 3.18.0

#5 Updated by The Foreman Bot 3 months ago

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

#6 Updated by The Foreman Bot 3 months ago

  • Fixed in Releases Katello 4.0.0 added

#7 Updated by Partha Aji 3 months ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF