summaryrefslogtreecommitdiff
path: root/yarns/implementations.yarn
diff options
context:
space:
mode:
authorRichard Maw <richard.maw@codethink.co.uk>2014-06-18 17:12:10 +0000
committerRichard Maw <richard.maw@codethink.co.uk>2014-07-07 12:30:16 +0000
commit956f5204ec7f69db8a276a4e10313fd282a235a6 (patch)
tree226f1b0a39e73f9b2e31a68a2b76c361593cb721 /yarns/implementations.yarn
parentd2a58462e6b2ffab0d636b1575c46a58099a82b7 (diff)
downloadmorph-956f5204ec7f69db8a276a4e10313fd282a235a6.tar.gz
Exorcise some old and unused commands
`morph merge` only worked for a small subset of cases, and has been left to bit-rot, since we don't use it. `morph tag` is just a `git tag` when we have petrified definitions repository. We don't use it, nor do we need it, so it can go away rather than take up valuable development time fixing it when requirements change. `old-foo` have all been superceded by newer versions and are no-longer used.
Diffstat (limited to 'yarns/implementations.yarn')
-rw-r--r--yarns/implementations.yarn32
1 files changed, 0 insertions, 32 deletions
diff --git a/yarns/implementations.yarn b/yarns/implementations.yarn
index b5b6a253..b3e3ae79 100644
--- a/yarns/implementations.yarn
+++ b/yarns/implementations.yarn
@@ -553,38 +553,6 @@ Petrification and unpetrification:
cd "$DATADIR/workspace/$MATCH_1/test/morphs"
assert_morphologies_are_petrified "$MATCH_1" *.morph
- IMPLEMENTS THEN (\S+) is not petrified
- cd "$DATADIR/workspace/$MATCH_1/test/morphs"
- ! assert_morphologies_are_petrified "$MATCH_1" *.morph
-
-Tagging.
-
- IMPLEMENTS WHEN the user tags the system branch called (\S+) as (\S+)
- cd "$DATADIR/workspace/$MATCH_1/test/morphs"
- set tag "$MATCH_2" -- -m "testing morph tagging"
- run_morph tag "$MATCH_2" -- -m "testing morph tagging"
-
- IMPLEMENTS WHEN the user attempts to tag the system branch called (\S+) as (\S+)
- cd "$DATADIR/workspace/$MATCH_1/test/morphs"
- attempt_morph tag "$MATCH_2" -- -m "testing morph tagging"
-
- IMPLEMENTS THEN morph tag (\S+) in (\S+) is an annotated git tag
- cd "$DATADIR/workspace/$MATCH_2/test/morphs"
- if git show "$MATCH_1" | head -n1 | grep -v '^tag '
- then
- die "git tag $MATCH_1 is not an annotated tag"
- fi
-
- IMPLEMENTS THEN morph tag (\S+) in (\S+) refers to a petrified commit
- cd "$DATADIR/workspace/$MATCH_2/test/morphs"
- git ls-tree "$MATCH_1" |
- awk '$NF ~ /\.morph$/ { print $NF }' |
- while read x
- do
- git cat-file blob "$MATCH_1:$x" > temptemptemp
- assert_morphologies_are_petrified "$MATCH_1" temptemptemp
- done
-
Generating a manifest.
IMPLEMENTS GIVEN a system artifact