summaryrefslogtreecommitdiff
path: root/build-aux/gitlog-to-changelog
Commit message (Collapse)AuthorAgeFilesLines
* maint: run 'make update-copyright'Simon Josefsson2023-01-011-1/+1
|
* maint: Update copyright noticesPaul Eggert2022-01-271-1/+1
| | | | | | | | | | * build-aux/announce-gen, build-aux/declared.sh: * build-aux/git-version-gen, build-aux/gitlog-to-changelog: * build-aux/gnu-web-doc-update, build-aux/gnupload: * build-aux/increment-serial, build-aux/libtool-next-version: * build-aux/useless-if-before-free: Update some copyright notices by hand, that were not updated automatically.
* maint: run 'make update-copyright'Paul Eggert2022-01-011-1/+1
|
* gitlog-to-changelog: output SHA in "empty commit message" warningBernhard Voelker2021-02-251-2/+3
| | | | * build-aux/gitlog-to-changelog: Add $sha to above warning diagnostic.
* maint: run 'make update-copyright'Paul Eggert2020-12-311-1/+1
|
* maint: remove a stray inter-word space in a 6x-repeated commentJim Meyering2020-04-041-2/+2
| | | | | | | | | | | Induce the changes by running this: re='by perl'; g grep -l "$re"|xargs perl -pi -e "s/$re/by perl/" * build-aux/announce-gen: Change "by perl" to "by perl". * build-aux/gitlog-to-changelog: Likewise. * build-aux/prefix-gnulib-mk: Likewise. * build-aux/update-copyright: Likewise. * build-aux/useless-if-before-free: Likewise. * tests/test-update-copyright.sh: Likewise.
* maint: Run 'make update-copyright'Paul Eggert2019-12-311-1/+1
|
* Replace manually crafted hex regexes with [:xdigit:]Konstantin Kharlamov2019-07-061-3/+3
| | | | | | | * build-aux/gitlog-to-changelog (parse_amend_file) (git_dir_option): Replace various combinations of [0-9a-fA-F] with [[:xdigit:]]. This patch is backported from Emacs (Bug#36167).
* Reorder pieces of header in perl scripts.Bruno Haible2019-06-191-19/+20
| | | | | | | | | | | | | | | | | | | | | | | The desired order is - Prologue part 1 (2 lines with #!) - Program short description - Copyright and license notice - Written-by notice - Program short description (optional) - Program long description (optional) - Prologue part 2 - Time stamp - Code Reported by Paul Eggert. * build-aux/announce-gen: Reorder header. * build-aux/gitlog-to-changelog: Likewise. * build-aux/useless-if-before-free: Likewise. * build-aux/prefix-gnulib-mk: Add copyright notice and short description. * build-aux/update-copyright: Likewise. Add short description. Bump time-stamp-line-limit to 200.
* Restore Emacs time-stamp hook applicability.Bruno Haible2019-06-161-0/+1
| | | | | | | | | | Reported by Darshit Shah <darnir@gnu.org>. * build-aux/useless-if-before-free: Bump time-stamp-line-limit to 50. * build-aux/announce-gen: Likewise. * build-aux/gitlog-to-changelog: Likewise. * build-aux/prefix-gnulib-mk: Likewise. * build-aux/update-copyright: Likewise.
* Fix comments in last commit.Bruno Haible2019-06-151-6/+6
| | | | | | | | | | | Reported by Paul Eggert. * build-aux/useless-if-before-free: Fix comment regarding the second line. * build-aux/announce-gen: Likewise. * build-aux/gitlog-to-changelog: Likewise. * build-aux/prefix-gnulib-mk: Likewise. * build-aux/update-copyright: Likewise. * tests/test-update-copyright.sh: Update test program accordingly.
* Fix scripts to have valid executable format on Alpine Linux.Bruno Haible2019-06-151-3/+17
| | | | | | | | | | | | | Reported by Tim Rühsen <tim.ruehsen@gmx.de>. Idea by Paul Eggert. * build-aux/useless-if-before-free: Use a prologue that starts with '#!/bin/sh'. * build-aux/announce-gen: Likewise. * build-aux/gitlog-to-changelog: Likewise. * build-aux/prefix-gnulib-mk: Likewise. * build-aux/update-copyright: Likewise. * tests/test-update-copyright.sh: Update test program accordingly.
* maint: Run 'make update-copyright'Paul Eggert2019-01-011-1/+1
|
* maint: write-file-hooks -> before-save-hookPaul Eggert2018-03-071-2/+2
| | | | | | | | | | | | | | | write-file-hooks is obsolete since Emacs 22.1 (released June 2007) and it's time to use the recommended replacement. Problem reported by Glenn Morris in: https://lists.gnu.org/r/bug-gnulib/2018-03/msg00008.html * build-aux/announce-gen, build-aux/bootstrap: * build-aux/do-release-commit-and-tag, build-aux/gendocs.sh: * build-aux/git-version-gen, build-aux/gitlog-to-changelog: * build-aux/gnu-web-doc-update, build-aux/gnupload: * build-aux/move-if-change, build-aux/prefix-gnulib-mk: * build-aux/update-copyright, build-aux/useless-if-before-free: * build-aux/vc-list-files: Update hook usage for files where Gnulib is the canonical source.
* maint: Run 'make update-copyright'Paul Eggert2018-01-011-1/+1
|
* all: Replace many more http URLs by https URLs. Update stale URLs.Bruno Haible2017-09-141-1/+1
| | | | | * users.txt: Remove mention of 'newts'. * lib/localename.c: Update comment about LANG_SOTHO.
* all: prefer https: URLsPaul Eggert2017-09-131-2/+2
|
* version-etc: new yearPaul Eggert2017-01-011-1/+1
| | | | | | | | | | * build-aux/gendocs.sh (version): * doc/gendocs_template: * doc/gendocs_template_min: * doc/gnulib.texi: * lib/version-etc.c (COPYRIGHT_YEAR): Update copyright dates by hand in templates and the like. * all files: Run 'make update-copyright'.
* gitlog-to-changelog: suppress ignored chatterPaul Eggert2016-03-221-6/+13
| | | | | * build-aux/gitlog-to-changelog: Do not warn about skipping an SHA if it would have been ignored anyway.
* Port "$@" to OpenIndiana ksh93Paul Eggert2016-01-121-2/+2
| | | | | | | | | | | | In http://lists.gnu.org/archive/html/bug-autoconf/2015-12/msg00000.html Pavel Raiskup reports that ${1+"$@"} runs afoul of a bug in /bin/sh (derived from ksh 93t+ 2010-03-05). ${1+"$@"} works around an ancient bug long-dead shells, so remove the workaround. * build-aux/announce-gen, build-aux/do-release-commit-and-tag: * build-aux/gitlog-to-changelog, build-aux/gnu-web-doc-update: * build-aux/prefix-gnulib-mk, build-aux/update-copyright: * build-aux/useless-if-before-free, tests/test-update-copyright.sh: Use "$@" instead of ${1+"$@"}.
* Port Universal Time settings to strict POSIXPaul Eggert2016-01-121-2/+2
| | | | | | | | | | | | * build-aux/announce-gen, build-aux/bootstrap: * build-aux/do-release-commit-and-tag, build-aux/git-version-gen: * build-aux/gitlog-to-changelog, build-aux/gnu-web-doc-update: * build-aux/gnupload, build-aux/mkinstalldirs: * build-aux/move-if-change, build-aux/prefix-gnulib-mk: * build-aux/update-copyright, build-aux/useless-if-before-free: * build-aux/vc-list-files, tests/test-strftime.c: Use TZ="UTC0", not TZ="UTC". Either works on GNU platforms, but POSIX says the behavior of TZ="UTC" is undefined.
* version-etc: new yearPaul Eggert2016-01-011-1/+1
| | | | | | | | | | * build-aux/gendocs.sh (version): * doc/gendocs_template: * doc/gendocs_template_min: * doc/gnulib.texi: * lib/version-etc.c (COPYRIGHT_YEAR): Update copyright dates by hand in templates and the like. * all files: Run 'make update-copyright'.
* gitlog-to-changelog: trim only trailing whitespacesPavel Raiskup2015-09-241-1/+1
| | | | | | | | | | | This is fix for --format regression introduced by commit 2b93079a5d1baa4d; it caused that --format='%s%n%n%b%n' (see the doubled %n string) had no effect anymore. This format specification has been used e.g. by GNU paxuitils (commit edfd8bcc3). * build-aux/gitlog-to-changelog (main): Stop squashing multiple newlines in commmit messages.
* gitlog-to-changelog: improve gitmerge.el commitsGlenn Morris2015-06-201-3/+40
| | | | | | Let the Emacs ChangeLog generation process exclude "skipped" messages from merge commits (Bug#20717). * build-aux/gitlog-to-changelog: Handle gitmerge.el skipped commits.
* gitlog-to-changelog: new option --ignore-lineGlenn Morris2015-05-271-1/+10
| | | | | | (This patch is imported from the GNU Emacs master.) This option ignores individual commit lines matching a pattern. * build-aux/gitlog-to-changelog: Add --ignore-line option.
* gitlog-to-changelog: parse "Tiny-change"Glenn Morris2015-05-081-2/+3
| | | | | * build-aux/gitlog-to-changelog: Treat "Tiny-change" like "Copyright-paperwork-exempt". (Bug#20324)
* gitlog-to-changelog: port to MS-WindowsPaul Eggert2015-04-091-2/+2
| | | | | | | * build-aux/gitlog-to-changelog (git_dir_option): Use strftime with "%Y-%m-%d", not "%F", to avoid a bug in MS-Windows Perl. Reported by Eli Zaretskii in: http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00504.html
* gitlog-to-changelog: trim trailing white spacePaul Eggert2015-03-201-2/+2
| | | | | | | * build-aux/gitlog-to-changelog (main): Trim trailing white space from commit message lines. This is helpful for processing the GNU Emacs repository, which dates back to 1985 and contains a lot of such lines.
* gitlog-to-changelog: new option --ignore-matchingPaul Eggert2015-03-201-53/+61
| | | | | | * build-aux/gitlog-to-changelog (usage, git_dir_option, main): Support new option --ignore-matching=PAT, which ignores all commit messages whose first line matches PAT.
* version-etc: new yearPaul Eggert2014-12-311-1/+1
| | | | | | * doc/gnulib.texi: * lib/version-etc.c (COPYRIGHT_YEAR): Update copyright date. * all files: Run 'make update-copyright'.
* gitlog-to-changelog: add --untilPaul Eggert2014-11-201-1/+6
| | | | | * build-aux/gitlog-to-changelog: Support new --until option. Need described by Eli Zaretskii in: http://bugs.gnu.org/19113
* maint: update copyrightEric Blake2014-01-011-1/+1
| | | | | | I ran 'make update-copyright'. Signed-off-by: Eric Blake <eblake@redhat.com>
* maint: update all copyright year number rangesEric Blake2013-01-011-1/+1
| | | | | | Run "make update-copyright". Compare to commit 1602f0a from last year. Signed-off-by: Eric Blake <eblake@redhat.com>
* gitlog-to-changelog: fix previous changeAkim Demaille2012-07-291-2/+2
| | | | | * build-aux/gitlog-to-changelog: Fix condition. Add missing ";".
* gitlog-to-changelog: don't expect .git to be in $srcdirAkim Demaille2012-07-291-3/+28
| | | | | | | | Reported by Bruno Haible. <http://lists.gnu.org/archive/html/bug-gnulib/2012-07/msg00265.html> * build-aux/gitlog-to-changelog (&git_dir_option): New. Use it.
* gitlog-to-changelog: VPATH build issues.Akim Demaille2012-07-161-3/+7
| | | | | | | If builddir is not a subdirectory of srcdir, running git from it will fail. * build-aux/gitlog-to-changelog (--srcdir): New option.
* gitlog-to-changelog: support the log message format used in Bison.Akim Demaille2012-05-221-2/+20
| | | | | * build-aux/gitlog-to-changelog: Support --strip-tab and --strip-cherry-picked.
* gitlog-to-changelog: don't use "no_"-prefixed variable nameJim Meyering2012-01-181-4/+4
| | | | | | * build-aux/gitlog-to-changelog (main): Use getopt's "!" attribute to enable both --cluster and --no-cluster. Change variable name, s/\$no_cluster/$cluster/, and reverse usage to match.
* gitlog-to-changelog: use "||", not "or" in expressionsJim Meyering2012-01-181-5/+5
| | | | | * build-aux/gitlog-to-changelog (main): Use "||", not "or" in expressions.
* gitlog-to-changelog: new option --no-clusterJoel E. Denny2012-01-171-5/+13
| | | | | * build-aux/gitlog-to-changelog: New option --no-cluster, disables clustering of adjacent commit messages.
* Use ', not `, for quoting output.Paul Eggert2012-01-051-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * build-aux/announce-gen (usage, sizes, print_news_deltas) (print_changelog_deltas, get_tool_versions, main program): * build-aux/git-version-gen: * build-aux/gitlog-to-changelog (usage, parse_amend_file): * build-aux/move-if-change (help): * build-aux/useless-if-before-free (usage, main program): * check-module (parse_module_file, usage) (find_included_lib_files, check_module): * lib/argmatch.c (main) [TEST]: * lib/argp-help.c (_help): * lib/getopt1.c (main) [TEST]: * lib/git-merge-changelog.c (usage): * lib/xstrtol-error.c (xstrtol_error): * m4/alloca.m4 (_AC_LIBOBJ_ALLOCA): * m4/argz.m4 (gl_FUNC_ARGZ): * m4/bison.m4 (gl_BISON): * m4/calloc.m4 (gl_FUNC_CALLOC_GNU): * m4/extensions.m4 (AC_USE_SYSTEM_EXTENSIONS): * m4/flexmember.m4 (AC_C_FLEXIBLE_ARRAY_MEMBER): * m4/fpending.m4 (gl_PREREQ_FPENDING): * m4/gc-random.m4 (gl_GC_RANDOM): * m4/intl.m4 (gt_CHECK_DECL): * m4/link-follow.m4 (gl_FUNC_LINK_FOLLOWS_SYMLINK): * m4/longlong.m4 (AC_TYPE_LONG_LONG_INT) (AC_TYPE_UNSIGNED_LONG_LONG_INT): * m4/ls-mntd-fs.m4 (gl_LIST_MOUNTED_FILE_SYSTEMS): * m4/lstat.m4 (gl_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK): * m4/onceonly.m4 (AC_CHECK_FUNCS_ONCE): * m4/posixver.m4 (gl_DEFAULT_POSIX2_VERSION): * tests/test-dirname.c (main): * tests/test-getpass.c (main): * tests/test-iconvme.c (main): * tests/test-parse-datetime.c (LOG): * tests/test-xstrtoimax.sh: * tests/test-xstrtol.sh: * tests/test-xstrtoll.sh: * tests/test-xstrtoumax.sh: * tests/unigbrk/test-uc-is-grapheme-break.c (main): * top/GNUmakefile (abort-due-to-no-makefile): Quote 'like this', not `like this', as per the recent change to the GNU coding standards.
* gitlog-to-changelog: describe input syntax in --help outputJim Meyering2012-01-021-1/+16
| | | | * build-aux/gitlog-to-changelog (usage) [SPECIAL SYNTAX]: New section.
* gitlog-to-changelog: fix typo in --help: show backslash before email @Jim Meyering2012-01-021-2/+2
| | | | | * build-aux/gitlog-to-changelog (usage): An "@" was backslash-escaped in sources, but not in actual output.
* gitlog-to-changelog: don't malfunction when name contains %-directiveJim Meyering2012-01-021-3/+3
| | | | | | * build-aux/gitlog-to-changelog (main): Don't let a %-directive in a name string cause trouble. E.g., with a user name of "%s", gitlog-to-changelog would fail with "Missing argument in sprintf at..."
* gitlog-to-changelog: Copyright-paperwork-exempt: yes == (tiny change)Gary V. Vaughan2012-01-021-3/+11
| | | | | | | * build-aux/gitlog-to-changelog (main): Map the string, at beginning of line in a git commit log, "Copyright-paperwork-exempt: yes", to the " (tiny change)" notation that is appended to the standard ChangeLog "date name email" header line.
* maint: update all copyright year number rangesJim Meyering2012-01-011-1/+1
| | | | Run "make update-copyright".
* gitlog-to-changelog: remove a little duplicationJim Meyering2011-12-301-3/+4
| | | | | * build-aux/gitlog-to-changelog (main): Grep @lines once, rather than twice.
* gitlog-to-changelog: do not clump multi-paragraph entriesJim Meyering2011-12-261-17/+25
| | | | | | | | | | | | | Identical header lines (date,name,email+coauthors) are suppressed, thus putting all entries with those same characteristics under a single header. However, when a log entry consists of two or more paragraphs, it may not be clear where it starts and ends. This change makes it so that such an entry is always separated from others by a header line, even when that header would otherwise be suppressed. * build-aux/gitlog-to-changelog: Implement the above. Inspired by a related request from Stefano Lattarini in http://thread.gmane.org/gmane.comp.lib.gnulib.bugs/29456
* gitlog-to-changelog: support multi-author commits.Gary V. Vaughan2011-11-171-4/+23
| | | | | | | | | | | | The FSF cares about keeping track of all authors of patches to its projects, but Git doesn't provide obvious support for multi-author changesets. Consensus seems to be forming around the use of extra Signed-off-by inspired lines in the log message formatted as `Co-authored-by: A U Thor <email@example.com>' for round-tripping multi-author commits between version control systems. * gitlog-to-changelog: Extract `Co-authored-by:' lines from the git log message and output in standard ChangeLog multi-author format. Reported by Peter Rosin <peda@lysator.liu.se>
* gitlog-to-changelog: provide a ChangeLog-repair mechanismJim Meyering2011-11-021-5/+118
| | | | | | | | | | | | | Git logs are often treated as immutable, because editing them changes the SHA1 checksums of all descendants. Thus, errors in git logs tend to stay there forever. However, when we generate a ChangeLog file -- typically for distribution -- from that git log, we can actually make corrections in the generated file. The key lies in recording in machine-readable/applicable form the desired corrections. See --help for description and an example. * build-aux/gitlog-to-changelog (parse_amend_file): New function. (usage): Describe it; alphabetize option descriptions. (main): Honor the new option, carefully.