Added empty Tasks package and queue.yaml.
Also reserved an admin only URL space for use by Tasks.
--- a/app/app.yaml.template Sat Jul 11 20:42:23 2009 +0200
+++ b/app/app.yaml.template Sat Jul 11 23:15:22 2009 +0200
@@ -47,6 +47,10 @@
script: shell/shell.py
login: admin
+- url: /tasks/*
+ script: main.py
+ login: admin
+
- url: /static
static_dir: shell/static
expiration: 1d
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/app/queue.yaml Sat Jul 11 23:15:22 2009 +0200
@@ -0,0 +1,19 @@
+# Copyright 2009 the Melange authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+queue:
+
+# queue used for tasks that send out mail
+- name: mail
+ rate: 1/s
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/app/soc/tasks/__init__.py Sat Jul 11 23:15:22 2009 +0200
@@ -0,0 +1,16 @@
+#
+# Copyright 2009 the Melange authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""This module contains Melange Task API related modules."""
\ No newline at end of file