unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* update structured output formats for human readable signature status
@ 2017-05-31 11:45 David Bremner
  2017-05-31 11:45 ` [PATCH 1/3] emacs: convert to use format-version 3 David Bremner
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: David Bremner @ 2017-05-31 11:45 UTC (permalink / raw)
  To: notmuch, notmuch

The current format includes the raw error number in the output. The
meaning of these numbers is documented only in the gmime
documentation, and changes between versions of gmime.

I'm not sure if this should include some code to fake the "valid" flag
provided by gmime 3.0; it would mean a bit more code duplication, but
might make the signature status more useful.

^ permalink raw reply	[flat|nested] 8+ messages in thread
* v2 human readable signature status
@ 2017-06-02  2:22 David Bremner
  2017-06-02  2:22 ` [PATCH 2/3] devel/schemata: describe version 4 David Bremner
  0 siblings, 1 reply; 8+ messages in thread
From: David Bremner @ 2017-06-02  2:22 UTC (permalink / raw)
  To: notmuch, notmuch

Based on the feedback from dkg, this is a less intrusive change to the
API, and just expands out the error flags.

This obsoletes [1]. I think that the current status values can be
recovered from the gmime 3.0 signature status, but it remains a bit of
an open question whether we should mimic the behaviour of gpgme in
reporting multiple good states.  See [2] for a discussion of that.
Given we can preserve our current api, perhaps we can just defer that
change to a later date.

[1] id:20170531114535.10506-1-david@tethera.net
[2] id:87k24x6qvq.fsf@tesseract.cs.unb.ca

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

end of thread, other threads:[~2017-06-02  9:43 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-31 11:45 update structured output formats for human readable signature status David Bremner
2017-05-31 11:45 ` [PATCH 1/3] emacs: convert to use format-version 3 David Bremner
2017-05-31 11:45 ` [PATCH 2/3] devel/schemata: describe version 4 David Bremner
2017-05-31 13:35   ` Daniel Kahn Gillmor
2017-05-31 14:30     ` David Bremner
2017-05-31 11:45 ` [PATCH 3/3] cli: impliment structured output " David Bremner
  -- strict thread matches above, loose matches on Subject: below --
2017-06-02  2:22 v2 human readable signature status David Bremner
2017-06-02  2:22 ` [PATCH 2/3] devel/schemata: describe version 4 David Bremner
2017-06-02  9:42   ` David Bremner

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).