mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-21 18:38:08 +01:00
notmuch 0.33.1 release
-----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEkiyHYXwaY0SiY6fqA0U5G1WqFSEFAmE7RAYACgkQA0U5G1Wq FSHDHA//Q5SJhT9fD/yi2QOI4zIHvF438WtAGIL+TnYIeY8lDmdYZaRjU9Ub4O3J eLxJMhNcOyY35nDEGOOVga33aS8lefI+q/Ozx5sNzSge9PRaha+hGAmY2UrkOm+z TQBjFsdnGyWdTmJbkC9VQsaQJWjeKUKM0J4eT/sWFrJfW9vHuGnzrEnpOTQu8xk1 OWshsYc5AkMnnvUBv0JuCJ4z4HQkTHeMrMKwd+B0/SC4OxPQ/af6FaMkoKanH0Ej q661AaZW+WNupynS1nu/O99z5U4BJ1V7nz361degdINfaUh/vmcXgHN7jGeoFtj4 rTjV/51Jy/5WCbYV+11a0+RMZOEoQZi4ZBai6E6WVHpztkDXXqxHyDnho+A4SYK9 1G/Rs6lO9FYRLTvdYhJbLH4OZgglPWXFgWJJxGLY+5cM7d86g8LC2pbJGWZ5IbAW eB3LRFStaqsBqjx9noxt9BcdxmbEu4o7lCm6y+EdAD04X37MGvv+Mlwsz57EMG9c 2NCntrc1BUUTb/7mCp6oZn0miPCmYFVLtTj0ZfLAdP89aLJVTn6a36uTv8NqcszR ZjBFqGxB9AMU0idTEHnHJ5acNj4bLPwDBPBGYmEWnky/Tn7ZT3XqEDVvOXY2HVwa 0RkVsgMsUIqUXutXjUYlLcl4YgmgpTsRbVpMZJh0/R4N9spDyWU= =P0Xd -----END PGP SIGNATURE----- Merge tag '0.33.1' notmuch 0.33.1 release
This commit is contained in:
commit
7556bb7da2
8 changed files with 25 additions and 25 deletions
10
NEWS
10
NEWS
|
@ -1,3 +1,13 @@
|
||||||
|
Notmuch 0.33.1 (2021-09-10)
|
||||||
|
===========================
|
||||||
|
|
||||||
|
General
|
||||||
|
-------
|
||||||
|
|
||||||
|
Replace the fully-qualified-domain-name of the host with "localhost"
|
||||||
|
in the default email address. This should fix two flaky subtests in
|
||||||
|
T590-libconfig.
|
||||||
|
|
||||||
Notmuch 0.33 (2021-09-03)
|
Notmuch 0.33 (2021-09-03)
|
||||||
=========================
|
=========================
|
||||||
|
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
0.33
|
0.33.1
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
# this file should be kept in sync with ../../../version
|
# this file should be kept in sync with ../../../version
|
||||||
__VERSION__ = '0.33'
|
__VERSION__ = '0.33.1'
|
||||||
SOVERSION = '5'
|
SOVERSION = '5'
|
||||||
|
|
6
debian/changelog
vendored
6
debian/changelog
vendored
|
@ -1,3 +1,9 @@
|
||||||
|
notmuch (0.33.1-1) unstable; urgency=medium
|
||||||
|
|
||||||
|
* Upstream fix for flaky tests in T590-libconfig
|
||||||
|
|
||||||
|
-- David Bremner <bremner@debian.org> Fri, 10 Sep 2021 08:28:48 -0300
|
||||||
|
|
||||||
notmuch (0.33-2) unstable; urgency=medium
|
notmuch (0.33-2) unstable; urgency=medium
|
||||||
|
|
||||||
* Disable two flaky tests in T590-libconfig.
|
* Disable two flaky tests in T590-libconfig.
|
||||||
|
|
2
debian/rules
vendored
2
debian/rules
vendored
|
@ -16,7 +16,7 @@ override_dh_auto_configure:
|
||||||
--localstatedir=/var
|
--localstatedir=/var
|
||||||
|
|
||||||
override_dh_auto_test:
|
override_dh_auto_test:
|
||||||
dh_auto_test -- V=1 NOTMUCH_SKIP_TESTS="libconfig.18 libconfig.31"
|
dh_auto_test -- V=1
|
||||||
|
|
||||||
override_dh_auto_build:
|
override_dh_auto_build:
|
||||||
dh_auto_build -- V=1
|
dh_auto_build -- V=1
|
||||||
|
|
|
@ -543,25 +543,11 @@ _get_username_from_passwd_file (void *ctx)
|
||||||
static const char *
|
static const char *
|
||||||
_get_email_from_passwd_file (void *ctx)
|
_get_email_from_passwd_file (void *ctx)
|
||||||
{
|
{
|
||||||
|
|
||||||
char hostname[256];
|
|
||||||
struct hostent *hostent;
|
|
||||||
const char *domainname;
|
|
||||||
char *email;
|
char *email;
|
||||||
|
|
||||||
char *username = _get_username_from_passwd_file (ctx);
|
char *username = _get_username_from_passwd_file (ctx);
|
||||||
|
|
||||||
gethostname (hostname, 256);
|
email = talloc_asprintf (ctx, "%s@localhost", username);
|
||||||
hostname[255] = '\0';
|
|
||||||
|
|
||||||
hostent = gethostbyname (hostname);
|
|
||||||
if (hostent && (domainname = strchr (hostent->h_name, '.')))
|
|
||||||
domainname += 1;
|
|
||||||
else
|
|
||||||
domainname = "(none)";
|
|
||||||
|
|
||||||
email = talloc_asprintf (ctx, "%s@%s.%s",
|
|
||||||
username, hostname, domainname);
|
|
||||||
|
|
||||||
talloc_free (username);
|
talloc_free (username);
|
||||||
return email;
|
return email;
|
||||||
|
|
|
@ -12,12 +12,10 @@ import os, sys, pwd, socket
|
||||||
pw = pwd.getpwuid(os.getuid())
|
pw = pwd.getpwuid(os.getuid())
|
||||||
user = pw.pw_name
|
user = pw.pw_name
|
||||||
name = pw.pw_gecos.partition(",")[0]
|
name = pw.pw_gecos.partition(",")[0]
|
||||||
fqdn = socket.getaddrinfo(socket.gethostname(), 0, 0,
|
|
||||||
socket.SOCK_STREAM, 0, socket.AI_CANONNAME)[0][3]
|
|
||||||
for l in sys.stdin:
|
for l in sys.stdin:
|
||||||
if l[:4] == "08: ":
|
if l[:4] == "08: ":
|
||||||
l = l.replace(user, "USERNAME", 1).replace("@" + fqdn, "@FQDN", 1)
|
l = l.replace(user, "USERNAME", 1)
|
||||||
l = l.replace(".(none)", "", 1).replace(".localdomain", "", 1)
|
|
||||||
elif l[:4] == "10: ":
|
elif l[:4] == "10: ":
|
||||||
l = l.replace("'" + name, "'USER_FULL_NAME", 1)
|
l = l.replace("'" + name, "'USER_FULL_NAME", 1)
|
||||||
sys.stdout.write(l)
|
sys.stdout.write(l)
|
||||||
|
@ -416,7 +414,7 @@ cat <<'EOF' >EXPECTED
|
||||||
05: 'unread;inbox'
|
05: 'unread;inbox'
|
||||||
06: ''
|
06: ''
|
||||||
07: 'true'
|
07: 'true'
|
||||||
08: 'USERNAME@FQDN'
|
08: 'USERNAME@localhost'
|
||||||
09: 'NULL'
|
09: 'NULL'
|
||||||
10: 'USER_FULL_NAME'
|
10: 'USER_FULL_NAME'
|
||||||
11: '8000'
|
11: '8000'
|
||||||
|
@ -761,7 +759,7 @@ cat <<'EOF' >EXPECTED
|
||||||
05: 'unread;inbox'
|
05: 'unread;inbox'
|
||||||
06: ''
|
06: ''
|
||||||
07: 'true'
|
07: 'true'
|
||||||
08: 'USERNAME@FQDN'
|
08: 'USERNAME@localhost'
|
||||||
09: 'NULL'
|
09: 'NULL'
|
||||||
10: 'USER_FULL_NAME'
|
10: 'USER_FULL_NAME'
|
||||||
11: '8000'
|
11: '8000'
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
0.33
|
0.33.1
|
||||||
|
|
Loading…
Reference in a new issue