[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: auto-generating skeleton ChangeLogs
From: |
Ted Zlatanov |
Subject: |
Re: auto-generating skeleton ChangeLogs |
Date: |
Tue, 12 Jul 2016 09:49:21 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) |
On Mon, 11 Jul 2016 09:28:52 -0400 Ted Zlatanov <address@hidden> wrote:
TZ> Can we do better? What are the things we can catch, given a patch or VCS
TZ> commit and the VCS-controlled file?
TZ> * additions of variables: defvar, defcustom, ???
TZ> * additions of functions: defun, defun*, ???
TZ> * removals of variables and functions
TZ> * changes to defcustoms or defvars
TZ> * changes to functions
TZ> * other top-level macros such as `define-minor-mode'
TZ> * new files, deleted files
TZ> If there is code already written for this in Emacs or other packages,
TZ> great. If not, I guess it should be part of the VC mode?
...another approach I thought of: step through every - or + line of the
patch and do `add-change-log-entry'. The functionality to detect the
current function or symbol changed will have to be factored out, so we
can use a "change" data structure instead of inserting the ChangeLog entry.
Then walk through the list of changes and consolidate them into a tree
structure. That would be the minimum effort implementation...
Would that cover enough of the cases above?
Ted
- Re: Is it time to drop ChangeLogs?, (continued)
- Re: Is it time to drop ChangeLogs?, Óscar Fuentes, 2016/07/08
- Re: Is it time to drop ChangeLogs?, Óscar Fuentes, 2016/07/08
- Re: Is it time to drop ChangeLogs?, Eli Zaretskii, 2016/07/08
- Re: Is it time to drop ChangeLogs?, Richard Stallman, 2016/07/09
- Re: Is it time to drop ChangeLogs?, Eli Zaretskii, 2016/07/09
- Re: Is it time to drop ChangeLogs?, Ted Zlatanov, 2016/07/09
- Re: Is it time to drop ChangeLogs?, Richard Stallman, 2016/07/10
- auto-generating skeleton ChangeLogs (was: Is it time to drop ChangeLogs?), Ted Zlatanov, 2016/07/11
- Re: auto-generating skeleton ChangeLogs,
Ted Zlatanov <=
- Re: auto-generating skeleton ChangeLogs, Stefan Monnier, 2016/07/12
- Re: Is it time to drop ChangeLogs?, Phillip Lord, 2016/07/11
- Re: Is it time to drop ChangeLogs?, Richard Stallman, 2016/07/12
- debbugs tracker builds character (was: Is it time to drop ChangeLogs?), Ted Zlatanov, 2016/07/20
- Re: debbugs tracker builds character, Lars Ingebrigtsen, 2016/07/20
- Re: debbugs tracker builds character, Dmitry Gutov, 2016/07/20
- Re: debbugs tracker builds character, Michael Albinus, 2016/07/20
- Re: debbugs tracker builds character, Dmitry Gutov, 2016/07/20
- Re: debbugs tracker builds character, Michael Albinus, 2016/07/20
- Re: debbugs tracker builds character, Robert Weiner, 2016/07/20