rel-eng/build-missing-builds-in-brew.sh | 22 ++++++++++++++++++++++
rel-eng/build-missing-builds-in-koji.sh | 30 ++++++++++++++++++++++++++++++
2 files changed, 52 insertions(+)
New commits:
commit 1b677729fa5e87d328adf330b689d89794fe5c9c
Author: Dennis Gilmore <dennis(a)ausil.us>
Date: Wed Aug 12 12:46:24 2009 -0500
adding the scripts back i thought they were different ones.
Revert "remove outdated build missing scripts"
This reverts commit 549493f74c548084400913a104bafc2ac632c38f.
diff --git a/rel-eng/build-missing-builds-in-brew.sh
b/rel-eng/build-missing-builds-in-brew.sh
new file mode 100755
index 0000000..17aa904
--- /dev/null
+++ b/rel-eng/build-missing-builds-in-brew.sh
@@ -0,0 +1,22 @@
+#!/bin/bash
+
+TAG=satellite-5E-5.3-candidate
+pushd `pwd`
+
+cd `dirname $0`/..
+
+rel-eng/brew-missing-builds.pl $TAG | \
+ awk '!/buildsys-macros/ {
+ if (x==1) { print gensub(" *([a-zA-Z_-]+)-.*",
"\\1", "g")}
+ }
+ /Builds missing in brew/ { x=1 }' | \
+ xargs -I replacestring awk '{print $2}' rel-eng/packages/replacestring | \
+ while read package ; do
+ (
+ cd $package && make srpm DIST='.el5' | \
+ awk '/Wrote:/ {print $2}' | \
+ xargs -I packagepath brew build $TAG packagepath
+ )
+done
+
+popd
diff --git a/rel-eng/build-missing-builds-in-koji.sh
b/rel-eng/build-missing-builds-in-koji.sh
new file mode 100755
index 0000000..eeb3644
--- /dev/null
+++ b/rel-eng/build-missing-builds-in-koji.sh
@@ -0,0 +1,30 @@
+#!/bin/bash
+
+TAGS=([0]="dist-5E-sw-0.6-candidate" [1]="dist-f10-sw-0.6-candidate"
[2]="dist-f11-sw-0.6-candidate")
+
+pushd `pwd`
+
+cd `dirname $0`/..
+
+# say python to be nice to pipe
+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/ ||
/heirloom-pkgtools/) {
+ 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
+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