Package proxy :: Package pm :: Module rhn_package_manager
[hide private]
[frames] | no frames]

Module rhn_package_manager

source code

Management tool for the Spacewalk Proxy.

This script performs various management operations on the Spacewalk Proxy:
- Creates the local directory structure needed to store local packages
- Uploads packages from a given directory to the RHN servers
- Optionally, once the packages are uploaded, they can be linked to (one or
  more) channels, and copied in the local directories for these channels.
- Lists the RHN server's vision on a certain channel
- Checks if the local image of the channel (the local directory) is in sync
  with the server's image, and prints the missing packages (or the extra
  ones)
- Cache any RPM content locally to avoid needing to download them. This can be
  particularly useful if bandwitdth is precious or the connection to the server
  is slow.

Classes [hide private]
  UploadClass
Functions [hide private]
 
main() source code
 
rpmPackageName(p) source code
Variables [hide private]
  PREFIX = 'rhn'