unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: Jesse Rosenthal <jrosenthal@jhu.edu>
To: Jameson Graef Rollins <jrollins@finestructure.net>,
	Carl Worth <cworth@cworth.org>,
	Notmuch Mail <notmuch@notmuchmail.org>
Subject: Re: tag sharing [was: Re: release-candidate/0.6 redux]
Date: Mon, 06 Jun 2011 13:20:00 -0400	[thread overview]
Message-ID: <87boya98sf.fsf@gogo.home> (raw)
In-Reply-To: <8762oigc0y.fsf@servo.factory.finestructure.net>


On Mon, 06 Jun 2011 09:28:13 -0700, Jameson Graef Rollins <jrollins@finestructure.net> wrote:
> I've been thinking about this more and it really seems we need a way to
> just share tags.  What if we had a way to export all the tags for a set
> of messages as a notmuch dump file, that could just be piped into
> notmuch to modify tags?  This would be a great way for lots of people to
> keep tags synced on a set of messages.

After a conversation with David last year about bug-tracking, I worked
up a rough python-based prototype of this. It worked in terms of
namespaces, so Carl could associate the namespace "public" with a list
of tags he publishes to a http-accessable location. And you could
associate the namespace "cworth" with those same tags.

He types `whatevercommand push public` and all tags "public.*" go to an
config-associated URL.

You type `whatevercommand pull cworth` and the tags come down from that
URL as "cworth.*".

So what he has as "public.to-push" comes down to your notmuch as
"cworth.to-push".

It's available here:

    http://commonmeasure.org/~jkr/git/nm-remote.git

See these emails for more (but note that the repo url has changed to the
above).
    
    id:"m1k4rkkchy.fsf@watt.gilman.jhu.edu"        
    id:"m1hbmokbxj.fsf@watt.gilman.jhu.edu"

There were some details and inherent ambiguities about conflict
resolution, and the above emails explain how I dealt with them. 

Note also that it uses python's configparser, which will overwrite your
config -- which means it'll get rid of your comments. So if you use any
of the config-writing commands, make sure you back up your config first.

Best,
Jesse

  reply	other threads:[~2011-06-06 17:20 UTC|newest]

