summaryrefslogtreecommitdiff
path: root/yarns/implementations.yarn
diff options
context:
space:
mode:
Diffstat (limited to 'yarns/implementations.yarn')
-rw-r--r--yarns/implementations.yarn14
1 files changed, 14 insertions, 0 deletions
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.