summaryrefslogtreecommitdiff
path: root/g_cran
diff options
context:
space:
mode:
authorAuke Booij (tulcod) <auke@tulcod.com>2010-08-03 22:49:17 +0200
committerAuke Booij (tulcod) <auke@tulcod.com>2010-08-03 22:49:17 +0200
commit37dcd30b6236b33d7785aabbfa94ea66539371ef (patch)
tree2da48c3dbcf1d548ee56813af013cdeed96ce529 /g_cran
parentWrite metadata.xml, clean repo, populate profiles/, call drivers' generate-ma... (diff)
downloadg-cran-37dcd30b6236b33d7785aabbfa94ea66539371ef.tar.gz
g-cran-37dcd30b6236b33d7785aabbfa94ea66539371ef.tar.bz2
g-cran-37dcd30b6236b33d7785aabbfa94ea66539371ef.zip
Add generate-metadata action to g-cran, small fix in generate-tree action of g-common
Diffstat (limited to 'g_cran')
-rw-r--r--g_cran/g_cran.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/g_cran/g_cran.py b/g_cran/g_cran.py
index 1847d92..3a7b3dc 100644
--- a/g_cran/g_cran.py
+++ b/g_cran/g_cran.py
@@ -91,6 +91,10 @@ def action_package(repo_location,package_name):
print 'GCOMMON_PHASES='+' '.join(defined_phases)
return 0
+def action_generate_metadata(repo_location):
+ #todo, nothing written yet.
+ return 0
+
def usage():
print __doc__
return 0
@@ -110,6 +114,8 @@ def main():
sys.exit(1)
remote_repo=arguments[2]
return action_sync(repo_location,remote_repo)
+ elif action=='generate-metadata':
+ return action_generate_metadata(repo_location)
elif action=='list-categories':
return list_categories(repo_location)
elif action=='list-packages':