Thread overview: 62+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-28 21:51 release-candidate/0.6 redux Jameson Graef Rollins
2011-05-28 21:51 ` [PATCH 01/25] fix check for libdir in ldconfig paths Jameson Graef Rollins
2011-05-28 21:51   ` [PATCH 02/25] add note about updating the debian symbols file to the RELEASE file Jameson Graef Rollins
2011-05-28 21:51     ` [PATCH 03/25] test: modify search-output test to use the new test_expect_equal_file function Jameson Graef Rollins
2011-05-28 21:51       ` [PATCH 04/25] test: move "Search for non-existent message prints nothing" to search-output, and add similar test for format=json Jameson Graef Rollins
2011-05-28 21:51         ` [PATCH 05/25] fix trailing newlines in notmuch search Jameson Graef Rollins
2011-05-28 21:51           ` [PATCH 06/25] test: move utf-8 subject search test from json to search test script Jameson Graef Rollins
2011-05-28 21:51             ` [PATCH 07/25] test: remove json test for search null result, since it's being more properly tested in search-output Jameson Graef Rollins
2011-05-28 21:51               ` [PATCH 08/25] create and set temporary home directory Jameson Graef Rollins
2011-05-28 21:51                 ` [PATCH 09/25] emacs: Define several faces for the crypto-status button Jameson Graef Rollins
2011-05-28 21:51                   ` [PATCH 10/25] Sanitize "Subject:" and "Author:" fields to not contain control characters in notmuch-search Jameson Graef Rollins
2011-05-28 21:51                     ` [PATCH 11/25] test: add test for sanitized notmuch-search output Jameson Graef Rollins
2011-05-28 21:51                       ` [PATCH 12/25] test: cleanup search-output test names (no functional change) Jameson Graef Rollins
2011-05-28 21:51                         ` [PATCH 13/25] emacs: Use "message-cited-text" instead of "message-cited-text-face" Jameson Graef Rollins
2011-05-28 21:51                           ` [PATCH 14/25] Fix old style notmuch-fcc-dirs configuration check Jameson Graef Rollins
2011-05-28 21:51                             ` [PATCH 15/25] Use message-field-value instead of message-fetch-field in FCC header setup Jameson Graef Rollins
2011-05-28 21:51                               ` [PATCH 16/25] lib/message-file: plug three memleaks Jameson Graef Rollins
2011-05-28 21:51                                 ` [PATCH 17/25] avoid segfault when calling sanitize_string() on NULL Jameson Graef Rollins
2011-05-28 21:51                                   ` [PATCH 18/25] Fix search output sanitization test Jameson Graef Rollins
2011-05-28 21:51                                     ` [PATCH 19/25] emacs: fix notmuch-show-part-button to not include newline Jameson Graef Rollins
2011-05-28 21:51                                       ` [PATCH 20/25] emacs: Don't always prompt for the "From" address when replying Jameson Graef Rollins
2011-05-28 21:51                                         ` [PATCH 21/25] emacs: Cleaner interface when prompting for sender address Jameson Graef Rollins
2011-05-28 21:51                                           ` [PATCH 22/25] test: fix test_expect_equal_file test to copy instead of mv test files Jameson Graef Rollins
2011-05-28 21:51                                             ` [PATCH 23/25] test: update emacs test to use test_expect_equal_file Jameson Graef Rollins
2011-05-28 21:51                                               ` [PATCH 24/25] test: modify multipart " Jameson Graef Rollins
2011-05-28 21:52                                                 ` [PATCH 25/25] Fix stdout stream grabbing in format_part_content_text Jameson Graef Rollins
2011-06-03 19:56                                                   ` Carl Worth
2011-06-03 21:26                                                     ` Jameson Graef Rollins
2011-06-03 22:38                                                       ` Carl Worth
2011-06-03 22:57                                                         ` Jameson Graef Rollins
2011-06-03 21:39                                                     ` Jameson Graef Rollins
2011-06-03 19:24                                   ` [PATCH 17/25] avoid segfault when calling sanitize_string() on NULL Carl Worth
2011-06-02  5:10                             ` [PATCH 14/25] Fix old style notmuch-fcc-dirs configuration check Carl Worth
2011-06-02  6:49                               ` Dmitry Kurochkin
2011-06-03 20:05                                 ` Carl Worth
2011-06-03 20:22                                   ` Dmitry Kurochkin
2011-06-03 21:03                                     ` Carl Worth
2011-06-23 22:22                                     ` Carl Worth
2011-06-23 22:58                                       ` Dmitry Kurochkin
2011-06-23 23:24                                         ` Carl Worth
2011-06-01 23:41               ` [PATCH 07/25] test: remove json test for search null result, since it's being more properly tested in search-output Carl Worth
2011-06-01 23:22   ` [PATCH 01/25] fix check for libdir in ldconfig paths Carl Worth
2011-06-01 23:27     ` Jameson Graef Rollins
2011-05-28 21:58 ` release-candidate/0.6 redux Jameson Graef Rollins
2011-05-29  2:49   ` Austin Clements
2011-05-31 18:43   ` Jameson Graef Rollins
2011-06-04  1:27     ` Carl Worth
2011-06-06  0:35       ` Jameson Graef Rollins
2011-06-06 12:17         ` Carl Worth
2011-06-06 16:28           ` tag sharing [was: Re: release-candidate/0.6 redux] Jameson Graef Rollins
2011-06-06 17:20             ` Jesse Rosenthal [this message]
2011-06-08 17:46               ` Jameson Graef Rollins
2011-06-08 19:18                 ` Jesse Rosenthal
2011-10-06 12:56                 ` tag sharing David Bremner
2011-10-06 13:21                   ` Jesse Rosenthal
2011-10-06 14:18                     ` David Bremner
2011-10-06 19:49                       ` Jesse Rosenthal
2011-10-06 20:23                         ` David Bremner
2011-10-06 20:40                           ` Jesse Rosenthal
2011-10-07  0:10                             ` David Bremner
2011-10-07 11:36                       ` Jesse Rosenthal
2011-10-07 12:01                         ` Jesse Rosenthal

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://notmuchmail.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87boya98sf.fsf@gogo.home \
    --to=jrosenthal@jhu.edu \
    --cc=cworth@cworth.org \
    --cc=jrollins@finestructure.net \
    --cc=notmuch@notmuchmail.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).