summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2016-09-11 13:28:25 +0300
committerRichard Maw <richard.maw@gmail.com>2017-01-02 18:25:52 +0000
commit34c900003fa8aa1ea3433bda2862ffaaafbdceac (patch)
tree7ca3462d914f2ed4b08ab9cec310958debe6afa8 /doc
parentef42f9b3b47c244127919162a434392d3675e206 (diff)
downloadgitano-34c900003fa8aa1ea3433bda2862ffaaafbdceac.tar.gz
Add words to section on includes
Diffstat (limited to 'doc')
-rw-r--r--doc/admin/000.mdwn15
1 files changed, 13 insertions, 2 deletions
diff --git a/doc/admin/000.mdwn b/doc/admin/000.mdwn
index 94f1599..b3f5862 100644
--- a/doc/admin/000.mdwn
+++ b/doc/admin/000.mdwn
@@ -231,8 +231,19 @@ most repository Which repository is being operated on
## Include statements in rulesets
-FIXME: Explain about includes. Where the included file is found.
-Project specific files.
+A Lace statement may include another rules file. The search path is as
+follows:
+
+* If the included filename starts with `global:` it is included from
+ the adminref (`master` branch of `gitano-admin.git`), directory
+ `rules`. Thus, `include global:foo.lace` means including
+ `rules/foo.lace` from the adminref.
+
+* Otherwise, without the global prefix, it seems to be included
+ relative to the including file. FIXME: But it's always included from
+ adminref? What do I not get?
+
+FIXME: What about per-project rules?
## Testing one's ruleset