From 7f07bfd6d0189afcd9d260f6f560056dd3476f66 Mon Sep 17 00:00:00 2001 From: David Bremner Date: Sun, 24 Nov 2013 17:29:43 -0400 Subject: NEWS: News for big endian sha1 bug fix. We could give more details about how to migrate tags, but I'm not sure that it's a practical problem, or just a theoretical one. --- NEWS | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) (limited to 'NEWS') diff --git a/NEWS b/NEWS index 3383ecfb..184bd0e0 100644 --- a/NEWS +++ b/NEWS @@ -1,6 +1,22 @@ -Notmuch 0.17~rc1 (2013-11-20) +Notmuch 0.17~rc2 (2013-xx-yy) ============================= +Incompatible change in SHA1 computation +--------------------------------------- + +Previously on big endian architectures like sparc and powerpc the +computation of SHA1 hashes was incorrect. This meant that messages +with overlong or missing message-ids were given different computed +message-ids than on more common little endian architectures like i386 +and amd64. If you use notmuch on a big endian architecture, you are +strongly advised to make a backup of your tags using `notmuch dump` +before this upgrade. You can locate the affected files using something +like: + + notmuch dump | \ + awk '/^notmuch-sha1-[0-9a-f]{40} / \ + {system("notmuch search --exclude=false --output=files id:" $1)}' + Command-Line Interface ---------------------- -- cgit v1.2.3