Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Pedro Alves <pedro@codesourcery.com>
To: gdb@sourceware.org, pmuldoon@redhat.com
Cc: Joel Brobecker <brobecker@adacore.com>
Subject: Re: ARI/Commit rules
Date: Wed, 15 Jun 2011 16:39:00 -0000	[thread overview]
Message-ID: <201106151738.59715.pedro@codesourcery.com> (raw)
In-Reply-To: <m3k4cnxg0x.fsf@redhat.com>

On Wednesday 15 June 2011 16:37:02, Phil Muldoon wrote:
> Joel Brobecker <brobecker@adacore.com> writes:
> 
> > 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...
> 
> It would be nice to fix those warnings eventually.  I believe a pre-commit
> hook would only operate on your diffs, though.  Anyway we cannot use
> that as the GIT repository is read only.  So to me, an ideal thing
> would be just to run it on my files that I have changed, or even better
> a patch I have generated.

You can download the script from the ARI page:
<http://sourceware.org/gdb/ari/>.

Here's a direct link: <http://sourceware.org/gdb/ari/gdb_ari.sh>.

Something like `ls *.[hc] | xargs gdb_ari.sh` should work.

I actually don't know how to get to the repository 
where the script is hosted, and where to get the script
that is invoking the gdb_ari.sh.  I'm guessing its home
is at the same place the webpages are, and perhaps the logic
of which files to run the ari script on are only in some
cron script somewhere?

> 
> What do you think?
> 
> Cheers
> 
> Phil
> 

-- 
Pedro Alves


  parent reply	other threads:[~2011-06-15 16:39 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
2011-06-15 15:37   ` Phil Muldoon
2011-06-15 15:47     ` Joel Brobecker
2011-06-15 16:39     ` Pedro Alves [this message]
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=201106151738.59715.pedro@codesourcery.com \
    --to=pedro@codesourcery.com \
    --cc=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