Changeset 5081:9d16f502b2ee
- Timestamp:
- 2007-04-06 13:14:24 (21 months ago)
- Author:
- Brendan Cully <brendan@…>
- Branch:
- HEAD
- Message:
-
Fix up release scripts for Hg
- Files:
-
Legend:
- Unmodified
- Added
- Removed
-
|
r5077
|
r5081
|
|
| 1 | | 2007-04-05 18:52 -0700 Brendan Cully <brendan@kublai.com> (94d3441e86d0) |
| | 1 | 2007-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 | |
| | 14 | 2007-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 | |
| | 21 | 2007-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 |
| 2 | 25 | |
| 3 | 26 | * imap/message.c: Fix logic error introduced in [efbcef81ac49] |
-
|
r5065
|
r5081
|
|
| 187 | 187 | update-changelog: |
| 188 | 188 | (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; \ |
| 191 | 190 | $${VISUAL:-vi} ChangeLog) |
| 192 | 191 | |
-
|
r4969
|
r5081
|
|
| 24 | 24 | devel="devel/" # comment out for the stable branch |
| 25 | 25 | |
| | 26 | # test for uncommitted changes |
| | 27 | if hg id | grep -q '+' |
| | 28 | then |
| | 29 | echo "Uncommitted changes" |
| | 30 | exit 1 |
| | 31 | fi |
| | 32 | |
| 26 | 33 | # update the source |
| 27 | 34 | |
| 28 | | #cvs update |
| | 35 | hg update |
| 29 | 36 | |
| 30 | 37 | # Do automated security checks |
| … |
… |
|
| 67 | 74 | #cvs commit -m "automatic post-release commit for mutt-${VERSION}" |
| 68 | 75 | #make commit-changelog |
| 69 | | #cvs tag ${TAG} |
| | 76 | hg tag ${TAG} |
| 70 | 77 | |
| 71 | 78 | # build the diff between the two releases |
| 72 | 79 | |
| 73 | | if test "$diff" = yes ; then |
| 74 | | cvs rdiff -u -r ${OTAG} -r ${TAG} mutt | gzip -9 \ |
| | 80 | if test "$diff" = yes |
| | 81 | then |
| | 82 | hg diff -r ${OTAG} -r ${TAG} | gzip -9 \ |
| 75 | 83 | > diff-${OVERSION}-${VERSION}.gz |
| 76 | 84 | fi |
| … |
… |
|
| 102 | 110 | done |
| 103 | 111 | |
| 104 | | cvs update |
| | 112 | hg update |
| | 113 | gpg sign |
| 105 | 114 | |
| 106 | 115 | # Finally, announce the new mutt to the public |
-
|
r4357
|
r5081
|
|
| 2 | 2 | |
| 3 | 3 | TZ=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 |
| | 4 | lrev=$(hg log --limit 1 --template '{rev}' ChangeLog) |
| | 5 | |
| | 6 | hg log --style=./hg-changelog-map -r tip:$lrev |