Project

General

Profile

Bug #25272

allow import and export of composite content views

Added by Chris Duryee 10 months ago. Updated 10 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Hammer
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

If you attempt to export a composite CV right now, it will export as a "regular" cv. This is incorrect.

Instead, it should export with the information needed to reconstitute the composite CV on the importing side. CV version import should be able to handle composite imports as well.

Associated revisions

Revision db3146ea (diff)
Added by Chris Duryee 10 months ago

Fixes #25272 - add support for composite CV import/export (#600)

Previously, CV import/export would treat composites as "regular"
content views. This resulted in each repo of the composite being
exported as if it was part of a regular content view.

These exports were unable to be imported since the repos existed on
the components and not the composite.

This commit exports composite content views with information needed to
reconstitute them on the importing side. Each component CV name and
version is written to the JSON, and upon import, hammer searches for
the matching name and version on the importing side. If all of the
info lines up, the components are associated with the CV and a publish
occurs.

History

#1 Updated by The Foreman Bot 10 months ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/hammer-cli-katello/pull/600 added

#2 Updated by John Mitsch 10 months ago

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

#3 Updated by Chris Duryee 10 months ago

  • Status changed from Ready For Testing to Closed

#4 Updated by Chris Duryee 10 months ago

  • Bugzilla link set to 1644823

Also available in: Atom PDF