update to include extra packages list

This commit is contained in:
builder 2020-07-14 10:52:08 -06:00
parent e4c00bcfa8
commit 7413c67f51
5 changed files with 19 additions and 8 deletions

View File

@ -1,4 +1,5 @@
#!/bin/sh
set -x
export CVSREADONLYFS=1
DESTLIST=/home/builder/fulllist
@ -35,5 +36,6 @@ do
printf "SELECT DISTINCT fullpkgpath from ports where fullpkgpath like '%s' or fullpkgpath like '%s,%%'" "$port" "$port" | sqlite3 /usr/local/share/sqlports >> $DESTLIST
done
cat config/include.txt $DESTLIST | sort | uniq > $DESTLIST
cat config/include.txt $DESTLIST | sort | uniq > ${DESTLIST}.new
mv ${DESTLIST}.new $DESTLIST
echo "devel/quirks" >> $DESTLIST

View File

@ -10,6 +10,13 @@ do
scp $REMOTE:scripts/config/rsync_output /tmp/${arch}_output.txt
done
grep tgz$ /tmp/*_output.txt
if [ $? -ne 0 ]
then
echo "No package ?!" | mail -s "no package stable" solene@openbsd.org
exit 1
fi
# generate some build stats for the mail
{
printf "Hello. New package(s) to sign.\n\n---\n"

View File

@ -2,6 +2,10 @@
PATHLIST=$(cut -d '/' -f 1-2 config/tmppkgliste | sort | uniq | tr '\n' ' ')
# fetch distfiles to avoid issues
cd /home/ports
env SUBDIRLIST=~/fulllist BULK=yes make fetch
for arch in sparc64 amd64 i386 arm64; do
REMOTE=builder@${arch}-stable.ports.openbsd.org
scp config/*clude.txt ${REMOTE}:scripts/config/

View File

@ -10,9 +10,9 @@ for port in $(cat $TMPLIST)
do
for dep in $(printf "SELECT DISTINCT fullpkgpath from ports where fullpkgpath like '%s' and not pkgspec LIKE '%%*' ;" "$port" | sqlite3 /usr/local/share/sqlports)
do
show-reverse-deps "$dep" | tee -a $TMPFILE
show-reverse-deps "$dep" >> $TMPFILE
done
done
echo "pkgpath that should be included or excluded"
cat config/{include,exclude}.txt $TMPFILE | sort | uniq
echo "pkgpath that should be included or excluded (if any)"
cat config/{include,exclude}.txt $TMPFILE | sort | uniq -u

View File

@ -13,10 +13,8 @@ then
set -x
./02_make_liste.sh
set -e
./03_clean_packages.sh
./04_make.sh
./05_copy_packages.sh
./06_send_mail.sh
./10_start_remote.sh
./07_send_mail_global.sh
else
echo "nothing to do"
fi