All of lore.kernel.org
 help / color / mirror / Atom feed
From: Prakash Surya <surya1@llnl.gov>
To: lustre-devel@lists.lustre.org
Subject: [Lustre-devel] [wc-discuss] Lustre code style Git commit hooks
Date: Mon, 14 Nov 2011 10:10:24 -0800	[thread overview]
Message-ID: <20111114181024.GJ9136@llnl.gov> (raw)
In-Reply-To: <alpine.LFD.2.02.1111141607030.3705@casper.infradead.org>

On Mon, Nov 14, 2011 at 08:08:49AM -0800, James Simmons wrote:
> 
> > >> An earlier version of the commit-msg hook used "git hash-object -t commit" and it caused an empty Change-Id string for older versions of Git. The "-t commit" option was removed from the latest version and solved the problem for the people that used it.
> > > 
> > > Yes your right. I updated the hooks and it works now. I also had to learn 
> > > you need a subsystem: field for commits now. Info about the subsystem 
> > > field is not the wiki.
> > 
> > Hmm, which wiki page are you referring to?  The "Using Gerrit" page has had
> > the "component:" tag since june, long before I sent out the email,
> > and it was in the original email as well:
> 
> http://wiki.whamcloud.com/display/PUB/Using+Gerrit
> 
> Looking at the page I do see the "component:" tag, but its because I 
> looked for it. It needs to be more clear what is required to push a 
> patch. Just a outsider's view.

Would a more detailed explanation of each "part" of the commit message
help? For example, under the sample commit message:

 * LU-000: Issue number referencing an open issue at jira.whamcloud.com

 * component: The component(s) affected by this patch (i.e. osd-ldiskfs,
              lnet, etc.)

 * Short Description: ...

 * etc...

Looking at the wiki page referenced above, it's a little hard to
distinguish each section from one another. They all seem to blend into a
single wall of text, IMO. Splitting them up into separate pages, or
simply using a better color scheme to distinguish the sections apart,
might help the page's readability as a whole.

-- 
Cheers,
Prakash

  reply	other threads:[~2011-11-14 18:10 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-02 19:17 [Lustre-devel] Lustre code style Git commit hooks and Andreas Dilger
2011-11-03 22:28 ` [Lustre-devel] [wc-discuss] " Prakash Surya
2011-11-04 16:40   ` Andreas Dilger
2011-11-04 21:47     ` Brian J. Murrell
2011-11-09 16:27       ` James Simmons
2011-11-09 17:04         ` Andreas Dilger
2011-11-09 17:40           ` Prakash Surya
2011-11-09 19:23           ` James Simmons
2011-11-09 22:00             ` [Lustre-devel] [wc-discuss] Lustre code style Git commit hooks Andreas Dilger
2011-11-14 16:08               ` James Simmons
2011-11-14 18:10                 ` Prakash Surya [this message]
2011-11-14 19:14                   ` James Simmons
2011-11-15  8:55                     ` Andreas Dilger
2011-11-15 14:23                       ` Bruce Korb

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

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

  git send-email \
    --in-reply-to=20111114181024.GJ9136@llnl.gov \
    --to=surya1@llnl.gov \
    --cc=lustre-devel@lists.lustre.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.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.