summaryrefslogtreecommitdiff
path: root/morphlib/artifact.py
diff options
context:
space:
mode:
authorRichard Maw <richard.maw@codethink.co.uk>2012-04-20 17:18:05 +0000
committerRichard Maw <richard.maw@codethink.co.uk>2012-04-20 17:18:05 +0000
commit44764506c64ec132e593e5a0b060361c21107cb2 (patch)
tree51c8850097625daa9a5624f51b279fb00d5dbe42 /morphlib/artifact.py
parent8d740a4bdd34f095e530c17ef5eb3f182fb566a7 (diff)
downloadmorph-44764506c64ec132e593e5a0b060361c21107cb2.tar.gz
morph: add cache id to the meta files
This is probably excessively large right now
Diffstat (limited to 'morphlib/artifact.py')
-rw-r--r--morphlib/artifact.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/morphlib/artifact.py b/morphlib/artifact.py
index cea2f2f3..9be47d48 100644
--- a/morphlib/artifact.py
+++ b/morphlib/artifact.py
@@ -23,6 +23,7 @@ class Artifact(object):
* ``source`` -- the source from which the artifact is built
* ``name`` -- the name of the artifact
* ``cache_key`` -- a cache key to uniquely identify the artifact
+ * ``cache_id`` -- a dict describing the components of the cache key
* ``dependencies`` -- list of Artifacts that need to be built beforehand
* ``dependents`` -- list of Artifacts that need this Artifact to be built
@@ -34,6 +35,7 @@ class Artifact(object):
def __init__(self, source, name):
self.source = source
self.name = name
+ self.cache_id = None
self.cache_key = None
self.dependencies = []
self.dependents = []