<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[12946] CalendarServer/trunk/bin</title>
</head>
<body>

<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="http://trac.calendarserver.org//changeset/12946">12946</a></dd>
<dt>Author</dt> <dd>wsanchez@apple.com</dd>
<dt>Date</dt> <dd>2014-03-18 13:01:07 -0700 (Tue, 18 Mar 2014)</dd>
</dl>

<h3>Log Message</h3>
<pre>Remove need for preamble.</pre>

<h3>Added Paths</h3>
<ul>
<li><a href="#CalendarServertrunkbincalendarserver_backup">CalendarServer/trunk/bin/calendarserver_backup</a></li>
<li><a href="#CalendarServertrunkbincalendarserver_bootstrap_database">CalendarServer/trunk/bin/calendarserver_bootstrap_database</a></li>
<li><a href="#CalendarServertrunkbincalendarserver_check_database_schema">CalendarServer/trunk/bin/calendarserver_check_database_schema</a></li>
<li><a href="#CalendarServertrunkbincalendarserver_command_gateway">CalendarServer/trunk/bin/calendarserver_command_gateway</a></li>
<li><a href="#CalendarServertrunkbincalendarserver_config">CalendarServer/trunk/bin/calendarserver_config</a></li>
<li><a href="#CalendarServertrunkbincalendarserver_dashboard">CalendarServer/trunk/bin/calendarserver_dashboard</a></li>
<li><a href="#CalendarServertrunkbincalendarserver_dbinspect">CalendarServer/trunk/bin/calendarserver_dbinspect</a></li>
<li><a href="#CalendarServertrunkbincalendarserver_dkimtool">CalendarServer/trunk/bin/calendarserver_dkimtool</a></li>
<li><a href="#CalendarServertrunkbincalendarserver_export">CalendarServer/trunk/bin/calendarserver_export</a></li>
<li><a href="#CalendarServertrunkbincalendarserver_icalendar_validate">CalendarServer/trunk/bin/calendarserver_icalendar_validate</a></li>
<li><a href="#CalendarServertrunkbincalendarserver_load_augmentdb">CalendarServer/trunk/bin/calendarserver_load_augmentdb</a></li>
<li><a href="#CalendarServertrunkbincalendarserver_manage_postgres">CalendarServer/trunk/bin/calendarserver_manage_postgres</a></li>
<li><a href="#CalendarServertrunkbincalendarserver_manage_principals">CalendarServer/trunk/bin/calendarserver_manage_principals</a></li>
<li><a href="#CalendarServertrunkbincalendarserver_manage_push">CalendarServer/trunk/bin/calendarserver_manage_push</a></li>
<li><a href="#CalendarServertrunkbincalendarserver_manage_timezones">CalendarServer/trunk/bin/calendarserver_manage_timezones</a></li>
<li><a href="#CalendarServertrunkbincalendarserver_migrate_resources">CalendarServer/trunk/bin/calendarserver_migrate_resources</a></li>
<li><a href="#CalendarServertrunkbincalendarserver_monitor_amp_notifications">CalendarServer/trunk/bin/calendarserver_monitor_amp_notifications</a></li>
<li><a href="#CalendarServertrunkbincalendarserver_monitor_notifications">CalendarServer/trunk/bin/calendarserver_monitor_notifications</a></li>
<li><a href="#CalendarServertrunkbincalendarserver_monitor_work">CalendarServer/trunk/bin/calendarserver_monitor_work</a></li>
<li><a href="#CalendarServertrunkbincalendarserver_purge_attachments">CalendarServer/trunk/bin/calendarserver_purge_attachments</a></li>
<li><a href="#CalendarServertrunkbincalendarserver_purge_events">CalendarServer/trunk/bin/calendarserver_purge_events</a></li>
<li><a href="#CalendarServertrunkbincalendarserver_purge_principals">CalendarServer/trunk/bin/calendarserver_purge_principals</a></li>
<li><a href="#CalendarServertrunkbincalendarserver_shell">CalendarServer/trunk/bin/calendarserver_shell</a></li>
<li><a href="#CalendarServertrunkbincalendarserver_upgrade">CalendarServer/trunk/bin/calendarserver_upgrade</a></li>
<li><a href="#CalendarServertrunkbincalendarserver_verify_data">CalendarServer/trunk/bin/calendarserver_verify_data</a></li>
<li>CalendarServer/trunk/bin/py/</li>
<li><a href="#CalendarServertrunkbinpycalendarserver_backup">CalendarServer/trunk/bin/py/calendarserver_backup</a></li>
<li><a href="#CalendarServertrunkbinpycalendarserver_bootstrap_database">CalendarServer/trunk/bin/py/calendarserver_bootstrap_database</a></li>
<li><a href="#CalendarServertrunkbinpycalendarserver_check_database_schema">CalendarServer/trunk/bin/py/calendarserver_check_database_schema</a></li>
<li><a href="#CalendarServertrunkbinpycalendarserver_command_gateway">CalendarServer/trunk/bin/py/calendarserver_command_gateway</a></li>
<li><a href="#CalendarServertrunkbinpycalendarserver_config">CalendarServer/trunk/bin/py/calendarserver_config</a></li>
<li><a href="#CalendarServertrunkbinpycalendarserver_dashboard">CalendarServer/trunk/bin/py/calendarserver_dashboard</a></li>
<li><a href="#CalendarServertrunkbinpycalendarserver_dbinspect">CalendarServer/trunk/bin/py/calendarserver_dbinspect</a></li>
<li><a href="#CalendarServertrunkbinpycalendarserver_dkimtool">CalendarServer/trunk/bin/py/calendarserver_dkimtool</a></li>
<li><a href="#CalendarServertrunkbinpycalendarserver_export">CalendarServer/trunk/bin/py/calendarserver_export</a></li>
<li><a href="#CalendarServertrunkbinpycalendarserver_icalendar_validate">CalendarServer/trunk/bin/py/calendarserver_icalendar_validate</a></li>
<li><a href="#CalendarServertrunkbinpycalendarserver_load_augmentdb">CalendarServer/trunk/bin/py/calendarserver_load_augmentdb</a></li>
<li><a href="#CalendarServertrunkbinpycalendarserver_manage_postgres">CalendarServer/trunk/bin/py/calendarserver_manage_postgres</a></li>
<li><a href="#CalendarServertrunkbinpycalendarserver_manage_principals">CalendarServer/trunk/bin/py/calendarserver_manage_principals</a></li>
<li><a href="#CalendarServertrunkbinpycalendarserver_manage_push">CalendarServer/trunk/bin/py/calendarserver_manage_push</a></li>
<li><a href="#CalendarServertrunkbinpycalendarserver_manage_timezones">CalendarServer/trunk/bin/py/calendarserver_manage_timezones</a></li>
<li><a href="#CalendarServertrunkbinpycalendarserver_migrate_resources">CalendarServer/trunk/bin/py/calendarserver_migrate_resources</a></li>
<li><a href="#CalendarServertrunkbinpycalendarserver_monitor_amp_notifications">CalendarServer/trunk/bin/py/calendarserver_monitor_amp_notifications</a></li>
<li><a href="#CalendarServertrunkbinpycalendarserver_monitor_notifications">CalendarServer/trunk/bin/py/calendarserver_monitor_notifications</a></li>
<li><a href="#CalendarServertrunkbinpycalendarserver_monitor_work">CalendarServer/trunk/bin/py/calendarserver_monitor_work</a></li>
<li><a href="#CalendarServertrunkbinpycalendarserver_purge_attachments">CalendarServer/trunk/bin/py/calendarserver_purge_attachments</a></li>
<li><a href="#CalendarServertrunkbinpycalendarserver_purge_events">CalendarServer/trunk/bin/py/calendarserver_purge_events</a></li>
<li><a href="#CalendarServertrunkbinpycalendarserver_purge_principals">CalendarServer/trunk/bin/py/calendarserver_purge_principals</a></li>
<li><a href="#CalendarServertrunkbinpycalendarserver_shell">CalendarServer/trunk/bin/py/calendarserver_shell</a></li>
<li><a href="#CalendarServertrunkbinpycalendarserver_upgrade">CalendarServer/trunk/bin/py/calendarserver_upgrade</a></li>
<li><a href="#CalendarServertrunkbinpycalendarserver_verify_data">CalendarServer/trunk/bin/py/calendarserver_verify_data</a></li>
</ul>

