Re: [HACKERS] Removing derived files from CVS

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [HACKERS] Removing derived files from CVS
Дата
Msg-id 2170.921956275@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [HACKERS] Removing derived files from CVS  (The Hermit Hacker <scrappy@hub.org>)
Ответы Re: [HACKERS] Removing derived files from CVS
Список pgsql-hackers
I have installed a script (src/tools/release_prep) that generates the
parser and ecpg/preproc derived files on-the-fly, and removed said files
from CVS.

(I didn't do anything about src/configure --- how do people feel about
that?  I'd want to see hub's autoconf updated to 2.13 anyway, if it is
going to start generating configure locally.)

In order to generate snapshot tarballs that contain these derived files,
you need to replace ~pgsql/bin/mk-snapshot at hub.org with the attached
script.  (You can find a copy in ~tgl/bin/mk-snapshot at hub, if you'd
rather copy that file than cut-n-paste.)  It doesn't look like I have
write permission on that file, so it's up to you.

You'll need to make a comparable mod in whatever script you use for
preparing releases, too, but I didn't find that one in looking around.

BTW: in testing this script, I produced a tarball of 5894631 bytes,
whereas last night's snapshot is 5974070 bytes.  It would appear that
there's 80k (compressed) worth of cruft in the ~pgsql/pgsql tree that
CVSup is not cleaning out.  Indeed the *,v files in that toplevel
directory are not there in a fresh checkout.  I'd suggest rm -rf'ing
the whole tree and making CVSup do a fresh checkout.
        regards, tom lane


#!/bin/sh
PATH=/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
cd /home/projects/pgsql
# check out tree
/usr/local/bin/cvsup -L 1 -g -Z README.cvsup
# perform prerelease cleanup
cd pgsql
src/tools/release_prep
cd ..
# make the snapshot tarfile
tar czpf tmp/postgresql.snapshot.tar.gz pgsql
rm -f ftp/pub/postgresql.snapshot.tar.gz
mv -f tmp/postgresql.snapshot.tar.gz ftp/pub/postgresql.snapshot.tar.gz


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] aggregation memory leak and fix
Следующее
От: Michael Meskes
Дата:
Сообщение: Re: [HACKERS] 6.5 Features list