Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Andrew Burgess <aburgess@redhat.com>
To: Tom de Vries <tdevries@suse.de>, Eli Zaretskii <eliz@gnu.org>
Cc: gdb-patches@sourceware.org
Subject: Re: [PATCH 0/7] [gdb/NEWS] Move NEWS items to gdb/doc/NEWS-*
Date: Fri, 20 Nov 2026 17:56:01 +0000	[thread overview]
Message-ID: <xhuyfv75r2xqm.fsf@aburgess-thinkpadp1gen8.rmtgb.csb> (raw)
In-Reply-To: <6e68bdcd-9ab8-4fbc-bb14-b98fc7fb260f@suse.de>

Tom de Vries <tdevries@suse.de> writes:

> On 11/2/26 6:06 PM, Eli Zaretskii wrote:
>>> From: Tom de Vries <tdevries@suse.de>
>>> Date: Mon,  2 Nov 2026 17:33:45 +0100
>>>
>>> This series contains 7 patches.
>>>
>>> The first splits up gdb/NEWS into gdb/doc/NEWS-*.
>>>
>>> The second adds script gdb/doc/gen-news.sh.
>>>
>>> The third regenerates gdb/NEWS using gdb/doc/gen-news.sh.
>>>
>>> The fourth adds some header text to gdb/NEWS mentioning it's generated.
>>>
>>> The fifth extends gen-news.sh with a --check option.
>>>
>>> The sixth adds a test-case gdb.src/news.exp using gen-news.sh --check.
>>>
>>> The seventh adds a pre-commit check re-generating gdb/NEWS.

What's missing here is a *motivation*.  Without me having to go and
figure it out for myself, *why* is this a good change to make?

>> 
>> Thanks, but what does this mean in practice for changes in GDB that
>> are NEWS-worthy? what should we tell the contributors to do to add the
>> necessary stuff to NEWS?
>
> Hi Eli,
>
> thanks for the comments.
>
> We should tell them to add to gdb/doc/NEWS-<next-release>, and then 
> regenerate gdb/NEWS with gdb/doc/gen-news.sh (unless they have 
> pre-commit installed, in which case this'll happen when committing).

Would a better strategy be to NOT have individual contributors do the
regeneration step, but instead have NEWS be generated as part of the
build.

The generated NEWS files can still be included in the release tar files
just like other generated files are, e.g. the files that are created
from gdb/*.y are generated and packaged into a release, so the unified
NEWS file could be handled the same way.

Also, I agree with your follow up email, the current NEWS snippet should
be called just NEWS-next, and as part of the release process this can be
moved to NEWS-19 (or whatever) and NEWS-next will be emptied.

Of course, this all depends on there being a motivating case for why
we'd want to do this at all.

Thanks,
Andrew


  parent reply	other threads:[~2026-11-20 17:56 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-02 16:33 Tom de Vries
2026-11-02 16:33 ` [PATCH 1/7] [gdb/doc] Add NEWS-* files Tom de Vries
2026-11-02 16:33 ` [PATCH 2/7] [gdb/doc] Add gen-news.sh Tom de Vries
2026-11-02 16:33 ` [PATCH 3/7] [gdb/NEWS] Regenerate using gdb/doc/gen-news.sh Tom de Vries
2026-11-02 16:33 ` [PATCH 4/7] [gdb/NEWS] Add header text mentioning it's generated Tom de Vries
2026-11-02 16:33 ` [PATCH 5/7] [gdb/doc] Add gen-news.sh --check Tom de Vries
2026-11-02 16:33 ` [PATCH 6/7] [gdb/testsuite] Add gdb.src/news.exp Tom de Vries
2026-11-02 16:33 ` [PATCH 7/7] [pre-commit] Add check-news Tom de Vries
2026-11-02 17:06 ` [PATCH 0/7] [gdb/NEWS] Move NEWS items to gdb/doc/NEWS-* Eli Zaretskii
2026-11-02 17:15   ` Tom de Vries
2026-11-02 17:27     ` Tom de Vries
2026-11-20 17:56     ` Andrew Burgess [this message]
2026-11-20 18:59       ` Tom de Vries
2026-11-20 13:47 ` [PING] " Tom de Vries

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=xhuyfv75r2xqm.fsf@aburgess-thinkpadp1gen8.rmtgb.csb \
    --to=aburgess@redhat.com \
    --cc=eliz@gnu.org \
    --cc=gdb-patches@sourceware.org \
    --cc=tdevries@suse.de \
    /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