<h3>Removed Paths</h3>
<ul>
<li><a href="#CalendarServertrunkbin_calendarserver_preamblepy">CalendarServer/trunk/bin/_calendarserver_preamble.py</a></li>
<li><a href="#CalendarServertrunkbincalendarserver_backup">CalendarServer/trunk/bin/calendarserver_backup</a></li>
<li><a href="#CalendarServertrunkbincalendarserver_bootstrap_database">CalendarServer/trunk/bin/calendarserver_bootstrap_database</a></li>
<li><a href="#CalendarServertrunkbincalendarserver_check_database_schema">CalendarServer/trunk/bin/calendarserver_check_database_schema</a></li>
<li><a href="#CalendarServertrunkbincalendarserver_command_gateway">CalendarServer/trunk/bin/calendarserver_command_gateway</a></li>
<li><a href="#CalendarServertrunkbincalendarserver_config">CalendarServer/trunk/bin/calendarserver_config</a></li>
<li><a href="#CalendarServertrunkbincalendarserver_dashboard">CalendarServer/trunk/bin/calendarserver_dashboard</a></li>
<li><a href="#CalendarServertrunkbincalendarserver_dbinspect">CalendarServer/trunk/bin/calendarserver_dbinspect</a></li>
<li><a href="#CalendarServertrunkbincalendarserver_dkimtool">CalendarServer/trunk/bin/calendarserver_dkimtool</a></li>
<li><a href="#CalendarServertrunkbincalendarserver_export">CalendarServer/trunk/bin/calendarserver_export</a></li>
<li><a href="#CalendarServertrunkbincalendarserver_icalendar_validate">CalendarServer/trunk/bin/calendarserver_icalendar_validate</a></li>
<li><a href="#CalendarServertrunkbincalendarserver_load_augmentdb">CalendarServer/trunk/bin/calendarserver_load_augmentdb</a></li>
<li><a href="#CalendarServertrunkbincalendarserver_manage_postgres">CalendarServer/trunk/bin/calendarserver_manage_postgres</a></li>
<li><a href="#CalendarServertrunkbincalendarserver_manage_principals">CalendarServer/trunk/bin/calendarserver_manage_principals</a></li>
<li><a href="#CalendarServertrunkbincalendarserver_manage_push">CalendarServer/trunk/bin/calendarserver_manage_push</a></li>
<li><a href="#CalendarServertrunkbincalendarserver_manage_timezones">CalendarServer/trunk/bin/calendarserver_manage_timezones</a></li>
<li><a href="#CalendarServertrunkbincalendarserver_migrate_resources">CalendarServer/trunk/bin/calendarserver_migrate_resources</a></li>
<li><a href="#CalendarServertrunkbincalendarserver_monitor_amp_notifications">CalendarServer/trunk/bin/calendarserver_monitor_amp_notifications</a></li>
<li><a href="#CalendarServertrunkbincalendarserver_monitor_notifications">CalendarServer/trunk/bin/calendarserver_monitor_notifications</a></li>
<li><a href="#CalendarServertrunkbincalendarserver_monitor_work">CalendarServer/trunk/bin/calendarserver_monitor_work</a></li>
<li><a href="#CalendarServertrunkbincalendarserver_purge_attachments">CalendarServer/trunk/bin/calendarserver_purge_attachments</a></li>
<li><a href="#CalendarServertrunkbincalendarserver_purge_events">CalendarServer/trunk/bin/calendarserver_purge_events</a></li>
<li><a href="#CalendarServertrunkbincalendarserver_purge_principals">CalendarServer/trunk/bin/calendarserver_purge_principals</a></li>
<li><a href="#CalendarServertrunkbincalendarserver_shell">CalendarServer/trunk/bin/calendarserver_shell</a></li>
<li><a href="#CalendarServertrunkbincalendarserver_upgrade">CalendarServer/trunk/bin/calendarserver_upgrade</a></li>
<li><a href="#CalendarServertrunkbincalendarserver_verify_data">CalendarServer/trunk/bin/calendarserver_verify_data</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="CalendarServertrunkbin_calendarserver_preamblepy"></a>
<div class="delfile"><h4>Deleted: CalendarServer/trunk/bin/_calendarserver_preamble.py (12945 => 12946)</h4>
<pre class="diff"><span>
<span class="info">--- CalendarServer/trunk/bin/_calendarserver_preamble.py        2014-03-18 19:09:58 UTC (rev 12945)
+++ CalendarServer/trunk/bin/_calendarserver_preamble.py        2014-03-18 20:01:07 UTC (rev 12946)
</span><span class="lines">@@ -1,73 +0,0 @@
</span><del>-##
-# Copyright (c) 2011-2014 Apple Inc. All rights reserved.
-#
-# Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);
-# 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 &quot;AS IS&quot; 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.
-##
-
-&quot;&quot;&quot;
-This module is the shared preamble for all calendarserver shell commands to set
-up their environment properly.  It's explicitly not installed along with the
-code, and is used only to initialize the environment for a development checkout
-of the code.
-&quot;&quot;&quot;
-
-import sys
-from os.path import dirname, abspath, join, split, exists
-from subprocess import Popen, PIPE
-
-
-
-def bootstrap():
-    &quot;&quot;&quot;
-    If this is a development checkout, run the 'run' script to discover the
-    correct value for sys.path.
-    &quot;&quot;&quot;
-
-    home = dirname(dirname(abspath(__file__)))
-    pythonWrapper = join(home, &quot;bin&quot;, &quot;python&quot;)
-
-    if not exists(pythonWrapper) or not exists(join(home, &quot;setup.py&quot;)):
-        # This doesn't look enough like a development checkout; let's not mess
-        # with anything.
-        return
-
-    child = Popen(
-        (pythonWrapper, &quot;-c&quot;, &quot;import sys; print sys.path&quot;),
-        stdout=PIPE
-    )
-    stdout, _ignore_stderr = child.communicate()
-    stdout = stdout.rstrip(&quot;\n&quot;)
-
-    try:
-        sysPath = eval(stdout)
-    except SyntaxError:
-        return
-
-    sys.path[0:0] = sysPath
-
-    noConfigOption = [
-        &quot;calendarserver_bootstrap_database&quot;,
-        &quot;calendarserver_load_augmentdb&quot;,
-        &quot;calendarserver_manage_augments&quot;,
-        &quot;calendarserver_manage_postgres&quot;,
-        &quot;calendarserver_manage_timezones&quot;,
-        &quot;icalendar_split&quot;,
-        &quot;twistd&quot;, &quot;trial&quot;,
-    ]
-
-    if split(sys.argv[0])[-1] not in noConfigOption:
-        sys.argv[1:1] = [&quot;-f&quot;, join(home, &quot;conf&quot;, &quot;caldavd-dev.plist&quot;)]
-
-
-
-bootstrap()
</del></span></pre></div>
<a id="CalendarServertrunkbincalendarserver_backup"></a>
<div class="delfile"><h4>Deleted: CalendarServer/trunk/bin/calendarserver_backup (12945 => 12946)</h4>
<pre class="diff"><span>
<span class="info">--- CalendarServer/trunk/bin/calendarserver_backup        2014-03-18 19:09:58 UTC (rev 12945)
+++ CalendarServer/trunk/bin/calendarserver_backup        2014-03-18 20:01:07 UTC (rev 12946)
</span><span class="lines">@@ -1,33 +0,0 @@
</span><del>-#!/usr/bin/env python
-
-##
-# Copyright (c) 2006-2014 Apple Inc. All rights reserved.
-#
-# Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);
-# 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 &quot;AS IS&quot; 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.
-##
-
-import sys
-
-#PYTHONPATH
-
-if __name__ == &quot;__main__&quot;:
-    if &quot;PYTHONPATH&quot; in globals():
-        sys.path.insert(0, PYTHONPATH)
-    else:
-        try:
-            import _calendarserver_preamble
-        except ImportError:
-            sys.exc_clear()
-
-    from calendarserver.tools.backup import main
-    main()
</del></span></pre></div>
<a id="CalendarServertrunkbincalendarserver_backup"></a>
<div class="addfile"><h4>Added: CalendarServer/trunk/bin/calendarserver_backup (0 => 12946)</h4>
<pre class="diff"><span>
<span class="info">--- CalendarServer/trunk/bin/calendarserver_backup                                (rev 0)
+++ CalendarServer/trunk/bin/calendarserver_backup        2014-03-18 20:01:07 UTC (rev 12946)
</span><span class="lines">@@ -0,0 +1,31 @@
</span><ins>+#!/bin/sh
+# -*- sh-basic-offset: 2 -*-
+
+##
+# Copyright (c) 2014 Apple Inc. All rights reserved.
+#
+# Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);
+# 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 &quot;AS IS&quot; 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.
+##
+
+set -e
+set -u
+
+wd=&quot;$(cd &quot;$(dirname &quot;$0&quot;)/..&quot; &amp;&amp; pwd)&quot;;
+
+. &quot;${wd}/bin/_build.sh&quot;;
+
+do_setup=&quot;false&quot;;
+
+develop &gt; /dev/null;
+
+exec &quot;${python}&quot; &quot;${wd}/bin/py/$(basename &quot;$0&quot;)&quot; &quot;$@&quot;;
</ins><span class="cx">Property changes on: CalendarServer/trunk/bin/calendarserver_backup
</span><span class="cx">___________________________________________________________________
</span></span></pre></div>
<a id="svnexecutable"></a>
<div class="addfile"><h4>Added: svn:executable</h4></div>
<a id="CalendarServertrunkbincalendarserver_bootstrap_database"></a>
<div class="delfile"><h4>Deleted: CalendarServer/trunk/bin/calendarserver_bootstrap_database (12945 => 12946)</h4>
<pre class="diff"><span>
<span class="info">--- CalendarServer/trunk/bin/calendarserver_bootstrap_database        2014-03-18 19:09:58 UTC (rev 12945)
+++ CalendarServer/trunk/bin/calendarserver_bootstrap_database        2014-03-18 20:01:07 UTC (rev 12946)
</span><span class="lines">@@ -1,33 +0,0 @@
</span><del>-#!/usr/bin/env python
-
-##
-# Copyright (c) 2011-2014 Apple Inc. All rights reserved.
-#
-# Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);
-# 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 &quot;AS IS&quot; 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.
-##
-
-import sys
-
-#PYTHONPATH
-
-if __name__ == &quot;__main__&quot;:
-    if &quot;PYTHONPATH&quot; in globals():
-        sys.path.insert(0, PYTHONPATH)
-    else:
-        try:
-            import _calendarserver_preamble
-        except ImportError:
-            sys.exc_clear()
-
-    from calendarserver.tools.bootstrapdatabase import main
-    main()
</del></span></pre></div>
<a id="CalendarServertrunkbincalendarserver_bootstrap_database"></a>
<div class="addfile"><h4>Added: CalendarServer/trunk/bin/calendarserver_bootstrap_database (0 => 12946)</h4>
<pre class="diff"><span>
<span class="info">--- CalendarServer/trunk/bin/calendarserver_bootstrap_database                                (rev 0)
+++ CalendarServer/trunk/bin/calendarserver_bootstrap_database        2014-03-18 20:01:07 UTC (rev 12946)
</span><span class="lines">@@ -0,0 +1,31 @@
</span><ins>+#!/bin/sh
+# -*- sh-basic-offset: 2 -*-
+
+##
+# Copyright (c) 2014 Apple Inc. All rights reserved.
+#
+# Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);
+# 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 &quot;AS IS&quot; 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.
+##
+
+set -e
+set -u
+
+wd=&quot;$(cd &quot;$(dirname &quot;$0&quot;)/..&quot; &amp;&amp; pwd)&quot;;
+
+. &quot;${wd}/bin/_build.sh&quot;;
+
+do_setup=&quot;false&quot;;
+
+develop &gt; /dev/null;
+
+exec &quot;${python}&quot; &quot;${wd}/bin/py/$(basename &quot;$0&quot;)&quot; &quot;$@&quot;;
</ins><span class="cx">Property changes on: CalendarServer/trunk/bin/calendarserver_bootstrap_database
</span><span class="cx">___________________________________________________________________
</span></span></pre></div>
<a id="svnexecutable"></a>
<div class="addfile"><h4>Added: svn:executable</h4></div>
<a id="CalendarServertrunkbincalendarserver_check_database_schema"></a>
<div class="delfile"><h4>Deleted: CalendarServer/trunk/bin/calendarserver_check_database_schema (12945 => 12946)</h4>
<pre class="diff"><span>
<span class="info">--- CalendarServer/trunk/bin/calendarserver_check_database_schema        2014-03-18 19:09:58 UTC (rev 12945)
+++ CalendarServer/trunk/bin/calendarserver_check_database_schema        2014-03-18 20:01:07 UTC (rev 12946)
</span><span class="lines">@@ -1,33 +0,0 @@
</span><del>-#!/usr/bin/env python
-
-##
-# Copyright (c) 2014 Apple Inc. All rights reserved.
-#
-# Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);
-# 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 &quot;AS IS&quot; 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.
-##
-
-import sys
-
-#PYTHONPATH
-
-if __name__ == &quot;__main__&quot;:
-    if &quot;PYTHONPATH&quot; in globals():
-        sys.path.insert(0, PYTHONPATH)
-    else:
-        try:
-            import _calendarserver_preamble
-        except ImportError:
-            sys.exc_clear()
-
-    from calendarserver.tools.checkdatabaseschema import main
-    main()
</del></span></pre></div>
<a id="CalendarServertrunkbincalendarserver_check_database_schema"></a>
<div class="addfile"><h4>Added: CalendarServer/trunk/bin/calendarserver_check_database_schema (0 => 12946)</h4>
<pre class="diff"><span>
<span class="info">--- CalendarServer/trunk/bin/calendarserver_check_database_schema                                (rev 0)
+++ CalendarServer/trunk/bin/calendarserver_check_database_schema        2014-03-18 20:01:07 UTC (rev 12946)
</span><span class="lines">@@ -0,0 +1,31 @@
</span><ins>+#!/bin/sh
+# -*- sh-basic-offset: 2 -*-
+
+##
+# Copyright (c) 2014 Apple Inc. All rights reserved.
+#
+# Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);
+# 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 &quot;AS IS&quot; 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.
+##
+
+set -e
+set -u
+
+wd=&quot;$(cd &quot;$(dirname &quot;$0&quot;)/..&quot; &amp;&amp; pwd)&quot;;
+
+. &quot;${wd}/bin/_build.sh&quot;;
+
+do_setup=&quot;false&quot;;
+
+develop &gt; /dev/null;
+
+exec &quot;${python}&quot; &quot;${wd}/bin/py/$(basename &quot;$0&quot;)&quot; &quot;$@&quot;;
</ins><span class="cx">Property changes on: CalendarServer/trunk/bin/calendarserver_check_database_schema
</span><span class="cx">___________________________________________________________________
</span></span></pre></div>
<a id="svnexecutable"></a>
<div class="addfile"><h4>Added: svn:executable</h4></div>
<a id="CalendarServertrunkbincalendarserver_command_gateway"></a>
<div class="delfile"><h4>Deleted: CalendarServer/trunk/bin/calendarserver_command_gateway (12945 => 12946)</h4>
<pre class="diff"><span>
<span class="info">--- CalendarServer/trunk/bin/calendarserver_command_gateway        2014-03-18 19:09:58 UTC (rev 12945)
+++ CalendarServer/trunk/bin/calendarserver_command_gateway        2014-03-18 20:01:07 UTC (rev 12946)
</span><span class="lines">@@ -1,38 +0,0 @@
</span><del>-#!/usr/bin/env python
-
-##
-# Copyright (c) 2006-2014 Apple Inc. All rights reserved.
-#
-# Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);
-# 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 &quot;AS IS&quot; 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.
-##
-
-import os
-import sys
-
-# In OS X Server context, add to PATH to find Postgres utilities (initdb, pg_ctl)
-if &quot;Server.app&quot; in sys.argv[0]:
-    os.environ[&quot;PATH&quot;] += &quot;:&quot; + os.path.join(os.path.dirname(os.path.dirname(sys.argv[0])), &quot;bin&quot;)
-
-#PYTHONPATH
-
-if __name__ == &quot;__main__&quot;:
-    if &quot;PYTHONPATH&quot; in globals():
-        sys.path.insert(0, PYTHONPATH)
-    else:
-        try:
-            import _calendarserver_preamble
-        except ImportError:
-            sys.exc_clear()
-
-    from calendarserver.tools.gateway import main
-    main()
</del></span></pre></div>
<a id="CalendarServertrunkbincalendarserver_command_gateway"></a>
<div class="addfile"><h4>Added: CalendarServer/trunk/bin/calendarserver_command_gateway (0 => 12946)</h4>
<pre class="diff"><span>
<span class="info">--- CalendarServer/trunk/bin/calendarserver_command_gateway                                (rev 0)
+++ CalendarServer/trunk/bin/calendarserver_command_gateway        2014-03-18 20:01:07 UTC (rev 12946)
</span><span class="lines">@@ -0,0 +1,31 @@
</span><ins>+#!/bin/sh
+# -*- sh-basic-offset: 2 -*-
+
+##
+# Copyright (c) 2014 Apple Inc. All rights reserved.
+#
+# Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);
+# 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 &quot;AS IS&quot; 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.
+##
+
+set -e
+set -u
+
+wd=&quot;$(cd &quot;$(dirname &quot;$0&quot;)/..&quot; &amp;&amp; pwd)&quot;;
+
+. &quot;${wd}/bin/_build.sh&quot;;
+
+do_setup=&quot;false&quot;;
+
+develop &gt; /dev/null;
+
+exec &quot;${python}&quot; &quot;${wd}/bin/py/$(basename &quot;$0&quot;)&quot; &quot;$@&quot;;
</ins><span class="cx">Property changes on: CalendarServer/trunk/bin/calendarserver_command_gateway
</span><span class="cx">___________________________________________________________________
</span></span></pre></div>
<a id="svnexecutable"></a>
<div class="addfile"><h4>Added: svn:executable</h4></div>
<a id="CalendarServertrunkbincalendarserver_config"></a>
<div class="delfile"><h4>Deleted: CalendarServer/trunk/bin/calendarserver_config (12945 => 12946)</h4>
<pre class="diff"><span>
<span class="info">--- CalendarServer/trunk/bin/calendarserver_config        2014-03-18 19:09:58 UTC (rev 12945)
+++ CalendarServer/trunk/bin/calendarserver_config        2014-03-18 20:01:07 UTC (rev 12946)
</span><span class="lines">@@ -1,33 +0,0 @@
</span><del>-#!/usr/bin/env python
-
-##
-# Copyright (c) 2006-2014 Apple Inc. All rights reserved.
-#
-# Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);
-# 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 &quot;AS IS&quot; 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.
-##
-
-import sys
-
-#PYTHONPATH
-
-if __name__ == &quot;__main__&quot;:
-    if &quot;PYTHONPATH&quot; in globals():
-        sys.path.insert(0, PYTHONPATH)
-    else:
-        try:
-            import _calendarserver_preamble
-        except ImportError:
-            sys.exc_clear()
-
-    from calendarserver.tools.config import main
-    main()
</del></span></pre></div>
<a id="CalendarServertrunkbincalendarserver_config"></a>
<div class="addfile"><h4>Added: CalendarServer/trunk/bin/calendarserver_config (0 => 12946)</h4>
<pre class="diff"><span>
<span class="info">--- CalendarServer/trunk/bin/calendarserver_config                                (rev 0)
+++ CalendarServer/trunk/bin/calendarserver_config        2014-03-18 20:01:07 UTC (rev 12946)
</span><span class="lines">@@ -0,0 +1,31 @@
</span><ins>+#!/bin/sh
+# -*- sh-basic-offset: 2 -*-
+
+##
+# Copyright (c) 2014 Apple Inc. All rights reserved.
+#
+# Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);
+# 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 &quot;AS IS&quot; 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.
+##
+
+set -e
+set -u
+
+wd=&quot;$(cd &quot;$(dirname &quot;$0&quot;)/..&quot; &amp;&amp; pwd)&quot;;
+
+. &quot;${wd}/bin/_build.sh&quot;;
+
+do_setup=&quot;false&quot;;
+
+develop &gt; /dev/null;
+
+exec &quot;${python}&quot; &quot;${wd}/bin/py/$(basename &quot;$0&quot;)&quot; &quot;$@&quot;;
</ins><span class="cx">Property changes on: CalendarServer/trunk/bin/calendarserver_config
</span><span class="cx">___________________________________________________________________
</span></span></pre></div>
<a id="svnexecutable"></a>
<div class="addfile"><h4>Added: svn:executable</h4></div>
<a id="CalendarServertrunkbincalendarserver_dashboard"></a>
<div class="delfile"><h4>Deleted: CalendarServer/trunk/bin/calendarserver_dashboard (12945 => 12946)</h4>
<pre class="diff"><span>
<span class="info">--- CalendarServer/trunk/bin/calendarserver_dashboard        2014-03-18 19:09:58 UTC (rev 12945)
+++ CalendarServer/trunk/bin/calendarserver_dashboard        2014-03-18 20:01:07 UTC (rev 12946)
</span><span class="lines">@@ -1,23 +0,0 @@
</span><del>-#!/usr/bin/env python
-
-##
-# Copyright (c) 2006-2014 Apple Inc. All rights reserved.
-#
-# Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);
-# 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 &quot;AS IS&quot; 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.
-##
-
-# This tool can run standalone, so does not need any special PYTHONPATH or preamble handling
-
-if __name__ == &quot;__main__&quot;:
-    from calendarserver.tools.dashboard import main
-    main()
</del></span></pre></div>
<a id="CalendarServertrunkbincalendarserver_dashboard"></a>
<div class="addfile"><h4>Added: CalendarServer/trunk/bin/calendarserver_dashboard (0 => 12946)</h4>
<pre class="diff"><span>
<span class="info">--- CalendarServer/trunk/bin/calendarserver_dashboard                                (rev 0)
+++ CalendarServer/trunk/bin/calendarserver_dashboard        2014-03-18 20:01:07 UTC (rev 12946)
</span><span class="lines">@@ -0,0 +1,31 @@
</span><ins>+#!/bin/sh
+# -*- sh-basic-offset: 2 -*-
+
+##
+# Copyright (c) 2014 Apple Inc. All rights reserved.
+#
+# Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);
+# 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 &quot;AS IS&quot; 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.
+##
+
+set -e
+set -u
+
+wd=&quot;$(cd &quot;$(dirname &quot;$0&quot;)/..&quot; &amp;&amp; pwd)&quot;;
+
+. &quot;${wd}/bin/_build.sh&quot;;
+
+do_setup=&quot;false&quot;;
+
+develop &gt; /dev/null;
+
+exec &quot;${python}&quot; &quot;${wd}/bin/py/$(basename &quot;$0&quot;)&quot; &quot;$@&quot;;
</ins><span class="cx">Property changes on: CalendarServer/trunk/bin/calendarserver_dashboard
</span><span class="cx">___________________________________________________________________
</span></span></pre></div>
<a id="svnexecutable"></a>
<div class="addfile"><h4>Added: svn:executable</h4></div>
<a id="CalendarServertrunkbincalendarserver_dbinspect"></a>
<div class="delfile"><h4>Deleted: CalendarServer/trunk/bin/calendarserver_dbinspect (12945 => 12946)</h4>
<pre class="diff"><span>
<span class="info">--- CalendarServer/trunk/bin/calendarserver_dbinspect        2014-03-18 19:09:58 UTC (rev 12945)
+++ CalendarServer/trunk/bin/calendarserver_dbinspect        2014-03-18 20:01:07 UTC (rev 12946)
</span><span class="lines">@@ -1,33 +0,0 @@
</span><del>-#!/usr/bin/env python
-
-##
-# Copyright (c) 2011-2014 Apple Inc. All rights reserved.
-#
-# Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);
-# 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 &quot;AS IS&quot; 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.
-##
-
-import sys
-
-#PYTHONPATH
-
-if __name__ == &quot;__main__&quot;:
-    if &quot;PYTHONPATH&quot; in globals():
-        sys.path.insert(0, PYTHONPATH)
-    else:
-        try:
-            import _calendarserver_preamble
-        except ImportError:
-            sys.exc_clear()
-
-    from calendarserver.tools.dbinspect import main
-    main()
</del></span></pre></div>
<a id="CalendarServertrunkbincalendarserver_dbinspect"></a>
<div class="addfile"><h4>Added: CalendarServer/trunk/bin/calendarserver_dbinspect (0 => 12946)</h4>
<pre class="diff"><span>
<span class="info">--- CalendarServer/trunk/bin/calendarserver_dbinspect                                (rev 0)
+++ CalendarServer/trunk/bin/calendarserver_dbinspect        2014-03-18 20:01:07 UTC (rev 12946)
</span><span class="lines">@@ -0,0 +1,31 @@
</span><ins>+#!/bin/sh
+# -*- sh-basic-offset: 2 -*-
+
+##
+# Copyright (c) 2014 Apple Inc. All rights reserved.
+#
+# Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);
+# 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 &quot;AS IS&quot; 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.
+##
+
+set -e
+set -u
+
+wd=&quot;$(cd &quot;$(dirname &quot;$0&quot;)/..&quot; &amp;&amp; pwd)&quot;;
+
+. &quot;${wd}/bin/_build.sh&quot;;
+
+do_setup=&quot;false&quot;;
+
+develop &gt; /dev/null;
+
+exec &quot;${python}&quot; &quot;${wd}/bin/py/$(basename &quot;$0&quot;)&quot; &quot;$@&quot;;
</ins><span class="cx">Property changes on: CalendarServer/trunk/bin/calendarserver_dbinspect
</span><span class="cx">___________________________________________________________________
</span></span></pre></div>
<a id="svnexecutable"></a>
<div class="addfile"><h4>Added: svn:executable</h4></div>
<a id="CalendarServertrunkbincalendarserver_dkimtool"></a>
<div class="delfile"><h4>Deleted: CalendarServer/trunk/bin/calendarserver_dkimtool (12945 => 12946)</h4>
<pre class="diff"><span>
<span class="info">--- CalendarServer/trunk/bin/calendarserver_dkimtool        2014-03-18 19:09:58 UTC (rev 12945)
+++ CalendarServer/trunk/bin/calendarserver_dkimtool        2014-03-18 20:01:07 UTC (rev 12946)
</span><span class="lines">@@ -1,33 +0,0 @@
</span><del>-#!/usr/bin/env python
-##
-# Copyright (c) 2012-2014 Apple Inc. All rights reserved.
-#
-# Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);
-# 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 &quot;AS IS&quot; 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.
-##
-
-import sys
-
-#PYTHONPATH
-
-if __name__ == &quot;__main__&quot;:
-
-    if &quot;PYTHONPATH&quot; in globals():
-        sys.path.insert(0, PYTHONPATH)
-    else:
-        try:
-            import _calendarserver_preamble
-        except ImportError:
-            sys.exc_clear()
-
-    from calendarserver.tools.dkimtool import main
-    main()
</del></span></pre></div>
<a id="CalendarServertrunkbincalendarserver_dkimtool"></a>
<div class="addfile"><h4>Added: CalendarServer/trunk/bin/calendarserver_dkimtool (0 => 12946)</h4>
<pre class="diff"><span>
<span class="info">--- CalendarServer/trunk/bin/calendarserver_dkimtool                                (rev 0)
+++ CalendarServer/trunk/bin/calendarserver_dkimtool        2014-03-18 20:01:07 UTC (rev 12946)
</span><span class="lines">@@ -0,0 +1,31 @@
</span><ins>+#!/bin/sh
+# -*- sh-basic-offset: 2 -*-
+
+##
+# Copyright (c) 2014 Apple Inc. All rights reserved.
+#
+# Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);
+# 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 &quot;AS IS&quot; 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.
+##
+
+set -e
+set -u
+
+wd=&quot;$(cd &quot;$(dirname &quot;$0&quot;)/..&quot; &amp;&amp; pwd)&quot;;
+
+. &quot;${wd}/bin/_build.sh&quot;;
+
+do_setup=&quot;false&quot;;
+
+develop &gt; /dev/null;
+
+exec &quot;${python}&quot; &quot;${wd}/bin/py/$(basename &quot;$0&quot;)&quot; &quot;$@&quot;;
</ins><span class="cx">Property changes on: CalendarServer/trunk/bin/calendarserver_dkimtool
</span><span class="cx">___________________________________________________________________
</span></span></pre></div>
<a id="svnexecutable"></a>
<div class="addfile"><h4>Added: svn:executable</h4></div>
<a id="CalendarServertrunkbincalendarserver_export"></a>
<div class="delfile"><h4>Deleted: CalendarServer/trunk/bin/calendarserver_export (12945 => 12946)</h4>
<pre class="diff"><span>
<span class="info">--- CalendarServer/trunk/bin/calendarserver_export        2014-03-18 19:09:58 UTC (rev 12945)
+++ CalendarServer/trunk/bin/calendarserver_export        2014-03-18 20:01:07 UTC (rev 12946)
</span><span class="lines">@@ -1,33 +0,0 @@
</span><del>-#!/usr/bin/env python
-
-##
-# Copyright (c) 2006-2014 Apple Inc. All rights reserved.
-#
-# Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);
-# 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 &quot;AS IS&quot; 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.
-##
-
-import sys
-
-#PYTHONPATH
-
-if __name__ == &quot;__main__&quot;:
-    if &quot;PYTHONPATH&quot; in globals():
-        sys.path.insert(0, PYTHONPATH)
-    else:
-        try:
-            import _calendarserver_preamble
-        except ImportError:
-            sys.exc_clear()
-
-    from calendarserver.tools.export import main
-    main()
</del></span></pre></div>
<a id="CalendarServertrunkbincalendarserver_export"></a>
<div class="addfile"><h4>Added: CalendarServer/trunk/bin/calendarserver_export (0 => 12946)</h4>
<pre class="diff"><span>
<span class="info">--- CalendarServer/trunk/bin/calendarserver_export                                (rev 0)
+++ CalendarServer/trunk/bin/calendarserver_export        2014-03-18 20:01:07 UTC (rev 12946)
</span><span class="lines">@@ -0,0 +1,31 @@
</span><ins>+#!/bin/sh
+# -*- sh-basic-offset: 2 -*-
+
+##
+# Copyright (c) 2014 Apple Inc. All rights reserved.
+#
+# Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);
+# 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 &quot;AS IS&quot; 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.
+##
+
+set -e
+set -u
+
+wd=&quot;$(cd &quot;$(dirname &quot;$0&quot;)/..&quot; &amp;&amp; pwd)&quot;;
+
+. &quot;${wd}/bin/_build.sh&quot;;
+
+do_setup=&quot;false&quot;;
+
+develop &gt; /dev/null;
+
+exec &quot;${python}&quot; &quot;${wd}/bin/py/$(basename &quot;$0&quot;)&quot; &quot;$@&quot;;
</ins><span class="cx">Property changes on: CalendarServer/trunk/bin/calendarserver_export
</span><span class="cx">___________________________________________________________________
</span></span></pre></div>
<a id="svnexecutable"></a>
<div class="addfile"><h4>Added: svn:executable</h4></div>
<a id="CalendarServertrunkbincalendarserver_icalendar_validate"></a>
<div class="delfile"><h4>Deleted: CalendarServer/trunk/bin/calendarserver_icalendar_validate (12945 => 12946)</h4>
<pre class="diff"><span>
<span class="info">--- CalendarServer/trunk/bin/calendarserver_icalendar_validate        2014-03-18 19:09:58 UTC (rev 12945)
+++ CalendarServer/trunk/bin/calendarserver_icalendar_validate        2014-03-18 20:01:07 UTC (rev 12946)
</span><span class="lines">@@ -1,33 +0,0 @@
</span><del>-#!/usr/bin/env python
-
-##
-# Copyright (c) 2011-2014 Apple Inc. All rights reserved.
-#
-# Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);
-# 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 &quot;AS IS&quot; 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.
-##
-
-import sys
-
-#PYTHONPATH
-
-if __name__ == &quot;__main__&quot;:
-    if &quot;PYTHONPATH&quot; in globals():
-        sys.path.insert(0, PYTHONPATH)
-    else:
-        try:
-            import _calendarserver_preamble
-        except ImportError:
-            sys.exc_clear()
-
-    from calendarserver.tools.validcalendardata import main
-    main()
</del></span></pre></div>
<a id="CalendarServertrunkbincalendarserver_icalendar_validate"></a>
<div class="addfile"><h4>Added: CalendarServer/trunk/bin/calendarserver_icalendar_validate (0 => 12946)</h4>
<pre class="diff"><span>
<span class="info">--- CalendarServer/trunk/bin/calendarserver_icalendar_validate                                (rev 0)
+++ CalendarServer/trunk/bin/calendarserver_icalendar_validate        2014-03-18 20:01:07 UTC (rev 12946)
</span><span class="lines">@@ -0,0 +1,31 @@
</span><ins>+#!/bin/sh
+# -*- sh-basic-offset: 2 -*-
+
+##
+# Copyright (c) 2014 Apple Inc. All rights reserved.
+#
+# Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);
+# 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 &quot;AS IS&quot; 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.
+##
+
+set -e
+set -u
+
+wd=&quot;$(cd &quot;$(dirname &quot;$0&quot;)/..&quot; &amp;&amp; pwd)&quot;;
+
+. &quot;${wd}/bin/_build.sh&quot;;
+
+do_setup=&quot;false&quot;;
+
+develop &gt; /dev/null;
+
+exec &quot;${python}&quot; &quot;${wd}/bin/py/$(basename &quot;$0&quot;)&quot; &quot;$@&quot;;
</ins><span class="cx">Property changes on: CalendarServer/trunk/bin/calendarserver_icalendar_validate
</span><span class="cx">___________________________________________________________________
</span></span></pre></div>
<a id="svnexecutable"></a>
<div class="addfile"><h4>Added: svn:executable</h4></div>
<a id="CalendarServertrunkbincalendarserver_load_augmentdb"></a>
<div class="delfile"><h4>Deleted: CalendarServer/trunk/bin/calendarserver_load_augmentdb (12945 => 12946)</h4>
<pre class="diff"><span>
<span class="info">--- CalendarServer/trunk/bin/calendarserver_load_augmentdb        2014-03-18 19:09:58 UTC (rev 12945)
+++ CalendarServer/trunk/bin/calendarserver_load_augmentdb        2014-03-18 20:01:07 UTC (rev 12946)
</span><span class="lines">@@ -1,32 +0,0 @@
</span><del>-#!/usr/bin/env python
-##
-# Copyright (c) 2010-2014 Apple Inc. All rights reserved.
-#
-# Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);
-# 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 &quot;AS IS&quot; 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.
-##
-
-import sys
-
-#PYTHONPATH
-
-if __name__ == &quot;__main__&quot;:
-    if &quot;PYTHONPATH&quot; in globals():
-        sys.path.insert(0, PYTHONPATH)
-    else:
-        try:
-            import _calendarserver_preamble
-        except ImportError:
-            sys.exc_clear()
-
-    from calendarserver.tools.loadaugmentdb import main
-    main()
</del></span></pre></div>
<a id="CalendarServertrunkbincalendarserver_load_augmentdb"></a>
<div class="addfile"><h4>Added: CalendarServer/trunk/bin/calendarserver_load_augmentdb (0 => 12946)</h4>
<pre class="diff"><span>
<span class="info">--- CalendarServer/trunk/bin/calendarserver_load_augmentdb                                (rev 0)
+++ CalendarServer/trunk/bin/calendarserver_load_augmentdb        2014-03-18 20:01:07 UTC (rev 12946)
</span><span class="lines">@@ -0,0 +1,31 @@
</span><ins>+#!/bin/sh
+# -*- sh-basic-offset: 2 -*-
+
+##
+# Copyright (c) 2014 Apple Inc. All rights reserved.
+#
+# Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);
+# 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 &quot;AS IS&quot; 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.
+##
+
+set -e
+set -u
+
+wd=&quot;$(cd &quot;$(dirname &quot;$0&quot;)/..&quot; &amp;&amp; pwd)&quot;;
+
+. &quot;${wd}/bin/_build.sh&quot;;
+
+do_setup=&quot;false&quot;;
+
+develop &gt; /dev/null;
+
+exec &quot;${python}&quot; &quot;${wd}/bin/py/$(basename &quot;$0&quot;)&quot; &quot;$@&quot;;
</ins><span class="cx">Property changes on: CalendarServer/trunk/bin/calendarserver_load_augmentdb
</span><span class="cx">___________________________________________________________________
</span></span></pre></div>
<a id="svnexecutable"></a>
<div class="addfile"><h4>Added: svn:executable</h4></div>
<a id="CalendarServertrunkbincalendarserver_manage_postgres"></a>
<div class="delfile"><h4>Deleted: CalendarServer/trunk/bin/calendarserver_manage_postgres (12945 => 12946)</h4>
<pre class="diff"><span>
<span class="info">--- CalendarServer/trunk/bin/calendarserver_manage_postgres        2014-03-18 19:09:58 UTC (rev 12945)
+++ CalendarServer/trunk/bin/calendarserver_manage_postgres        2014-03-18 20:01:07 UTC (rev 12946)
</span><span class="lines">@@ -1,33 +0,0 @@
</span><del>-#!/usr/bin/env python
-##
-# Copyright (c) 2010-2014 Apple Inc. All rights reserved.
-#
-# Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);
-# 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 &quot;AS IS&quot; 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.
-##
-
-import sys
-
-#PYTHONPATH
-
-if __name__ == &quot;__main__&quot;:
-
-    if &quot;PYTHONPATH&quot; in globals():
-        sys.path.insert(0, PYTHONPATH)
-    else:
-        try:
-            import _calendarserver_preamble
-        except ImportError:
-            sys.exc_clear()
-
-    from calendarserver.tools.managepostgres import main
-    main()
</del></span></pre></div>
<a id="CalendarServertrunkbincalendarserver_manage_postgres"></a>
<div class="addfile"><h4>Added: CalendarServer/trunk/bin/calendarserver_manage_postgres (0 => 12946)</h4>
<pre class="diff"><span>
<span class="info">--- CalendarServer/trunk/bin/calendarserver_manage_postgres                                (rev 0)
+++ CalendarServer/trunk/bin/calendarserver_manage_postgres        2014-03-18 20:01:07 UTC (rev 12946)
</span><span class="lines">@@ -0,0 +1,31 @@
</span><ins>+#!/bin/sh
+# -*- sh-basic-offset: 2 -*-
+
+##
+# Copyright (c) 2014 Apple Inc. All rights reserved.
+#
+# Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);
+# 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 &quot;AS IS&quot; 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.
+##
+
+set -e
+set -u
+
+wd=&quot;$(cd &quot;$(dirname &quot;$0&quot;)/..&quot; &amp;&amp; pwd)&quot;;
+
+. &quot;${wd}/bin/_build.sh&quot;;
+
+do_setup=&quot;false&quot;;
+
+develop &gt; /dev/null;
+
+exec &quot;${python}&quot; &quot;${wd}/bin/py/$(basename &quot;$0&quot;)&quot; &quot;$@&quot;;
</ins><span class="cx">Property changes on: CalendarServer/trunk/bin/calendarserver_manage_postgres
</span><span class="cx">___________________________________________________________________
</span></span></pre></div>
<a id="svnexecutable"></a>
<div class="addfile"><h4>Added: svn:executable</h4></div>
<a id="CalendarServertrunkbincalendarserver_manage_principals"></a>
<div class="delfile"><h4>Deleted: CalendarServer/trunk/bin/calendarserver_manage_principals (12945 => 12946)</h4>
<pre class="diff"><span>
<span class="info">--- CalendarServer/trunk/bin/calendarserver_manage_principals        2014-03-18 19:09:58 UTC (rev 12945)
+++ CalendarServer/trunk/bin/calendarserver_manage_principals        2014-03-18 20:01:07 UTC (rev 12946)
</span><span class="lines">@@ -1,32 +0,0 @@
</span><del>-#!/usr/bin/env python
-
-##
-# Copyright (c) 2006-2014 Apple Inc. All rights reserved.
-#
-# Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);
-# 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 &quot;AS IS&quot; 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.
-##
-
-import sys
-
-#PYTHONPATH
-
-if __name__ == &quot;__main__&quot;:
-    if &quot;PYTHONPATH&quot; in globals():
-        sys.path.insert(0, PYTHONPATH)
-    else:
-        try:
-            import _calendarserver_preamble
-        except ImportError:
-            sys.exc_clear()
-    from calendarserver.tools.principals import main
-    main()
</del></span></pre></div>
<a id="CalendarServertrunkbincalendarserver_manage_principals"></a>
<div class="addfile"><h4>Added: CalendarServer/trunk/bin/calendarserver_manage_principals (0 => 12946)</h4>
<pre class="diff"><span>
<span class="info">--- CalendarServer/trunk/bin/calendarserver_manage_principals                                (rev 0)
+++ CalendarServer/trunk/bin/calendarserver_manage_principals        2014-03-18 20:01:07 UTC (rev 12946)
</span><span class="lines">@@ -0,0 +1,31 @@
</span><ins>+#!/bin/sh
+# -*- sh-basic-offset: 2 -*-
+
+##
+# Copyright (c) 2014 Apple Inc. All rights reserved.
+#
+# Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);
+# 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 &quot;AS IS&quot; 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.
+##
+
+set -e
+set -u
+
+wd=&quot;$(cd &quot;$(dirname &quot;$0&quot;)/..&quot; &amp;&amp; pwd)&quot;;
+
+. &quot;${wd}/bin/_build.sh&quot;;
+
+do_setup=&quot;false&quot;;
+
+develop &gt; /dev/null;
+
+exec &quot;${python}&quot; &quot;${wd}/bin/py/$(basename &quot;$0&quot;)&quot; &quot;$@&quot;;
</ins><span class="cx">Property changes on: CalendarServer/trunk/bin/calendarserver_manage_principals
</span><span class="cx">___________________________________________________________________
</span></span></pre></div>
<a id="svnexecutable"></a>
<div class="addfile"><h4>Added: svn:executable</h4></div>
<a id="CalendarServertrunkbincalendarserver_manage_push"></a>
<div class="delfile"><h4>Deleted: CalendarServer/trunk/bin/calendarserver_manage_push (12945 => 12946)</h4>
<pre class="diff"><span>
<span class="info">--- CalendarServer/trunk/bin/calendarserver_manage_push        2014-03-18 19:09:58 UTC (rev 12945)
+++ CalendarServer/trunk/bin/calendarserver_manage_push        2014-03-18 20:01:07 UTC (rev 12946)
</span><span class="lines">@@ -1,33 +0,0 @@
</span><del>-#!/usr/bin/env python
-
-##
-# Copyright (c) 2006-2014 Apple Inc. All rights reserved.
-#
-# Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);
-# 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 &quot;AS IS&quot; 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.
-##
-
-import sys
-
-#PYTHONPATH
-
-if __name__ == &quot;__main__&quot;:
-    if &quot;PYTHONPATH&quot; in globals():
-        sys.path.insert(0, PYTHONPATH)
-    else:
-        try:
-            import _calendarserver_preamble
-        except ImportError:
-            sys.exc_clear()
-
-    from calendarserver.tools.push import main
-    main()
</del></span></pre></div>
<a id="CalendarServertrunkbincalendarserver_manage_push"></a>
<div class="addfile"><h4>Added: CalendarServer/trunk/bin/calendarserver_manage_push (0 => 12946)</h4>
<pre class="diff"><span>
<span class="info">--- CalendarServer/trunk/bin/calendarserver_manage_push                                (rev 0)
+++ CalendarServer/trunk/bin/calendarserver_manage_push        2014-03-18 20:01:07 UTC (rev 12946)
</span><span class="lines">@@ -0,0 +1,31 @@
</span><ins>+#!/bin/sh
+# -*- sh-basic-offset: 2 -*-
+
+##
+# Copyright (c) 2014 Apple Inc. All rights reserved.
+#
+# Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);
+# 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 &quot;AS IS&quot; 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.
+##
+
+set -e
+set -u
+
+wd=&quot;$(cd &quot;$(dirname &quot;$0&quot;)/..&quot; &amp;&amp; pwd)&quot;;
+
+. &quot;${wd}/bin/_build.sh&quot;;
+
+do_setup=&quot;false&quot;;
+
+develop &gt; /dev/null;
+
+exec &quot;${python}&quot; &quot;${wd}/bin/py/$(basename &quot;$0&quot;)&quot; &quot;$@&quot;;
</ins><span class="cx">Property changes on: CalendarServer/trunk/bin/calendarserver_manage_push
</span><span class="cx">___________________________________________________________________
</span></span></pre></div>
<a id="svnexecutable"></a>
<div class="addfile"><h4>Added: svn:executable</h4></div>
<a id="CalendarServertrunkbincalendarserver_manage_timezones"></a>
<div class="delfile"><h4>Deleted: CalendarServer/trunk/bin/calendarserver_manage_timezones (12945 => 12946)</h4>
<pre class="diff"><span>
<span class="info">--- CalendarServer/trunk/bin/calendarserver_manage_timezones        2014-03-18 19:09:58 UTC (rev 12945)
+++ CalendarServer/trunk/bin/calendarserver_manage_timezones        2014-03-18 20:01:07 UTC (rev 12946)
</span><span class="lines">@@ -1,33 +0,0 @@
</span><del>-#!/usr/bin/env python
-##
-# Copyright (c) 2011-2014 Apple Inc. All rights reserved.
-#
-# Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);
-# 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 &quot;AS IS&quot; 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.
-##
-
-import sys
-
-#PYTHONPATH
-
-if __name__ == &quot;__main__&quot;:
-
-    if &quot;PYTHONPATH&quot; in globals():
-        sys.path.insert(0, PYTHONPATH)
-    else:
-        try:
-            import _calendarserver_preamble
-        except ImportError:
-            sys.exc_clear()
-
-    from calendarserver.tools.managetimezones import main
-    main()
</del></span></pre></div>
<a id="CalendarServertrunkbincalendarserver_manage_timezones"></a>
<div class="addfile"><h4>Added: CalendarServer/trunk/bin/calendarserver_manage_timezones (0 => 12946)</h4>
<pre class="diff"><span>
<span class="info">--- CalendarServer/trunk/bin/calendarserver_manage_timezones                                (rev 0)
+++ CalendarServer/trunk/bin/calendarserver_manage_timezones        2014-03-18 20:01:07 UTC (rev 12946)
</span><span class="lines">@@ -0,0 +1,31 @@
</span><ins>+#!/bin/sh
+# -*- sh-basic-offset: 2 -*-
+
+##
+# Copyright (c) 2014 Apple Inc. All rights reserved.
+#
+# Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);
+# 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 &quot;AS IS&quot; 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.
+##
+
+set -e
+set -u
+
+wd=&quot;$(cd &quot;$(dirname &quot;$0&quot;)/..&quot; &amp;&amp; pwd)&quot;;
+
+. &quot;${wd}/bin/_build.sh&quot;;
+
+do_setup=&quot;false&quot;;
+
+develop &gt; /dev/null;
+
+exec &quot;${python}&quot; &quot;${wd}/bin/py/$(basename &quot;$0&quot;)&quot; &quot;$@&quot;;
</ins><span class="cx">Property changes on: CalendarServer/trunk/bin/calendarserver_manage_timezones
</span><span class="cx">___________________________________________________________________
</span></span></pre></div>
<a id="svnexecutable"></a>
<div class="addfile"><h4>Added: svn:executable</h4></div>
<a id="CalendarServertrunkbincalendarserver_migrate_resources"></a>
<div class="delfile"><h4>Deleted: CalendarServer/trunk/bin/calendarserver_migrate_resources (12945 => 12946)</h4>
<pre class="diff"><span>
<span class="info">--- CalendarServer/trunk/bin/calendarserver_migrate_resources        2014-03-18 19:09:58 UTC (rev 12945)
+++ CalendarServer/trunk/bin/calendarserver_migrate_resources        2014-03-18 20:01:07 UTC (rev 12946)
</span><span class="lines">@@ -1,33 +0,0 @@
</span><del>-#!/usr/bin/env python
-
-##
-# Copyright (c) 2010-2014 Apple Inc. All rights reserved.
-#
-# Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);
-# 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 &quot;AS IS&quot; 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.
-##
-
-import sys
-
-#PYTHONPATH
-
-if __name__ == &quot;__main__&quot;:
-    if &quot;PYTHONPATH&quot; in globals():
-        sys.path.insert(0, PYTHONPATH)
-    else:
-        try:
-            import _calendarserver_preamble
-        except ImportError:
-            sys.exc_clear()
-
-    from calendarserver.tools.resources import main
-    main()
</del></span></pre></div>
<a id="CalendarServertrunkbincalendarserver_migrate_resources"></a>
<div class="addfile"><h4>Added: CalendarServer/trunk/bin/calendarserver_migrate_resources (0 => 12946)</h4>
<pre class="diff"><span>
<span class="info">--- CalendarServer/trunk/bin/calendarserver_migrate_resources                                (rev 0)
+++ CalendarServer/trunk/bin/calendarserver_migrate_resources        2014-03-18 20:01:07 UTC (rev 12946)
</span><span class="lines">@@ -0,0 +1,31 @@
</span><ins>+#!/bin/sh
+# -*- sh-basic-offset: 2 -*-
+
+##
+# Copyright (c) 2014 Apple Inc. All rights reserved.
+#
+# Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);
+# 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 &quot;AS IS&quot; 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.
+##
+
+set -e
+set -u
+
+wd=&quot;$(cd &quot;$(dirname &quot;$0&quot;)/..&quot; &amp;&amp; pwd)&quot;;
+
+. &quot;${wd}/bin/_build.sh&quot;;
+
+do_setup=&quot;false&quot;;
+
+develop &gt; /dev/null;
+
+exec &quot;${python}&quot; &quot;${wd}/bin/py/$(basename &quot;$0&quot;)&quot; &quot;$@&quot;;
</ins><span class="cx">Property changes on: CalendarServer/trunk/bin/calendarserver_migrate_resources
</span><span class="cx">___________________________________________________________________
</span></span></pre></div>
<a id="svnexecutable"></a>
<div class="addfile"><h4>Added: svn:executable</h4></div>
<a id="CalendarServertrunkbincalendarserver_monitor_amp_notifications"></a>
<div class="delfile"><h4>Deleted: CalendarServer/trunk/bin/calendarserver_monitor_amp_notifications (12945 => 12946)</h4>
<pre class="diff"><span>
<span class="info">--- CalendarServer/trunk/bin/calendarserver_monitor_amp_notifications        2014-03-18 19:09:58 UTC (rev 12945)
+++ CalendarServer/trunk/bin/calendarserver_monitor_amp_notifications        2014-03-18 20:01:07 UTC (rev 12946)
</span><span class="lines">@@ -1,33 +0,0 @@
</span><del>-#!/usr/bin/env python
-
-##
-# Copyright (c) 2006-2014 Apple Inc. All rights reserved.
-#
-# Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);
-# 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 &quot;AS IS&quot; 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.
-##
-
-import sys
-
-#PYTHONPATH
-
-if __name__ == &quot;__main__&quot;:
-    if &quot;PYTHONPATH&quot; in globals():
-        sys.path.insert(0, PYTHONPATH)
-    else:
-        try:
-            import _calendarserver_preamble
-        except ImportError:
-            sys.exc_clear()
-
-    from calendarserver.tools.ampnotifications import main
-    main()
</del></span></pre></div>
<a id="CalendarServertrunkbincalendarserver_monitor_amp_notifications"></a>
<div class="addfile"><h4>Added: CalendarServer/trunk/bin/calendarserver_monitor_amp_notifications (0 => 12946)</h4>
<pre class="diff"><span>
<span class="info">--- CalendarServer/trunk/bin/calendarserver_monitor_amp_notifications                                (rev 0)
+++ CalendarServer/trunk/bin/calendarserver_monitor_amp_notifications        2014-03-18 20:01:07 UTC (rev 12946)
</span><span class="lines">@@ -0,0 +1,31 @@
</span><ins>+#!/bin/sh
+# -*- sh-basic-offset: 2 -*-
+
+##
+# Copyright (c) 2014 Apple Inc. All rights reserved.
+#
+# Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);
+# 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 &quot;AS IS&quot; 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.
+##
+
+set -e
+set -u
+
+wd=&quot;$(cd &quot;$(dirname &quot;$0&quot;)/..&quot; &amp;&amp; pwd)&quot;;
+
+. &quot;${wd}/bin/_build.sh&quot;;
+
+do_setup=&quot;false&quot;;
+
+develop &gt; /dev/null;
+
+exec &quot;${python}&quot; &quot;${wd}/bin/py/$(basename &quot;$0&quot;)&quot; &quot;$@&quot;;
</ins><span class="cx">Property changes on: CalendarServer/trunk/bin/calendarserver_monitor_amp_notifications
</span><span class="cx">___________________________________________________________________
</span></span></pre></div>
<a id="svnexecutable"></a>
<div class="addfile"><h4>Added: svn:executable</h4></div>
<a id="CalendarServertrunkbincalendarserver_monitor_notifications"></a>
<div class="delfile"><h4>Deleted: CalendarServer/trunk/bin/calendarserver_monitor_notifications (12945 => 12946)</h4>
<pre class="diff"><span>
<span class="info">--- CalendarServer/trunk/bin/calendarserver_monitor_notifications        2014-03-18 19:09:58 UTC (rev 12945)
+++ CalendarServer/trunk/bin/calendarserver_monitor_notifications        2014-03-18 20:01:07 UTC (rev 12946)
</span><span class="lines">@@ -1,33 +0,0 @@
</span><del>-#!/usr/bin/env python
-
-##
-# Copyright (c) 2011-2014 Apple Inc. All rights reserved.
-#
-# Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);
-# 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 &quot;AS IS&quot; 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.
-##
-
-import sys
-
-#PYTHONPATH
-
-if __name__ == &quot;__main__&quot;:
-    if &quot;PYTHONPATH&quot; in globals():
-        sys.path.insert(0, PYTHONPATH)
-    else:
-        try:
-            import _calendarserver_preamble
-        except ImportError:
-            sys.exc_clear()
-
-    from calendarserver.tools.notifications import main
-    main()
</del></span></pre></div>
<a id="CalendarServertrunkbincalendarserver_monitor_notifications"></a>
<div class="addfile"><h4>Added: CalendarServer/trunk/bin/calendarserver_monitor_notifications (0 => 12946)</h4>
<pre class="diff"><span>
<span class="info">--- CalendarServer/trunk/bin/calendarserver_monitor_notifications                                (rev 0)
+++ CalendarServer/trunk/bin/calendarserver_monitor_notifications        2014-03-18 20:01:07 UTC (rev 12946)
</span><span class="lines">@@ -0,0 +1,31 @@
</span><ins>+#!/bin/sh
+# -*- sh-basic-offset: 2 -*-
+
+##
+# Copyright (c) 2014 Apple Inc. All rights reserved.
+#
+# Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);
+# 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 &quot;AS IS&quot; 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.
+##
+
+set -e
+set -u
+
+wd=&quot;$(cd &quot;$(dirname &quot;$0&quot;)/..&quot; &amp;&amp; pwd)&quot;;
+
+. &quot;${wd}/bin/_build.sh&quot;;
+
+do_setup=&quot;false&quot;;
+
+develop &gt; /dev/null;
+
+exec &quot;${python}&quot; &quot;${wd}/bin/py/$(basename &quot;$0&quot;)&quot; &quot;$@&quot;;
</ins><span class="cx">Property changes on: CalendarServer/trunk/bin/calendarserver_monitor_notifications
</span><span class="cx">___________________________________________________________________
</span></span></pre></div>
<a id="svnexecutable"></a>
<div class="addfile"><h4>Added: svn:executable</h4></div>
<a id="CalendarServertrunkbincalendarserver_monitor_work"></a>
<div class="delfile"><h4>Deleted: CalendarServer/trunk/bin/calendarserver_monitor_work (12945 => 12946)</h4>
<pre class="diff"><span>
<span class="info">--- CalendarServer/trunk/bin/calendarserver_monitor_work        2014-03-18 19:09:58 UTC (rev 12945)
+++ CalendarServer/trunk/bin/calendarserver_monitor_work        2014-03-18 20:01:07 UTC (rev 12946)
</span><span class="lines">@@ -1,38 +0,0 @@
</span><del>-#!/usr/bin/env python
-
-##
-# Copyright (c) 2006-2014 Apple Inc. All rights reserved.
-#
-# Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);
-# 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 &quot;AS IS&quot; 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.
-##
-
-import os
-import sys
-
-# In OS X Server context, add to PATH to find Postgres utilities (initdb, pg_ctl)
-if &quot;Server.app&quot; in sys.argv[0]:
-    os.environ[&quot;PATH&quot;] += &quot;:&quot; + os.path.join(os.path.dirname(os.path.dirname(sys.argv[0])), &quot;bin&quot;)
-
-#PYTHONPATH
-
-if __name__ == &quot;__main__&quot;:
-    if &quot;PYTHONPATH&quot; in globals():
-        sys.path.insert(0, PYTHONPATH)
-    else:
-        try:
-            import _calendarserver_preamble
-        except ImportError:
-            sys.exc_clear()
-
-    from calendarserver.tools.workitems import main
-    main()
</del></span></pre></div>
<a id="CalendarServertrunkbincalendarserver_monitor_work"></a>
<div class="addfile"><h4>Added: CalendarServer/trunk/bin/calendarserver_monitor_work (0 => 12946)</h4>
<pre class="diff"><span>
<span class="info">--- CalendarServer/trunk/bin/calendarserver_monitor_work                                (rev 0)
+++ CalendarServer/trunk/bin/calendarserver_monitor_work        2014-03-18 20:01:07 UTC (rev 12946)
</span><span class="lines">@@ -0,0 +1,31 @@
</span><ins>+#!/bin/sh
+# -*- sh-basic-offset: 2 -*-
+
+##
+# Copyright (c) 2014 Apple Inc. All rights reserved.
+#
+# Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);
+# 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 &quot;AS IS&quot; 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.
+##
+
+set -e
+set -u
+
+wd=&quot;$(cd &quot;$(dirname &quot;$0&quot;)/..&quot; &amp;&amp; pwd)&quot;;
+
+. &quot;${wd}/bin/_build.sh&quot;;
+
+do_setup=&quot;false&quot;;
+
+develop &gt; /dev/null;
+
+exec &quot;${python}&quot; &quot;${wd}/bin/py/$(basename &quot;$0&quot;)&quot; &quot;$@&quot;;
</ins><span class="cx">Property changes on: CalendarServer/trunk/bin/calendarserver_monitor_work
</span><span class="cx">___________________________________________________________________
</span></span></pre></div>
<a id="svnexecutable"></a>
<div class="addfile"><h4>Added: svn:executable</h4></div>
<a id="CalendarServertrunkbincalendarserver_purge_attachments"></a>
<div class="delfile"><h4>Deleted: CalendarServer/trunk/bin/calendarserver_purge_attachments (12945 => 12946)</h4>
<pre class="diff"><span>
<span class="info">--- CalendarServer/trunk/bin/calendarserver_purge_attachments        2014-03-18 19:09:58 UTC (rev 12945)
+++ CalendarServer/trunk/bin/calendarserver_purge_attachments        2014-03-18 20:01:07 UTC (rev 12946)
</span><span class="lines">@@ -1,33 +0,0 @@
</span><del>-#!/usr/bin/env python
-
-##
-# Copyright (c) 2006-2014 Apple Inc. All rights reserved.
-#
-# Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);
-# 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 &quot;AS IS&quot; 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.
-##
-
-import sys
-
-#PYTHONPATH
-
-if __name__ == &quot;__main__&quot;:
-    if &quot;PYTHONPATH&quot; in globals():
-        sys.path.insert(0, PYTHONPATH)
-    else:
-        try:
-            import _calendarserver_preamble
-        except ImportError:
-            sys.exc_clear()
-
-    from calendarserver.tools.purge import PurgeAttachmentsService
-    PurgeAttachmentsService.main()
</del></span></pre></div>
<a id="CalendarServertrunkbincalendarserver_purge_attachments"></a>
<div class="addfile"><h4>Added: CalendarServer/trunk/bin/calendarserver_purge_attachments (0 => 12946)</h4>
<pre class="diff"><span>
<span class="info">--- CalendarServer/trunk/bin/calendarserver_purge_attachments                                (rev 0)
+++ CalendarServer/trunk/bin/calendarserver_purge_attachments        2014-03-18 20:01:07 UTC (rev 12946)
</span><span class="lines">@@ -0,0 +1,31 @@
</span><ins>+#!/bin/sh
+# -*- sh-basic-offset: 2 -*-
+
+##
+# Copyright (c) 2014 Apple Inc. All rights reserved.
+#
+# Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);
+# 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 &quot;AS IS&quot; 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.
+##
+
+set -e
+set -u
+
+wd=&quot;$(cd &quot;$(dirname &quot;$0&quot;)/..&quot; &amp;&amp; pwd)&quot;;
+
+. &quot;${wd}/bin/_build.sh&quot;;
+
+do_setup=&quot;false&quot;;
+
+develop &gt; /dev/null;
+
+exec &quot;${python}&quot; &quot;${wd}/bin/py/$(basename &quot;$0&quot;)&quot; &quot;$@&quot;;
</ins><span class="cx">Property changes on: CalendarServer/trunk/bin/calendarserver_purge_attachments
</span><span class="cx">___________________________________________________________________
</span></span></pre></div>
<a id="svnexecutable"></a>
<div class="addfile"><h4>Added: svn:executable</h4></div>
<a id="CalendarServertrunkbincalendarserver_purge_events"></a>
<div class="delfile"><h4>Deleted: CalendarServer/trunk/bin/calendarserver_purge_events (12945 => 12946)</h4>
<pre class="diff"><span>
<span class="info">--- CalendarServer/trunk/bin/calendarserver_purge_events        2014-03-18 19:09:58 UTC (rev 12945)
+++ CalendarServer/trunk/bin/calendarserver_purge_events        2014-03-18 20:01:07 UTC (rev 12946)
</span><span class="lines">@@ -1,33 +0,0 @@
</span><del>-#!/usr/bin/env python
-
-##
-# Copyright (c) 2006-2014 Apple Inc. All rights reserved.
-#
-# Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);
-# 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 &quot;AS IS&quot; 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.
-##
-
-import sys
-
-#PYTHONPATH
-
-if __name__ == &quot;__main__&quot;:
-    if &quot;PYTHONPATH&quot; in globals():
-        sys.path.insert(0, PYTHONPATH)
-    else:
-        try:
-            import _calendarserver_preamble
-        except ImportError:
-            sys.exc_clear()
-
-    from calendarserver.tools.purge import PurgeOldEventsService
-    PurgeOldEventsService.main()
</del></span></pre></div>
<a id="CalendarServertrunkbincalendarserver_purge_events"></a>
<div class="addfile"><h4>Added: CalendarServer/trunk/bin/calendarserver_purge_events (0 => 12946)</h4>
<pre class="diff"><span>
<span class="info">--- CalendarServer/trunk/bin/calendarserver_purge_events                                (rev 0)
+++ CalendarServer/trunk/bin/calendarserver_purge_events        2014-03-18 20:01:07 UTC (rev 12946)
</span><span class="lines">@@ -0,0 +1,31 @@
</span><ins>+#!/bin/sh
+# -*- sh-basic-offset: 2 -*-
+
+##
+# Copyright (c) 2014 Apple Inc. All rights reserved.
+#
+# Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);
+# 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 &quot;AS IS&quot; 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.
+##
+
+set -e
+set -u
+
+wd=&quot;$(cd &quot;$(dirname &quot;$0&quot;)/..&quot; &amp;&amp; pwd)&quot;;
+
+. &quot;${wd}/bin/_build.sh&quot;;
+
+do_setup=&quot;false&quot;;
+
+develop &gt; /dev/null;
+
+exec &quot;${python}&quot; &quot;${wd}/bin/py/$(basename &quot;$0&quot;)&quot; &quot;$@&quot;;
</ins><span class="cx">Property changes on: CalendarServer/trunk/bin/calendarserver_purge_events
</span><span class="cx">___________________________________________________________________
</span></span></pre></div>
<a id="svnexecutable"></a>
<div class="addfile"><h4>Added: svn:executable</h4></div>
<a id="CalendarServertrunkbincalendarserver_purge_principals"></a>
<div class="delfile"><h4>Deleted: CalendarServer/trunk/bin/calendarserver_purge_principals (12945 => 12946)</h4>
<pre class="diff"><span>
<span class="info">--- CalendarServer/trunk/bin/calendarserver_purge_principals        2014-03-18 19:09:58 UTC (rev 12945)
+++ CalendarServer/trunk/bin/calendarserver_purge_principals        2014-03-18 20:01:07 UTC (rev 12946)
</span><span class="lines">@@ -1,33 +0,0 @@
</span><del>-#!/usr/bin/env python
-
-##
-# Copyright (c) 2006-2014 Apple Inc. All rights reserved.
-#
-# Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);
-# 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 &quot;AS IS&quot; 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.
-##
-
-import sys
-
-#PYTHONPATH
-
-if __name__ == &quot;__main__&quot;:
-    if &quot;PYTHONPATH&quot; in globals():
-        sys.path.insert(0, PYTHONPATH)
-    else:
-        try:
-            import _calendarserver_preamble
-        except ImportError:
-            sys.exc_clear()
-
-    from calendarserver.tools.purge import PurgePrincipalService
-    PurgePrincipalService.main()
</del></span></pre></div>
<a id="CalendarServertrunkbincalendarserver_purge_principals"></a>
<div class="addfile"><h4>Added: CalendarServer/trunk/bin/calendarserver_purge_principals (0 => 12946)</h4>
<pre class="diff"><span>
<span class="info">--- CalendarServer/trunk/bin/calendarserver_purge_principals                                (rev 0)
+++ CalendarServer/trunk/bin/calendarserver_purge_principals        2014-03-18 20:01:07 UTC (rev 12946)
</span><span class="lines">@@ -0,0 +1,31 @@
</span><ins>+#!/bin/sh
+# -*- sh-basic-offset: 2 -*-
+
+##
+# Copyright (c) 2014 Apple Inc. All rights reserved.
+#
+# Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);
+# 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 &quot;AS IS&quot; 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.
+##
+
+set -e
+set -u
+
+wd=&quot;$(cd &quot;$(dirname &quot;$0&quot;)/..&quot; &amp;&amp; pwd)&quot;;
+
+. &quot;${wd}/bin/_build.sh&quot;;
+
+do_setup=&quot;false&quot;;
+
+develop &gt; /dev/null;
+
+exec &quot;${python}&quot; &quot;${wd}/bin/py/$(basename &quot;$0&quot;)&quot; &quot;$@&quot;;
</ins><span class="cx">Property changes on: CalendarServer/trunk/bin/calendarserver_purge_principals
</span><span class="cx">___________________________________________________________________
</span></span></pre></div>
<a id="svnexecutable"></a>
<div class="addfile"><h4>Added: svn:executable</h4></div>
<a id="CalendarServertrunkbincalendarserver_shell"></a>
<div class="delfile"><h4>Deleted: CalendarServer/trunk/bin/calendarserver_shell (12945 => 12946)</h4>
<pre class="diff"><span>
<span class="info">--- CalendarServer/trunk/bin/calendarserver_shell        2014-03-18 19:09:58 UTC (rev 12945)
+++ CalendarServer/trunk/bin/calendarserver_shell        2014-03-18 20:01:07 UTC (rev 12946)
</span><span class="lines">@@ -1,33 +0,0 @@
</span><del>-#!/usr/bin/env python
-
-##
-# Copyright (c) 2006-2014 Apple Inc. All rights reserved.
-#
-# Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);
-# 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 &quot;AS IS&quot; 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.
-##
-
-import sys
-
-#PYTHONPATH
-
-if __name__ == &quot;__main__&quot;:
-    if &quot;PYTHONPATH&quot; in globals():
-        sys.path.insert(0, PYTHONPATH)
-    else:
-        try:
-            import _calendarserver_preamble
-        except ImportError:
-            sys.exc_clear()
-
-    from calendarserver.tools.shell.terminal import main
-    main()
</del></span></pre></div>
<a id="CalendarServertrunkbincalendarserver_shell"></a>
<div class="addfile"><h4>Added: CalendarServer/trunk/bin/calendarserver_shell (0 => 12946)</h4>
<pre class="diff"><span>
<span class="info">--- CalendarServer/trunk/bin/calendarserver_shell                                (rev 0)
+++ CalendarServer/trunk/bin/calendarserver_shell        2014-03-18 20:01:07 UTC (rev 12946)
</span><span class="lines">@@ -0,0 +1,31 @@
</span><ins>+#!/bin/sh
+# -*- sh-basic-offset: 2 -*-
+
+##
+# Copyright (c) 2014 Apple Inc. All rights reserved.
+#
+# Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);
+# 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 &quot;AS IS&quot; 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.
+##
+
+set -e
+set -u
+
+wd=&quot;$(cd &quot;$(dirname &quot;$0&quot;)/..&quot; &amp;&amp; pwd)&quot;;
+
+. &quot;${wd}/bin/_build.sh&quot;;
+
+do_setup=&quot;false&quot;;
+
+develop &gt; /dev/null;
+
+exec &quot;${python}&quot; &quot;${wd}/bin/py/$(basename &quot;$0&quot;)&quot; &quot;$@&quot;;
</ins><span class="cx">Property changes on: CalendarServer/trunk/bin/calendarserver_shell
</span><span class="cx">___________________________________________________________________
</span></span></pre></div>
<a id="svnexecutable"></a>
<div class="addfile"><h4>Added: svn:executable</h4></div>
<a id="CalendarServertrunkbincalendarserver_upgrade"></a>
<div class="delfile"><h4>Deleted: CalendarServer/trunk/bin/calendarserver_upgrade (12945 => 12946)</h4>
<pre class="diff"><span>
<span class="info">--- CalendarServer/trunk/bin/calendarserver_upgrade        2014-03-18 19:09:58 UTC (rev 12945)
+++ CalendarServer/trunk/bin/calendarserver_upgrade        2014-03-18 20:01:07 UTC (rev 12946)
</span><span class="lines">@@ -1,33 +0,0 @@
</span><del>-#!/usr/bin/env python
-
-##
-# Copyright (c) 2006-2014 Apple Inc. All rights reserved.
-#
-# Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);
-# 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 &quot;AS IS&quot; 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.
-##
-
-import sys
-
-#PYTHONPATH
-
-if __name__ == &quot;__main__&quot;:
-    if &quot;PYTHONPATH&quot; in globals():
-        sys.path.insert(0, PYTHONPATH)
-    else:
-        try:
-            import _calendarserver_preamble
-        except ImportError:
-            sys.exc_clear()
-
-    from calendarserver.tools.upgrade import main
-    main()
</del></span></pre></div>
<a id="CalendarServertrunkbincalendarserver_upgrade"></a>
<div class="addfile"><h4>Added: CalendarServer/trunk/bin/calendarserver_upgrade (0 => 12946)</h4>
<pre class="diff"><span>
<span class="info">--- CalendarServer/trunk/bin/calendarserver_upgrade                                (rev 0)
+++ CalendarServer/trunk/bin/calendarserver_upgrade        2014-03-18 20:01:07 UTC (rev 12946)
</span><span class="lines">@@ -0,0 +1,31 @@
</span><ins>+#!/bin/sh
+# -*- sh-basic-offset: 2 -*-
+
+##
+# Copyright (c) 2014 Apple Inc. All rights reserved.
+#
+# Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);
+# 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 &quot;AS IS&quot; 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.
+##
+
+set -e
+set -u
+
+wd=&quot;$(cd &quot;$(dirname &quot;$0&quot;)/..&quot; &amp;&amp; pwd)&quot;;
+
+. &quot;${wd}/bin/_build.sh&quot;;
+
+do_setup=&quot;false&quot;;
+
+develop &gt; /dev/null;
+
+exec &quot;${python}&quot; &quot;${wd}/bin/py/$(basename &quot;$0&quot;)&quot; &quot;$@&quot;;
</ins><span class="cx">Property changes on: CalendarServer/trunk/bin/calendarserver_upgrade
</span><span class="cx">___________________________________________________________________
</span></span></pre></div>
<a id="svnexecutable"></a>
<div class="addfile"><h4>Added: svn:executable</h4></div>
<a id="CalendarServertrunkbincalendarserver_verify_data"></a>
<div class="delfile"><h4>Deleted: CalendarServer/trunk/bin/calendarserver_verify_data (12945 => 12946)</h4>
<pre class="diff"><span>
<span class="info">--- CalendarServer/trunk/bin/calendarserver_verify_data        2014-03-18 19:09:58 UTC (rev 12945)
+++ CalendarServer/trunk/bin/calendarserver_verify_data        2014-03-18 20:01:07 UTC (rev 12946)
</span><span class="lines">@@ -1,33 +0,0 @@
</span><del>-#!/usr/bin/env python
-
-##
-# Copyright (c) 2011-2014 Apple Inc. All rights reserved.
-#
-# Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);
-# 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 &quot;AS IS&quot; 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.
-##
-
-import sys
-
-#PYTHONPATH
-
-if __name__ == &quot;__main__&quot;:
-    if &quot;PYTHONPATH&quot; in globals():
-        sys.path.insert(0, PYTHONPATH)
-    else:
-        try:
-            import _calendarserver_preamble
-        except ImportError:
-            sys.exc_clear()
-
-    from calendarserver.tools.calverify import main
-    main()
</del></span></pre></div>
<a id="CalendarServertrunkbincalendarserver_verify_data"></a>
<div class="addfile"><h4>Added: CalendarServer/trunk/bin/calendarserver_verify_data (0 => 12946)</h4>
<pre class="diff"><span>
<span class="info">--- CalendarServer/trunk/bin/calendarserver_verify_data                                (rev 0)
+++ CalendarServer/trunk/bin/calendarserver_verify_data        2014-03-18 20:01:07 UTC (rev 12946)
</span><span class="lines">@@ -0,0 +1,31 @@
</span><ins>+#!/bin/sh
+# -*- sh-basic-offset: 2 -*-
+
+##
+# Copyright (c) 2014 Apple Inc. All rights reserved.
+#
+# Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);
+# 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 &quot;AS IS&quot; 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.
+##
+
+set -e
+set -u
+
+wd=&quot;$(cd &quot;$(dirname &quot;$0&quot;)/..&quot; &amp;&amp; pwd)&quot;;
+
+. &quot;${wd}/bin/_build.sh&quot;;
+
+do_setup=&quot;false&quot;;
+
+develop &gt; /dev/null;
+
+exec &quot;${python}&quot; &quot;${wd}/bin/py/$(basename &quot;$0&quot;)&quot; &quot;$@&quot;;
</ins><span class="cx">Property changes on: CalendarServer/trunk/bin/calendarserver_verify_data
</span><span class="cx">___________________________________________________________________
</span></span></pre></div>
<a id="svnexecutable"></a>
<div class="addfile"><h4>Added: svn:executable</h4></div>
<a id="CalendarServertrunkbinpycalendarserver_backupfromrev12934CalendarServertrunkbincalendarserver_backup"></a>
<div class="copfile"><h4>Copied: CalendarServer/trunk/bin/py/calendarserver_backup (from rev 12934, CalendarServer/trunk/bin/calendarserver_backup) (0 => 12946)</h4>
<pre class="diff"><span>
<span class="info">--- CalendarServer/trunk/bin/py/calendarserver_backup                                (rev 0)
+++ CalendarServer/trunk/bin/py/calendarserver_backup        2014-03-18 20:01:07 UTC (rev 12946)
</span><span class="lines">@@ -0,0 +1,30 @@
</span><ins>+#!/usr/bin/env python
+
+##
+# Copyright (c) 2006-2014 Apple Inc. All rights reserved.
+#
+# Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);
+# 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 &quot;AS IS&quot; 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.
+##
+
+import sys
+
+#PYTHONPATH
+
+if __name__ == &quot;__main__&quot;:
+    try:
+        sys.path.insert(0, PYTHONPATH)
+    except NameError:
+        sys.exc_clear()
+
+    from calendarserver.tools.backup import main
+    main()
</ins></span></pre></div>
<a id="CalendarServertrunkbinpycalendarserver_bootstrap_databasefromrev12934CalendarServertrunkbincalendarserver_bootstrap_database"></a>
<div class="copfile"><h4>Copied: CalendarServer/trunk/bin/py/calendarserver_bootstrap_database (from rev 12934, CalendarServer/trunk/bin/calendarserver_bootstrap_database) (0 => 12946)</h4>
<pre class="diff"><span>
<span class="info">--- CalendarServer/trunk/bin/py/calendarserver_bootstrap_database                                (rev 0)
+++ CalendarServer/trunk/bin/py/calendarserver_bootstrap_database        2014-03-18 20:01:07 UTC (rev 12946)
</span><span class="lines">@@ -0,0 +1,30 @@
</span><ins>+#!/usr/bin/env python
+
+##
+# Copyright (c) 2011-2014 Apple Inc. All rights reserved.
+#
+# Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);
+# 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 &quot;AS IS&quot; 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.
+##
+
+import sys
+
+#PYTHONPATH
+
+if __name__ == &quot;__main__&quot;:
+    try:
+        sys.path.insert(0, PYTHONPATH)
+    except NameError:
+        sys.exc_clear()
+
+    from calendarserver.tools.bootstrapdatabase import main
+    main()
</ins></span></pre></div>
<a id="CalendarServertrunkbinpycalendarserver_check_database_schemafromrev12934CalendarServertrunkbincalendarserver_check_database_schema"></a>
<div class="copfile"><h4>Copied: CalendarServer/trunk/bin/py/calendarserver_check_database_schema (from rev 12934, CalendarServer/trunk/bin/calendarserver_check_database_schema) (0 => 12946)</h4>
<pre class="diff"><span>
<span class="info">--- CalendarServer/trunk/bin/py/calendarserver_check_database_schema                                (rev 0)
+++ CalendarServer/trunk/bin/py/calendarserver_check_database_schema        2014-03-18 20:01:07 UTC (rev 12946)
</span><span class="lines">@@ -0,0 +1,30 @@
</span><ins>+#!/usr/bin/env python
+
+##
+# Copyright (c) 2014 Apple Inc. All rights reserved.
+#
+# Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);
+# 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 &quot;AS IS&quot; 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.
+##
+
+import sys
+
+#PYTHONPATH
+
+if __name__ == &quot;__main__&quot;:
+    try:
+        sys.path.insert(0, PYTHONPATH)
+    except NameError:
+        sys.exc_clear()
+
+    from calendarserver.tools.checkdatabaseschema import main
+    main()
</ins></span></pre></div>
<a id="CalendarServertrunkbinpycalendarserver_command_gatewayfromrev12934CalendarServertrunkbincalendarserver_command_gateway"></a>
<div class="copfile"><h4>Copied: CalendarServer/trunk/bin/py/calendarserver_command_gateway (from rev 12934, CalendarServer/trunk/bin/calendarserver_command_gateway) (0 => 12946)</h4>
<pre class="diff"><span>
<span class="info">--- CalendarServer/trunk/bin/py/calendarserver_command_gateway                                (rev 0)
+++ CalendarServer/trunk/bin/py/calendarserver_command_gateway        2014-03-18 20:01:07 UTC (rev 12946)
</span><span class="lines">@@ -0,0 +1,30 @@
</span><ins>+#!/usr/bin/env python
+
+##
+# Copyright (c) 2006-2014 Apple Inc. All rights reserved.
+#
+# Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);
+# 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 &quot;AS IS&quot; 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.
+##
+
+import sys
+
+#PYTHONPATH
+
+if __name__ == &quot;__main__&quot;:
+    try:
+        sys.path.insert(0, PYTHONPATH)
+    except NameError:
+        sys.exc_clear()
+
+    from calendarserver.tools.gateway import main
+    main()
</ins></span></pre></div>
<a id="CalendarServertrunkbinpycalendarserver_configfromrev12934CalendarServertrunkbincalendarserver_config"></a>
<div class="copfile"><h4>Copied: CalendarServer/trunk/bin/py/calendarserver_config (from rev 12934, CalendarServer/trunk/bin/calendarserver_config) (0 => 12946)</h4>
<pre class="diff"><span>
<span class="info">--- CalendarServer/trunk/bin/py/calendarserver_config                                (rev 0)
+++ CalendarServer/trunk/bin/py/calendarserver_config        2014-03-18 20:01:07 UTC (rev 12946)
</span><span class="lines">@@ -0,0 +1,30 @@
</span><ins>+#!/usr/bin/env python
+
+##
+# Copyright (c) 2006-2014 Apple Inc. All rights reserved.
+#
+# Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);
+# 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 &quot;AS IS&quot; 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.
+##
+
+import sys
+
+#PYTHONPATH
+
+if __name__ == &quot;__main__&quot;:
+    try:
+        sys.path.insert(0, PYTHONPATH)
+    except NameError:
+        sys.exc_clear()
+
+    from calendarserver.tools.config import main
+    main()
</ins></span></pre></div>
<a id="CalendarServertrunkbinpycalendarserver_dashboardfromrev12934CalendarServertrunkbincalendarserver_dashboard"></a>
<div class="copfile"><h4>Copied: CalendarServer/trunk/bin/py/calendarserver_dashboard (from rev 12934, CalendarServer/trunk/bin/calendarserver_dashboard) (0 => 12946)</h4>
<pre class="diff"><span>
<span class="info">--- CalendarServer/trunk/bin/py/calendarserver_dashboard                                (rev 0)
+++ CalendarServer/trunk/bin/py/calendarserver_dashboard        2014-03-18 20:01:07 UTC (rev 12946)
</span><span class="lines">@@ -0,0 +1,30 @@
</span><ins>+#!/usr/bin/env python
+
+##
+# Copyright (c) 2006-2014 Apple Inc. All rights reserved.
+#
+# Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);
+# 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 &quot;AS IS&quot; 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.
+##
+
+import sys
+
+#PYTHONPATH
+
+if __name__ == &quot;__main__&quot;:
+    try:
+        sys.path.insert(0, PYTHONPATH)
+    except NameError:
+        sys.exc_clear()
+
+    from calendarserver.tools.dashboard import main
+    main()
</ins></span></pre></div>
<a id="CalendarServertrunkbinpycalendarserver_dbinspectfromrev12934CalendarServertrunkbincalendarserver_dbinspect"></a>
<div class="copfile"><h4>Copied: CalendarServer/trunk/bin/py/calendarserver_dbinspect (from rev 12934, CalendarServer/trunk/bin/calendarserver_dbinspect) (0 => 12946)</h4>
<pre class="diff"><span>
<span class="info">--- CalendarServer/trunk/bin/py/calendarserver_dbinspect                                (rev 0)
+++ CalendarServer/trunk/bin/py/calendarserver_dbinspect        2014-03-18 20:01:07 UTC (rev 12946)
</span><span class="lines">@@ -0,0 +1,30 @@
</span><ins>+#!/usr/bin/env python
+
+##
+# Copyright (c) 2011-2014 Apple Inc. All rights reserved.
+#
+# Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);
+# 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 &quot;AS IS&quot; 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.
+##
+
+import sys
+
+#PYTHONPATH
+
+if __name__ == &quot;__main__&quot;:
+    try:
+        sys.path.insert(0, PYTHONPATH)
+    except NameError:
+        sys.exc_clear()
+
+    from calendarserver.tools.dbinspect import main
+    main()
</ins></span></pre></div>
<a id="CalendarServertrunkbinpycalendarserver_dkimtoolfromrev12934CalendarServertrunkbincalendarserver_dkimtool"></a>
<div class="copfile"><h4>Copied: CalendarServer/trunk/bin/py/calendarserver_dkimtool (from rev 12934, CalendarServer/trunk/bin/calendarserver_dkimtool) (0 => 12946)</h4>
<pre class="diff"><span>
<span class="info">--- CalendarServer/trunk/bin/py/calendarserver_dkimtool                                (rev 0)
+++ CalendarServer/trunk/bin/py/calendarserver_dkimtool        2014-03-18 20:01:07 UTC (rev 12946)
</span><span class="lines">@@ -0,0 +1,29 @@
</span><ins>+#!/usr/bin/env python
+##
+# Copyright (c) 2012-2014 Apple Inc. All rights reserved.
+#
+# Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);
+# 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 &quot;AS IS&quot; 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.
+##
+
+import sys
+
+#PYTHONPATH
+
+if __name__ == &quot;__main__&quot;:
+    try:
+        sys.path.insert(0, PYTHONPATH)
+    except NameError:
+        sys.exc_clear()
+
+    from calendarserver.tools.dkimtool import main
+    main()
</ins></span></pre></div>
<a id="CalendarServertrunkbinpycalendarserver_exportfromrev12934CalendarServertrunkbincalendarserver_export"></a>
<div class="copfile"><h4>Copied: CalendarServer/trunk/bin/py/calendarserver_export (from rev 12934, CalendarServer/trunk/bin/calendarserver_export) (0 => 12946)</h4>
<pre class="diff"><span>
<span class="info">--- CalendarServer/trunk/bin/py/calendarserver_export                                (rev 0)
+++ CalendarServer/trunk/bin/py/calendarserver_export        2014-03-18 20:01:07 UTC (rev 12946)
</span><span class="lines">@@ -0,0 +1,30 @@
</span><ins>+#!/usr/bin/env python
+
+##
+# Copyright (c) 2006-2014 Apple Inc. All rights reserved.
+#
+# Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);
+# 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 &quot;AS IS&quot; 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.
+##
+
+import sys
+
+#PYTHONPATH
+
+if __name__ == &quot;__main__&quot;:
+    try:
+        sys.path.insert(0, PYTHONPATH)
+    except NameError:
+        sys.exc_clear()
+
+    from calendarserver.tools.export import main
+    main()
</ins></span></pre></div>
<a id="CalendarServertrunkbinpycalendarserver_icalendar_validatefromrev12934CalendarServertrunkbincalendarserver_icalendar_validate"></a>
<div class="copfile"><h4>Copied: CalendarServer/trunk/bin/py/calendarserver_icalendar_validate (from rev 12934, CalendarServer/trunk/bin/calendarserver_icalendar_validate) (0 => 12946)</h4>
<pre class="diff"><span>
<span class="info">--- CalendarServer/trunk/bin/py/calendarserver_icalendar_validate                                (rev 0)
+++ CalendarServer/trunk/bin/py/calendarserver_icalendar_validate        2014-03-18 20:01:07 UTC (rev 12946)
</span><span class="lines">@@ -0,0 +1,30 @@
</span><ins>+#!/usr/bin/env python
+
+##
+# Copyright (c) 2011-2014 Apple Inc. All rights reserved.
+#
+# Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);
+# 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 &quot;AS IS&quot; 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.
+##
+
+import sys
+
+#PYTHONPATH
+
+if __name__ == &quot;__main__&quot;:
+    try:
+        sys.path.insert(0, PYTHONPATH)
+    except NameError:
+        sys.exc_clear()
+
+    from calendarserver.tools.validcalendardata import main
+    main()
</ins></span></pre></div>
<a id="CalendarServertrunkbinpycalendarserver_load_augmentdbfromrev12934CalendarServertrunkbincalendarserver_load_augmentdb"></a>
<div class="copfile"><h4>Copied: CalendarServer/trunk/bin/py/calendarserver_load_augmentdb (from rev 12934, CalendarServer/trunk/bin/calendarserver_load_augmentdb) (0 => 12946)</h4>
<pre class="diff"><span>
<span class="info">--- CalendarServer/trunk/bin/py/calendarserver_load_augmentdb                                (rev 0)
+++ CalendarServer/trunk/bin/py/calendarserver_load_augmentdb        2014-03-18 20:01:07 UTC (rev 12946)
</span><span class="lines">@@ -0,0 +1,29 @@
</span><ins>+#!/usr/bin/env python
+##
+# Copyright (c) 2010-2014 Apple Inc. All rights reserved.
+#
+# Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);
+# 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 &quot;AS IS&quot; 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.
+##
+
+import sys
+
+#PYTHONPATH
+
+if __name__ == &quot;__main__&quot;:
+    try:
+        sys.path.insert(0, PYTHONPATH)
+    except NameError:
+        sys.exc_clear()
+
+    from calendarserver.tools.loadaugmentdb import main
+    main()
</ins></span></pre></div>
<a id="CalendarServertrunkbinpycalendarserver_manage_postgresfromrev12934CalendarServertrunkbincalendarserver_manage_postgres"></a>
<div class="copfile"><h4>Copied: CalendarServer/trunk/bin/py/calendarserver_manage_postgres (from rev 12934, CalendarServer/trunk/bin/calendarserver_manage_postgres) (0 => 12946)</h4>
<pre class="diff"><span>
<span class="info">--- CalendarServer/trunk/bin/py/calendarserver_manage_postgres                                (rev 0)
+++ CalendarServer/trunk/bin/py/calendarserver_manage_postgres        2014-03-18 20:01:07 UTC (rev 12946)
</span><span class="lines">@@ -0,0 +1,29 @@
</span><ins>+#!/usr/bin/env python
+##
+# Copyright (c) 2010-2014 Apple Inc. All rights reserved.
+#
+# Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);
+# 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 &quot;AS IS&quot; 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.
+##
+
+import sys
+
+#PYTHONPATH
+
+if __name__ == &quot;__main__&quot;:
+    try:
+        sys.path.insert(0, PYTHONPATH)
+    except NameError:
+        sys.exc_clear()
+
+    from calendarserver.tools.managepostgres import main
+    main()
</ins></span></pre></div>
<a id="CalendarServertrunkbinpycalendarserver_manage_principalsfromrev12934CalendarServertrunkbincalendarserver_manage_principals"></a>
<div class="copfile"><h4>Copied: CalendarServer/trunk/bin/py/calendarserver_manage_principals (from rev 12934, CalendarServer/trunk/bin/calendarserver_manage_principals) (0 => 12946)</h4>
<pre class="diff"><span>
<span class="info">--- CalendarServer/trunk/bin/py/calendarserver_manage_principals                                (rev 0)
+++ CalendarServer/trunk/bin/py/calendarserver_manage_principals        2014-03-18 20:01:07 UTC (rev 12946)
</span><span class="lines">@@ -0,0 +1,30 @@
</span><ins>+#!/usr/bin/env python
+
+##
+# Copyright (c) 2006-2014 Apple Inc. All rights reserved.
+#
+# Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);
+# 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 &quot;AS IS&quot; 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.
+##
+
+import sys
+
+#PYTHONPATH
+
+if __name__ == &quot;__main__&quot;:
+    try:
+        sys.path.insert(0, PYTHONPATH)
+    except NameError:
+        sys.exc_clear()
+
+    from calendarserver.tools.principals import main
+    main()
</ins></span></pre></div>
<a id="CalendarServertrunkbinpycalendarserver_manage_pushfromrev12934CalendarServertrunkbincalendarserver_manage_push"></a>
<div class="copfile"><h4>Copied: CalendarServer/trunk/bin/py/calendarserver_manage_push (from rev 12934, CalendarServer/trunk/bin/calendarserver_manage_push) (0 => 12946)</h4>
<pre class="diff"><span>
<span class="info">--- CalendarServer/trunk/bin/py/calendarserver_manage_push                                (rev 0)
+++ CalendarServer/trunk/bin/py/calendarserver_manage_push        2014-03-18 20:01:07 UTC (rev 12946)
</span><span class="lines">@@ -0,0 +1,30 @@
</span><ins>+#!/usr/bin/env python
+
+##
+# Copyright (c) 2006-2014 Apple Inc. All rights reserved.
+#
+# Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);
+# 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 &quot;AS IS&quot; 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.
+##
+
+import sys
+
+#PYTHONPATH
+
+if __name__ == &quot;__main__&quot;:
+    try:
+        sys.path.insert(0, PYTHONPATH)
+    except NameError:
+        sys.exc_clear()
+
+    from calendarserver.tools.push import main
+    main()
</ins></span></pre></div>
<a id="CalendarServertrunkbinpycalendarserver_manage_timezonesfromrev12934CalendarServertrunkbincalendarserver_manage_timezones"></a>
<div class="copfile"><h4>Copied: CalendarServer/trunk/bin/py/calendarserver_manage_timezones (from rev 12934, CalendarServer/trunk/bin/calendarserver_manage_timezones) (0 => 12946)</h4>
<pre class="diff"><span>
<span class="info">--- CalendarServer/trunk/bin/py/calendarserver_manage_timezones                                (rev 0)
+++ CalendarServer/trunk/bin/py/calendarserver_manage_timezones        2014-03-18 20:01:07 UTC (rev 12946)
</span><span class="lines">@@ -0,0 +1,29 @@
</span><ins>+#!/usr/bin/env python
+##
+# Copyright (c) 2011-2014 Apple Inc. All rights reserved.
+#
+# Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);
+# 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 &quot;AS IS&quot; 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.
+##
+
+import sys
+
+#PYTHONPATH
+
+if __name__ == &quot;__main__&quot;:
+    try:
+        sys.path.insert(0, PYTHONPATH)
+    except NameError:
+        sys.exc_clear()
+
+    from calendarserver.tools.managetimezones import main
+    main()
</ins></span></pre></div>
<a id="CalendarServertrunkbinpycalendarserver_migrate_resourcesfromrev12934CalendarServertrunkbincalendarserver_migrate_resources"></a>
<div class="copfile"><h4>Copied: CalendarServer/trunk/bin/py/calendarserver_migrate_resources (from rev 12934, CalendarServer/trunk/bin/calendarserver_migrate_resources) (0 => 12946)</h4>
<pre class="diff"><span>
<span class="info">--- CalendarServer/trunk/bin/py/calendarserver_migrate_resources                                (rev 0)
+++ CalendarServer/trunk/bin/py/calendarserver_migrate_resources        2014-03-18 20:01:07 UTC (rev 12946)
</span><span class="lines">@@ -0,0 +1,30 @@
</span><ins>+#!/usr/bin/env python
+
+##
+# Copyright (c) 2010-2014 Apple Inc. All rights reserved.
+#
+# Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);
+# 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 &quot;AS IS&quot; 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.
+##
+
+import sys
+
+#PYTHONPATH
+
+if __name__ == &quot;__main__&quot;:
+    try:
+        sys.path.insert(0, PYTHONPATH)
+    except NameError:
+        sys.exc_clear()
+
+    from calendarserver.tools.resources import main
+    main()
</ins></span></pre></div>
<a id="CalendarServertrunkbinpycalendarserver_monitor_amp_notificationsfromrev12934CalendarServertrunkbincalendarserver_monitor_amp_notifications"></a>
<div class="copfile"><h4>Copied: CalendarServer/trunk/bin/py/calendarserver_monitor_amp_notifications (from rev 12934, CalendarServer/trunk/bin/calendarserver_monitor_amp_notifications) (0 => 12946)</h4>
<pre class="diff"><span>
<span class="info">--- CalendarServer/trunk/bin/py/calendarserver_monitor_amp_notifications                                (rev 0)
+++ CalendarServer/trunk/bin/py/calendarserver_monitor_amp_notifications        2014-03-18 20:01:07 UTC (rev 12946)
</span><span class="lines">@@ -0,0 +1,30 @@
</span><ins>+#!/usr/bin/env python
+
+##
+# Copyright (c) 2006-2014 Apple Inc. All rights reserved.
+#
+# Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);
+# 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 &quot;AS IS&quot; 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.
+##
+
+import sys
+
+#PYTHONPATH
+
+if __name__ == &quot;__main__&quot;:
+    try:
+        sys.path.insert(0, PYTHONPATH)
+    except NameError:
+        sys.exc_clear()
+
+    from calendarserver.tools.ampnotifications import main
+    main()
</ins></span></pre></div>
<a id="CalendarServertrunkbinpycalendarserver_monitor_notificationsfromrev12934CalendarServertrunkbincalendarserver_monitor_notifications"></a>
<div class="copfile"><h4>Copied: CalendarServer/trunk/bin/py/calendarserver_monitor_notifications (from rev 12934, CalendarServer/trunk/bin/calendarserver_monitor_notifications) (0 => 12946)</h4>
<pre class="diff"><span>
<span class="info">--- CalendarServer/trunk/bin/py/calendarserver_monitor_notifications                                (rev 0)
+++ CalendarServer/trunk/bin/py/calendarserver_monitor_notifications        2014-03-18 20:01:07 UTC (rev 12946)
</span><span class="lines">@@ -0,0 +1,30 @@
</span><ins>+#!/usr/bin/env python
+
+##
+# Copyright (c) 2011-2014 Apple Inc. All rights reserved.
+#
+# Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);
+# 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 &quot;AS IS&quot; 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.
+##
+
+import sys
+
+#PYTHONPATH
+
+if __name__ == &quot;__main__&quot;:
+    try:
+        sys.path.insert(0, PYTHONPATH)
+    except NameError:
+        sys.exc_clear()
+
+    from calendarserver.tools.notifications import main
+    main()
</ins></span></pre></div>
<a id="CalendarServertrunkbinpycalendarserver_monitor_workfromrev12934CalendarServertrunkbincalendarserver_monitor_work"></a>
<div class="copfile"><h4>Copied: CalendarServer/trunk/bin/py/calendarserver_monitor_work (from rev 12934, CalendarServer/trunk/bin/calendarserver_monitor_work) (0 => 12946)</h4>
<pre class="diff"><span>
<span class="info">--- CalendarServer/trunk/bin/py/calendarserver_monitor_work                                (rev 0)
+++ CalendarServer/trunk/bin/py/calendarserver_monitor_work        2014-03-18 20:01:07 UTC (rev 12946)
</span><span class="lines">@@ -0,0 +1,30 @@
</span><ins>+#!/usr/bin/env python
+
+##
+# Copyright (c) 2006-2014 Apple Inc. All rights reserved.
+#
+# Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);
+# 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 &quot;AS IS&quot; 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.
+##
+
+import sys
+
+#PYTHONPATH
+
+if __name__ == &quot;__main__&quot;:
+    try:
+        sys.path.insert(0, PYTHONPATH)
+    except NameError:
+        sys.exc_clear()
+
+    from calendarserver.tools.workitems import main
+    main()
</ins></span></pre></div>
<a id="CalendarServertrunkbinpycalendarserver_purge_attachmentsfromrev12934CalendarServertrunkbincalendarserver_purge_attachments"></a>
<div class="copfile"><h4>Copied: CalendarServer/trunk/bin/py/calendarserver_purge_attachments (from rev 12934, CalendarServer/trunk/bin/calendarserver_purge_attachments) (0 => 12946)</h4>
<pre class="diff"><span>
<span class="info">--- CalendarServer/trunk/bin/py/calendarserver_purge_attachments                                (rev 0)
+++ CalendarServer/trunk/bin/py/calendarserver_purge_attachments        2014-03-18 20:01:07 UTC (rev 12946)
</span><span class="lines">@@ -0,0 +1,30 @@
</span><ins>+#!/usr/bin/env python
+
+##
+# Copyright (c) 2006-2014 Apple Inc. All rights reserved.
+#
+# Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);
+# 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 &quot;AS IS&quot; 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.
+##
+
+import sys
+
+#PYTHONPATH
+
+if __name__ == &quot;__main__&quot;:
+    try:
+        sys.path.insert(0, PYTHONPATH)
+    except NameError:
+        sys.exc_clear()
+
+    from calendarserver.tools.purge import PurgeAttachmentsService
+    PurgeAttachmentsService.main()
</ins></span></pre></div>
<a id="CalendarServertrunkbinpycalendarserver_purge_eventsfromrev12934CalendarServertrunkbincalendarserver_purge_events"></a>
<div class="copfile"><h4>Copied: CalendarServer/trunk/bin/py/calendarserver_purge_events (from rev 12934, CalendarServer/trunk/bin/calendarserver_purge_events) (0 => 12946)</h4>
<pre class="diff"><span>
<span class="info">--- CalendarServer/trunk/bin/py/calendarserver_purge_events                                (rev 0)
+++ CalendarServer/trunk/bin/py/calendarserver_purge_events        2014-03-18 20:01:07 UTC (rev 12946)
</span><span class="lines">@@ -0,0 +1,30 @@
</span><ins>+#!/usr/bin/env python
+
+##
+# Copyright (c) 2006-2014 Apple Inc. All rights reserved.
+#
+# Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);
+# 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 &quot;AS IS&quot; 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.
+##
+
+import sys
+
+#PYTHONPATH
+
+if __name__ == &quot;__main__&quot;:
+    try:
+        sys.path.insert(0, PYTHONPATH)
+    except NameError:
+        sys.exc_clear()
+
+    from calendarserver.tools.purge import PurgeOldEventsService
+    PurgeOldEventsService.main()
</ins></span></pre></div>
<a id="CalendarServertrunkbinpycalendarserver_purge_principalsfromrev12934CalendarServertrunkbincalendarserver_purge_principals"></a>
<div class="copfile"><h4>Copied: CalendarServer/trunk/bin/py/calendarserver_purge_principals (from rev 12934, CalendarServer/trunk/bin/calendarserver_purge_principals) (0 => 12946)</h4>
<pre class="diff"><span>
<span class="info">--- CalendarServer/trunk/bin/py/calendarserver_purge_principals                                (rev 0)
+++ CalendarServer/trunk/bin/py/calendarserver_purge_principals        2014-03-18 20:01:07 UTC (rev 12946)
</span><span class="lines">@@ -0,0 +1,30 @@
</span><ins>+#!/usr/bin/env python
+
+##
+# Copyright (c) 2006-2014 Apple Inc. All rights reserved.
+#
+# Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);
+# 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 &quot;AS IS&quot; 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.
+##
+
+import sys
+
+#PYTHONPATH
+
+if __name__ == &quot;__main__&quot;:
+    try:
+        sys.path.insert(0, PYTHONPATH)
+    except NameError:
+        sys.exc_clear()
+
+    from calendarserver.tools.purge import PurgePrincipalService
+    PurgePrincipalService.main()
</ins></span></pre></div>
<a id="CalendarServertrunkbinpycalendarserver_shellfromrev12934CalendarServertrunkbincalendarserver_shell"></a>
<div class="copfile"><h4>Copied: CalendarServer/trunk/bin/py/calendarserver_shell (from rev 12934, CalendarServer/trunk/bin/calendarserver_shell) (0 => 12946)</h4>
<pre class="diff"><span>
<span class="info">--- CalendarServer/trunk/bin/py/calendarserver_shell                                (rev 0)
+++ CalendarServer/trunk/bin/py/calendarserver_shell        2014-03-18 20:01:07 UTC (rev 12946)
</span><span class="lines">@@ -0,0 +1,30 @@
</span><ins>+#!/usr/bin/env python
+
+##
+# Copyright (c) 2006-2014 Apple Inc. All rights reserved.
+#
+# Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);
+# 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 &quot;AS IS&quot; 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.
+##
+
+import sys
+
+#PYTHONPATH
+
+if __name__ == &quot;__main__&quot;:
+    try:
+        sys.path.insert(0, PYTHONPATH)
+    except NameError:
+        sys.exc_clear()
+
+    from calendarserver.tools.shell.terminal import main
+    main()
</ins></span></pre></div>
<a id="CalendarServertrunkbinpycalendarserver_upgradefromrev12934CalendarServertrunkbincalendarserver_upgrade"></a>
<div class="copfile"><h4>Copied: CalendarServer/trunk/bin/py/calendarserver_upgrade (from rev 12934, CalendarServer/trunk/bin/calendarserver_upgrade) (0 => 12946)</h4>
<pre class="diff"><span>
<span class="info">--- CalendarServer/trunk/bin/py/calendarserver_upgrade                                (rev 0)
+++ CalendarServer/trunk/bin/py/calendarserver_upgrade        2014-03-18 20:01:07 UTC (rev 12946)
</span><span class="lines">@@ -0,0 +1,30 @@
</span><ins>+#!/usr/bin/env python
+
+##
+# Copyright (c) 2006-2014 Apple Inc. All rights reserved.
+#
+# Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);
+# 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 &quot;AS IS&quot; 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.
+##
+
+import sys
+
+#PYTHONPATH
+
+if __name__ == &quot;__main__&quot;:
+    try:
+        sys.path.insert(0, PYTHONPATH)
+    except NameError:
+        sys.exc_clear()
+
+    from calendarserver.tools.upgrade import main
+    main()
</ins></span></pre></div>
<a id="CalendarServertrunkbinpycalendarserver_verify_datafromrev12934CalendarServertrunkbincalendarserver_verify_data"></a>
<div class="copfile"><h4>Copied: CalendarServer/trunk/bin/py/calendarserver_verify_data (from rev 12934, CalendarServer/trunk/bin/calendarserver_verify_data) (0 => 12946)</h4>
<pre class="diff"><span>
<span class="info">--- CalendarServer/trunk/bin/py/calendarserver_verify_data                                (rev 0)
+++ CalendarServer/trunk/bin/py/calendarserver_verify_data        2014-03-18 20:01:07 UTC (rev 12946)
</span><span class="lines">@@ -0,0 +1,30 @@
</span><ins>+#!/usr/bin/env python
+
+##
+# Copyright (c) 2011-2014 Apple Inc. All rights reserved.
+#
+# Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);
+# 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 &quot;AS IS&quot; 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.
+##
+
+import sys
+
+#PYTHONPATH
+
+if __name__ == &quot;__main__&quot;:
+    try:
+        sys.path.insert(0, PYTHONPATH)
+    except NameError:
+        sys.exc_clear()
+
+    from calendarserver.tools.calverify import main
+    main()
</ins></span></pre>
</div>
</div>

</body>
</html>