From: David Bremner Date: Sun, 10 Mar 2024 03:07:21 +0000 (-0400) Subject: Merge from sid [dgit] X-Git-Tag: archive/debian/0.38.3-1~1 X-Git-Url: https://git.notmuchmail.org/git?a=commitdiff_plain;h=f8253363206caeb90e1b82ed00c73708116a9aba;hp=63d1a100a6ab1d5c542012dc5dab75a5390067eb;p=notmuch Merge from sid [dgit] --- diff --git a/NEWS b/NEWS index 315f4136..a064671f 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,13 @@ +Notmuch 0.38.3 (2024-03-09) +=========================== + +CLI +--- + +Fix a bug in configuration code that caused the notmuch command to +erroneously report "Error: could not locate database" under some +circumstances. + Notmuch 0.38.2 (2023-12-01) =========================== diff --git a/bindings/python/notmuch/version.py b/bindings/python/notmuch/version.py index f4fd171d..fd4152ee 100644 --- a/bindings/python/notmuch/version.py +++ b/bindings/python/notmuch/version.py @@ -1,3 +1,3 @@ # this file should be kept in sync with ../../../version -__VERSION__ = '0.38.2' +__VERSION__ = '0.38.3' SOVERSION = '5' diff --git a/debian/changelog b/debian/changelog index a909b9d8..447da3b7 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,11 @@ +notmuch (0.38.3-1) unstable; urgency=medium + + * New upstream bugfix release + * Bug fix: "Recommends transitional package gnupg-agent instead of + gpg-agent", thanks to Andreas Metzler (Closes: #1064114). + + -- David Bremner Sat, 17 Feb 2024 09:03:50 -0400 + notmuch (0.38.2-1.1) unstable; urgency=medium * Non-maintainer upload. diff --git a/debian/control b/debian/control index 26871bc2..4fded909 100644 --- a/debian/control +++ b/debian/control @@ -55,7 +55,7 @@ Depends: ${shlibs:Depends}, Recommends: elpa-notmuch | notmuch-vim | notmuch-mutt | alot, - gnupg-agent, + gpg-agent, gpgsm, Suggests: mailscripts, diff --git a/doc/conf.py b/doc/conf.py index 7ac13a5d..ee1b336a 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -16,7 +16,7 @@ master_doc = 'index' # General information about the project. project = u'notmuch' -copyright = u'2009-2023, Carl Worth and many others' +copyright = u'2009-2024, Carl Worth and many others' location = os.path.dirname(__file__) diff --git a/lib/open.cc b/lib/open.cc index 005872dc..463e38bf 100644 --- a/lib/open.cc +++ b/lib/open.cc @@ -249,6 +249,11 @@ _choose_database_path (notmuch_database_t *notmuch, return NOTMUCH_STATUS_NO_DATABASE; } + if (*message) { + free (*message); + *message = NULL; + } + return NOTMUCH_STATUS_SUCCESS; } diff --git a/test/T055-path-config.sh b/test/T055-path-config.sh index efc79e8b..1feb5624 100755 --- a/test/T055-path-config.sh +++ b/test/T055-path-config.sh @@ -374,6 +374,11 @@ EOF notmuch new test_expect_equal "$(xapian-metadata get ${XAPIAN_PATH} version)" 3 ;; + home_mail|maildir_env) + test_begin_subtest "No errors from config list ($config)" + notmuch config list 2>OUTPUT 1>/dev/null + test_expect_equal_file /dev/null OUTPUT + ;; *) backup_database test_begin_subtest ".notmuch without xapian/ handled gracefully ($config)" diff --git a/version.txt b/version.txt index f2e78d49..f2687f32 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -0.38.2 +0.38.3