[
https://issues.apache.org/jira/browse/YETUS-114?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sean Busbey updated YETUS-114:
------------------------------
Attachment: YETUS-114.0.patch
-00
* Changes semantics of build plugin buildfile to allow for disabling module
detection
* Adds no-op build tool
* docs
with this and YETUS-113 I'm able to test YETUS patches.
e.g on YETUS-78
{code}
yetus busbey$ ./dev-support/test-patch.sh --plugins="all" --build-tool=nobuild
--resetrepo YETUS-78
/tmp/yetus-24295.5730 has been created
Running in destructive (--resetrepo) developer mode
Processing: YETUS-78
YETUS-78 patch is being downloaded at Wed Oct 21 03:31:00 CDT 2015 from
https://issues.apache.org/jira/secure/attachment/12766827/YETUS-78.00.patch
============================================================================
============================================================================
Confirming git environment
============================================================================
============================================================================
HEAD is now at 23c6253 YETUS-114 add no-op build tool
Already on 'master'
Your branch is ahead of 'busbey/master' by 29 commits.
Current branch master is up to date.
Already on 'master'
Your branch is ahead of 'busbey/master' by 29 commits.
Current branch master is up to date.
Testing patch on master.
============================================================================
============================================================================
precommit patch detected
============================================================================
============================================================================
============================================================================
============================================================================
Applying patch to master
============================================================================
============================================================================
Applying the patch:
Wed Oct 21 03:31:04 CDT 2015
cd /Users/busbey/projects/yetus
git apply --binary -v --stat --apply -p1 /private/tmp/yetus-24295.5730/patch
/private/tmp/yetus-24295.5730/patch:41: new blank line at EOF.
+
Applied patch dev-support/personality/orc.sh cleanly.
warning: 1 line adds whitespace errors.
dev-support/personality/orc.sh | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
Running in destructive (--resetrepo) developer mode
Processing: YETUS-78
YETUS-78 patch is being downloaded at Wed Oct 21 03:31:05 CDT 2015 from
https://issues.apache.org/jira/secure/attachment/12766827/YETUS-78.00.patch
============================================================================
============================================================================
Confirming git environment
============================================================================
============================================================================
HEAD is now at 23c6253 YETUS-114 add no-op build tool
Removing dev-support/personality/orc.sh
Already on 'master'
Your branch is ahead of 'busbey/master' by 29 commits.
Current branch master is up to date.
Already on 'master'
Your branch is ahead of 'busbey/master' by 29 commits.
Current branch master is up to date.
Testing patch on master.
============================================================================
============================================================================
Re-exec mode detected. Continuing.
============================================================================
============================================================================
============================================================================
============================================================================
Checking there are no @author tags in the patch.
============================================================================
============================================================================
There appear to be 0 @author tags in the patch.
============================================================================
============================================================================
Checking there are new or changed tests in the patch.
============================================================================
============================================================================
Patch does not appear to need new or modified tests.
============================================================================
============================================================================
shellcheck plugin: prepatch
============================================================================
============================================================================
Running shellcheck against all identifiable shell scripts
============================================================================
============================================================================
Applying patch to master
============================================================================
============================================================================
Applying the patch:
Wed Oct 21 03:31:04 CDT 2015
cd /Users/busbey/projects/yetus
git apply --binary -v --stat --apply -p1 /private/tmp/yetus-24295.5730/patch
/private/tmp/yetus-24295.5730/patch:41: new blank line at EOF.
+
Applied patch dev-support/personality/orc.sh cleanly.
warning: 1 line adds whitespace errors.
dev-support/personality/orc.sh | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
Wed Oct 21 03:31:09 CDT 2015
cd /Users/busbey/projects/yetus
git apply --binary -v --stat --apply -p1 /private/tmp/yetus-24295.5730/patch
/private/tmp/yetus-24295.5730/patch:41: new blank line at EOF.
+
Applied patch dev-support/personality/orc.sh cleanly.
warning: 1 line adds whitespace errors.
dev-support/personality/orc.sh | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
============================================================================
============================================================================
shellcheck plugin: postpatch
============================================================================
============================================================================
Running shellcheck against all identifiable shell scripts
============================================================================
============================================================================
Checking for whitespace at the end of lines
============================================================================
============================================================================
============================================================================
============================================================================
Determining number of patched ASF License errors
============================================================================
============================================================================
Total Elapsed time: 0m 10s
+1 overall
____ _
/ ___| _ _ ___ ___ ___ ___ ___| |
\___ \| | | |/ __/ __/ _ \/ __/ __| |
___) | |_| | (_| (_| __/\__ \__ \_|
|____/ \__,_|\___\___\___||___/___(_)
| Vote | Subsystem | Runtime | Comment
============================================================================
| 0 | reexec | 0m 05s | precommit patch detected.
| +1 | @author | 0m 00s | The patch does not contain any @author
| | | | tags.
| +1 | shellcheck | 0m 00s | There were no new shellcheck issues.
| +1 | whitespace | 0m 00s | Patch has no whitespace issues.
| | | 0m 10s |
|| Subsystem || Report/Notes ||
============================================================================
| JIRA Patch URL |
https://issues.apache.org/jira/secure/attachment/12766827/YETUS-78.00.patch |
| Optional Tests | asflicense shellcheck |
| uname | Darwin busbey2-MBA.local 12.6.0 Darwin Kernel Version 12.6.0: Wed Mar
18 16:23:48 PDT 2015; root:xnu-2050.48.19~1/RELEASE_X86_64 x86_64 |
| Build tool | nobuild |
| git revision | master / 23c6253 |
| Default Java | 1.7.0_51 |
| shellcheck | v0.3.7 |
| Powered by | Apache Yetus http://yetus.apache.org |
============================================================================
============================================================================
Finished build.
============================================================================
============================================================================
{code}
> Add no-op build tool for projects that don't have one.
> ------------------------------------------------------
>
> Key: YETUS-114
> URL: https://issues.apache.org/jira/browse/YETUS-114
> Project: Yetus
> Issue Type: New Feature
> Components: Test Patch
> Affects Versions: 0.1.0
> Reporter: Sean Busbey
> Assignee: Sean Busbey
> Attachments: YETUS-114.0.patch
>
>
> For projects that don't have a build tool (*ahem*) we should still be able to
> do some nominal checks.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)