public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* MAINTAINERS policy question
@ 2001-09-16  2:52 Bernd Schmidt
  2001-09-16  3:12 ` Andreas Jaeger
                   ` (2 more replies)
  0 siblings, 3 replies; 22+ messages in thread
From: Bernd Schmidt @ 2001-09-16  2:52 UTC (permalink / raw)
  To: gcc

I have a question about how the MAINTAINERS file should be interpreted.
Suppose you have somebody listed as maintaining port X.  Does this grant
the right to check in any patch for a problem that affects port X, or
does it only grant the right to modify config/X/*?

I've had someone claim in private mail that it means the former, and
this surprised me, since I always assumed it meant the latter.


Bernd

^ permalink raw reply	[flat|nested] 22+ messages in thread
* Re: MAINTAINERS policy question
@ 2001-09-16  6:04 Ulrich Weigand
  2001-09-16 18:19 ` DJ Delorie
  0 siblings, 1 reply; 22+ messages in thread
From: Ulrich Weigand @ 2001-09-16  6:04 UTC (permalink / raw)
  To: Joseph S. Myers; +Cc: Bernd Schmidt, gcc, Hartmut Penner

Joseph S. Myers wrote:

>On Sun, 16 Sep 2001, Bernd Schmidt wrote:
>
>> I have a question about how the MAINTAINERS file should be interpreted.
>> Suppose you have somebody listed as maintaining port X.  Does this grant
>> the right to check in any patch for a problem that affects port X, or
>> does it only grant the right to modify config/X/*?
>
>I'd say it means config/X/*, plus the entries for X in config.gcc, plus
>documentation for X (options in invoke.texi, attributes in extend.texi,
>specific issues in install.texi, ...), plus testcases for any feature or
>bug specific to X (probably plus configuration for X in libstdc++-v3 /
>libffi / ...).

Is there consensus on this policy?  I'm asking becausing I'm still waiting
for approval for some changes to the S/390-specific config.gcc entries
(which I thought I needed approval for ...).  See

http://gcc.gnu.org/ml/gcc-patches/2001-08/msg00683.html



Mit freundlichen Gruessen / Best Regards

Ulrich Weigand

--
  Dr. Ulrich Weigand
  Linux for S/390 Design & Development
  IBM Deutschland Entwicklung GmbH, Schoenaicher Str. 220, 71032 Boeblingen
  Phone: +49-7031/16-3727   ---   Email: Ulrich.Weigand@de.ibm.com

^ permalink raw reply	[flat|nested] 22+ messages in thread
* Re: MAINTAINERS policy question
@ 2001-09-16  6:39 Richard Kenner
  2001-09-16  8:35 ` Daniel Berlin
  0 siblings, 1 reply; 22+ messages in thread
From: Richard Kenner @ 2001-09-16  6:39 UTC (permalink / raw)
  To: Ulrich.Weigand; +Cc: gcc

    >I'd say it means config/X/*, plus the entries for X in config.gcc, plus
    >documentation for X (options in invoke.texi, attributes in extend.texi,
    >specific issues in install.texi, ...), plus testcases for any feature or
    >bug specific to X (probably plus configuration for X in libstdc++-v3 /
    >libffi / ...).

    Is there consensus on this policy?  

That's how I always interpreted it.

^ permalink raw reply	[flat|nested] 22+ messages in thread
* Re: MAINTAINERS policy question
@ 2001-09-16  8:38 Richard Kenner
  0 siblings, 0 replies; 22+ messages in thread
From: Richard Kenner @ 2001-09-16  8:38 UTC (permalink / raw)
  To: dan; +Cc: gcc

    After all, anyone with enough experience to be maintaining a port, it's 
    likely they know enough to be able to make changes to other parts of the 
    compiler that affect their platform.

Somewhat.  But one point of a reviewer is to look at a change and see if
it is "reasonable".  You have to have a global knowlege of the compiler
to do that if the change is in a common area.  Local knowlege of that area
isn't enough since the issue may be that the proper place for the change
is elsewhere.  It is possible to do a port by just doing a very small number
(or even no) changes to the rest of the compiler, so there's no reason to
assume that a port maintainer would had gained such expertese.

^ permalink raw reply	[flat|nested] 22+ messages in thread
* Re: MAINTAINERS policy question
@ 2001-09-16 11:46 Richard Kenner
  2001-09-16 12:24 ` Andreas Jaeger
  0 siblings, 1 reply; 22+ messages in thread
From: Richard Kenner @ 2001-09-16 11:46 UTC (permalink / raw)
  To: aj; +Cc: gcc

    +  Maintainers of a port maintain the files in config/<port>/,
    +  the configure fragments for the port, documentation for the port and
    +  test cases for features or bugs specific to this port.  Port
    +  maintainers do not have approval writes in other files.  </dd>

Typo: "... approval rights in ...

^ permalink raw reply	[flat|nested] 22+ messages in thread
* Re: MAINTAINERS policy question
@ 2001-09-17  9:44 Ulrich Weigand
  0 siblings, 0 replies; 22+ messages in thread
From: Ulrich Weigand @ 2001-09-17  9:44 UTC (permalink / raw)
  To: DJ Delorie; +Cc: gcc

DJ Delorie wrote:

>> Is there consensus on this policy?  I'm asking becausing I'm still
>> waiting for approval for some changes to the S/390-specific
>> config.gcc entries (which I thought I needed approval for ...).  See
>> http://gcc.gnu.org/ml/gcc-patches/2001-08/msg00683.html
>
>Insofaras config.gcc changes are part of configure.in for which I can
>approve changes, consider the config.gcc changes approved, and in the
>future, please consider the platform-specific entries in config.gcc to
>be one of the things the platform maintainers maintain (provided
>you're careful, you test before committing, and you don't break anyone
>else, of course ;)

OK, thanks.

>And a month is a long time to wait.  I'd think two weeks with no
>response at all would be long enough before posting an "unreviewed
>patch" note to the list.  If it's my area, a private ping after a week
>just to make I know about the patch is OK by me too.

I'll do it that way in the future.  Thanks again ...


Mit freundlichen Gruessen / Best Regards

Ulrich Weigand

--
  Dr. Ulrich Weigand
  Linux for S/390 Design & Development
  IBM Deutschland Entwicklung GmbH, Schoenaicher Str. 220, 71032 Boeblingen
  Phone: +49-7031/16-3727   ---   Email: Ulrich.Weigand@de.ibm.com

^ permalink raw reply	[flat|nested] 22+ messages in thread
* Re: MAINTAINERS policy question
@ 2001-09-17 17:40 mike stump
  2001-09-18 16:30 ` Marc Espie
  0 siblings, 1 reply; 22+ messages in thread
From: mike stump @ 2001-09-17 17:40 UTC (permalink / raw)
  To: aj, mark; +Cc: bernds, gcc

> From: Andreas Jaeger <aj@suse.de>
> Date: Sun, 16 Sep 2001 20:14:57 +0200

> --- cvswrite.html.~1~	Thu Jul 26 16:10:30 2001
> +++ cvswrite.html	Sun Sep 16 20:13:24 2001
> @@ -98,7 +98,13 @@
>    primary responsibility for ports, front ends, or significant hunks
>    of code in the compiler.  These folks are allowed to make changes in
>    code they maintain without going through any kind of approval
> -  process.</dd>
> +  process.
> +
> +  <p>
> +  Maintainers of a port maintain the files in config/&lt;port&gt;/,
> +  the configure fragments for the port, documentation for the port and
> +  test cases for features or bugs specific to this port.  Port
> +  maintainers do not have approval writes in other files.  </dd>

I mostly agree as well.

The part about testcases and bugs specific to a port is a little to
general.  Basically, a port maintainer has privs for all those bytes
that _only_ affect ports under his control, if they are normally done
in such a manner.

This would mean that a bug fix to libgcc2.c in:

#if defined (sony_news) && defined (SYSTYPE_BSD)

#include <stdio.h>
#include <sys/types.h>
#include <sys/param.h>
#include <syscall.h>
#include <machine/sysnews.h>

/* cacheflush function for NEWS-OS 4.2.
   This function is called from trampoline-initialize code
   defined in config/mips/mips.h.  */

