From: Joel Brobecker <brobecker@adacore.com>
To: Phil Muldoon <pmuldoon@redhat.com>
Cc: gdb@sourceware.org
Subject: Re: ARI/Commit rules
Date: Wed, 15 Jun 2011 15:25:00 -0000 [thread overview]
Message-ID: <20110615152451.GN5944@adacore.com> (raw)
In-Reply-To: <m3aadjz4u5.fsf@redhat.com>
> I was writing a patch today, and I once again arrived at the: "Should I
> use X or Y for this operation" dilemma. There are a lot of unwritten
> rules about programming usage in GDB (See ARI mails), and sometimes
> maintainers don't catch them. This is inevitable with a project this
> size and age. I have come to fear the post-commit ARI warnings ;)
Yeah - the ARI is a useful tool (but, IMO, has to be taken with
a grain of salt), and it's a pity that the results always come after
the fact. Worse, from the WEB ARI results, I could see that some
files have warnings, but I couldn't find where exactly in the file
the warnings were.
I think it would be nice to be able to run this script by hand
from a checkout, and it shouldn't be too difficult, since it's
mostly an awk script. And for those that use git, we could
produce a hook as well, I think. We might have some issues
with volume (number of warnings due to the already-present
violations) though, or perhaps performance. I don't know about
others, but since using git, I have been so spoiled that I expect
every operation to be instantaneous...
--
Joel
next prev parent reply other threads:[~2011-06-15 15:25 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-15 11:56 Phil Muldoon
2011-06-15 15:25 ` Joel Brobecker [this message]
2011-06-15 15:37 ` Phil Muldoon
2011-06-15 15:47 ` Joel Brobecker
2011-06-15 16:39 ` Pedro Alves
2011-06-15 16:48 ` Joel Brobecker
2011-06-15 17:00 ` Pedro Alves
2011-06-15 18:03 ` Alfred M. Szmidt
2011-06-16 11:45 ` Pierre Muller
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=20110615152451.GN5944@adacore.com \
--to=brobecker@adacore.com \
--cc=gdb@sourceware.org \
--cc=pmuldoon@redhat.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox