public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Automatically generated ChangeLog files - script
@ 2020-04-30 13:29 Martin Liška
  2020-04-30 13:45 ` Jakub Jelinek
                   ` (2 more replies)
  0 siblings, 3 replies; 122+ messages in thread
From: Martin Liška @ 2020-04-30 13:29 UTC (permalink / raw)
  To: GCC Development; +Cc: Jakub Jelinek, Richard Biener

Hello.

Based on the initial discussion with Richi and Jakub, we would like to remove
need to update ChangeLog files with each git commit. Instead, a script will be
used to extract ChangeLog entries from a git commit messages.

I've started with extraction of ~2K commits since we switched to git (via git format-patch).
The script [1] parses majority of the git commits and provides error message when a format
is not supported. We currently support rich variety of formats and I tried to document
that here: [2]. Analysis of the existing commits can be seen here: [3] and the script
can now parse 1471/2032 of git commits.

The script can also generate a final version of ChangeLog entries, e.g.:

$ ./changelog.py patches/1957-c-generic-lambda-forwarding-function-PR94546.patch
OK
------ gcc/cp/ChangeLog ------
2020-04-22  Jason Merrill  <jason@redhat.com>

	PR c++/94546
	* pt.c (register_parameter_specializations): If the instantiation is
	still a parameter pack, don't wrap it in a NONTYPE_ARGUMENT_PACK.
	(tsubst_pack_expansion, tsubst_expr): Adjust.
------ gcc/testsuite/ChangeLog ------
2020-04-22  Jason Merrill  <jason@redhat.com>

	gcc/testsuite/g++.dg/cpp2a/lambda-generic-variadic20.C: New file.

Currently supported features can be seen here: [4]. Feel free to test the script
and suggest what can we improve. Our integration plan is to come up with
a new git hook that will first work only in a reporting mode (no commits refusal).
Later on, we can add the automatic generation of ChangeLog entries.

Martin

[1] https://github.com/marxin/gcc-changelog
[2] https://github.com/marxin/gcc-changelog#supported-changelog-format
[3] https://raw.githubusercontent.com/marxin/gcc-changelog/master/report.txt
[4] https://github.com/marxin/gcc-changelog/issues/1#issuecomment-620162080

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

end of thread, other threads:[~2020-07-08 13:25 UTC | newest]

