Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/devbot/config.py
diff options
context:
space:
mode:
authorDaniel Narvaez <dwnarvaez@gmail.com>2012-11-16 15:17:10 (GMT)
committer Daniel Narvaez <dwnarvaez@gmail.com>2012-11-16 15:17:10 (GMT)
commit2cac32f92d73eb68d261dc01c0d34314401cf79f (patch)
treea60f963a8a56f9babe6f8b5b2c86e2a218d80a44 /devbot/config.py
parent267e9d4de8b5330025aaad788d676a09e17f49f4 (diff)
Rework the autoinstall command
It now automatically listen on all the sugar trees
Diffstat (limited to 'devbot/config.py')
-rw-r--r--devbot/config.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/devbot/config.py b/devbot/config.py
index bfcc966..3207584 100644
--- a/devbot/config.py
+++ b/devbot/config.py
@@ -60,6 +60,12 @@ def set_commands_dir(dir):
global commands_dir
commands_dir = dir
+def get_module_source_dir(module):
+ return os.path.join(source_dir, module["name"])
+
+def get_module_build_dir(module):
+ return os.path.join(build_dir, module["name"])
+
def load_packages():
return _load_deps_json("packages-%s" % distro.get_system_version())