Package pulp :: Package server :: Module updateinfo
[hide private]
[frames] | no frames]

Module updateinfo

source code

Functions [hide private]
 
get_update_notices(path_to_updateinfo)
path_to_updateinfo: path to updateinfo.xml
source code
 
get_errata(path_to_updateinfo) source code
 
_translate_updatenotice_to_erratum(unotice) source code
Variables [hide private]
  log = logging.getLogger(__name__)
Function Details [hide private]

get_update_notices(path_to_updateinfo)

source code 

path_to_updateinfo: path to updateinfo.xml

Returns a list of dictionaries Dictionary is based on keys from yum.update_md.UpdateNotice

get_errata(path_to_updateinfo)

source code 
Parameters:
  • path_to_updateinfo - path to updateinfo metadata xml file

    Returns a list of pulp.model.Errata objects Parses updateinfo xml file and converts yum.update_md.UpdateNotice objects to pulp.model.Errata objects