From 84e90eee377fde3d6a901db0b38d9d39e1b5399d Mon Sep 17 00:00:00 2001 From: Richard Ipsum Date: Tue, 16 Jun 2015 20:29:57 +0100 Subject: Make anchor yarn use defsrepo instead of workspace Change-Id: Icec7e948c60decefe5a8bab6141bc89603c265b7 --- yarns/implementations.yarn | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'yarns/implementations.yarn') diff --git a/yarns/implementations.yarn b/yarns/implementations.yarn index ae9c2fae..4feb8f4b 100644 --- a/yarns/implementations.yarn +++ b/yarns/implementations.yarn @@ -1,6 +1,18 @@ IMPLEMENTS implementations ========================== +Implementation sections for definitions repo +--------------------------------------------- + + IMPLEMENTS GIVEN a definitions repo + git clone "$(cat $DATADIR/definitions-repo-url)" "$DATADIR/definitions" + + IMPLEMENTS WHEN the user creates a new definitions branch (\S+), based on (\S+) + run_in "$DATADIR/definitions" git branch "$MATCH_1" "$MATCH_2" + + IMPLEMENTS WHEN the user checks out definitions branch (\S+) + run_in "$DATADIR/definitions" git checkout "$MATCH_1" + Implementation sections for workspaces -------------------------------------- @@ -404,6 +416,8 @@ another to hold a chunk. --enable=receive-pack #allow push GIT_DAEMON_PORT="$(cat "$port_file")" + echo "git://127.0.0.1:$GIT_DAEMON_PORT/morphs" > "$DATADIR/definitions-repo-url" + # Create the Morph configuration file so we can access the repos # using test:foo URL aliases. -- cgit v1.2.1