Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id B6EF5200B3E for ; Wed, 7 Sep 2016 15:00:52 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id B5C3C160AC1; Wed, 7 Sep 2016 13:00:52 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id D5D66160AA3 for ; Wed, 7 Sep 2016 15:00:51 +0200 (CEST) Received: (qmail 34936 invoked by uid 500); 7 Sep 2016 13:00:51 -0000 Mailing-List: contact commits-help@yetus.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@yetus.apache.org Delivered-To: mailing list commits@yetus.apache.org Received: (qmail 34927 invoked by uid 99); 7 Sep 2016 13:00:51 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Sep 2016 13:00:51 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id EAD3CE03C0; Wed, 7 Sep 2016 13:00:50 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: aw@apache.org To: commits@yetus.apache.org Message-Id: <65506fa8c3104009ae9b552afdb76d92@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: yetus git commit: YETUS-456 Typos in documentation Date: Wed, 7 Sep 2016 13:00:50 +0000 (UTC) archived-at: Wed, 07 Sep 2016 13:00:52 -0000 Repository: yetus Updated Branches: refs/heads/master 3bdce776b -> 4779af3da YETUS-456 Typos in documentation Signed-off-by: Allen Wittenauer 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 Authored: Mon Sep 5 15:41:52 2016 +0530 Committer: Allen Wittenauer 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\_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"