Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Andrew Cagney <ac131313@cygnus.com>
To: Andrew Cagney <ac131313@cygnus.com>, gdb@sources.redhat.com
Subject: [repost] [maint] Commit rules for un-maintained targets ....
Date: Sat, 15 Dec 2001 11:34:00 -0000	[thread overview]
Message-ID: <3C1BA5CD.9000102@cygnus.com> (raw)
In-Reply-To: <3C034FDD.8070809@cygnus.com>

Hello,

The current commit rule for un-maintained targets is:

All maintainers can make arbitrary changes to OBSOLETE targets.

All maintainers can make mechanical (params, spelling, indentation,
multi-arch, -W..., ....) changes to ``maintenance only'' targets.
Please sanity check the change by compiling with one of the listed
targets.

The GAWK segment:

  awk < "${maintainers}" '
  $2 ~ /--target=.*/ {
    targets = gensub (/^.*--target=/, "", 1, $2)
    warnings = gensub (/[)]*$/, "", 1, $3)
    split (targets, targ, /,/)
    for (i in targ) {
        print targ[i], warnings
    }
  }'

can be used to generate a full list of --target=
--enable-gdb-build-warning= pairs.


I'd like to propose a change so that it is something like:


> All recognized developers can make arbitrary changes to OBSOLETE targets.
>
> All maintainers can test and thence approve non-trivial changes to ``maintenance only'' targets submitted by recognized developers.
>
> All recognized developers can make mechanical changes (by virtue of the obvious fix rule) to ``maintenance only'' targets.  The change shall  be sanity checked by compiling with one of the listed targets.
>
> The GAWK segment: ....

(I am not a lawyer)

Anyway, the motivation is pretty simple: I can't see any point in someone waiting for approval of their patch from me (or another global write maintainer?) when all I'm going to do is check for codeing, style and curent conventions.  Hmm, gdb_indent.sh and the nasty http://sources.redhat.com/gdb/ari/ do this - I'm kind of redundant.

I think it is better that someone in a position to build / test the change be given the oportunity to give the thumbs up.  (The emphasis being on _test_ :-)

Clearly the more popular / complex targets (MIPS, ARM, x86, PPC) are going to have maintainers and hence this change won't apply.

Depending on how this is received, I guess I should probably look at doing similar to the native platforms.

Several things to note: the obvious fix rule contains the clause ``Something like changing or bypassing an interface is _not_ an obvious fix, since such a change without discussion will result in instantaneous and loud complaints''; I think GDB has an accepted convention of not committing patches until all problems/questions have been addressed; the above strengthened the sanity check bit to require (not just suggest) a build!

Risks?  The obvious risk is if two or more people get together and start submitting / approving patches that aren't up to scratch.  Then again, if two people are doing this but still meeting all of the above I can't see them doing too much damage :-)

thoughts?
Andrew




      parent reply	other threads:[~2001-12-15 19:34 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-11-16 11:59 Andrew Cagney
2001-11-27  0:33 ` Andrew Cagney
2001-12-15 11:34 ` Andrew Cagney [this message]

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=3C1BA5CD.9000102@cygnus.com \
    --to=ac131313@cygnus.com \
    --cc=gdb@sources.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