Red Hat Training

A Red Hat training course is available for Red Hat Satellite

10.48. Method: mergePackages

Description

Merges all packages from one channel into another.

Parameters

The following parameters are available for this method:

  • string sessionKey
  • string mergeFromLabel - The label of the channel to pull packages
  • string mergeToLabel - The label to push the packages
Returns

The following return values are available for this method:

  • array:
    • struct - package
      • string name
      • string version
      • string release
      • string epoch
      • int id
      • string arch_label
      • string path - The path on the file system the package resides
      • string provider - The provider of the package, determined by its GPG key
      • dateTime.iso8601 last_modified