Commit graph

6512 commits

Author SHA1 Message Date
David Bremner
7a27a0bc4e Changelog for backport of 0.31.4-2 2021-09-10 07:36:03 -03:00
David Bremner
7059f0ed5d Merge branch 'debian/bullseye' into debian/buster-backports
Update to current Debian stable
2021-09-10 07:34:16 -03:00
David Bremner
b6cfc8a61c debian: document new build-dependency 2021-06-28 22:48:29 -03:00
David Bremner
7b6f1b0f08 Commit Debian 3.0 (quilt) metadata
[dgit (9.13) quilt-fixup]
2021-06-28 22:44:24 -03:00
David Bremner
fef433f307 debian: add xapian-tools for tests
xapian-metadata is used by some of the new tests.

(cherry picked from commit 9f8458a998)
2021-06-28 22:23:13 -03:00
David Bremner
3f102654c6 debian/changelog: refinalize for upload 2021-06-28 22:09:54 -03:00
David Bremner
dd5cd14476 changelog for 0.31.4-2 2021-06-26 22:44:36 -03:00
David Bremner
dab32dc70c lib/n_d_index_file: re-use thread-id of existing message
This prevents the message document getting multiple thread-id terms
when there are multiple files with the same message-id.

This change shifts some thread ids, requiring adjustments to other tests.

(cherry picked from commit 3f4de98e7c)
2021-06-26 22:39:07 -03:00
David Bremner
3a3208bb7b debian: drop patches
we should by synced up with the tarball again
2021-02-18 07:55:28 -04:00
David Bremner
346b999ae6 doc: bump copyright year 2021-02-18 07:55:28 -04:00
David Bremner
9f2796438f debian: changelog for 0.31.4-1 2021-02-18 07:55:28 -04:00
David Bremner
42b2201c11 NEWS: news for 0.31.4 2021-02-18 07:55:28 -04:00
David Bremner
2ab95d813c version: update to 0.31.4 2021-02-18 07:17:22 -04:00
David Bremner
a37d5f5976 test: Fix race condition in T568-lib-thread.sh
The assignment of thread-ids is (apparently) non-deterministic in a
way that mostly seems to show up on multicore machines. In my tests
the number is different from that previously assumed by this test
about 15% of the time on a 50 thread (25 core) Xeon.

Since message id's are fixed, use a message known to be in the thread
of interest to pick out the correct thread-id.
2021-02-18 07:15:47 -04:00
David Bremner
6db8b422d9 fix build failure with glib 2.67
Based on a patch from Michael J Gruber [1].  As of glib 2.67 (more
specifically [2]), including "gmime-extra.h" inside an extern "C"
block causes build failures, because glib is using C++ features.

Observing that "gmime-extra.h" is no longer needed in
notmuch-private.h, which can simply delete that include, but
we have to correspondingly move the includes which might include
it (in particular crypto.h) out of the extern "C" block also.

This seems less fragile than only moving gmime-extra, and relying on
preprocessor sentinels to keep the deeper includes from happening.

Move to the include to the outside of the extern block.

[1]: id:aee618a3d41f7889a7449aa16893e992325a909a.1613055071.git.git@grubix.eu
[2]: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/1715
2021-02-15 16:43:50 -04:00
David Bremner
1692fe7aa8 debian: skip gdb based tests on hppa 2020-12-26 15:14:27 -04:00
David Bremner
0cd4ec8a3b Commit Debian 3.0 (quilt) metadata
[dgit (9.12) quilt-fixup]
2020-12-25 12:39:26 -04:00
David Bremner
aee34fdca3 debian: drop debian/patches
These were originally committed by git-debrebase. Unfortunately git
debrebase does not seem to like the notmuch git workflow, so giving up
on it for now.
2020-12-25 12:37:18 -04:00
David Bremner
d812256aeb debian: don't tag debian tag at release is made.
This reflects a change in the debian workflow to use dgit, which does
the tagging for us.  It also leaves room for debian specific fixups.
2020-12-25 12:28:31 -04:00
David Bremner
a103c15986 NEWS: add news for 0.31.3 2020-12-25 12:28:31 -04:00
David Bremner
784e5f4242 debian: changelog for 0.31.3-1 2020-12-25 11:49:32 -04:00
David Bremner
c7596d0e7d version: bump 0.31.3 2020-12-25 11:42:12 -04:00
David Bremner
6d5d28c593 test/T360-symbol-hiding.sh: trim extra output from readelf
readelf on (at least) ppc64le sometimes generates some extension to
the Ndx name inside '[]'. Remove this output to allow our simple
column based parsing to work.
2020-12-25 11:36:33 -04:00
Johannes Larsen
f01f6405c9 python/notmuch2: fix exclude tag handling
A typo in Database._create_query lost the exclude_tag names during the
string to utf-8 conversion.

