Maybe another consistent solution is to add a --format argument to
count, with JSON as one option. That way we could even add more
information to other count results (if that becomes needed at some
point) without breaking code using the JSON interface.
Best regards,
Daniel
Tomi Ollila writes:
> $ notmuch metadata uuid
> $ notmuch metadata lastmod
> $ notmuch metadata uuid lastmod
> $ notmuch metadata lastmod uuid
>
> Now we can bikeshed whether this is good idea --
it seems OK. We will have some set of 'fake' metadata keys that are not
actually stored in xapian
On Tue, Aug 11 2015, David Bremner wrote:
> Tomi Ollila writes:
>
>> Currently, `notmuch count` outputs lines that contain just one integer;
>> this changes this by introducing output with uuid ([0-9a-f-]) and integer
>> delimited by tab character.
>>
>> To put it lightly, this looks
Tomi Ollila tomi.oll...@iki.fi writes:
$ notmuch metadata uuid
$ notmuch metadata lastmod
$ notmuch metadata uuid lastmod
$ notmuch metadata lastmod uuid
Now we can bikeshed whether this is good idea --
it seems OK. We will have some set of 'fake' metadata keys that are not
actually
Maybe another consistent solution is to add a --format argument to
count, with JSON as one option. That way we could even add more
information to other count results (if that becomes needed at some
point) without breaking code using the JSON interface.
Best regards,
Daniel
Tomi Ollila writes:
> Currently, `notmuch count` outputs lines that contain just one integer;
> this changes this by introducing output with uuid ([0-9a-f-]) and integer
> delimited by tab character.
>
> To put it lightly, this looks "inconsistent" and don't please my aesthetic
> eye.
>
> One
Tomi Ollila tomi.oll...@iki.fi writes:
Currently, `notmuch count` outputs lines that contain just one integer;
this changes this by introducing output with uuid ([0-9a-f-]) and integer
delimited by tab character.
To put it lightly, this looks inconsistent and don't please my aesthetic
eye.
On Tue, Aug 11 2015, David Bremner da...@tethera.net wrote:
Tomi Ollila tomi.oll...@iki.fi writes:
Currently, `notmuch count` outputs lines that contain just one integer;
this changes this by introducing output with uuid ([0-9a-f-]) and integer
delimited by tab character.
To put it
On Sun, Aug 09 2015, David Bremner wrote:
> We need some way to extract the uuid/revision of the database, and
> count seems like the least bad choice of current commands.
> The (perhaps weak) argument for count over search is that count
> already reports statistics about the entire database.
On Sun, Aug 09 2015, David Bremner da...@tethera.net wrote:
We need some way to extract the uuid/revision of the database, and
count seems like the least bad choice of current commands.
The (perhaps weak) argument for count over search is that count
already reports statistics about the entire
We need some way to extract the uuid/revision of the database, and
count seems like the least bad choice of current commands.
The (perhaps weak) argument for count over search is that count
already reports statistics about the entire database.
---
notmuch-count.c| 18
We need some way to extract the uuid/revision of the database, and
count seems like the least bad choice of current commands.
The (perhaps weak) argument for count over search is that count
already reports statistics about the entire database.
---
notmuch-count.c| 18
12 matches
Mail list logo