summaryrefslogtreecommitdiff
path: root/morphlib/exts
diff options
context:
space:
mode:
authorSam Thursfield <sam.thursfield@codethink.co.uk>2014-02-17 16:12:44 +0000
committerSam Thursfield <sam.thursfield@codethink.co.uk>2014-03-04 14:47:24 +0000
commit9c20ef29b11f6e1d52a29bcab8d3ea8fcdbcacc4 (patch)
tree276f63e2c215c1e0004b1ef188f4cb7fbf94d20c /morphlib/exts
parent9b9a6151aa262f748a286f72819242c2a118a7f9 (diff)
downloadmorph-9c20ef29b11f6e1d52a29bcab8d3ea8fcdbcacc4.tar.gz
deploy: Add optional 'check' extensions
A write extension will have various kinds of sanity checks to do before actually performing the write. The current architecture of 'morph deploy' means that several minutes pass between the user starting the command and the write extension actually executing. It would be rage-inducing watching `morph deploy` spend 3 minutes unpacking a system only to then abort due to a silly error such as forgetting the --upgrade switch. Therefore it's better for now to split the sanity checks out into separate extensions that can be run as soon as possible and abort if the write extension is not going to be able to operate. For now this will just be used to validate usage of the --upgrade flag but in future checking connectivity to remote servers and the like should be done here too.
Diffstat (limited to 'morphlib/exts')
0 files changed, 0 insertions, 0 deletions