public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: Simon Marchi <simon.marchi@polymtl.ca>
To: Eli Zaretskii <eliz@gnu.org>
Cc: binutils@sourceware.org, gdb-patches@sourceware.org
Subject: Re: Using the vcs_to_changelog.py script
Date: Thu, 13 Feb 2020 14:19:00 -0000	[thread overview]
Message-ID: <c3f3710d-50ee-f9be-3bfa-3da656e16722@polymtl.ca> (raw)
In-Reply-To: <83imkbqhry.fsf@gnu.org>

On 2020-02-12 10:37 p.m., Eli Zaretskii wrote:
> Several things we'd need to consider if we go this way:
> 
>  . AFAIK, the script you mention currently supports only C sources;
>    we'd need to see how well it supports C++

We'll see.  The script is not perfect for C (it would be nearly impossible
for a script to be as good as a human to generate these entries), so it
won't be for C++ either.  We can of course improve it as we go.  For simpler
changes, it seems fine, but for example we can see that it got confused for
this change here:

2020-02-12  Tom Tromey  <tom@tromey.com>

	COMMIT: 219823045622bd111d68b984e31aa7b1712d5e10
	Remove the objfile backlink from comp_unit

	* gdb/dwarf2/frame.c: Modified.
	[GDB_SELF_TEST](execute_cfa_program_test): Modified function.
	(comp_unit): Modified.
	(execute_cfa_program): Modified function.
	(while): Modified function.
	(execute_cfa_program): Modified.
	(execute_cfa_program): Modified.
	(execute_cfa_program): Modified.
	(if): Modified function.
	(execute_cfa_program): Modified.

>  . Some files in our tree are neither C++ nor C: there are Python
>    files, Guile files, shell scripts, and Texinfo files, to mention
>    just a few: what to do about them?

I presume glibc is in the same situation... The script just says that
the file is modified.  If we wanted to get more details for them, we
would have to implement new parsers to figure out what changed between
two revisions.

>  . Last, but not least: we'd need detailed instructions for how to
>    produce the commit log messages under this regime, because the old
>    conventions will not be valid anymore.

What are you specifically referring to?  For GDB, I don't really see what
would need to change.  We already enforce having detailed commit logs that
explain:

- the rationale for the change
- technical details about the fix, if not trivial

So the only difference is that we would not provide a manual ChangeLog entry.

Simon

  reply	other threads:[~2020-02-13 14:19 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-12 23:33 Simon Marchi
2020-02-13  1:03 ` Alan Modra
2020-02-13  2:29   ` Jeff Law
2020-02-13  3:13     ` Simon Marchi
2020-02-13 14:13     ` Eli Zaretskii
2020-02-13  3:37 ` Eli Zaretskii
2020-02-13 14:19   ` Simon Marchi [this message]
2020-02-13 15:42     ` Eli Zaretskii
2020-02-13 16:26       ` Simon Marchi
2020-02-13 18:58         ` Eli Zaretskii
2020-02-13 19:09           ` Philippe Waroquiers
2020-02-13 19:29             ` Eli Zaretskii
2020-02-13 20:56               ` Simon Marchi
2020-02-13 21:07           ` Simon Marchi
2020-02-14  9:45             ` Eli Zaretskii
2020-02-14 19:31               ` Simon Marchi
2020-02-14 20:16                 ` Eli Zaretskii
2020-02-14 21:08                   ` Simon Marchi
2020-02-15  7:26                     ` Eli Zaretskii

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=c3f3710d-50ee-f9be-3bfa-3da656e16722@polymtl.ca \
    --to=simon.marchi@polymtl.ca \
    --cc=binutils@sourceware.org \
    --cc=eliz@gnu.org \
    --cc=gdb-patches@sourceware.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).