aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek.chauhan@gmail.com>2008-09-02 22:28:34 +0530
committerNirbheek Chauhan <nirbheek.chauhan@gmail.com>2008-09-02 22:28:34 +0530
commit3c5a0f5de49a5971b2824b454d86f9dd0f6c542c (patch)
tree50c94e804c10f517de9a6f3cf283e0e2caa0104e /master/custom/sample_data.py
parentsetup-master.py now does db initialization (diff)
downloadautotua-3c5a0f5de49a5971b2824b454d86f9dd0f6c542c.tar.gz
autotua-3c5a0f5de49a5971b2824b454d86f9dd0f6c542c.tar.bz2
autotua-3c5a0f5de49a5971b2824b454d86f9dd0f6c542c.zip
Setup a sample job while syncing db
- master/custom/sample_data.py -- data for job intialisation - master/setup-master.py -- Implement sample job initialisation after syncdb - Fix a few bugs in models.py regarding self._get_deplist - Move master/autotua/process/const.py to master/autotua/const.py after removing stuff that's in the DB now
Diffstat (limited to 'master/custom/sample_data.py')
-rw-r--r--master/custom/sample_data.py19
1 files changed, 19 insertions, 0 deletions
diff --git a/master/custom/sample_data.py b/master/custom/sample_data.py
new file mode 100644
index 0000000..1f53981
--- /dev/null
+++ b/master/custom/sample_data.py
@@ -0,0 +1,19 @@
+# vim: set sw=4 sts=4 et :
+# Copyright: 2008 Gentoo Foundation
+# Author(s): Nirbheek Chauhan <nirbheek.chauhan@gmail.com>
+# License: GPL-2
+#
+# Immortal lh!
+#
+
+sample_job = {
+ 'name': 'Sample AutotuA job',
+ 'maintainer': ('test_user', 'test_user_email@test.com', None),
+ 'provider': 'gentoo',
+ 'stage': 'stage3',
+ 'arch': 'i686',
+ 'release': '2008.0',
+ 'jobtagerev': '',
+ 'atoms': 'bheekling/test-brasero',
+}
+