summaryrefslogtreecommitdiff
path: root/yarns/9000-implements.yarn
diff options
context:
space:
mode:
Diffstat (limited to 'yarns/9000-implements.yarn')
-rw-r--r--yarns/9000-implements.yarn15
1 files changed, 15 insertions, 0 deletions
diff --git a/yarns/9000-implements.yarn b/yarns/9000-implements.yarn
index bda6d3c8..1a86fbe7 100644
--- a/yarns/9000-implements.yarn
+++ b/yarns/9000-implements.yarn
@@ -456,6 +456,21 @@ Forget a key from the user's keyring.
fingerprint="$(get_fingerprint "$MATCH_2")"
gpg --batch --delete-secret-key "$fingerprint"
+
+Lock management
+---------------
+
+We need to lock parts of the repository, and force those locks open.
+
+ IMPLEMENTS WHEN user (\S+) locks repository (\S+)
+ run_obnam "$MATCH_1" -r "$DATADIR/$MATCH_2" _lock
+
+Force it open.
+
+ IMPLEMENTS WHEN user (\S+) forces open the lock on repository (\S+)
+ run_obnam "$MATCH_1" -r "$DATADIR/$MATCH_2" force-lock
+
+
Client management
-----------------