Return-Path: X-Original-To: apmail-couchdb-dev-archive@www.apache.org Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 36A401097A for ; Wed, 4 Dec 2013 17:33:48 +0000 (UTC) Received: (qmail 94167 invoked by uid 500); 4 Dec 2013 17:33:47 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 94082 invoked by uid 500); 4 Dec 2013 17:33:47 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 94068 invoked by uid 99); 4 Dec 2013 17:33:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Dec 2013 17:33:46 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of bchesneau@gmail.com designates 209.85.160.45 as permitted sender) Received: from [209.85.160.45] (HELO mail-pb0-f45.google.com) (209.85.160.45) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Dec 2013 17:33:41 +0000 Received: by mail-pb0-f45.google.com with SMTP id rp16so23916451pbb.18 for ; Wed, 04 Dec 2013 09:33:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=Hk3oqw+lLcmlpgNj++DOEbB4VgtVOo3VaNRS9AKxz7M=; b=tXizJhNPu3TlxEnZmC6TD2HhANcn58Nygxb1q94f533AlXwZATcAZO+vkR+6v20elv mTeflJ1aQWiVV8mIuNNm3uJtayNvjmR2g5dt5yLAO6DP8MgZAPjMnnn/SsW95ON3sGHX UNZhnxw/BwdjS2vCAk2M01iyBGZSkaM0Do+L2ml8LEgZLnFPcAUm6NLGmHcxrslz3JUu KolhP01vphdHbNT//KtTvUZ0ou52O7JeY2EK0RJ9Rqxgvs+EQ5VGKFMtGPZDjqVuF1rP cs24MCmH30D5ZrIPqkcxRfCkvitaO9qzQ6aSI51HAcqNgPe1Jmlx51Nuk7AQwe2BPbkK s8bQ== MIME-Version: 1.0 X-Received: by 10.68.241.227 with SMTP id wl3mr46220881pbc.111.1386178401463; Wed, 04 Dec 2013 09:33:21 -0800 (PST) Received: by 10.70.59.7 with HTTP; Wed, 4 Dec 2013 09:33:21 -0800 (PST) In-Reply-To: References: Date: Wed, 4 Dec 2013 18:33:21 +0100 Message-ID: Subject: Re: [PROPOSAL] tag our commits From: Benoit Chesneau To: "dev@couchdb.apache.org" Content-Type: multipart/alternative; boundary=047d7b339cfb36f60004ecb8cfc0 X-Virus-Checked: Checked by ClamAV on apache.org --047d7b339cfb36f60004ecb8cfc0 Content-Type: text/plain; charset=ISO-8859-1 On Wed, Dec 4, 2013 at 5:42 PM, Jason Smith wrote: > While I'm whining about tags: > > Tagging is most useful by having multiple tags per target. My blog post can > be tagged [vacation] [swaziland] [photos] [family], and then later I can > find all posts about family. > > Git messages are forced to one tag. That's unhelpful because commits > ideally update code, tests, and documentation. A useful tag might be [ui] > but I could get the same thing by looking at the history of src/fauxton/. > > It is marginally useful at a very dear cost: 4-10 characters per commit > message. > > Generally a commit should be atomic. And by that I don't mean it has to be only for doc, tests or some code. a tag named [code] would be useless indeed. However, in the same vein we are tagging issues on jira we could have tags describing the feature it attempts to patch. Even the english allows people to present a idea in a concise way, in 1-2 words. http: btree db api couch_mrview couch_index couch_replicator couch_http couch_changes couch_os installation and doc, tests for the one that are only touching these parts are useful. It helps to have a quick glance among all the commits. I am seeing many advantages to tag the commits Having tag helps to have a quick glance on the commits, and raises the attention of the developer that is interested in such part so you don't have to watch each commit to figure if he's interested or not. And naturally people will start to review, and we will stop to see people committing in master without having at least a formal review (irc is not formal). Having tags force naturally people to be atomic and resist to the temptation to change every part of the code. (The "while I am here do...") Having tags force people to reread themselves before committing. So will have less commits fixing the previous commit that was fixing the previous one.... Having tags improve the visibility of the code in search engines. So far all communities around that are serious about the code quality are tagging their commit. Do we care about the code quality? So I don't think it is not "marginally useful" imo and hopefully you will reconsider the advantages it can give. --047d7b339cfb36f60004ecb8cfc0--