rel-eng/build-missing-builds-in-koji.sh | 24 ++++++++++++------------
1 file changed, 12 insertions(+), 12 deletions(-)
New commits:
commit 0de6c34bf3f89d611357d453da557fa56c6a48d9
Author: Miroslav Suchý <msuchy(a)redhat.com>
Date: Tue Aug 4 10:36:25 2009 +0200
do not build heirloom-pkgtools in nightly
diff --git a/rel-eng/build-missing-builds-in-koji.sh
b/rel-eng/build-missing-builds-in-koji.sh
index 8718934..eeb3644 100755
--- a/rel-eng/build-missing-builds-in-koji.sh
+++ b/rel-eng/build-missing-builds-in-koji.sh
@@ -11,7 +11,7 @@ export PYTHONUNBUFFERED=1
for tag in 0 1 2; do
rel-eng/koji-missing-builds.py --no-extra ${TAGS[$tag]} | \
- awk '!(/buildsys-macros/ || /oracle-server-admin/ || /oracle-server-scripts/) {
+ awk '!(/buildsys-macros/ || /oracle-server-admin/ || /oracle-server-scripts/ ||
/heirloom-pkgtools/) {
if (x==1) { print gensub(" *([a-zA-Z_-]+)-.*",
"\\1", "g")}
}
/Builds missing in koji/ { x=1 }' | \
commit d6276ea4ab79bd2a92a10876ce3f2c91b4083f66
Author: Miroslav Suchý <msuchy(a)redhat.com>
Date: Tue Aug 4 10:30:14 2009 +0200
run builds only once - tito build it for all arch, no need to run it for every tag
diff --git a/rel-eng/build-missing-builds-in-koji.sh
b/rel-eng/build-missing-builds-in-koji.sh
index 215d59e..8718934 100755
--- a/rel-eng/build-missing-builds-in-koji.sh
+++ b/rel-eng/build-missing-builds-in-koji.sh
@@ -1,6 +1,6 @@
#!/bin/bash
-TAGS=([0]="dist-5E-sw-0.6-candidate"
[1]="dist-f10-sw-0.6-candidate")
+TAGS=([0]="dist-5E-sw-0.6-candidate" [1]="dist-f10-sw-0.6-candidate"
[2]="dist-f11-sw-0.6-candidate")
pushd `pwd`
@@ -9,22 +9,22 @@ cd `dirname $0`/..
# say python to be nice to pipe
export PYTHONUNBUFFERED=1
-for tag in 0 1; do
+for tag in 0 1 2; do
rel-eng/koji-missing-builds.py --no-extra ${TAGS[$tag]} | \
awk '!(/buildsys-macros/ || /oracle-server-admin/ || /oracle-server-scripts/) {
if (x==1) { print gensub(" *([a-zA-Z_-]+)-.*",
"\\1", "g")}
}
/Builds missing in koji/ { x=1 }' | \
xargs -I replacestring awk '{print $2}' rel-eng/packages/replacestring | \
- grep -v solaris | \
- while read package ; do
- (
- echo Building package in path $package
- cd $package && ${TITO_PATH}tito build --koji-release | \
- awk '/Wrote:.*tar.gz/ {print $2}' | \
- xargs -I packagepath scp packagepath fedorahosted.org:spacewalk
- )
- done
+ grep -v solaris
+done | sort | uniq | \
+while read package ; do
+ (
+ echo Building package in path $package
+ cd $package && ${TITO_PATH}tito build --koji-release | \
+ awk '/Wrote:.*tar.gz/ {print $2}' | \
+ xargs -I packagepath scp packagepath fedorahosted.org:spacewalk
+ )
done
popd
Show replies by date