mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-24 11:58:10 +01:00
notmuch release 0.32.3-1 for unstable (sid) [dgit]
[dgit distro=debian no-split --quilt=linear] -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEkiyHYXwaY0SiY6fqA0U5G1WqFSEFAmEclwwACgkQA0U5G1Wq FSEdBw//cF+LAJy9qyWX8axQcSwo1/ixZkyxSCc0JVaDhhAal5GdVd3E+vDKZp3Q KWExBKncTAciB1CooKNurnvFr30s9MX+SrDK0rPCqXtObMRYS96AEDCvul9Z9mBT eE6thb66Y2Mrr2dyHiyG/GHrp9wces+sSnB6xM6bqO16c9UsMuqjTIIqlb0A7oP8 eN/LLPAcVoXIMry3hVQWzv6bJWfqQK9Ho66p1fH+QswgeeKIzh5HR3ZnGdsBhnyN n3l9QPYuhN7/85cjWH4AE0/2EQLIF/Ewu86qYHzvOufc7oiNXRGpzQtMNqqur/da JIOizaylhLkFP39i/7CHvldCTx0FOCVhbHtFwb1Hm7rPqr8DhOvXyZbDHK/LkWtg jBKVFld4nNv/zm1uz6S3E5rDFsxuvpMVuesWKj6Yb051QvfGqVTnwRHP3EFxMyk8 CVle5a3mMg8bnlN9o/WchB3z3ybijK4HLjGB+FWDZMUvhKXkfZL6GUeo/EQ8byaX mDEx5u56euqgNQS1PnIF/nTaOCbu75IqYAUSqwVXBcICi7LfYKDwGezBiEhoRiKt RQoulN9FNS+HuL+85LN4TdZyJOvD1Rc9xdT9TwuLr47nIc/KdAWUxyYSEo4PMiZ+ NNiCatI5kPJrp0q1A5xDRkpFavLu5Mtu9ore+Cf1nA18iEFNQwc= =cECE -----END PGP SIGNATURE----- Merge tag 'debian/0.32.3-1' notmuch release 0.32.3-1 for unstable (sid) [dgit] [dgit distro=debian no-split --quilt=linear]
This commit is contained in:
commit
3df2281746
10 changed files with 101 additions and 17 deletions
20
NEWS
20
NEWS
|
@ -15,6 +15,26 @@ Vim
|
||||||
|
|
||||||
Respect excluded tags when showing a thread.
|
Respect excluded tags when showing a thread.
|
||||||
|
|
||||||
|
Notmuch 0.32.3 (2021-08-17)
|
||||||
|
===========================
|
||||||
|
|
||||||
|
Library
|
||||||
|
-------
|
||||||
|
|
||||||
|
Restore location of database via `MAILDIR` environment variable, which
|
||||||
|
was broken in 0.32.
|
||||||
|
|
||||||
|
Bump libnotmuch minor version to match the documentation in
|
||||||
|
`notmuch.h`.
|
||||||
|
|
||||||
|
Correct documentation for deprecated database opening functions to
|
||||||
|
point out that they (still) do not load configuration information.
|
||||||
|
|
||||||
|
CLI
|
||||||
|
---
|
||||||
|
|
||||||
|
Restore "notmuch config get built_with.*", which was broken in 0.32.
|
||||||
|
|
||||||
Notmuch 0.32.2 (2021-06-27)
|
Notmuch 0.32.2 (2021-06-27)
|
||||||
===========================
|
===========================
|
||||||
|
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
0.32.2
|
0.32.3
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
# this file should be kept in sync with ../../../version
|
# this file should be kept in sync with ../../../version
|
||||||
__VERSION__ = '0.32.2'
|
__VERSION__ = '0.32.3'
|
||||||
SOVERSION = '5'
|
SOVERSION = '5'
|
||||||
|
|
17
debian/changelog
vendored
17
debian/changelog
vendored
|
@ -1,3 +1,11 @@
|
||||||
|
notmuch (0.32.3-1) unstable; urgency=medium
|
||||||
|
|
||||||
|
* new upstream bugfix release
|
||||||
|
* fixes for a few configuration related bugs introduced in 0.32
|
||||||
|
* bump libnotmuch minor version to match documentation.
|
||||||
|
|
||||||
|
-- David Bremner <bremner@debian.org> Tue, 17 Aug 2021 17:16:09 -0700
|
||||||
|
|
||||||
notmuch (0.32.2-1) experimental; urgency=medium
|
notmuch (0.32.2-1) experimental; urgency=medium
|
||||||
|
|
||||||
* New upstream bugfix release
|
* New upstream bugfix release
|
||||||
|
@ -36,6 +44,15 @@ notmuch (0.32~rc1-1) experimental; urgency=medium
|
||||||
|
|
||||||
-- David Bremner <bremner@debian.org> Sat, 24 Apr 2021 12:46:10 -0300
|
-- David Bremner <bremner@debian.org> Sat, 24 Apr 2021 12:46:10 -0300
|
||||||
|
|
||||||
|
notmuch (0.31.4-2) unstable; urgency=medium
|
||||||
|
|
||||||
|
* Cherry pick upstream commit 3f4de98e7c8, which fixes a bug where
|
||||||
|
duplicate message-ids can cause multiple thread-ids for some message
|
||||||
|
documents.
|
||||||
|
* Add build-dependency on xapian-tools, for new test
|
||||||
|
|
||||||
|
-- David Bremner <bremner@debian.org> Mon, 28 Jun 2021 22:48:02 -0300
|
||||||
|
|
||||||
notmuch (0.31.4-1) unstable; urgency=medium
|
notmuch (0.31.4-1) unstable; urgency=medium
|
||||||
|
|
||||||
* New upstream bugfix release
|
* New upstream bugfix release
|
||||||
|
|
|
@ -58,7 +58,7 @@ NOTMUCH_BEGIN_DECLS
|
||||||
* version in Makefile.local.
|
* version in Makefile.local.
|
||||||
*/
|
*/
|
||||||
#define LIBNOTMUCH_MAJOR_VERSION 5
|
#define LIBNOTMUCH_MAJOR_VERSION 5
|
||||||
#define LIBNOTMUCH_MINOR_VERSION 3
|
#define LIBNOTMUCH_MINOR_VERSION 4
|
||||||
#define LIBNOTMUCH_MICRO_VERSION 0
|
#define LIBNOTMUCH_MICRO_VERSION 0
|
||||||
|
|
||||||
|
|
||||||
|
@ -316,7 +316,7 @@ typedef enum {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Deprecated alias for notmuch_database_open_with_config with
|
* Deprecated alias for notmuch_database_open_with_config with
|
||||||
* config_path=error_message=NULL
|
* config_path="" and error_message=NULL
|
||||||
* @deprecated Deprecated as of libnotmuch 5.4 (notmuch 0.32)
|
* @deprecated Deprecated as of libnotmuch 5.4 (notmuch 0.32)
|
||||||
*/
|
*/
|
||||||
/* NOTMUCH_DEPRECATED(5, 4) */
|
/* NOTMUCH_DEPRECATED(5, 4) */
|
||||||
|
@ -326,7 +326,7 @@ notmuch_database_open (const char *path,
|
||||||
notmuch_database_t **database);
|
notmuch_database_t **database);
|
||||||
/**
|
/**
|
||||||
* Deprecated alias for notmuch_database_open_with_config with
|
* Deprecated alias for notmuch_database_open_with_config with
|
||||||
* config_path=NULL
|
* config_path=""
|
||||||
*
|
*
|
||||||
* @deprecated Deprecated as of libnotmuch 5.4 (notmuch 0.32)
|
* @deprecated Deprecated as of libnotmuch 5.4 (notmuch 0.32)
|
||||||
*
|
*
|
||||||
|
|
|
@ -220,6 +220,10 @@ _choose_database_path (void *ctx,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (! *database_path) {
|
||||||
|
*database_path = getenv ("MAILDIR");
|
||||||
|
}
|
||||||
|
|
||||||
if (! *database_path) {
|
if (! *database_path) {
|
||||||
notmuch_status_t status;
|
notmuch_status_t status;
|
||||||
|
|
||||||
|
|
|
@ -538,12 +538,19 @@ notmuch_config_command_get (notmuch_database_t *notmuch, char *item)
|
||||||
{
|
{
|
||||||
notmuch_config_values_t *list;
|
notmuch_config_values_t *list;
|
||||||
|
|
||||||
|
if (STRNCMP_LITERAL (item, BUILT_WITH_PREFIX) == 0) {
|
||||||
|
if (notmuch_built_with (item + strlen (BUILT_WITH_PREFIX)))
|
||||||
|
puts ("true");
|
||||||
|
else
|
||||||
|
puts ("false");
|
||||||
|
} else {
|
||||||
for (list = notmuch_config_get_values_string (notmuch, item);
|
for (list = notmuch_config_get_values_string (notmuch, item);
|
||||||
notmuch_config_values_valid (list);
|
notmuch_config_values_valid (list);
|
||||||
notmuch_config_values_move_to_next (list)) {
|
notmuch_config_values_move_to_next (list)) {
|
||||||
const char *val = notmuch_config_values_get (list);
|
const char *val = notmuch_config_values_get (list);
|
||||||
puts (val);
|
puts (val);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
return EXIT_SUCCESS;
|
return EXIT_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -145,4 +145,21 @@ notmuch config set --database ${key} ${value}
|
||||||
output=$(notmuch config get ${key})
|
output=$(notmuch config get ${key})
|
||||||
test_expect_equal "${output}" "${value}"
|
test_expect_equal "${output}" "${value}"
|
||||||
|
|
||||||
|
test_begin_subtest "set built_with.* yields error"
|
||||||
|
test_expect_code 1 "notmuch config set built_with.compact false"
|
||||||
|
|
||||||
|
test_begin_subtest "get built_with.{compact,field_processor} prints true"
|
||||||
|
for key in compact field_processor; do
|
||||||
|
notmuch config get built_with.${key}
|
||||||
|
done > OUTPUT
|
||||||
|
cat <<EOF > EXPECTED
|
||||||
|
true
|
||||||
|
true
|
||||||
|
EOF
|
||||||
|
test_expect_equal_file EXPECTED OUTPUT
|
||||||
|
|
||||||
|
test_begin_subtest "get built_with.nonexistent prints false"
|
||||||
|
output=$(notmuch config get built_with.nonexistent)
|
||||||
|
test_expect_equal "$output" "false"
|
||||||
|
|
||||||
test_done
|
test_done
|
||||||
|
|
|
@ -16,6 +16,7 @@ restore_config () {
|
||||||
unset DATABASE_PATH
|
unset DATABASE_PATH
|
||||||
unset NOTMUCH_PROFILE
|
unset NOTMUCH_PROFILE
|
||||||
unset XAPIAN_PATH
|
unset XAPIAN_PATH
|
||||||
|
unset MAILDIR
|
||||||
rm -f "$HOME/mail"
|
rm -f "$HOME/mail"
|
||||||
cp notmuch-config-backup.${test_name} ${NOTMUCH_CONFIG}
|
cp notmuch-config-backup.${test_name} ${NOTMUCH_CONFIG}
|
||||||
}
|
}
|
||||||
|
@ -55,6 +56,18 @@ home_mail_config () {
|
||||||
unset DATABASE_PATH
|
unset DATABASE_PATH
|
||||||
}
|
}
|
||||||
|
|
||||||
|
maildir_env_config () {
|
||||||
|
local dir
|
||||||
|
backup_config
|
||||||
|
dir="${HOME}/env_points_here"
|
||||||
|
ln -s $MAIL_DIR $dir
|
||||||
|
export MAILDIR=$dir
|
||||||
|
notmuch config set database.path
|
||||||
|
notmuch config set database.mail_root
|
||||||
|
XAPIAN_PATH="${MAIL_DIR}/.notmuch/xapian"
|
||||||
|
unset DATABASE_PATH
|
||||||
|
}
|
||||||
|
|
||||||
xdg_config () {
|
xdg_config () {
|
||||||
local dir
|
local dir
|
||||||
local profile=${1:-default}
|
local profile=${1:-default}
|
||||||
|
@ -79,7 +92,7 @@ xdg_config () {
|
||||||
notmuch --config=${CONFIG_PATH} config set database.path
|
notmuch --config=${CONFIG_PATH} config set database.path
|
||||||
}
|
}
|
||||||
|
|
||||||
for config in traditional split XDG XDG+profile symlink home_mail; do
|
for config in traditional split XDG XDG+profile symlink home_mail maildir_env; do
|
||||||
#start each set of tests with an known set of messages
|
#start each set of tests with an known set of messages
|
||||||
add_email_corpus
|
add_email_corpus
|
||||||
|
|
||||||
|
@ -106,6 +119,9 @@ for config in traditional split XDG XDG+profile symlink home_mail; do
|
||||||
home_mail)
|
home_mail)
|
||||||
home_mail_config
|
home_mail_config
|
||||||
;;
|
;;
|
||||||
|
maildir_env)
|
||||||
|
maildir_env_config
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
test_begin_subtest "count ($config)"
|
test_begin_subtest "count ($config)"
|
||||||
|
@ -190,6 +206,7 @@ On Tue, 05 Jan 2010 15:43:56 -0000, Sender <sender@example.com> wrote:
|
||||||
> basic reply test
|
> basic reply test
|
||||||
EOF
|
EOF
|
||||||
test_expect_equal_file EXPECTED OUTPUT
|
test_expect_equal_file EXPECTED OUTPUT
|
||||||
|
|
||||||
test_begin_subtest "insert+search ($config)"
|
test_begin_subtest "insert+search ($config)"
|
||||||
generate_message \
|
generate_message \
|
||||||
"[subject]=\"insert-subject\"" \
|
"[subject]=\"insert-subject\"" \
|
||||||
|
@ -250,10 +267,12 @@ EOF
|
||||||
test_expect_equal "${output}+${output2}" "${value}+"
|
test_expect_equal "${output}+${output2}" "${value}+"
|
||||||
|
|
||||||
test_begin_subtest "Config list ($config)"
|
test_begin_subtest "Config list ($config)"
|
||||||
notmuch config list | notmuch_dir_sanitize | sed -e "s/^database.backup_dir=.*$/database.backup_dir/" \
|
notmuch config list | notmuch_dir_sanitize | \
|
||||||
|
sed -e "s/^database.backup_dir=.*$/database.backup_dir/" \
|
||||||
-e "s/^database.hook_dir=.*$/database.hook_dir/" \
|
-e "s/^database.hook_dir=.*$/database.hook_dir/" \
|
||||||
-e "s/^database.path=.*$/database.path/" \
|
-e "s/^database.path=.*$/database.path/" \
|
||||||
-e "s,^database.mail_root=CWD/home/mail,database.mail_root=MAIL_DIR," \
|
-e "s,^database.mail_root=CWD/home/mail,database.mail_root=MAIL_DIR," \
|
||||||
|
-e "s,^database.mail_root=CWD/home/env_points_here,database.mail_root=MAIL_DIR," \
|
||||||
> OUTPUT
|
> OUTPUT
|
||||||
cat <<EOF > EXPECTED
|
cat <<EOF > EXPECTED
|
||||||
built_with.compact=true
|
built_with.compact=true
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
0.32.2
|
0.32.3
|
||||||
|
|
Loading…
Reference in a new issue