Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Andrew Cagney <cagney@gnu.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: kettenis@gnu.org, brobecker@gnat.com, gdb-patches@sources.redhat.com
Subject: Re: [patch] Deprecate XM_FILE and TM_FILE
Date: Mon, 13 Sep 2004 15:35:00 -0000	[thread overview]
Message-ID: <4145BDB1.6010601@gnu.org> (raw)
In-Reply-To: <01c498f7$Blat.v2.2.2$53c9e1a0@zahav.net.il>

>>> Date: Sun, 12 Sep 2004 14:04:47 -0400
>>> From: Andrew Cagney <cagney@gnu.org>
>>> Cc: Mark Kettenis <kettenis@gnu.org>, brobecker@gnat.com,
>>>         gdb-patches@sources.redhat.com
>>> 
>>> I think this debate is over the point at which something can be deprecated.
> 
> 
> It's about a point where something can be deprecated, and also about
> the conditions that should be fulfilled for that.

I think this is progress, this discussion is finally focusing in on 
specific concerns.

>>> For GDB, as soon as we've got the new mechanism up and running - 
>>> confirming its ok - we're going to draw a line and deprecate the old 
>>> mechanisms.  We're not going to require that every single detail of 
>>> every single dependant variant also be addressed.
> 
> 
> I don't know about ``we'', but as far as I'm concerned, I cannot
> approve a patch that deprecates XM_FILE as long as the 3 defines in
> xm-go32.h are not set by an alternative non-deprecated mechanism.
> 
> 
>>>> > We can easily do that (and actually do that) by rejecting patches that
>>>> > use the old mechanism.
>>
>>> 
>>> We don't.
> 
> 
> Yes, we do.  You can find examples of that in the archives, including
> messages by yourself.

In the past, yes.  Two problems were identifed:

- there was no way for a contributor to predict ahead of time if/when 
``old'' mechanisms would not be accepted - the process was comparable to 
a lottery :-(

- patch reviewers were not tracking / rejecting  code using ``old'' - I 
was the one running around asking people to not use old mechanisms (not 
a good move ;-)

As a consequence we now explicitly deprecate: require a clear explicit 
weeks notice before someing is deprecated; and requiring that 
contributions decrease the deprecation count; and requiring that patch 
reviewers check for this.

The ARI currently identifies rougly 70 ``old'' mechanisms as candidates 
for deprecation (possibly redundant, broken, unused, ...).  I don't 
require any patch reviewer to track them, and I don't require any 
contributor to implement the work needed to formally deprecate them.

>>> In the past, requests to not use old mechanisms have been [er]
>>> declined
> 
> 
> If such a request is declined, we can reject the patch.  I don't see a
> problem here.

That is deprecation.

For us to reject such a patch we must have clearly, explicitly and 
formally identify the mechanism as one that should not be used, and 
recorded the decision in a way that both the patch reviewer and 
contributor can quickly and efficiently access.

Andrew



  reply	other threads:[~2004-09-13 15:35 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-02 18:30 Andrew Cagney
2004-09-02 20:26 ` Eli Zaretskii
2004-09-03 16:18   ` Andrew Cagney
2004-09-04 12:00     ` Eli Zaretskii
2004-09-04 14:27       ` Andrew Cagney
2004-09-04 16:28         ` Eli Zaretskii
2004-09-04 23:20           ` Andrew Cagney
2004-09-05  4:17             ` Eli Zaretskii
2004-09-09 16:05               ` Andrew Cagney
2004-09-09 19:31                 ` Eli Zaretskii
2004-09-09 20:26                   ` Andrew Cagney
2004-09-09 21:15                     ` Eli Zaretskii
2004-09-09 21:26                       ` Joel Brobecker
2004-09-10  9:35                         ` Eli Zaretskii
2004-09-10 12:41                           ` Mark Kettenis
2004-09-10 16:32                             ` Eli Zaretskii
2004-09-12 18:07                               ` Andrew Cagney
2004-09-12 18:36                                 ` Eli Zaretskii
2004-09-13 15:35                                   ` Andrew Cagney [this message]
2004-09-13 19:48                                     ` Eli Zaretskii
2004-09-13 21:07                                       ` Andrew Cagney
2004-09-13 21:30                                         ` Joel Brobecker
2004-09-24 22:06                                           ` Andrew Cagney
2004-09-15 12:15                                         ` Eli Zaretskii
2004-09-15 15:54                                           ` Andrew Cagney

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=4145BDB1.6010601@gnu.org \
    --to=cagney@gnu.org \
    --cc=brobecker@gnat.com \
    --cc=eliz@gnu.org \
    --cc=gdb-patches@sources.redhat.com \
    --cc=kettenis@gnu.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox