summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@digital-scurf.org>2013-05-27 12:01:23 +0100
committerDaniel Silverstone <dsilvers@digital-scurf.org>2013-05-27 12:01:23 +0100
commit9d28a255afc5b75090bf24303d4ef05b6220e621 (patch)
treef45b35c363588e9fc6cb4d02aa30a3e6df823455
parent0cf169dc677f423fb0b21406f81eb4d0f3b86078 (diff)
downloadgitano-9d28a255afc5b75090bf24303d4ef05b6220e621.tar.bz2
SKEL: Add setreadme to the operational defines.
Adds op_set_readme to the defines in the skeleton ruleset. This also adds op_set_readme to op_is_config since the README is essentially configuration for the project. Projects can perform deeper checks themselves if they wish, but the global ruleset applies the same to README changes as to everything else to do with project configuration.
-rw-r--r--skel/gitano-admin/rules/defines.lace3
1 files changed, 2 insertions, 1 deletions
diff --git a/skel/gitano-admin/rules/defines.lace b/skel/gitano-admin/rules/defines.lace
index 20a2f7c..e72f598 100644
--- a/skel/gitano-admin/rules/defines.lace
+++ b/skel/gitano-admin/rules/defines.lace
@@ -55,7 +55,8 @@ define op_destroyrepo operation destroyrepo
define op_config_show operation config_show
define op_config_set operation config_set
define op_config_del operation config_del
-define op_is_config anyof op_config_show op_config_set op_config_del
+define op_set_readme operation setreadme
+define op_is_config anyof op_config_show op_config_set op_config_del op_set_readme
# Reference update related operations
define op_createref operation createref