Thread overview: 122+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-30 13:29 Automatically generated ChangeLog files - script Martin Liška
2020-04-30 13:45 ` Jakub Jelinek
2020-04-30 15:14   ` Martin Liška
2020-04-30 15:29     ` Jakub Jelinek
2020-05-04 14:44       ` Martin Liška
2020-05-04 18:56   ` Martin Liška
2020-05-04 19:05     ` Jakub Jelinek
2020-05-04 19:22       ` Tobias Burnus
2020-05-04 19:28         ` H.J. Lu
2020-05-06  9:51           ` Mark Eggleston
2020-05-12  9:05 ` Automatically generated ChangeLog files - PHASE 1 Martin Liška
2020-05-12  9:08   ` Martin Liška
2020-05-12  9:12   ` Jakub Jelinek
2020-05-13  8:16   ` Richard Sandiford
2020-05-13  8:56     ` Martin Liška
2020-05-13  9:29       ` Richard Biener
2020-05-13 10:01         ` Martin Liška
2020-05-13  9:26   ` Thomas Koenig
2020-05-13  9:50   ` Jozef Lawrynowicz
2020-05-13 10:01     ` Martin Liška
2020-05-13 10:20   ` Richard Earnshaw
2020-05-13 11:05     ` ChangeLog files - server and client scripts Martin Liška
2020-05-13 12:05       ` ChangeLog files - server and client scripts (git cherry-pick) Martin Liška
2020-05-14 12:42         ` Martin Liška
2020-05-20  7:54           ` Martin Liška
2020-05-20  9:19             ` Thomas Koenig
2020-05-20  9:24               ` Martin Liška
2020-05-20  9:27               ` Jakub Jelinek
2020-05-20 13:59                 ` Richard Earnshaw
2020-05-13 12:35       ` ChangeLog files - server and client scripts Martin Liška
2020-05-13 13:24       ` Richard Earnshaw
2020-05-13 13:33         ` Martin Liška
2020-05-13 17:53       ` Joseph Myers
2020-05-14 12:48         ` Martin Liška
2020-05-14 16:47           ` Joseph Myers
2020-05-15  9:28             ` Martin Liška
2020-05-19  9:26               ` Martin Liška
2020-05-19 22:19                 ` Jonathan Wakely
2020-05-19 22:20                   ` Jonathan Wakely
2020-05-20  8:06                     ` Martin Liška
2020-05-21 15:14                 ` Rainer Orth
2020-05-21 15:19                   ` Martin Liška
2020-05-21 15:37                     ` Rainer Orth
2020-05-21 18:52                       ` Jason Merrill
2020-05-21 18:56                         ` Jakub Jelinek
2020-05-21 18:58                         ` Martin Liška
2020-05-21 19:51                           ` Jason Merrill
2020-05-21 20:27                             ` Martin Liška
2020-05-21 21:01                               ` Jason Merrill
2020-05-21 21:30                                 ` Martin Liška
2020-05-25  8:25                   ` Martin Liška
2020-05-26  5:31                     ` Alexandre Oliva
2020-05-26  6:13                       ` Martin Liška
2020-05-26  7:24                         ` Alexandre Oliva
2020-05-21 22:12                 ` Ian Lance Taylor
2020-05-22  4:57                   ` Jakub Jelinek
2020-05-22  6:05                     ` Martin Liška
2020-05-22 11:04                     ` Richard Earnshaw
2020-05-22 11:11                       ` Jakub Jelinek
2020-05-22 19:37                         ` Ian Lance Taylor
2020-05-22 19:47                           ` Jakub Jelinek
2020-05-22 22:14                             ` Ian Lance Taylor
2020-05-25  7:48                               ` Martin Liška
2020-05-25 20:44                                 ` Ian Lance Taylor
2020-07-08 13:25         ` git-hooks: integrate ChangeLog format check Martin Liška
2020-05-15  8:59     ` New mklog script Martin Liška
2020-05-15 10:58       ` David Malcolm
2020-05-15 11:20         ` Martin Liška
2020-05-15 13:11           ` David Malcolm
2020-05-15 12:42       ` Marek Polacek
2020-05-15 13:12         ` Martin Liška
2020-05-15 13:22           ` Marek Polacek
2020-05-15 15:38             ` Martin Liška
2020-05-21 22:03               ` Jason Merrill
2020-05-22 21:01                 ` Jason Merrill
2020-05-25  9:23                   ` Martin Liška
2020-05-25 19:41                     ` Jason Merrill
2020-05-26 10:23                       ` Richard Earnshaw
2020-05-26 11:14                         ` Martin Liška
2020-05-26 11:18                           ` Richard Earnshaw
2020-05-26 13:09                             ` Martin Liška
2020-05-26 13:11                               ` Richard Earnshaw
2020-05-26 13:14                                 ` Martin Liška
2020-05-26 13:18                                   ` Jakub Jelinek
2020-05-26 15:38                                   ` Martin Sebor
2020-05-26 18:06                                     ` Jason Merrill
2020-05-27  8:17                                       ` Martin Liška
2020-05-27  8:23                                     ` Martin Liška
2020-05-27 14:11                                       ` git gcc-backport.py : No such file or directory Thomas Koenig
2020-05-27 14:13                                         ` Martin Liška
2020-05-27 14:17                                           ` Martin Liška
2020-05-27 14:41                                             ` Thomas Koenig
2020-05-15 15:06       ` New mklog script Martin Sebor
2020-05-19  8:11         ` Martin Liška
2020-05-19  8:23           ` Jakub Jelinek
2020-05-19  8:55             ` Martin Liška
2020-05-19 14:51               ` Michael Matz
2020-05-19 16:21                 ` Richard Earnshaw
2020-05-19 16:34                   ` Jakub Jelinek
2020-05-19 21:56                     ` Michael Matz
2020-05-19 21:54             ` Jonathan Wakely
2020-05-19  8:53           ` Martin Liška
2020-05-19  9:38             ` Martin Liška
2020-05-19 15:53             ` Joseph Myers
2020-05-19 19:15               ` Martin Liška
2020-05-19 21:50               ` Jonathan Wakely
2020-05-21  8:16         ` Martin Liška
2020-05-22 16:43           ` Martin Sebor
2020-05-22 17:28             ` Thomas Koenig
2020-05-22 18:48               ` Jonathan Wakely
2020-05-25  7:54             ` Martin Liška
2020-05-26 10:15 ` Automatically generated ChangeLog files - script Pierre-Marie de Rodat
2020-05-26 12:27   ` Martin Liška
2020-05-26 12:35     ` Rainer Orth
2020-05-26 13:09       ` Martin Liška
2020-05-26 14:50         ` Pierre-Marie de Rodat
2020-05-26 15:06           ` Martin Liška
2020-06-22 13:15     ` Alexandre Oliva
2020-06-24  8:28       ` Martin Liška
2020-06-29 11:23         ` Martin Liška
2020-07-07  2:14         ` Alexandre Oliva
2020-07-07  7:08           ` Martin Liška

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).