Part of lp.codehosting.codeimport.worker View In Hierarchy
Method | _runGit | Run git with arguments, sending output to the logger. |
Method | _getHead | Get HEAD from a configured remote in a local repository. |
Method | _setHead | Set HEAD on a remote repository. |
Method | _deleteRefs | Delete all refs in repository matching pattern . |
Method | _doImport | Perform the import. |
Inherited from ImportWorker:
Method | __init__ | Construct an ImportWorker . |
Method | getWorkingDirectory | The directory we should change to and store all scratch files in. |
Method | run | Run the code import job. |
The returned ref name will be adjusted in such a way that it can be
passed to _setHead
(e.g. refs/remotes/origin/master ->
refs/heads/master).
This relies on the turnip-set-symbolic-ref extension.