Package pulp :: Package server :: Package api :: Module repo_sync :: Class BaseSynchronizer
[hide private]
[frames] | no frames]

Class BaseSynchronizer

source code

object --+
         |
        BaseSynchronizer

Instance Methods [hide private]
 
__init__(self)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
add_packages_from_dir(self, dir, repo) source code
 
import_package(self, package, repo) source code
 
sync_groups_data(self, compsfile, repo)
Synchronizes package group/category info from a repo's group metadata Caller is responsible for saving repo to db.
source code
 
sync_updateinfo_data(self, updateinfo_xml_path, repo) source code

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

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self)
(Constructor)

source code 

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

Overrides: object.__init__
(inherited documentation)

sync_updateinfo_data(self, updateinfo_xml_path, repo)

source code 
Parameters:
  • updateinfo_xml_path - path to updateinfo metadata xml file
  • repo - model.Repo object we want to sync