Package backend :: Package server :: Package repomd :: Module repository :: Class Repository
[hide private]
[frames] | no frames]

Class Repository

source code


Representation of RHN channels as repository metadata.

This class can generate primary.xml, filelists.xml, and other.xml

Instance Methods [hide private]
 
__init__(self, channel)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
get_primary_xml_file(self)
Return a file-like object of the primarl.xml for this channel.
source code
 
get_other_xml_file(self)
Return a file-like object of the other.xml for this channel.
source code
 
get_filelists_xml_file(self)
Return a file-like object of the filelists.xml for this channel.
source code
 
get_updateinfo_xml_file(self)
Return a file-like object of the updateinfo.xml for the channel.
source code
 
get_cache_entry_name(self, cache_prefix) source code
 
get_cache_file(self, cache_prefix) source code
 
get_cache_view(self, cache_prefix, view_class) source code
 
get_primary_cache(self) source code
 
get_other_cache(self) source code
 
get_filelists_cache(self) source code
 
get_primary_view(self) source code
 
get_other_view(self) source code
 
get_filelists_view(self) source code
 
get_repomd_file(self, repomd_obj, func_name)
Return a file-like object of the comps.xml/modules.yaml for the channel.
source code
 
get_comps_file(self) source code
 
get_modules_file(self) source code
 
generate_files(self, views) source code
 
__get_channel(self)
Late binding for the channel.
source code

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

Properties [hide private]
  channel
Late binding for the channel.

Inherited from object: __class__

Method Details [hide private]

__init__(self, channel)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

Property Details [hide private]

channel

Late binding for the channel.

Get Method:
__get_channel(self) - Late binding for the channel.