From 83a405927331df442b91194fcbe620eb9b27532c Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Mon, 14 Jul 2014 11:13:39 +1700 Subject: [PATCH] Re: [PATCH 2/2] nmbug-status: Use 'show-ref --heads' for loading configs --- 38/080f87e9732d24dcedaa199b6c3739be3c33fd | 140 ++++++++++++++++++++++ 1 file changed, 140 insertions(+) create mode 100644 38/080f87e9732d24dcedaa199b6c3739be3c33fd diff --git a/38/080f87e9732d24dcedaa199b6c3739be3c33fd b/38/080f87e9732d24dcedaa199b6c3739be3c33fd new file mode 100644 index 000000000..8ca64de35 --- /dev/null +++ b/38/080f87e9732d24dcedaa199b6c3739be3c33fd @@ -0,0 +1,140 @@ +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 EDE72431FBD + for ; Sun, 13 Jul 2014 11:13:50 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: -0.1 +X-Spam-Level: +X-Spam-Status: No, score=-0.1 tagged_above=-999 required=5 + tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, + RCVD_IN_DNSWL_NONE=-0.0001] 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 GxvpSxf0RrQt for ; + Sun, 13 Jul 2014 11:13:41 -0700 (PDT) +Received: from qmta13.emeryville.ca.mail.comcast.net + (qmta13.emeryville.ca.mail.comcast.net [76.96.27.243]) + by olra.theworths.org (Postfix) with ESMTP id 159ED431FBC + for ; Sun, 13 Jul 2014 11:13:41 -0700 (PDT) +Received: from omta18.emeryville.ca.mail.comcast.net ([76.96.30.74]) + by qmta13.emeryville.ca.mail.comcast.net with comcast + id Rtli1o0041bwxycADuDgvY; Sun, 13 Jul 2014 18:13:40 +0000 +Received: from odin.tremily.us ([24.18.63.50]) + by omta18.emeryville.ca.mail.comcast.net with comcast + id RuDf1o00K152l3L8euDfoC; Sun, 13 Jul 2014 18:13:40 +0000 +Received: by odin.tremily.us (Postfix, from userid 1000) + id 359A2128BB18; Sun, 13 Jul 2014 11:13:39 -0700 (PDT) +DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tremily.us; s=odin; + t=1405275219; bh=Dl2BFCQF+kHFzqlfo2njf9dgSln04FeEiGj0zFxdn10=; + h=Date:From:To:Cc:Subject:References:In-Reply-To; + b=FMR8qhJx0ow3x6czuZpdjX1aFBaTqIKoa/urDB7w4DGvKTcRMwdxzISwpprhB4+BK + nh0u6a/bnTkgCrKIFByN7DF+O1BwQAvQLEji+++DR5WshhnLSvbq4uuROf0ugeDmPH + XXAJzoXKc8S6xQK4s901xyZyFQ43B827CCTVH9io= +Date: Sun, 13 Jul 2014 11:13:39 -0700 +From: "W. Trevor King" +To: David Bremner +Subject: Re: [PATCH 2/2] nmbug-status: Use 'show-ref --heads' for loading + configs +Message-ID: <20140713181339.GB23983@odin.tremily.us> +References: + <7ddcf7368895768aa0a2d37dac0d4f96e9666f16.1399749244.git.wking@tremily.us> + <87tx6lfnjz.fsf@maritornes.cs.unb.ca> +MIME-Version: 1.0 +Content-Type: multipart/signed; micalg=pgp-sha1; + protocol="application/pgp-signature"; boundary="mojUlQ0s9EVzWg2t" +Content-Disposition: inline +In-Reply-To: <87tx6lfnjz.fsf@maritornes.cs.unb.ca> +OpenPGP: id=39A2F3FA2AB17E5D8764F388FC29BDCDF15F5BE8; + url=http://tremily.us/pubkey.txt +User-Agent: Mutt/1.5.23 (2014-03-12) +DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; + s=q20140121; t=1405275220; + bh=a9LadKdx4H55FdBV/6fvxDsHwhXLCNp5B6yl16GnvKw=; + h=Received:Received:Received:Date:From:To:Subject:Message-ID: + MIME-Version:Content-Type; + b=cg7xvv6aII5S9jtM1oAE2r9FAI9jCZjz4Lj4k8oqaSTLawjQGhfI2TaaN9khRdrPq + IrVuz6c91DbfLNRnxbm7VeFZP7s/1EYP7SLr+YBpFkQb+31ooNVaAvg+lSUrhPMzS7 + sRCpLkjk0i5XBPdyHT8W15qdpLMIPPUikvIyNDuJqYIssq1xkNr3ptJd1iahD4NeuH + X7N8MkBZ+OJC5OLGOlJ7X8S5JlfKamsAB+rDHhzXGmYwg9b0btZj7iiQ3awxe8DNOo + H2MxPMR06mIn+rvvh5B690FvCpFfdYz01gsdCrfLTDPBUOamh5HAMC99S/sHW93VG5 + ExVuaKcCq3RTQ== +Cc: notmuch@notmuchmail.org +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: Sun, 13 Jul 2014 18:13:51 -0000 + + +--mojUlQ0s9EVzWg2t +Content-Type: text/plain; charset=utf-8 +Content-Disposition: inline +Content-Transfer-Encoding: quoted-printable + +On Sun, Jul 13, 2014 at 09:30:56AM -0300, David Bremner wrote: +> I consider it a useful feature that it works without the user +> configuring a local branch. I agree that in more complex setups +> this ambiguity is not as nice, but I'd rather it was only the +> minority of users with unusual setups (e.g. multiple remotes) have +> to do configuration. + +I could work up a patch that tried =E2=80=98git show-ref -s config=E2=80=99= + first, and +only fell back to =E2=80=98show-ref -s --heads=E2=80=99 if there were multi= +ple +matches. That way folks with only origin/config wouldn't need a local +branch, but folks with multiple config-carrying remotes (or a single +config-carrying remote and a local branch) would have to have a local +config to break the tie. That's possible, and not *too* complicated, +but I personally prefer the consistency of just requiring a local +config branch. + +There's probably a project-size threshold after which you want better +access controls than a shared public repository like nmbug.tethera.net +gives you. At that point, most folks are going to want their own, +personal public repository. Once you have that, the folks using the +=E2=80=98config=E2=80=99 branch (maybe not very many?) are going to need to= + keep their +own local branches. + +Cheers, +Trevor + +--=20 +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 + +--mojUlQ0s9EVzWg2t +Content-Type: application/pgp-signature; name="signature.asc" +Content-Description: OpenPGP digital signature + +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2 + +iQIcBAEBAgAGBQJTwsxPAAoJEG8/JgBt8ol8MP8P/AzZjn8jMM//pNLLDAs7QKff +zlC218vPWKXj6UWec5JMQe84GfzYwJrptPpEy8eMexoWoMe6vrVynDvDhO3Zxxq7 +njBVcVjv7IS5LQkcCEjmwpn1ddTs1T135z5qRnw4vkwDWJpj3epOes7F8NZxHaIx +Jx1CrLTvPD7344J9nSpaug70+WL20BM5bGiWSB/6snMXBnNZpQqPfG4w8K/OugbU +jb8FfXQ9yBMDiv9LkLfUBCQRM/t6EEA/xy9iIkIweFvhkzG08k0NB5Rfv/V4faJu +fs/4FsLgNcw7bgmdSboPfKj86PZ/tNKR/d/HH8XgxxYq/K5h9UZ0VShbwx9zfVEb +uEMjiYkQQ1CO0VP3eVHt9zVWIUYDRnIPd/6YfY7hzdnM2HEtgBXjHHSIYB+aze76 +v14nt0cW92kI2vB7prhciwCY/412ASyXNlLubwj6roB7odE4xj8thL0IrGgT+Z5g +DXmQuumIwW6j1dEPWDPDMIjJKGXl1KfW5oOKt5gyalhmZMrZUKfXeSP4TAomYoSP +2x4J3+L9DxYLZ4PgJM9oi6WrflMxAQMS941s3bj378t+08H08ceI8SVenY4QRq5g +PwANgoVRSRnqzxSj/O4EnUsLYSPCah+66ZOLPJ3BG0aNS3rs/0LUHLu5Wuo2qyCV +c11y7Z/fDP/ADZR2PVtf +=Qrn5 +-----END PGP SIGNATURE----- + +--mojUlQ0s9EVzWg2t-- -- 2.26.2