update
authorthierry <thierry@41d37cc5-eb28-0410-a9bf-d37491348ade>
Thu, 26 Feb 2009 14:40:13 +0000 (14:40 +0000)
committerthierry <thierry@41d37cc5-eb28-0410-a9bf-d37491348ade>
Thu, 26 Feb 2009 14:40:13 +0000 (14:40 +0000)
scripts/alpha-repo.py
scripts/renew_reminder.pl

index cf23223..c4fef59 100755 (executable)
@@ -1,5 +1,5 @@
 #!/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
@@ -33,6 +33,7 @@ def prompt (question,default=True):
     except:
         raise
 
+##########
 def run (command,options,force=False):
     if ( force or not options.dry_run):
         print 'Running',command
@@ -113,6 +114,10 @@ def main ():
     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)
 
index bef7bd1..aaa7068 100755 (executable)
@@ -8,7 +8,7 @@
 # Mark Huang <mlhuang@cs.princeton.edu>
 # Copyright (C) 2005 The Trustees of Princeton University
 #
-# $Id: renew_reminder.pl,v 1.1 2005/06/28 16:49:12 mlhuang Exp $
+# $Id$
 #
 
 use strict;