Package yum :: Module update_md :: Class UpdateMetadata
[hide private]
[frames] | no frames]

Class UpdateMetadata

source code


The root update metadata object.

Instance Methods [hide private]
 
__init__(self, repos=[])
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
get_notices(self, name=None)
Return all notices.
source code
 
get_notice(self, nvr)
Retrieve an update notice for a given (name, version, release) string or tuple.
source code
 
get_applicable_notices(self, pkgtup)
Retrieve any update notices which are newer than a given std.
source code
 
add_notice(self, un)
Add an UpdateNotice object.
source code
 
add(self, obj, mdtype='updateinfo')
Parse a metadata from a given YumRepository, file, or filename.
source code
 
__unicode__(self) source code
 
__str__(self)
str(x)
source code
 
xml(self, fileobj=None) source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __subclasshook__

Properties [hide private]
  notices
Return all notices.

Inherited from object: __class__

Method Details [hide private]

__init__(self, repos=[])
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

get_applicable_notices(self, pkgtup)

source code 

Retrieve any update notices which are newer than a given std. pkgtup (name, arch, epoch, version, release) tuple.

add_notice(self, un)

source code 

Add an UpdateNotice object. This should be fully populated with data, esp. update_id and pkglist/packages.

__str__(self)
(Informal representation operator)

source code 

str(x)

Overrides: object.__str__
(inherited documentation)

Property Details [hide private]

notices

Return all notices.

Get Method:
get_notices(self, name=None) - Return all notices.