summaryrefslogtreecommitdiff
path: root/scripts
Commit message (Collapse)AuthorAgeFilesLines
* scripts: autotools-install: style and portability fixesStefano Lattarini2012-09-021-25/+23
| | | | * scripts/autotools-install: Here.
* scripts: fix the Signed-off-by:-prohibiting hook to actually workJim Meyering2012-08-311-1/+1
| | | | | * scripts/git-hooks/commit-msg: Fix new test: we're searching a multi-line buffer, so add the //m modifier.
* doc: escape double quotes in autotools-install --helpErik Auerswald2012-08-311-2/+2
| | | | | * scripts/autotools-install: Fix --help so that we actually print the double quotes around "make check", in two places.
* scripts: add autotools-install, for those stuck with outdated toolsJim Meyering2012-08-311-0/+206
| | | | | | * scripts/autotools-install: New script, so you can always build from git-cloned sources, even when they require bleeding edge m4, autoconf, automake, etc.
* scripts: git commit message hook: prohibit use of "Signed-off-by:"Jim Meyering2012-08-301-0/+3
| | | | | * scripts/git-hooks/commit-msg: Reject a commit log message that contains "Signed-off-by:".
* su: remove program (util-linux is now the best source for it)Jim Meyering2012-06-061-1/+1
| | | | | | | | | | | | | | | | | | | | * README: Omit "su" from list of programs. * src/su.c: Remove file. * src/Makefile.am: Remove su-related rules and variables. * tests/misc/su-fail: Remove test. * tests/Makefile.am (TESTS): Remove misc/su-fail. * tests/misc/invalid-opt: Remove su-related code. * src/.gitignore: Remove su. * man/su.x: Remove file. * man/Makefile.am (su.1): Remove rule. * po/POTFILES.in: Remove su.c from the list. * TODO: Remove ancient entry. * NEWS (Changes in behavior): Mention it. * doc/coreutils.texi: Remove su-related description. * AUTHORS: Remove su. * m4/lib-check.m4 (cu_LIB_CHECK): Remove file/macro. * configure.ac: Remove su-related code and sole use of cu_LIB_CHECK. * scripts/git-hooks/commit-msg: Remove su from this list, too.
* scripts: encourage use of shorter "bugs.gnu.org" in bug URLsJim Meyering2012-05-101-1/+1
| | | | * scripts/git-hooks/commit-msg: Also ding debbugs.gnu.org URLs.
* scripts: allow one-line summary to start with "[Vv]ersion \d"Jim Meyering2012-01-061-11/+24
| | | | | | | * scripts/git-hooks/commit-msg: Do not reject the commit log message generated by our automated release-and-tag process. (bad_first_line): New function, extracted from... (check_msg): ... here. Use it.
* realpath: a new program to print the resolved pathPádraig Brady2012-01-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | This program is compatible with other realpath(1) implementations, and also incorporates relpath like support, through the --relative options. The relpath support was suggested by Peng Yu, who also provided an initial implemenation of that functionality. * AUTHORS: Add my name. * NEWS: Mention the new command. * README: Likewise. * doc/coreutils.texi (realpath invocation): Add realpath info. * man/Makefile.am (realpath.1): Add dependency. * man/realpath.x: New template. * man/.gitignore: Ignore generated man page. * po/POTFILES.in: Add src/realpath.c. * src/.gitignore: Exclude realpath. * src/Makefile.am (EXTRA_PROGRAMS): Add realpath. * src/realpath.c: New file. * scripts/git-hooks/commit-msg: Add realpath to the list of prefixes. * tests/Makefile.am (TESTS): Add misc/realpath. * tests/misc/realpath: New file.
* scripts: commit-msg: tweak 72-column test to avoid a false-positiveJim Meyering2011-11-231-1/+1
| | | | | | * scripts/git-hooks/commit-msg: Don't warn about a line that is longer than 72 if it is a comment. Git-generated comments would occasionally trigger this.
* scripts: rewrite git commit-msg hook in PerlJim Meyering2011-11-181-69/+129
| | | | | | | * scripts/git-hooks/commit-msg: Rewrite in perl. This is still a work in progress in that it hard-codes coreutils- specific program names and policies that should be easy to selectively enable or disable without modifying the script.
* maint: adjust git hook to allow "copy: ..." on line 1 of commit messageJim Meyering2011-11-131-1/+1
| | | | | * scripts/git-hooks/commit-msg: Add "copy" to the list of valid command-name-like summary line prefixes.
* maint: add rule to ensure that our commit hook copies are up to dateJim Meyering2011-11-121-0/+14
| | | | | | * Makefile.am (check-git-hook-script-sync): New rule -- not used anywhere, because it depends on having very recent git. * scripts/git-hooks/pre-applypatch: New file.
* maint: sync pre-commit script with git'sJim Meyering2011-11-121-2/+2
| | | | | | * scripts/git-hooks/pre-commit (allownonascii): Remove double quotes around $(...) construct, to make this file identical to git's sample hook script.
* scripts: reject references to long-form bug URLsJim Meyering2011-11-021-0/+6
| | | | | * scripts/git-hooks/commit-msg: Require the normalized/shortened form of bugzilla.redhat.com and bugs.gnu.org bug URLs.
* maint: add git hook scriptsJim Meyering2011-10-233-0/+139
We find it worthwhile to use consistent commit summary prefixes. To that end, the commit-msg script requires that all commits I make start with "$P: " (where $P is one of ~100 programs in coreutils) or one of a few other words, like gnulib tests maint doc build. It allows more than one word, so e.g., "cat tail head: " would also be accepted. Pádraig Brady wrote the initial version, with its 72-column and blank-if-present second line checks. The pre-commit script is the same as the git-supplied sample script, modulo a bug fix and the "exec 1>&2" redirection. * scripts/git-hooks/commit-msg: New file. * scripts/git-hooks/pre-commit: New file. * scripts/git-hooks/applypatch-msg: New file. Verbatim from .sample. * cfg.mk: Exempt two of the new scripts from the no-leading-TABs check, since they're nearly verbatim from git, and we want to stay in sync. Exempt the commit-msg script from the no-"fail=0" check.