Amended by DB: fixed patch format and updated commit message.
2020-12-25 11:25:25 -04:00
David Bremner
2702050340 lib/config: delay setting talloc destructor
If Xapian has thrown an exception, it is not safe to invoke the
destructor when freeing the list struct.

(cherry picked from commit 43ba5ed7ec)
2020-12-23 19:48:43 -04:00
David Bremner
674775134f debian: fix distribution 2020-12-13 13:24:31 -04:00
David Bremner
4c6a7ca7e4 Commit Debian 3.0 (quilt) metadata
[dgit (9.12) quilt-fixup]
2020-12-13 13:15:13 -04:00
David Bremner
50a9ba8c7a debian: changelog for re-upload 2020-12-13 13:14:37 -04:00
David Bremner
21e60cc19e Commit Debian 3.0 (quilt) metadata
[dgit (9.12) quilt-fixup]
2020-12-13 11:20:29 -04:00
David Bremner
e83646ef3f debian: changelog for 0.31.2-3~bpo10+1 2020-12-13 11:16:04 -04:00
David Bremner
75db1096d7 debian: disable dwz for ruby extensions
The dreaded "dwarf 0" bug is fixed in later binutils, but not in
buster.
2020-12-13 11:14:50 -04:00
David Bremner
9ce207bd18 debian: bump version of dh-elpa dependency to 2.0.6
Looking for improvements in dh_missing handling.
2020-12-13 10:49:26 -04:00
David Bremner
7a9c97e8a5 notmuch release 0.31.2-3 for unstable (sid) [dgit]
[dgit distro=debian no-split --quilt=linear]
 -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCAAdFiEEkiyHYXwaY0SiY6fqA0U5G1WqFSEFAl+phO4ACgkQA0U5G1Wq
 FSEy5xAAgah+TYXvXzpf1IeJ7NjABVqtHEmNJprNXe5FwuIS4l30A1vo69Qk5IX4
 //hJ1+/vucZHSvARYPX/aeZOfQ8WknaNgIahnQPdJTOUw93cdF1hZNyQ5X0WAVpH
 OjXoUuBldoRx8xlgKoFPBWYsM/MqNE8sYXcaV858WeLj1HTHOI3CIFOsdXct2oR+
 CuhzaFiiwPLdjNjGKRItSwCYvO8rZyWPV3ZX79GTLGfc4dDOTmU7kD/cpAcuJ7Jp
 LJsiuH4xIJ4oVxc0aandTCkMnFUxhB64EfzqeYvezs4Wf8Iu4fUbSwQNRYzEvCyT
 XSoHJRgpWQMGf/Mk8po9JmKkOGCVAijK8jIT6AD5ks9+Nqeh23Z/k7j/IoWJv9Oy
 aaP2NWu7C76FT5HQoHejdZRVGyxHqh+sXvgCbpI6cTk9HG6ydlHzxZ4sJoeJxf7x
 EhJUIEzORRU9fenX73LLH6RwoSDCbcWZZ4Bta822n9HplgCXscpa3h/rOcaQsKjA
 HNm+5k/QLQoAAfwJUJpYCPz5ZAsxWA9NQWo3/wWsEphpLvcyanBKVbBy4oJacJ7B
 G1iLCydKjh/E2hf3DqC95QkiaJ41D9q6TH9YpdRQHvjx0Qd0rCx/33d/bDl66aYx
 FLPCYpdhL3gsSTtJMvH6xY891YzryU84NOgTStu9T9OjejmP/ts=
 =3fyS
 -----END PGP SIGNATURE-----

