unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* test infrastructure for new dump/restore
@ 2012-08-05 18:13 david
  2012-08-05 18:13 ` [PATCH 1/3] test: add database routines for testing david
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: david @ 2012-08-05 18:13 UTC (permalink / raw)
  To: notmuch

This implements an old suggestion of Mark's to get wacky message-ids
into the database directly without relying on underdefined behaviour
of the gmime parser; the previous effort relied on gmime passing
literally through message-ids not delimitted according RFC.

Also compared to the previous version
(id:"1326591624-15493-10-git-send-email-david@tethera.net"), this now
uses valid UTF-8 text, rather than just ascii, although it is a bit
biased towards ascii because most of the characters that cause
problems are there.

There is a fair amount of code here, but I hope the generation of
random messages may be more useful in the future.

The high level goal here is to (re)-introduce a hex-encoding based
dump-restore that can pass this roundtrip test, and probably some
batch tagging facility that shares code.

If people don't mind things broken up into mini-series (without
obvious gain in new features) like this, I'll probably post the
hex-encoding infrastructure next.

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2012-08-08 16:33 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-05 18:13 test infrastructure for new dump/restore david
2012-08-05 18:13 ` [PATCH 1/3] test: add database routines for testing david
2012-08-05 18:13 ` [PATCH 2/3] test: add generator for random "stub" messages david
2012-08-08  7:45   ` Mark Walters
2012-08-05 18:13 ` [PATCH 3/3] test: add broken roundtrip test david
2012-08-08  8:06   ` Mark Walters
2012-08-08 16:33     ` Jameson Graef Rollins

Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).