diff options
author | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2012-11-06 15:26:11 +0000 |
---|---|---|
committer | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2012-11-12 12:24:45 +0000 |
commit | a49db7757e2d2902989dc0601eda93557d1ee55c (patch) | |
tree | 4efaf4eedeb2c13a601dde282ccbf9eac9ff2fdd /morphlib/plugins/branch_and_merge_plugin.py | |
parent | eeb6c8bde8112dd760853a0f35d6d0d7d9676fa7 (diff) | |
download | morph-a49db7757e2d2902989dc0601eda93557d1ee55c.tar.gz |
Add docstrings for some build functions
Diffstat (limited to 'morphlib/plugins/branch_and_merge_plugin.py')
-rw-r--r-- | morphlib/plugins/branch_and_merge_plugin.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/morphlib/plugins/branch_and_merge_plugin.py b/morphlib/plugins/branch_and_merge_plugin.py index 332cdfe9..97f49eb4 100644 --- a/morphlib/plugins/branch_and_merge_plugin.py +++ b/morphlib/plugins/branch_and_merge_plugin.py @@ -1163,6 +1163,13 @@ class BranchAndMergePlugin(cliapp.Plugin): def get_system_build_repos(self, system_branch, branch_dir, branch_root, system_name): + '''Map upstream repository URLs to their checkouts in the system branch + + Also provides the list of morphologies stored in each repository, + grouped by kind. + + ''' + build_repos = {} def prepare_repo_info(repo, dirname): @@ -1231,6 +1238,8 @@ class BranchAndMergePlugin(cliapp.Plugin): info['build-ref'] = build_ref def update_build_refs(self, build_repos, system_branch, build_uuid): + '''Update build branches for each repository with any local changes ''' + # Define the committer. committer_name = 'Morph (on behalf of %s)' % \ (morphlib.git.get_user_name(self.app.runcmd)) |