summaryrefslogtreecommitdiff
path: root/morphlib/__init__.py
diff options
context:
space:
mode:
authorSam Thursfield <sam.thursfield@codethink.co.uk>2015-05-01 19:14:38 +0000
committerBaserock Gerrit <gerrit@baserock.org>2015-06-16 16:02:26 +0000
commit665ea01218dcba658d95b86014c7da5dd974a8a7 (patch)
treed9e5fa8598c5e64eaf6c609a109e3b889813dcb8 /morphlib/__init__.py
parent3f030c900570392180ce9bf813e546579e908eb3 (diff)
downloadmorph-665ea01218dcba658d95b86014c7da5dd974a8a7.tar.gz
Add DefinitionsRepo class
The intention is for this class to take over the from the Workspace and SystemBranch classes. It allows Morph to load and parse definitions from a Git repo, without requiring the user to run `morph checkout` or `morph branch`: it can operate from any normal Git repository. The class behaves differently when the Git repository is inside a Morph system-branch checkout made with `morph branch` or `morph checkout`, to avoid changing things under the feet of people who are used to those commands. Change-Id: I52a898efb9f6fb7f7e94c65b9ed38516bd51f49d
Diffstat (limited to 'morphlib/__init__.py')
-rw-r--r--morphlib/__init__.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/morphlib/__init__.py b/morphlib/__init__.py
index 94b42580..551e04cb 100644
--- a/morphlib/__init__.py
+++ b/morphlib/__init__.py
@@ -60,6 +60,7 @@ import builder
import cachedrepo
import cachekeycomputer
import cmdline_parse_utils
+import definitions_repo
import extensions
import extractedtarball
import fsutils