Repository: yetus Updated Branches: refs/heads/master 3bdce776b -> 4779af3da
YETUS-456 Typos in documentation Signed-off-by: Allen Wittenauer <[email protected]> Project: http://git-wip-us.apache.org/repos/asf/yetus/repo Commit: http://git-wip-us.apache.org/repos/asf/yetus/commit/4779af3d Tree: http://git-wip-us.apache.org/repos/asf/yetus/tree/4779af3d Diff: http://git-wip-us.apache.org/repos/asf/yetus/diff/4779af3d Branch: refs/heads/master Commit: 4779af3da9b2c7e071211e1d899715252d06e1fb Parents: 3bdce77 Author: Ajay Yadava <[email protected]> Authored: Mon Sep 5 15:41:52 2016 +0530 Committer: Allen Wittenauer <[email protected]> Committed: Wed Sep 7 06:00:55 2016 -0700 ---------------------------------------------------------------------- .../source/documentation/in-progress/precommit-advanced.md | 6 +++--- .../source/documentation/in-progress/precommit-basic.md | 2 +- .../documentation/in-progress/precommit-smart-apply-patch.md | 2 +- precommit/smart-apply-patch.sh | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/yetus/blob/4779af3d/asf-site-src/source/documentation/in-progress/precommit-advanced.md ---------------------------------------------------------------------- diff --git a/asf-site-src/source/documentation/in-progress/precommit-advanced.md b/asf-site-src/source/documentation/in-progress/precommit-advanced.md index 6e98085..d9fdc28 100644 --- a/asf-site-src/source/documentation/in-progress/precommit-advanced.md +++ b/asf-site-src/source/documentation/in-progress/precommit-advanced.md @@ -49,7 +49,7 @@ Dockerfile images will be named with a test-patch prefix and suffix with either # Plug-ins -test-patch allows one to add to its basic feature set via plug-ins. There is a directory called test-patch.d off of the directory where test-patch.sh lives. Inside this directory one may place some bash shell fragments that, if setup with proper functions, will allow for test-patch to call it as necessary. Different plug-ins have specific functions for that particular functionality. In this document, the common functions available to all/most plug-ins are covered. Test plugins are covered below. See other documentation for pertinent information for the other plug-in types. +test-patch allows one to add to its basic feature set via plug-ins. There is a directory called test-patch.d inside the directory where test-patch.sh lives. Inside this directory one may place some bash shell fragments that, if setup with proper functions, will allow for test-patch to call it as necessary. Different plug-ins have specific functions for that particular functionality. In this document, the common functions available to all/most plug-ins are covered. Test plugins are covered below. See other documentation for pertinent information for the other plug-in types. ## Common Plug-in Functions @@ -121,7 +121,7 @@ add_test_type <pluginname> ``` + pluginname\_filefilter - - executed while determine which files trigger which tests. This function should use `add_test pluginname` to add the plug-in to the test list. + - executed while determining which files trigger which tests. This function should use `add_test pluginname` to add the plug-in to the test list. * pluginname\_compile - executed immediately after the actual compilation. This step is intended to be used to verify the results and add extra checking of the compile phase and it's stdout/stderr. @@ -156,7 +156,7 @@ There can be only **one** of each personality function defined. Globals for personalities should be defined in the `personality_globals` function. This function is called *after* the other plug-ins have been imported. This allows one to configure any settings for plug-ins that have been imported safely: ```bash -funciton personality_globals +function personality_globals { PATCH_BRANCH_DEFAULT=master GITHUB_REPO="apache/yetus" http://git-wip-us.apache.org/repos/asf/yetus/blob/4779af3d/asf-site-src/source/documentation/in-progress/precommit-basic.md ---------------------------------------------------------------------- diff --git a/asf-site-src/source/documentation/in-progress/precommit-basic.md b/asf-site-src/source/documentation/in-progress/precommit-basic.md index e596e5a..40efe8d 100644 --- a/asf-site-src/source/documentation/in-progress/precommit-basic.md +++ b/asf-site-src/source/documentation/in-progress/precommit-basic.md @@ -256,7 +256,7 @@ $ test-patch.sh https://github.com/apache/pig/pulls/99.patch ## Generic URLs -Luckily, test-patch supports provide ways to provide unified diffs via URLs. +Luckily, test-patch supports ways to provide unified diffs via URLs. For example: http://git-wip-us.apache.org/repos/asf/yetus/blob/4779af3d/asf-site-src/source/documentation/in-progress/precommit-smart-apply-patch.md ---------------------------------------------------------------------- diff --git a/asf-site-src/source/documentation/in-progress/precommit-smart-apply-patch.md b/asf-site-src/source/documentation/in-progress/precommit-smart-apply-patch.md index 74dc0c3..35a621d 100644 --- a/asf-site-src/source/documentation/in-progress/precommit-smart-apply-patch.md +++ b/asf-site-src/source/documentation/in-progress/precommit-smart-apply-patch.md @@ -24,7 +24,7 @@ smart-apply-patch # Usage -Its simpliest form is used when a patch is stored in a local file: +Its simplest form is used when a patch is stored in a local file: ```bash $ smart-apply-patch patch http://git-wip-us.apache.org/repos/asf/yetus/blob/4779af3d/precommit/smart-apply-patch.sh ---------------------------------------------------------------------- diff --git a/precommit/smart-apply-patch.sh b/precommit/smart-apply-patch.sh index 463c343..f43d945 100755 --- a/precommit/smart-apply-patch.sh +++ b/precommit/smart-apply-patch.sh @@ -82,7 +82,7 @@ function setup_defaults ## @replaceable no function yetus_usage { - echo "test-patch.sh [OPTIONS] patch" + echo "smart-apply-patch.sh [OPTIONS] patch" echo "" echo "Where:" echo " patch is a file, URL, or bugsystem-compatible location of the patch file"
