aboutsummaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
authorFrancesco Potortì2002-12-11 10:00:52 +0000
committerFrancesco Potortì2002-12-11 10:00:52 +0000
commitfda1ff99fa9c3b31a32c5156b2905a10c0b0bde1 (patch)
treede31b276b40a8bc82b2cd83199c9afc47987efd2 /admin
parentedf997018eb063b7a3bfe7a514badfd2c0ea9bbc (diff)
downloademacs-fda1ff99fa9c3b31a32c5156b2905a10c0b0bde1.tar.gz
emacs-fda1ff99fa9c3b31a32c5156b2905a10c0b0bde1.zip
A script that creates the announcement for a pretest.
Diffstat (limited to 'admin')
-rwxr-xr-xadmin/make-announcement67
1 files changed, 67 insertions, 0 deletions
diff --git a/admin/make-announcement b/admin/make-announcement
new file mode 100755
index 00000000000..19c90df1466
--- /dev/null
+++ b/admin/make-announcement
@@ -0,0 +1,67 @@
1#! /bin/bash
2
3if [ $# -ne 2 ]; then
4 echo "usage: $0 <old version number> <new version number>" >&2
5 exit 1
6fi
7
8if [ ! -f INSTALL -o ! -f configure -o ! -d lib-src ]; then
9 echo "this script should be run in the emacs root directory" >&2
10 exit 2
11fi
12
13OLD=$1
14NEW=$2
15outfile=emacs-$NEW.announce
16oldtag=EMACS_PRETEST_$(echo $OLD|tr . _)
17newtag=EMACS_PRETEST_$(echo $NEW|tr . _)
18
19if [ -f $outfile ]; then
20 echo "$outfile exists"
21 echo -n "interrupt to abort, ENTER to overwrite "; read answer
22fi
23
24echo -n "tag name for emacs $OLD [$oldtag]: "; read answer
25if [ "$answer" ]; then oldtag=$answer; fi
26
27echo -n "tag name for emacs $NEW [$newtag]: "; read answer
28if [ "$answer" ]; then newtag=$answer; fi
29
30exec > $outfile
31
32cat <<EOF
33There is a new pretest available in
34
35 <ftp://alpha.gnu.org/gnu/emacs/pretest/emacs-$NEW.tar.gz>
36 <ftp://alpha.gnu.org/gnu/emacs/pretest/leim-$NEW.tar.gz>
37
38Please report results from compiling and running the pretest to
39<emacs-pretest-bug@gnu.org>. Your feedback is necessary for us
40to know on which platforms the pretest has been tried.
41
42If you have the tars from the previous pretest, and you have the
43\`xdelta' utility, you can instead download the much smaller
44
45 <ftp://alpha.gnu.org/gnu/emacs/pretest/emacs-$OLD-$NEW.xdelta>
46 <ftp://alpha.gnu.org/gnu/emacs/pretest/leim-$OLD-$NEW.xdelta>
47
48You can use a command like
49
50 $ xdelta patch XDELTA PREVIOUS-TAR CURRENT-TAR
51
52to generate the new tar from the old one, where XDELTA is the xdelta
53file you downloaded, PREVIOUS-TAR is the tar file from the previous
54pretest, and CURRENT-TAR is the name of the tar file you downloaded.
55
56Information about xdelta can be found on the GNU ftp site, in
57/non-gnu/xdelta.README.
58
59Changes since $OLD
60
61EOF
62
63cvs -q diff -b -r $oldtag -r $newtag $(find -name ChangeLog|sort) |
64 sed -n -e 's/^=\+/ /p' -e 's/^> //p' -e 's/^diff.*//p' \
65 -e 's/^RCS file: .cvsroot.emacs.emacs.\(.*\),v/\1/p'
66
67echo " announcement created in $outfile" >&2