1 Return-Path: <bremner@tethera.net>
\r
2 X-Original-To: notmuch@notmuchmail.org
\r
3 Delivered-To: notmuch@notmuchmail.org
\r
4 Received: from localhost (localhost [127.0.0.1])
\r
5 by arlo.cworth.org (Postfix) with ESMTP id 5FFB06DE02CC
\r
6 for <notmuch@notmuchmail.org>; Sun, 22 May 2016 07:29:19 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at cworth.org
\r
11 X-Spam-Status: No, score=-0.012 tagged_above=-999 required=5
\r
12 tests=[AWL=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01]
\r
14 Received: from arlo.cworth.org ([127.0.0.1])
\r
15 by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)
\r
16 with ESMTP id mkrq_l7gw-HA for <notmuch@notmuchmail.org>;
\r
17 Sun, 22 May 2016 07:29:11 -0700 (PDT)
\r
18 Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197])
\r
19 by arlo.cworth.org (Postfix) with ESMTPS id 65DF86DE0231
\r
20 for <notmuch@notmuchmail.org>; Sun, 22 May 2016 07:29:10 -0700 (PDT)
\r
21 Received: from remotemail by fethera.tethera.net with local (Exim 4.84)
\r
22 (envelope-from <bremner@tethera.net>) id 1b4UNH-00050Z-MC
\r
23 for notmuch@notmuchmail.org; Sun, 22 May 2016 10:28:59 -0400
\r
24 Received: (nullmailer pid 5511 invoked by uid 1000);
\r
25 Sun, 22 May 2016 14:29:06 -0000
\r
26 From: David Bremner <david@tethera.net>
\r
27 To: notmuch@notmuchmail.org
\r
28 Subject: RFC: message property API
\r
29 Date: Sun, 22 May 2016 11:28:57 -0300
\r
30 Message-Id: <1463927339-5441-1-git-send-email-david@tethera.net>
\r
31 X-Mailer: git-send-email 2.8.1
\r
32 X-BeenThere: notmuch@notmuchmail.org
\r
33 X-Mailman-Version: 2.1.20
\r
35 List-Id: "Use and development of the notmuch mail system."
\r
36 <notmuch.notmuchmail.org>
\r
37 List-Unsubscribe: <https://notmuchmail.org/mailman/options/notmuch>,
\r
38 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
39 List-Archive: <http://notmuchmail.org/pipermail/notmuch/>
\r
40 List-Post: <mailto:notmuch@notmuchmail.org>
\r
41 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
42 List-Subscribe: <https://notmuchmail.org/mailman/listinfo/notmuch>,
\r
43 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
44 X-List-Received-Date: Sun, 22 May 2016 14:29:19 -0000
\r
46 People (or maybe just dkg) have proposed various bits of user metadata
\r
47 to attach to messages
\r
49 - references to be added or blacklisted
\r
50 - encryption related key material
\r
52 Since such metadata would be not-reproducible from the message files,
\r
53 it would be "precious" and need a backup/restore path.
\r
55 This is a prototype of a library API to support that.
\r
57 Some things to note:
\r
59 - This is tested on top of my libconfig [1] series, but I think there is no
\r
62 - there are no docs, see the tests
\r
64 - this is just the low level api; it would need to be extended in a
\r
65 similar way to the libconfig series to dump and restore metadata.
\r
66 This might require modifying/extending the API to dump all properties
\r
67 for a message. That should be a relatively small change.
\r
69 - it also be useful to be able delete all (key,value) pairs with a given
\r
72 - this should really go through the existing caching mechanism used by
\r
73 e.g. tags, or at least not invalidate that cache.
\r
75 [1] id:1463135893-7471-6-git-send-email-david@tethera.net
\r