Part of lp.codehosting.codeimport.worker View In Hierarchy
As the worker doesn't talk to the database, we don't use
CodeImport
objects for this.
The 'fromArguments' method builds an instance of this class from a form of the information suitable for passing around on executables' command lines.
Instance Variables | target_id | The id of the Bazaar branch or the path of the Git repository associated with this code import, used for locating the existing import and the foreign tree. |
rcstype | 'cvs', 'git', 'bzr-svn', 'bzr' as appropriate. | |
target_rcstype | 'bzr' or 'git' as appropriate. | |
url | The branch URL if rcstype in ['bzr-svn', 'git', 'bzr'], None otherwise. | |
cvs_root | The $CVSROOT if rcstype == 'cvs', None otherwise. | |
cvs_module | The CVS module if rcstype == 'cvs', None otherwise. | |
stacked_on_url | The URL of the branch that the associated branch is stacked on, if any. | |
macaroon | A macaroon granting authority to push to the target repository if target_rcstype == 'git', None otherwise. |
Method | __init__ | Undocumented |
Class Method | fromArguments | Convert command line-style arguments to an instance. |