Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 14BD8429E25 for ; Fri, 11 Nov 2011 15:55:23 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -2.3 X-Spam-Level: X-Spam-Status: No, score=-2.3 tagged_above=-999 required=5 tests=[RCVD_IN_DNSWL_MED=-2.3] autolearn=disabled Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VlxbwbHGEOyC for ; Fri, 11 Nov 2011 15:55:22 -0800 (PST) Received: from tempo.its.unb.ca (tempo.its.unb.ca [131.202.1.21]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id 61ECC431FB6 for ; Fri, 11 Nov 2011 15:55:22 -0800 (PST) Received: from rocinante.cs.unb.ca (14.134.108.206.static.addr.dsl4u.ca [206.108.134.14] (may be forged)) (authenticated bits=0) by tempo.its.unb.ca (8.13.8/8.13.8) with ESMTP id pABNtGqK025018 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO); Fri, 11 Nov 2011 19:55:17 -0400 Received: from bremner by rocinante.cs.unb.ca with local (Exim 4.76) (envelope-from ) id 1RP0wG-0001gq-2X; Fri, 11 Nov 2011 18:55:16 -0500 From: David Bremner To: Jameson Graef Rollins , notmuch@notmuchmail.org Subject: Re: [PATCH v3] contrib/nmbug: new script for sharing tags with a given prefix. In-Reply-To: <877h36fdgb.fsf@servo.finestructure.net> References: <1320627586-10068-1-git-send-email-david@tethera.net> <1321024095-6387-1-git-send-email-david@tethera.net> <877h36fdgb.fsf@servo.finestructure.net> User-Agent: Notmuch/0.9+51~g0234a16 (http://notmuchmail.org) Emacs/23.3.1 (x86_64-pc-linux-gnu) Date: Fri, 11 Nov 2011 18:55:15 -0500 Message-ID: <87ty6a9puk.fsf@rocinante.cs.unb.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Nov 2011 23:55:23 -0000 On Fri, 11 Nov 2011 15:26:28 -0800, Jameson Graef Rollins wrote: > On Fri, 11 Nov 2011 10:08:15 -0500, David Bremner wrote: > > The most important commands are > > > > commit xapian -> git > > checkout git -> xapian > > merge fetched git + git -> xapian > > status find differences between xapian, git, and remote git. > > Hey, David. Just for clarification, the above seems a little > inconsistent with the documentation included with the script, which > implies that the "most common commands", which are I believe meant to be > the only ones that the user should routinely have to use, are "commit", > "push", and "pull". I got the impression that "checkout" and "merge" > should only be needed if you're trying to recover a broken system. Hi Jamie; I think the commit message and the online help are aimed a different audience, so it is not crucial (or even desirable) that they be exactly the same. Perhaps it would be more clear to say that these are the "non-trivial" commands. The "most commonly used commands" could be retitled "the minimal set of commands to use nmbug". My own workflow involves fetch, merge, and the occasional checkout. Your might or might not; in my case it has to do with the fact that I am syncing tags in several different ways. > > There are also some convenience wrappers around git commands. > Isn't much of nmbug "convenience wrappers around git commands"? The distinction I'm trying to make here is between one-liners like "fetch" and slightly hairy things like "commit", where I had to learn new things about git to implement the latter. > It seems to me that the fact that nmbug is using git underneath should > be almost completely abstracted away from the user. Well, in the sense that user should not normally have to use raw git commands, I agree. I don't really see any point in hiding the fact that it is using git e.g. in the documentation. It doesn't seem likely that nmbug will support more than one version control system without a complete rewrite. And of course the commit messages are supposed to tell how things work, so no point being coy there. d