Package backend :: Package satellite_tools :: Module reposync :: Class RepoSync
[hide private]
[frames] | no frames]

Class RepoSync

source code


Instance Methods [hide private]
 
__init__(self, channel_label, repo_type=None, url=None, fail=False, filters=None, no_errata=False, sync_kickstart=False, latest=False, metadata_only=False, strict=0, excluded_urls=None, no_packages=False, log_dir='reposync', log_level=None, debug=False, force_kickstart=False, force_all_errata=False, check_ssl_dates=False, force_null_org_content=False, show_packages_only=False)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
set_import_batch_size(self, batch_size) source code
 
set_urls_prefix(self, prefix)
If there are relative urls in DB, set their real location in runtime
source code
 
sync(self, update_repodata=True)
Trigger a reposync
source code
 
set_ks_tree_type(self, tree_type='externally-managed') source code
 
set_ks_install_type(self, install_type='generic_rpm') source code
 
update_date(self)
Updates the last sync time
source code
 
import_updates(self, plug) source code
 
copy_metadata_file(self, plug, filename, comps_type, relative_dir) source code
 
import_groups(self, plug) source code
 
import_modules(self, plug) source code
 
_populate_erratum(self, notice) source code
 
upload_updates(self, notices) source code
 
import_packages(self, plug, source_id, is_non_local_repo) source code
 
show_packages(self, plug, source_id) source code
 
match_package_checksum(self, relpath, abspath, checksum_type, checksum) source code
 
associate_package(self, pack) source code
 
disassociate_package(self, checksum_type, checksum) source code
 
disassociate_erratum(self, advisory_name) source code
 
load_channel(self) source code
 
get_errata(self, update_id) source code
 
list_update_dates(self)
List update_date for advisories in channel
source code
 
list_errata(self)
List advisory names present in channel
source code
 
import_kickstart(self, plug, repo_label, is_non_local_repo) source code

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

Static Methods [hide private]
 
load_plugin(repo_type) source code
 
_to_db_date(date) source code
 
fix_notice(notice) source code
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, channel_label, repo_type=None, url=None, fail=False, filters=None, no_errata=False, sync_kickstart=False, latest=False, metadata_only=False, strict=0, excluded_urls=None, no_packages=False, log_dir='reposync', log_level=None, debug=False, force_kickstart=False, force_all_errata=False, check_ssl_dates=False, force_null_org_content=False, show_packages_only=False)
(Constructor)

source code 

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

Overrides: object.__init__
(inherited documentation)