[CalendarServer-changes] [6730] CalendarServer/trunk/contrib/performance/nightly.sh
source_changes at macosforge.org
source_changes at macosforge.org
Tue Jan 11 14:17:36 PST 2011
Revision: 6730
http://trac.macosforge.org/projects/calendarserver/changeset/6730
Author: exarkun at twistedmatrix.com
Date: 2011-01-11 14:17:30 -0800 (Tue, 11 Jan 2011)
Log Message:
-----------
Helper script to glue crontab to performance of collection, hopefully removing most of the manual work of this process.
Added Paths:
-----------
CalendarServer/trunk/contrib/performance/nightly.sh
Added: CalendarServer/trunk/contrib/performance/nightly.sh
===================================================================
--- CalendarServer/trunk/contrib/performance/nightly.sh (rev 0)
+++ CalendarServer/trunk/contrib/performance/nightly.sh 2011-01-11 22:17:30 UTC (rev 6730)
@@ -0,0 +1,28 @@
+#!/bin/bash
+
+##
+# Copyright (c) 2011 Apple Inc. All rights reserved.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+##
+
+cd ~codespeed/Projects/CalendarServer/trunk
+if [ "`svn diff -rBASE:HEAD`" = "" ]; then
+ # There are no changes
+ exit
+else
+ svn up
+ REV="`./contrib/performance/svn-revno .`"
+ cd ~codespeed/performance
+ ./sample.sh "$REV" ~codespeed/Projects/CalendarServer/trunk "$1"
+fi
Property changes on: CalendarServer/trunk/contrib/performance/nightly.sh
___________________________________________________________________
Added: svn:executable
+ *
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20110111/fae3c31e/attachment.html>
More information about the calendarserver-changes
mailing list