#!/usr/bin/python
-
+# $Id$
# expected argument is a URL on build.onelab.eu
# this would then update the alpha node repo from that place
# NOTE
except:
raise
+##########
def run (command,options,force=False):
if ( force or not options.dry_run):
print 'Running',command
if prompt ('Need to fetch rpms from %s ' % http):
rsync_xfer(http,repo,options)
+ if prompt ('Install yumgroups'):
+ command="mv %s/xfer/RPMS/yumgroups.xml %s/"%(repo,repo)
+ run(command,options)
+
if prompt ('Get list of standard rpms from %s ' % standard):
rpm_names=extract_contents(standard)