Tom Lane wrote:
Alvaro Herrera <[EMAIL PROTECTED]> writes:
According to Stefan Kaltenbrunner, who took the time to delve into
developer.pg.org guts, the script used to generate the snapshots looks
like this

/usr/bin/cvs -q export -rREL8_3_STABLE pgsql
cd pgsql
./configure
cd doc/src
gmake postgres.tar.gz
mv postgres.tar.gz ..
gmake postgres.tar.gz
mv postgres.tar.gz ..
gmake man.tar.gz
mv man.tar.gz ..
cd sgml
gmake HISTORY INSTALL
mv -f HISTORY INSTALL ../../..
cd ../../..
gmake VERSION=snapshot dist
gmake maintainer-clean

That can't be the right script --- the final "maintainer-clean" would
wipe out all the derived files made by the dist step.  Also, it's
*definitely* not the script being used to generate HEAD-branch
snapshots ...

no it is not the -HEAD situation is significantly worse because what we are actually shipping as the manpages there are the ones from 7.4 ...

set -e
export PATH=/usr/local/bin:/usr/bin:/bin:/sbin
export CVSROOT=:ext:[EMAIL PROTECTED]:/cvsroot
cd /usr/local/pgsql/snapshot
if [ -d pgsql ]
then
  mv pgsql pgsql.dead
fi
if [ -d pgsql.dead ]
then
  rm -rf pgsql.dead &
fi
/usr/bin/cvs -q export -rHEAD pgsql
cd pgsql
./configure
cd doc/src
gmake postgres.tar.gz
mv postgres.tar.gz ..
cp ~ftp/pub/dev/doc/man-7.4.tar.gz ../man.tar.gz
cd sgml
gmake HISTORY INSTALL
mv -f HISTORY INSTALL ../../..
cd ../../..
gmake VERSION=snapshot dist
gmake maintainer-clean

for x in *.tar.gz; do
  md5 $x > $x.md5
done

cp *.tar.gz *.tar.gz.md5 /var/spool/ftp/pub/snapshot/dev

gunzip *.tar.gz
bzip2 -f *.tar

for x in *.tar.bz2; do
  md5 $x > $x.md5
done

mv *.tar.bz2 *.tar.bz2.md5 /var/spool/ftp/pub/snapshot/dev



Stefan

--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to