[announce] nmhive v0.1.0, a bookmarklet/server for nmbug tags

2014-09-22 Thread W. Trevor King
On Mon, Sep 22, 2014 at 10:19:35AM -0700, W. Trevor King wrote:
> I like nmbug's distributed tag maintenance, but not everyone has
> notmuch/nmbug installed locally (yet ;).  However, everyone that I
> know does have a browser and a mail client.  They can submit
> messages with their mail client already, but we've been missing a
> way for them to help tag messages.

Ah, and the other piece to this workflow is the existing nmbug-status,
which collects the results of canned searches so folks without a local
notmuch can use the tags [1].  Folks using a local nmhive will
probably want to run their own status-genertion via a post-commit hook
in their nmhive repository.  Then their users will have their
search-results updated after each web-initiated change.  If you also
wanted them to see updates from changes to tethera's nmbug repository,
you'd probably also want a cron job that tried to fetch and merge
tethera's changes with the nmhive changes:

  -o---o---oo  tethera/master
\\
 \o  nmhive/status  (auto-generated merge for nmbug-status)
  \  /
   o---oo   nmhive/master (with web-initiated changes)

You'd want to resolve conflicts somehow, but any resolution strategy
is probably fine, since it's unlikely that we get conflicts very
often.

Cheers,
Trevor

[1]: http://nmbug.tethera.net/status/

-- 
This email may be signed or encrypted with GnuPG (http://www.gnupg.org).
For more information, see http://en.wikipedia.org/wiki/Pretty_Good_Privacy
-- next part --
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: 



[announce] nmhive v0.1.0

2014-09-22 Thread W. Trevor King
I like nmbug's distributed tag maintenance, but not everyone has
notmuch/nmbug installed locally (yet ;).  However, everyone that I
know does have a browser and a mail client.  They can submit messages
with their mail client already, but we've been missing a way for them
to help tag messages.  Nmhive is a lightweight server that allows
clients to read and write notmuch tags using a JSON API [1].  It uses
nmbug locally to commit after each write, and the admin can then pull
tag changes made by nmhive and push them into the native nmbug
ecosystem:

  web client ? nmhive ? nmhive's nmbug ? admin's nmbug ? tethera's nmbug

To make it easy for folks to drive nmhive, the repository also
contains a bookmarklet [2] that you can use to interactively manage
tags from a message's Gmane page (e.g., [3,4]).  The setup currently
uses my ported-to-Python nmbug [5] if you want to play with it
locally.  I haven't added user authentication yet, so it's probably
best to just run your own nmhive for now.  If anyone has preferences
for authentication, send a patch :).  Or at least let me know, and
I'll see what I can do ;).  I'd appreciate any other feedback folks
have as well.

Cheers,
Trevor

[1]: https://github.com/wking/nmhive
[2]: https://github.com/wking/nmhive/blob/v0.1.0/nmbug.js
[3]: http://thread.gmane.org/gmane.mail.notmuch.general/19091/focus=19092
[4]: http://article.gmane.org/gmane.mail.notmuch.general/19092
[5]: http://thread.gmane.org/gmane.mail.notmuch.general/19007
 id:e630b6763e9d0771718afee41ea15b29bb4a1de8.1409935538.git.wking at 
tremily.us

-- 
This email may be signed or encrypted with GnuPG (http://www.gnupg.org).
For more information, see http://en.wikipedia.org/wiki/Pretty_Good_Privacy
-- next part --
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: 



Re: [announce] nmhive v0.1.0, a bookmarklet/server for nmbug tags

2014-09-22 Thread W. Trevor King
On Mon, Sep 22, 2014 at 10:19:35AM -0700, W. Trevor King wrote:
 I like nmbug's distributed tag maintenance, but not everyone has
 notmuch/nmbug installed locally (yet ;).  However, everyone that I
 know does have a browser and a mail client.  They can submit
 messages with their mail client already, but we've been missing a
 way for them to help tag messages.

Ah, and the other piece to this workflow is the existing nmbug-status,
which collects the results of canned searches so folks without a local
notmuch can use the tags [1].  Folks using a local nmhive will
probably want to run their own status-genertion via a post-commit hook
in their nmhive repository.  Then their users will have their
search-results updated after each web-initiated change.  If you also
wanted them to see updates from changes to tethera's nmbug repository,
you'd probably also want a cron job that tried to fetch and merge
tethera's changes with the nmhive changes:

  -o---o---oo  tethera/master
\\
 \o  nmhive/status  (auto-generated merge for nmbug-status)
  \  /
   o---oo   nmhive/master (with web-initiated changes)

You'd want to resolve conflicts somehow, but any resolution strategy
is probably fine, since it's unlikely that we get conflicts very
often.

Cheers,
Trevor

[1]: http://nmbug.tethera.net/status/

-- 
This email may be signed or encrypted with GnuPG (http://www.gnupg.org).
For more information, see http://en.wikipedia.org/wiki/Pretty_Good_Privacy


signature.asc
Description: OpenPGP digital signature
___
notmuch mailing list
notmuch@notmuchmail.org
http://notmuchmail.org/mailman/listinfo/notmuch