Changeset 5081:9d16f502b2ee

Show
Ignore:
Timestamp:
2007-04-06 13:14:24 (21 months ago)
Author:
Brendan Cully <brendan@…>
Branch:
HEAD
Message:

Fix up release scripts for Hg

Files:
4 modified

Legend:

Unmodified
Added
Removed
  • ChangeLog

    r5077 r5081  
    1 2007-04-05 18:52 -0700  Brendan Cully  <brendan@kublai.com>  (94d3441e86d0) 
     12007-04-06 12:54 -0700  Brendan Cully  <brendan@kublai.com>  (bd9401de2690) 
     2 
     3        * lib.c: safe_rename: fall back to rename on ENOSYS and EPERM as well 
     4        as EXDEV. sshfs returns ENOSYS when attempting cross-directory 
     5        links. vfat returns EPERM. 
     6 
     7        * lib.c: Make safe_open with O_EXCL friendlier for NFS. Per #2707, 
     8        when an open file is moved into a different directory over NFS, it 
     9        may leave a .nfsXXX hardlink behind. This causes the rmdir in 
     10        safe_open to fail, leaving tempdir droppings around. This patch 
     11        works around the problem by closing the file after creating it and 
     12        reopening it after rename. 
     13 
     142007-04-05 21:38 -0700  Michael Elkins  <me@mutt.org>  (177c060504bb) 
     15 
     16        * configure.ac, hcache.c: Fixup to detect qdbm includes in 
     17        /usr/include/qdbm. 
     18 
     19        Remove HAVE_QDBM_VILLA_H because it is redundant. 
     20 
     212007-04-05 19:22 -0700  Brendan Cully  <brendan@kublai.com>  (ee0fabbde466) 
     22 
     23        * configure.ac, hcache.c: Fix up QDBM autoconf test for arguments 
     24        and includes in subdirectories 
    225 
    326        * imap/message.c: Fix logic error introduced in [efbcef81ac49] 
  • Makefile.am

    r5065 r5081  
    187187update-changelog: 
    188188        (cd $(top_srcdir); \ 
    189         cvs update ChangeLog; \ 
    190         sh ./mkchangelog.sh | fmt -c | cat  - ChangeLog > ChangeLog.$$$$ && mv ChangeLog.$$$$ ChangeLog; \ 
     189        sh ./mkchangelog.sh | cat  - ChangeLog > ChangeLog.$$$$ && mv ChangeLog.$$$$ ChangeLog; \ 
    191190        $${VISUAL:-vi} ChangeLog) 
    192191 
  • build-release

    r4969 r5081  
    2424devel="devel/"  # comment out for the stable branch 
    2525 
     26# test for uncommitted changes 
     27if hg id | grep -q '+' 
     28then 
     29  echo "Uncommitted changes" 
     30  exit 1 
     31fi 
     32 
    2633# update the source 
    2734 
    28 #cvs update 
     35hg update 
    2936 
    3037# Do automated security checks 
     
    6774#cvs commit -m "automatic post-release commit for mutt-${VERSION}" 
    6875#make commit-changelog  
    69 #cvs tag ${TAG} 
     76hg tag ${TAG} 
    7077 
    7178# build the diff between the two releases 
    7279 
    73 if test "$diff" = yes ; then 
    74         cvs rdiff -u -r ${OTAG} -r ${TAG} mutt | gzip -9 \ 
     80if test "$diff" = yes 
     81then 
     82  hg diff -r ${OTAG} -r ${TAG} | gzip -9 \ 
    7583                > diff-${OVERSION}-${VERSION}.gz 
    7684fi 
     
    102110done 
    103111 
    104 cvs update 
     112hg update 
     113gpg sign 
    105114 
    106115# Finally, announce the new mutt to the public 
  • mkchangelog.sh

    r4357 r5081  
    22 
    33TZ=GMT; export TZ 
    4 date="`head -1 ChangeLog | awk '{print $1, $2}'`" 
    5 test -n "$date" || exit 1 
    6 cvs -z9 log -d ">$date" | perl ./cvslog2changelog.pl 
     4lrev=$(hg log --limit 1 --template '{rev}' ChangeLog) 
     5 
     6hg log --style=./hg-changelog-map -r tip:$lrev