From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id O6l6C7WYAGue8yQAWB0awg (envelope-from ) for ; Fri, 20 Nov 2026 14:00:05 -0500 Authentication-Results: simark.ca; dkim=pass (1024-bit key; unprotected) header.d=suse.de header.i=@suse.de header.a=rsa-sha256 header.s=susede2_rsa header.b=1VzdK5Ri; dkim=pass header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=9BjaKYr7; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.a=rsa-sha256 header.s=susede2_rsa header.b=1VzdK5Ri; dkim=neutral header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=9BjaKYr7; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id E562E1E0CA; Fri, 20 Nov 2026 14:00:04 -0500 (EST) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-2.4 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,RCVD_IN_VALIDITY_CERTIFIED_BLOCKED, RCVD_IN_VALIDITY_RPBL_BLOCKED,RCVD_IN_VALIDITY_SAFE_BLOCKED autolearn=ham autolearn_force=no version=4.0.1 Received: from vm01.sourceware.org (vm01.sourceware.org [38.145.34.32]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 9C1021E023 for ; Fri, 20 Nov 2026 14:00:02 -0500 (EST) Received: from vm01.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 8DA7D40ABF9F for ; Fri, 20 Nov 2026 19:00:01 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8DA7D40ABF9F Authentication-Results: sourceware.org; dkim=pass (1024-bit key, unprotected) header.d=suse.de header.i=@suse.de header.a=rsa-sha256 header.s=susede2_rsa header.b=1VzdK5Ri; dkim=pass header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=9BjaKYr7; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.a=rsa-sha256 header.s=susede2_rsa header.b=1VzdK5Ri; dkim=neutral header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=9BjaKYr7 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.223.130]) by sourceware.org (Postfix) with ESMTPS id 6E65440AC6BF for ; Fri, 20 Nov 2026 18:59:34 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 6E65440AC6BF Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=suse.de Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=suse.de ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 6E65440AC6BF Authentication-Results: sourceware.org; arc=none smtp.remote-ip=195.135.223.130 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1795201174; cv=none; b=hpNl6/MCN0TNny77HvH0epvNwDHc+xOdwelrLhPcEXl1GoxL18YLzVDBIqJ7lv6Uy2yk2DT7Nrw4oXDZ2ol+/fmVtTHlwxkGH7+Z5joCvWZdBUgwONtG4BlomfArHCziCPWNH7D8F+132wqDVJqNYeVkQM28o1m4L6KUo8Zr9gk= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1795201174; c=relaxed/simple; bh=bWQ4JJfScVtDeDVCUvO1oDtLu0Odfv8Af3OtRfDTaqs=; h=DKIM-Signature:DKIM-Signature:DKIM-Signature:DKIM-Signature: Message-ID:Date:MIME-Version:Subject:To:From; b=KUG8E0DyWDEPWv6ASj6l3Trl4lp+3g8CJPRGVrqq/Twr+iMaa28IyqVMgKBsDfVUfueKZq7Hdm7DHfXRqrsQihQ4iG8Kf7trOawTn1HYREU3c/940cgYnG0Mo/5YxZ0plu6jkn8HQvPkdqPOkDTOQ0IkoUL916w5rOZ/TKf1IsQ= ARC-Authentication-Results: i=1; sourceware.org; dkim=pass (1024-bit key, unprotected) header.d=suse.de header.i=@suse.de header.a=rsa-sha256 header.s=susede2_rsa header.b=1VzdK5Ri; dkim=pass header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=9BjaKYr7; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.a=rsa-sha256 header.s=susede2_rsa header.b=1VzdK5Ri; dkim=neutral header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=9BjaKYr7 DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 6E65440AC6BF Received: from imap1.dmz-prg2.suse.org (unknown [10.150.64.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 2E55F2256B; Fri, 20 Nov 2026 18:59:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1795201173; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=DdnmzyyMnEyc4tzqvqOerrNlKJ5iReMNMrlH+YsLSLQ=; b=1VzdK5Ri4EIemz6jMpVxIE0c6Q8TSMa6+i0/2lnJ+JcBNjsFVqZiRVUusGuyqjm0FvuZed al0Wc4Q7obIu/FVFvRS/ByP81HaLNYmjXgIp8A5ZNTWpTFX08zoo/gy6qT/OJJUu+kaYpV 7MgWD2kVaVK+e0GPfLha5oGza+7LbEw= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1795201173; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=DdnmzyyMnEyc4tzqvqOerrNlKJ5iReMNMrlH+YsLSLQ=; b=9BjaKYr7YWqCTW7ltBtHYZj8JDC5PPIx7nYF5WVCPdV0SRT3apt2LBcz+e+5KYPilsPg/F MBH1Dby5yDYTV0BQ== Authentication-Results: smtp-out1.suse.de; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1795201173; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=DdnmzyyMnEyc4tzqvqOerrNlKJ5iReMNMrlH+YsLSLQ=; b=1VzdK5Ri4EIemz6jMpVxIE0c6Q8TSMa6+i0/2lnJ+JcBNjsFVqZiRVUusGuyqjm0FvuZed al0Wc4Q7obIu/FVFvRS/ByP81HaLNYmjXgIp8A5ZNTWpTFX08zoo/gy6qT/OJJUu+kaYpV 7MgWD2kVaVK+e0GPfLha5oGza+7LbEw= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1795201173; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=DdnmzyyMnEyc4tzqvqOerrNlKJ5iReMNMrlH+YsLSLQ=; b=9BjaKYr7YWqCTW7ltBtHYZj8JDC5PPIx7nYF5WVCPdV0SRT3apt2LBcz+e+5KYPilsPg/F MBH1Dby5yDYTV0BQ== Received: from imap1.dmz-prg2.suse.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by imap1.dmz-prg2.suse.org (Postfix) with ESMTPS id C103C1342D; Fri, 20 Nov 2026 18:59:32 +0000 (UTC) Received: from dovecot-director2.suse.de ([2a07:de40:b281:106:10:150:64:167]) by imap1.dmz-prg2.suse.org with ESMTPSA id cKFxHpSYAGuAbAAAD6G6ig (envelope-from ); Fri, 20 Nov 2026 18:59:32 +0000 Message-ID: <4ac5439b-926d-40ab-b234-a514a6b80746@suse.de> Date: Fri, 20 Nov 2026 19:59:32 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 0/7] [gdb/NEWS] Move NEWS items to gdb/doc/NEWS-* To: Andrew Burgess , Eli Zaretskii Cc: gdb-patches@sourceware.org, Tom Tromey References: <20261102163352.2416793-1-tdevries@suse.de> <86qzh3p3hx.fsf@gnu.org> <6e68bdcd-9ab8-4fbc-bb14-b98fc7fb260f@suse.de> Content-Language: en-US From: Tom de Vries In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spamd-Result: default: False [-13.29 / 50.00]; SUSE_INTERNAL_BYPASS(-9.00)[]; BAYES_HAM(-3.00)[100.00%]; NEURAL_HAM_LONG(-1.00)[-0.997]; NEURAL_HAM_SHORT(-0.20)[-1.000]; MIME_GOOD(-0.10)[text/plain]; XM_UA_NO_VERSION(0.01)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; MIME_TRACE(0.00)[0:+]; TO_DN_SOME(0.00)[]; ARC_NA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; DKIM_SIGNED(0.00)[suse.de:s=susede2_rsa,suse.de:s=susede2_ed25519]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; FROM_EQ_ENVFROM(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; DBL_BLOCKED_OPENRESOLVER(0.00)[suse.de:email,imap1.dmz-prg2.suse.org:helo] X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gdb-patches-bounces~public-inbox=simark.ca@sourceware.org On 11/20/26 6:56 PM, Andrew Burgess wrote: > Tom de Vries writes: > >> On 11/2/26 6:06 PM, Eli Zaretskii wrote: >>>> From: Tom de Vries >>>> 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? > Hi Andrew, thanks for the review. Indeed, the motivation is missing here. I'm following a style of branch description that is minimal, and only tries to give some sort of overview of how the patches are related. The motivation is given in the patches themselves. Typically the first or last patch. It is my understanding that this style is preferred, because it makes sure that the important bits are in the patches, and consequently committed (FWIW, personally I would prefer the overall motivation in the branch description, and committing it as an empty first commit). In this particular series, the motivation is in the first patch: ... The file gdb/NEWS is organized by release. As we've seen here [1], it's non-trivial to add gdb/NEWS items to the correct part of gdb/NEWS. Fix this by: - splitting up gdb/NEWS into gdb/doc/NEWS-* - regenerating gdb/NEWS from gdb/doc/NEWS-* ... [1] https://sourceware.org/pipermail/gdb-patches/2026-November/231560.html ... >>> >>> 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-, 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. > There was a comment from Tom Tromey in a PR ( https://sourceware.org/bugzilla/show_bug.cgi?id=34918#c2 ): ... I'd hate to lose having a NEWS file that you can scan to find things like "what version did feature X enter", etc. However we could break it up into gdb/doc/NEWS-* files and then generate the NEWS file somehow. ... that I took as meaning having a NEWS file in the sources rather than in the build. But I might have misunderstood. Also, I think that the fact that pre-commit does the regeneration automatically means that it should not be a great burden to regenerate. > 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. > Sure, that could be a way of doing it. > 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. > The only concern I have is that keeping the NEWS- file in a release branch in sync with the corresponding file in trunk should be easy. So perhaps with that in mind, the move from NEWS-next to NEWS-19 should happen when the gdb-19-branchpoint is created? I haven't fully thought this through yet. Thanks, - Tom > Of course, this all depends on there being a motivating case for why > we'd want to do this at all. > > Thanks, > Andrew >