Project

General

Profile

Actions

Bug #30000

closed

As a user, I can use CLI to export a unfiltered non-composite content view version to an export file with yum content.

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

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

Description

hammer content-view version export --export-dir export_directory --name=cv-foo --version=1.0 --disconnected-server-name=disconnected.example.com

Make api call to pulp (create exporter and repository versions in the cvv) * One call to create-exporter, include all repositories in the version * One call to initiate the export, including specific repository-versions if/as desired * Pulp exports each repository version to a file. Grab the filenames and checksums from the output of the export task.
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 * Rpms and errata_ids in those repositories.
Make an entry in the ContentViewExportHistory along the lines of
ID  |   server name  |  content view  | version |   Date | Description
========================================================
1   |  disconnected.example.com || foo  | 1.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