From 2df1538cc3fdbfbd9a0a5a9d6d3640856ea6730c Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Thu, 7 Feb 2013 11:00:13 +0000 Subject: Describe how we re-use code from branch+merge plugin Suggested-By: Sam Thursfield --- morphlib/plugins/deploy_plugin.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'morphlib/plugins') diff --git a/morphlib/plugins/deploy_plugin.py b/morphlib/plugins/deploy_plugin.py index eff1377c..63fe647b 100644 --- a/morphlib/plugins/deploy_plugin.py +++ b/morphlib/plugins/deploy_plugin.py @@ -24,6 +24,12 @@ import urlparse import uuid import morphlib + +# UGLY HACK: We need to re-use some code from the branch and merge +# plugin, so we import and instantiate that plugin. This needs to +# be fixed by refactoring the codebase so the shared code is in +# morphlib, not in a plugin. However, this hack lets us re-use +# code without copying it. import morphlib.plugins.branch_and_merge_plugin -- cgit v1.2.1