summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Ipsum <richard.ipsum@codethink.co.uk>2015-11-22 14:43:43 +0000
committerRichard Ipsum <richard.ipsum@codethink.co.uk>2015-11-22 14:43:43 +0000
commitc9237342cd3f98698522020eb946912a38230081 (patch)
tree8f9fc3151e4c5e4bfdbc71018a67d36af0a7f2f4
parent36b312b50a272daac9b2906f7af85b26dcc11608 (diff)
downloadmorph-c9237342cd3f98698522020eb946912a38230081.tar.gz
yarns: remove unused morph status implementations
Change-Id: Ie190d444346448f928a1bb6aaf0863f2fd4521b8
-rw-r--r--yarns/implementations.yarn43
1 files changed, 0 insertions, 43 deletions
diff --git a/yarns/implementations.yarn b/yarns/implementations.yarn
index ea0ae2c8..72e73ae3 100644
--- a/yarns/implementations.yarn
+++ b/yarns/implementations.yarn
@@ -542,49 +542,6 @@ print-architecture` to get a value appropriate for morph.
EOF
git checkout -
-Reporting status of checked out repositories:
-
- IMPLEMENTS THEN morph reports no outstanding changes in (\S+)
- cd "$DATADIR/workspace/$MATCH_1"
- run_morph status > "$DATADIR/morph.stdout"
- grep '^No repos have outstanding changes.' "$DATADIR/morph.stdout"
-
- IMPLEMENTS THEN morph reports changes in (\S+) in (\S+) only
- cd "$DATADIR/workspace/$MATCH_1"
- run_morph status > "$DATADIR/morph.stdout"
-
- # morph status is expected to produce records like this:
- # On branch GITBRANCH, root baserock:baserock/morphs
- # GITREPO: uncommitted changes
- # We check thet GITREPO matches $MATCH_2.
-
- awk '/: uncommitted changes$/ { print substr($1,1,length($1)-1) }' \
- "$DATADIR/morph.stdout" > "$DATADIR/changed.actual"
- echo "$MATCH_2" > "$DATADIR/changed.wanted"
- diff -u "$DATADIR/changed.wanted" "$DATADIR/changed.actual"
-
- IMPLEMENTS THEN morph reports changes in (\S+) in (\S+) and (\S+)
- cd "$DATADIR/workspace/$MATCH_1"
- run_morph status > "$DATADIR/morph.stdout"
- echo "status morph.stdout:"
- cat "$DATADIR/morph.stdout"
- awk '/: uncommitted changes$/ { print substr($1,1,length($1)-1) }' \
- "$DATADIR/morph.stdout" | sort > "$DATADIR/changed.actual"
- (echo "$MATCH_2"; echo "$MATCH_3") | sort > "$DATADIR/changed.wanted"
- diff -u "$DATADIR/changed.wanted" "$DATADIR/changed.actual"
-
- IMPLEMENTS WHEN creating file (\S+) in (\S+) in branch (\S+)
- touch "$DATADIR/workspace/$MATCH_3/$MATCH_2/$MATCH_1"
-
- IMPLEMENTS WHEN adding file (\S+) in (\S+) in branch (\S+) to git
- chunkdir="$(slashify_colons "$MATCH_2")"
- cd "$DATADIR/workspace/$MATCH_3/$chunkdir"
- git add "$MATCH_1"
-
- IMPLEMENTS WHEN committing changes in (\S+) in branch (\S+)
- cd "$DATADIR/workspace/$MATCH_2/$(slashify_colons "$MATCH_1")"
- git commit -a -m test-commit
-
Generating a manifest.
IMPLEMENTS GIVEN a system artifact