void
cacheflush (char *beg, int size, int flag)
{
  if (syscall (SYS_sysnews, NEWS_CACHEFLUSH, beg, size, FLUSH_BCACHE))
    {
      perror ("cache_flush");
      fflush (stderr);
      abort ();
    }
}

#endif /* sony_news */

would be OK by the sony_news/mips maintainer.  My wording also makes
it clear that an FreeBSD maintainer can change the FreeBSD make file
fragments, but not the Linux parts of the x86 files.  Adding a

#ifdef __mips
[ hack around ]
#endif

into MI code, would not be acceptable, unless signed off by a
maintainer of the MI code.

Testcases are potentially hard to decide.  A testcase _should_ be done
in a fairly MI way.  A port maintainer can miss ways in which a
testcase is machine dependent.  Having someone else review the
testcase is reasonably a good idea.  A port maintainer that can
generate a MI testcase I think should be allowed to just check it in
directly.

I am in favor of having things loosely defined, and leaving a little
wiggle room.  Those people that are new/inexperienced should caution
to the conservative side, those that are very experienced should be
granted just a little bit more leeway in what parts they change.

^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2001-09-18 16:30 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-09-16  2:52 MAINTAINERS policy question Bernd Schmidt
2001-09-16  3:12 ` Andreas Jaeger
2001-09-16  3:38   ` Graham Stott
2001-09-16 10:59   ` Mark Mitchell
2001-09-16 11:16     ` Andreas Jaeger
2001-09-16 11:17       ` Mark Mitchell
2001-09-16 11:22         ` Toon Moene
2001-09-16 11:23       ` Gerald Pfeifer
2001-09-16 14:14     ` David Edelsohn
2001-09-17  8:32       ` Phil Edwards
2001-09-16  4:06 ` Joseph S. Myers
2001-09-16 15:04 ` Joe Buck
2001-09-16  6:04 Ulrich Weigand
2001-09-16 18:19 ` DJ Delorie
2001-09-16  6:39 Richard Kenner
2001-09-16  8:35 ` Daniel Berlin
2001-09-16  8:38 Richard Kenner
2001-09-16 11:46 Richard Kenner
2001-09-16 12:24 ` Andreas Jaeger
2001-09-17  9:44 Ulrich Weigand
2001-09-17 17:40 mike stump
2001-09-18 16:30 ` Marc Espie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).