]> mj.ucw.cz Git - eval.git/blobdiff - mop/mop.cf
Added ConfigTree.remove, adapted parse and parse_file
[eval.git] / mop / mop.cf
index 2f87aceff79b2e04a22e185ffb85848a07e9e420..c4884435898ba193276562db4efba73f2c2dd541 100644 (file)
@@ -1,19 +1,22 @@
 # Configuration file for the MO-P environment
 # (c) 2001--2008 Martin Mares <mj@ucw.cz>
 
 # Configuration file for the MO-P environment
 # (c) 2001--2008 Martin Mares <mj@ucw.cz>
 
+# The root of the whole contest directory hierarchy
+MO_ROOT=/mo
+
 # These values are used when creating logins for eval and contestants
 # (group id's are from the same range)
 EVAL_UID_MIN=65000
 CT_UID_MIN=65100
 # These values are used when creating logins for eval and contestants
 # (group id's are from the same range)
 EVAL_UID_MIN=65000
 CT_UID_MIN=65100
-CT_UID_MAX=65199
 
 
-# Sometimes we need to get a list of all contestants (not in the evaluator
-# itself, but in various auxiliary scripts). In such cases we call mo-get-users,
-# which either uses an explicit list of contestants CT_USER_LIST (username<tab>fullname),
-# or (if undefined) scans /etc/passwd for users with UID between CT_UID_MIN and CT_UID_MAX.
-CT_USER_LIST=userlist
+# A file with the list of all contestants. Consists of tab-separated fields:
+# <login>      <full name>     [<machine>]
+CT_USER_LIST=cf/userlist
 
 # (optional) Use remote submitting
 REMOTE_SUBMIT=1
 REMOTE_SUBMIT_USER=mo-submit
 REMOTE_SUBMIT_GROUP=mo-submit
 
 # (optional) Use remote submitting
 REMOTE_SUBMIT=1
 REMOTE_SUBMIT_USER=mo-submit
 REMOTE_SUBMIT_GROUP=mo-submit
+
+# Include configuration of the evaluator
+. cf/eval