summaryrefslogtreecommitdiff
path: root/build-aux/announce-gen
Commit message (Collapse)AuthorAgeFilesLines
* announce-gen: spell OpenBSD with a capital "O"Jim Meyering2023-02-261-2/+2
| | | | | * build-aux/announce-gen (print_checksums): Capitalize the "O" in OpenBSD, as suggested by Bruno Haible.
* announce-gen: add more info the auto-generated announce templateJim Meyering2023-02-251-6/+86
| | | | | | | | | | | | | | | | * build-aux/announce-gen (readable_interval, readable_interval0): New functions. (digest_file_base64_wrap): New function to add padding to the base64-encoded SHA256 checksums. (print_checksums): Use that wrapper. Indent each line by two spaces. (main): Emit new sections, e.g., these lines from grep-3.8's release: - There have been 104 commits by 6 people in the 55 weeks since 3.7. - The following people contributed changes to this release: (and list) I tested with this, running from a sibling cloned grep directory: ../gnulib/build-aux/announce-gen --release-type=stable \ --package-name=grep --previous-version=3.7 --current-version=3.8 \ --gpg-key-id=0x7FD9FCCB000BEEEE --url-directory=https://testing Also, reference the cksum programs from coreutils-9.2 and from OpenBSD.
* maint: run 'make update-copyright'Simon Josefsson2023-01-011-1/+1
|
* announce-gen: Fix internationalization in verification instructions.Bruno Haible2022-07-101-1/+1
| | | | | * build-aux/announce-gen: Set LC_ALL, not LANG, to "C", to force English output from gpg.
* announce-gen: better diagnose some usage errorsJim Meyering2022-07-091-2/+6
| | | | | | | | | | | * build-aux/announce-gen (main): Erroneous usage would elicit a misleading diagnostic. When --gnulib-version=V was specified: - without --bootstrap-tools=..., or - with --bootstrap-tools=..., but without "gnulib" in that list we would give an inappropriate diagnostic. Now, each diagnostic is tailored to the precise erroneous condition. Reported by Bruno Haible in https://lists.gnu.org/r/bug-gnulib/2022-01/msg00025.html
* announce-gen: Improve GnuPG verification instructions.Simon Josefsson2022-07-091-6/+30
| | | | | * build-aux/announce-gen: Add GPG fingerprint to output, and a pointer to GNU keyring.
* announce-gen: Modernize GnuPG key retrieval suggestions.Simon Josefsson2022-03-141-4/+25
| | | | | | | | | | | Based on patch by Darshit Shah in: https://lists.gnu.org/archive/html/bug-gnulib/2022-03/msg00022.html * build-aux/announce-gen (usage): Add --gpg-key-email and --gpg-keyring-url. (main): Support the new options. (main): Don't suggest 'gpg --keyserver' since the situation with public key servers is complicated and GnuPG version dependent.
* maint: Update copyright noticesPaul Eggert2022-01-271-2/+2
| | | | | | | | | | * 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
|
* announce-gen: Text fix suggested by Paul Eggert.Simon Josefsson2021-08-041-3/+3
|
* announce-gen: Text fix suggested by Jim Meyering.Simon Josefsson2021-08-031-3/+3
|
* announce-gen: Print SHA1/B64(SHA256) instead of MD5/SHA1.Simon Josefsson2021-08-031-22/+11
| | | | | | | * build-aux/announce-gen (%digest_classes): Removed. (usage): Doc fix. (print_checksums): Instead of MD5/SHA1, print SHA1 and B64(SHA256), inspired by OpenSSH announcements.
* announce-gen: Implement --version option according to GCS.Bruno Haible2021-04-111-2/+16
| | | | | | * build-aux/announce-gen (copyright_year): New variable. (GetOptions): Print also a short copyright and license notice and author statement.
* maint: run 'make update-copyright'Paul Eggert2020-12-311-1/+1
|
* announce-gen: improve a commentJim Meyering2020-05-131-2/+2
| | | | * build-aux/announce-gen: Improve comment.
* announce-gen: add support for dist-lzipAkim Demaille2020-05-101-2/+2
| | | | * build-aux/announce-gen (@archive_suffixes): Add tar.lz.
* 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
|
* Reorder pieces of header in perl scripts.Bruno Haible2019-06-191-20/+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: prefer https: URLsPaul Eggert2017-09-131-5/+5
|
* 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'.
* 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'.
* 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'.
* announce-gen: avoid failure when Digest::SHA is installedDaiki Ueno2014-07-141-8/+9
| | | | | | | | When Digest::SHA is available, Digest::SHA1 is not loaded and thus Digest::SHA1->new in print_checksums fails. * build-aux/announce-gen (digest_classes): New associative array for available message digest implementations. (print_locations): Use it.
* announce-gen: avoid perl warningsAssaf Gordon2014-07-101-2/+3
| | | | | | * build-aux/announce-gen: add two minor checks to avoid "use of uninitialized value" warnings when command-line parameters are missing.
* 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>
* announce-gen: VPATH issuesAkim Demaille2012-06-121-4/+8
| | | | | | * build-aux/announce-gen (--srcdir): New option, used to trim the $srcdir part of the path from $builddir to NEWS. * top/maint.mk (announcement): Adjust.
* announce-gen: du -h is more portable than du --humanAkim Demaille2012-05-231-2/+2
| | | | | | * build-aux/announce-gen (sizes): Invoke du with -h instead of --human. Accept leading white space in its output. These changes are required to accommodate OS/X's du.
* announce-gen: improve getopt-emitted diagnosticsAkim Demaille2012-05-231-14/+23
| | | | | | * build-aux/announce-gen: When parsing command line options, prefer "announce-gen: option --release-type requires an argument" to "Option release-type requires an argument".
* announce-gen: avoid failure due to lack of Digest::SHA1Jim Meyering2012-04-191-2/+2
| | | | | | | | Even with the preferred Digest::SHA available, this script would fail when the backup module, Digest::SHA1, was not installed. * build-aux/announce-gen: Quote the conditional use of "use". Reported by Reuben Thomas in: http://thread.gmane.org/gmane.comp.lib.gnulib.bugs/30444
* announce-gen: use Digest::SHA when possibleReuben Thomas2012-03-211-2/+3
| | | | | * build-aux/announce-gen: Use Digest::SHA when possible, falling back to Digest::SHA1 if necessary.
* In commentary, do not use ` to quote.Paul Eggert2012-01-051-6/+6
|
* Use ', not `, for quoting output.Paul Eggert2012-01-051-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* maint: update all copyright year number rangesJim Meyering2012-01-011-1/+1
| | | | Run "make update-copyright".
* announce-gen: fix `cmd' typo in diagnosticPaul Eggert2011-12-251-2/+2
| | | | | * build-aux/announce-gen (print_changelog_deltas): Fix typo in diagnostic: a missing '$' meant that the command was not output.
* announce-gen: be more concise when there's only one URL+tarballJim Meyering2011-11-091-15/+37
| | | | | | | * build-aux/announce-gen (get_tool_versions): When you distribute only one type of tarball, combine the first two "Here are..." sections and make the key-checking grammar independent of how many tarballs there are.
* announce-gen: fail if the NEWS delta is emptyJim Meyering2011-05-181-1/+6
| | | | | | If there's nothing noteworthy in NEWS, then either you forgot or you shouldn't be releasing. * build-aux/announce-gen: Die if the NEWS delta is effectively empty.
* announce-gen: cosmetic improvementReuben Thomas2011-04-301-2/+5
| | | | * build-aux/announce-gen: Strip any leading ./ from the NEWS file name.
* announce-gen: indent with spaces, not TABsJim Meyering2011-04-291-71/+71
| | | | | * build-aux/announce-gen: Convert all TABs to spaces, to match the style of most other files in gnulib.
* maint: update almost all copyright ranges to include 2011Jim Meyering2011-01-011-1/+1
| | | | Run the new "make update-copyright" rule.
* announce-gen: backslash-escape '@'s in --help outputJim Meyering2010-05-031-2/+2
| | | | * build-aux/announce-gen: Fix syntax errors.