You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@yetus.apache.org by "Tony Kurc (JIRA)" <ji...@apache.org> on 2015/10/20 23:46:27 UTC

[jira] [Created] (YETUS-109) github patches don't appear to be working

Tony Kurc created YETUS-109:
-------------------------------

             Summary: github patches don't appear to be working
                 Key: YETUS-109
                 URL: https://issues.apache.org/jira/browse/YETUS-109
             Project: Yetus
          Issue Type: Bug
          Components: Test Patch
         Environment: linux
            Reporter: Tony Kurc
            Priority: Minor


Running off commit dbeacad on master, I wasn't able to get github working


tried
{noformat}
tkurc@avila:~/nifi$ test-patch.sh --github-repo=apache/pig 97
/tmp/yetus-32506.26282 has been created
Running in developer mode
Processing: 97
ERROR: Unsure how to process 97.


============================================================================
============================================================================
                              Finished build.
============================================================================
============================================================================
{noformat}

Tried
{noformat}
tkurc@avila:~/nifi$ test-patch.sh https://github.com/apache/nifi/pull/97.patch
/tmp/yetus-28202.14452 has been created
Running in developer mode
Processing: https://github.com/apache/nifi/pull/97.patch


============================================================================
============================================================================
                        Confirming git environment
============================================================================
============================================================================


WARNING: Current git branch is pr/97 but patch is built for master.
WARNING: Continuing anyway...
ERROR: https://github.com/apache/nifi/pull/97.patch does not apply to pr/97.


============================================================================
============================================================================
                              Finished build.
============================================================================
============================================================================
{noformat}

which resulted in:
{noformat}
tkurc@avila:~/nifi$ cat /tmp/yetus-28202.14452/patch
<html><body>You are being <a href="https://patch-diff.githubusercontent.com/raw/apache/nifi/pull/97.patch">redirected</a>.</body></html>
{noformat}

This worked:
{noformat}
tkurc@avila:~/nifi$ test-patch.sh https://patch-diff.githubusercontent.com/raw/apache/nifi/pull/97.patch
..
 ____                              _ 
/ ___| _   _  ___ ___ ___  ___ ___| |
\___ \| | | |/ __/ __/ _ \/ __/ __| |
 ___) | |_| | (_| (_|  __/\__ \__ \_|
|____/ \__,_|\___\___\___||___/___(_)

..
{noformat}




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)