Package rhnpush :: Module rhnpush_main
[hide private]
[frames] | no frames]

Module rhnpush_main

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)

Classes [hide private]
  UploadClass
  AuthenticationRequired
Functions [hide private]
 
main() source code
Variables [hide private]
  BUFFER_SIZE = 65536
  HEADERS_PER_CALL = 10
  DEBUG = 0
  RPMTAG_NOSOURCE = 1051
  __package__ = 'rhnpush'