[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

scripts that need to be updated to f11? f12



puppet/modules/scripts/files/maps/maps.sh was not updated to f11. Is
it still being used?

I have attached a proposed patch to cover those changes. Please let me
know if I can commit them.


Thankyou
-- 
Stephen J Smoogen.

Ah, but a man's reach should exceed his grasp. Or what's a heaven for?
-- Robert Browning
From 4496e8034f8735da0b5afe9d3d5cc2facfb71ed8 Mon Sep 17 00:00:00 2001
From: Stephen Smoogen <smooge redhat com>
Date: Sat, 14 Nov 2009 00:51:25 +0000
Subject: [PATCH] Added f11 and f12 to scripts.

---
 modules/scripts/files/fedoraUsage.sh  |    1 +
 modules/scripts/files/get-webfiles.sh |    2 +-
 modules/scripts/files/maps/maps.sh    |    2 +-
 modules/scripts/files/maps/parse9.pl  |    2 ++
 4 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/modules/scripts/files/fedoraUsage.sh b/modules/scripts/files/fedoraUsage.sh
index 29d5e73..c76be28 100644
--- a/modules/scripts/files/fedoraUsage.sh
+++ b/modules/scripts/files/fedoraUsage.sh
@@ -24,3 +24,4 @@ updateIps updates-released-f8
 updateIps updates-released-f9
 updateIps updates-released-f10
 updateIps updates-released-f11
+updateIps updates-released-f12
diff --git a/modules/scripts/files/get-webfiles.sh b/modules/scripts/files/get-webfiles.sh
index a643be9..3d47a2f 100644
--- a/modules/scripts/files/get-webfiles.sh
+++ b/modules/scripts/files/get-webfiles.sh
@@ -2,7 +2,7 @@
 
 TEMPDIR=`mktemp -d -t 'cvs.XXXX'`
 cd $TEMPDIR
-for dist in devel EL-4 EL-5 F-10 F-11 F-9
+for dist in devel EL-4 EL-5 F-9 F-10 F-11 F-12
 do
     HOME=/tmp /usr/bin/cvs -Q -d :pserver:anonymous cvs fedoraproject org:/cvs/pkgs co $dist
     /bin/tar -zcf /srv/web/webfiles/$dist.tgz ./$dist/
diff --git a/modules/scripts/files/maps/maps.sh b/modules/scripts/files/maps/maps.sh
index f5f3618..ba55ddb 100755
--- a/modules/scripts/files/maps/maps.sh
+++ b/modules/scripts/files/maps/maps.sh
@@ -10,7 +10,7 @@ MONTH="`date +'%m'`"
 DAY="`date +'%d'`"
 YDAY="`date -d yesterday +"%d"`"
 #YDAY="`expr $(date -d yesterday +"%d") - 1 `"
-MAPS="f7 f8 f9 f8newkey f9newkey el4 el5 f10"
+MAPS="f7 f8 f9 f8newkey f9newkey el4 el5 f10 f11 f12"
 NEWDATE=$YEAR"-"$MONTH"-"$YDAY
 HOME="/var/tmp"
 #delete the older logs first, we dont want a clutter
diff --git a/modules/scripts/files/maps/parse9.pl b/modules/scripts/files/maps/parse9.pl
index abd9393..2a46412 100755
--- a/modules/scripts/files/maps/parse9.pl
+++ b/modules/scripts/files/maps/parse9.pl
@@ -21,6 +21,8 @@ $tags{f7} = "7";
 $tags{f8} = "8";
 $tags{f9} = "9";
 $tags{f10} = "10";
+$tags{f11} = "11";
+$tags{f12} = "12";
 $tags{el4} = "epel-4";
 $tags{el5} = "epel-5";
 $tags{f8newkey} = "8.newkey";
-- 
1.5.5.6


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]