Merge tag 'debian/0.31.2-3' into debian/buster-backports

notmuch release 0.31.2-3 for unstable (sid) [dgit]

[dgit distro=debian no-split --quilt=linear]
2020-12-13 10:38:31 -04:00
David Bremner
17540b73e8 Commit Debian 3.0 (quilt) metadata
[dgit (9.12) quilt-fixup]
2020-12-13 08:25:39 -04:00
David Bremner
9ebfe9d6ca debian: changelog for 0.31.2-5 2020-12-13 08:25:29 -04:00
David Bremner
82faa059b8 test/T360-symbol-hiding: use readelf in place of nm
It turns out that using nm -P isn't as portable as hoped. In
particular with some ELF ABIs (e.g. ppc64 ELFv1), the desired symbols
end up in the data section instead of text.

The test is currently only functional on ELF based architectures, so I
think it's legit to depend on readelf instead of nm.

The switch to readelf has the advantage that we can explicitely ask
for all of the symbols with global visibility, rather than grepping
for notmuch. That seems a more robust approach since it will catch any
strangely named global symbols.
2020-12-13 08:23:42 -04:00
David Bremner
c7e1910235 Commit Debian 3.0 (quilt) metadata
[dgit (9.12) quilt-fixup]
2020-12-10 21:07:10 -04:00
David Bremner
55e2dbe0d0 debian: changelog for 0.31.2-4 2020-12-10 21:03:35 -04:00
David Bremner
ed7ca948ae build/docs: move docstring prereq to file targets
Under a sufficiently high level of parallelism [1] there seems to be a
a race condition that allows sphinx-build to start running before the
docstrings are extracted. This change moves the docstring stamp from
the phony targets sphinx-html and sphinx-info to the file targets that
they depend on. I'm not sure why this makes things better, but I am
fairly confident it does not make things worse, and experimentally it
seems to eliminate the race condition.

[1]: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=976934
2020-12-09 21:55:38 -04:00
David Bremner
900ee94b0f debian: upload 0.31.2-3 2020-11-09 13:59:58 -04:00
David Bremner
5323fbb4ec debian: changelog for 0.31.2-2 2020-11-09 08:46:07 -04:00
David Bremner
19590605ea debian: run tests in verbose mode
A hopefully temporary change to try and debug some test failures on
autobuilders.
2020-11-09 08:44:41 -04:00
David Bremner
02a7b026d9 release: explicitely build sphinx-html
This is to force it to happen after the "make clean".
2020-11-08 13:33:08 -04:00
David Bremner
bbe6262342 NEWS: update for 0.31.2 2020-11-08 13:19:07 -04:00
David Bremner
852df1a7ef debian: remove quilt patches
These were generated by dgit due a mix up with .orig.tar.xz files.
2020-11-08 13:19:07 -04:00
David Bremner
c87dd8ab2e debian: update changelog for 0.31.2-1 2020-11-08 13:19:07 -04:00
David Bremner
6003af14c4 version: bump to 0.31.2 2020-11-08 13:19:07 -04:00
David Bremner
d824f83c6f build: change one more occurrence of 'version' to 'version.txt'.
This one disguised via tar and sed trickery.
2020-11-08 13:18:51 -04:00
David Bremner
c5504cb043 Commit Debian 3.0 (quilt) metadata
[dgit (9.12) quilt-fixup]
2020-11-08 10:08:00 -04:00
David Bremner
40b75f50be release: call python3 instead of python
Debian does not install /usr/bin/python by default any more.
2020-11-08 10:01:53 -04:00