2016-03-11 | Paul Boddie | raw annotate files changeset graph | Added support for store/journal-level locking to the PostgreSQL store. Fixed various journal and free/busy provider tables in the database schema. Fixed inappropriate slicing of free/busy providers when retrieving them from the store. Fixed some unparameterised database store queries. Added a store method for setting quota limits along with a tool used by the tests to configure them. Changed the tools to be more aware of different store types and updated the installation script. Added documentation about store types. Converted the remaining tests to work with the database store. Made a minimal common test configuration script so that the resource_request.sh script can use the common configuration without deleting state information. | freebusy-collections |
1 #!/bin/sh 2 3 THIS_DIR=`dirname "$0"` 4 BASE_DIR="$THIS_DIR/.." 5 6 STORETYPE=file 7 8 if [ "$STORETYPE" = "file" ]; then 9 STORE=/tmp/store 10 JOURNAL=/tmp/journal 11 elif [ "$STORETYPE" = "postgresql" ]; then 12 DBNAME='test' 13 STORE="dbname=$DBNAME" 14 JOURNAL="$STORE" 15 fi 16 17 STATIC=/tmp/static 18 PREFS=/tmp/prefs 19 20 ARGS="-T $STORETYPE -S $STORE -P $STATIC -p $PREFS -j $JOURNAL -d" 21 22 RESOURCE_SCRIPT="$BASE_DIR/imip_resource.py" 23 24 SHOWMAIL="$BASE_DIR/tools/showmail.py" 25 26 TEMPLATES="$THIS_DIR/templates" 27 28 ERROR=err.tmp