From a49db7757e2d2902989dc0601eda93557d1ee55c Mon Sep 17 00:00:00 2001 From: Sam Thursfield Date: Tue, 6 Nov 2012 15:26:11 +0000 Subject: Add docstrings for some build functions --- morphlib/plugins/branch_and_merge_plugin.py | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'morphlib/plugins') 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)) -- cgit v1.2.1