summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Maw <richard.maw@gmail.com>2017-01-02 18:56:12 +0000
committerRichard Maw <richard.maw@gmail.com>2017-01-02 19:27:17 +0000
commit8afc4a51b5b355b4b0029376f27c8db5fe7840eb (patch)
tree7b8917731809c64dbcaad9fe771b796e2ecc438a
parentcb927bf5f9aebcea13f30cd2dfa781b1b8ca7cfb (diff)
downloadgitano-8afc4a51b5b355b4b0029376f27c8db5fe7840eb.tar.gz
Remove /{prefix,suffix} matches
`prefix` and `suffix` operators exist, and make this redundant.
-rw-r--r--doc/admin/000.mdwn6
-rw-r--r--lib/gitano/lace.lua4
2 files changed, 0 insertions, 10 deletions
diff --git a/doc/admin/000.mdwn b/doc/admin/000.mdwn
index 5bf9e8c..592cd9b 100644
--- a/doc/admin/000.mdwn
+++ b/doc/admin/000.mdwn
@@ -256,8 +256,6 @@ Table: Gitano predicates
`ref` the ref (branch, tag) being operated on
`user` username of user invoking gitano, or target of `as`
`repository` path of repository being operated on
-`repository/basename` the basename part of a repository
-`repository/dirname` all but the basename part of a repository
`start_tree` to do with trees and tree changes during
`target_tree` ... update hook tests, to be documented
`treediff/targets` ... later (FIXME)
@@ -270,11 +268,7 @@ Table: Gitano predicates
`as_group` groups of user invoking `as otheruser`
`targetuser` username in a user manipulation command
`targetgroup` the group in a group manipulation command
-`targetgroup/prefix` FIXME
-`targetgroup/suffix` FIXME
`member` the user in an group manipulation command
-`member/prefix` FIXME
-`member/suffix` FIXME
---------------------- -----------
diff --git a/lib/gitano/lace.lua b/lib/gitano/lace.lua
index a85ec47..3fcbc60 100644
--- a/lib/gitano/lace.lua
+++ b/lib/gitano/lace.lua
@@ -138,7 +138,6 @@ end
local simples = {
-- Trivial strings/lists
"operation", "ref", "group", "user", "repository",
- "repository/basename", "repository/dirname",
"source", "oldsha", "newsha", "target",
-- Trees for update operations (flat lists)
"start_tree", "target_tree",
@@ -150,9 +149,6 @@ local simples = {
"as_user", "as_group",
-- Stuff for site admin commands
"targetuser", "targetgroup", "member",
- "targetgroup/prefix", "targetgroup/suffix",
- "member/prefix", "member/suffix",
- "targetuser/prefix", "targetuser/suffix",
-- Stuff from update hooks for object types
"oldtype", "oldtaggedtype", "oldtaggedsha", "oldsigned",
"newtype", "newtaggedtype", "newtaggedsha", "newsigned",