high-level sychronization/import class NOTE: there should *ONLY* be
one instance of this.
|
__init__(self,
channels,
listChannelsYN,
check_rpms,
forceAllErrata=False)
Base initialization. |
source code
|
|
|
initialize(self)
Initialization that requires IO, etc. |
source code
|
|
|
|
|
_process_simple(self,
remote_function_name,
step_name)
Wrapper function that can process metadata that is relatively simple. |
source code
|
|
|
|
|
|
|
|
|
_write_repomd(self,
repomd_path,
getRepomdFunc,
repomdFileStreamFunc,
label,
timestamp) |
source code
|
|
|
_process_comps(self,
backend,
label,
timestamp) |
source code
|
|
|
_process_modules(self,
backend,
label,
timestamp) |
source code
|
|
|
|
|
_printChannel(self,
label,
channel_object,
log_format,
is_imported) |
source code
|
|
|
_printChannelTree(self,
doEOSYN=1,
doTyposYN=1)
pretty prints a tree of channel information |
source code
|
|
|
|
|
|
|
_compute_unique_packages(self)
process package metadata for one channel at a time |
source code
|
|
|
|
|
_diff_packages_process(self,
chunk,
channel_label) |
source code
|
|
|
|
|
|
|
_process_package(self,
package_id,
package,
l_timestamp,
row,
m_channel_packages,
m_fs_packages,
check_rpms=1) |
source code
|
|
|
|
|
|
|
|
|
|
|
_compute_unique_source_packages(self)
process package metadata for one channel at a time |
source code
|
|
|
|
|
_diff_source_packages_process(self,
chunk,
channel_label) |
source code
|
|
|
|
|
|
|
_compute_unique_kickstarts(self)
process package metadata for one channel at a time |
source code
|
|
|
_compute_missing_kickstarts(self)
process package metadata for one channel at a time |
source code
|
|
|
_download_kickstarts_file(self,
chunk,
channel_label) |
source code
|
|
|
download_kickstarts(self)
Downloads all the kickstart-related information |
source code
|
|
|
_get_ks_file_stream(self,
channel,
kstree_label,
relative_path) |
source code
|
|
|
|
|
import_kickstarts(self)
Imports the kickstart-related information |
source code
|
|
|
|
|
|
|
_diff_errata(self)
Fetch the errata for this channel |
source code
|
|
|
_diff_db_errata(self)
Compute errata that are missing from the satellite Kind of similar to
diff_errata, if we had the timestamp and advisory information
available |
source code
|
|
|
|
|
_processWithProgressBar(self,
batch,
size,
process_function,
prompt=u' Downloading: ' ,
nevermorethan=None,
process_function_args=( ) ) |
source code
|
|
|
_process_batch(self,
channel,
batch,
log_msg,
process_function,
prompt=u' Downloading: ' ,
process_function_args=( ) ,
nevermorethan=None,
is_slow=False) |
source code
|
|
|
_import_packages_process(self,
chunk,
sources) |
source code
|
|
|
|
|
|
|
|
|
_fetch_packages(self,
channel,
missing_fs_packages,
sources=0) |
source code
|
|
|
_get_package_stream(self,
channel,
package_id,
nvrea,
sources)
returns (filepath, stream), so in the case of a "wire
source", the return value is, of course, (None, stream) |
source code
|
|