Hi all,

Following up on my initial experience with Apache Yetus, I created
personalities for the OFBiz repos on Github and set out to do 2 trial runs:

   1. executing a check of PR4 in https://github.com/apache/ofbiz-plugins,
   while being anonymous
   2. executing the same as under aspect 1, but with providing my Github
   credentials

Aspect 1 executed as expected, with following result

+1 overall


 ____                              _

/ ___| _   _  ___ ___ ___  ___ ___| |

\___ \| | | |/ __/ __/ _ \/ __/ __| |

 ___) | |_| | (_| (_|  __/\__ \__ \_|

|____/ \__,_|\___\___\___||___/___(_)





| Vote |      Subsystem |  Runtime   | Comment

============================================================================

|   0  |        reexec  |   0m 29s   | Docker mode activated.

+---------------------------------------------------------------------------

|      |                |            | Prechecks

+---------------------------------------------------------------------------

|  +1  |       dupname  |   0m  0s   | No case conflicting files found.

|  +1  |       @author  |   0m  0s   | The patch does not contain any
@author

|      |                |            | tags.

+---------------------------------------------------------------------------

|      |                |            | tests Compile Tests

+---------------------------------------------------------------------------

+---------------------------------------------------------------------------

|      |                |            | Patch Compile Tests

+---------------------------------------------------------------------------

|  +1  |    whitespace  |   0m  0s   | The patch has no whitespace issues.

|  +1  |           xml  |   0m  7s   | The patch has no ill-formed XML
file.

+---------------------------------------------------------------------------

|      |                |            | Other Tests

+---------------------------------------------------------------------------

|      |                |   1m 19s   |



Aspect 2 didn't go well. The result was:

-1 overall


 _____     _ _                _

|  ___|_ _(_) |_   _ _ __ ___| |

| |_ / _` | | | | | | '__/ _ \ |

|  _| (_| | | | |_| | | |  __/_|

|_|  \__,_|_|_|\__,_|_|  \___(_)





| Vote |    Subsystem |  Runtime   | Comment

============================================================================

|   0  |      reexec  |   0m 00s   | Docker mode activated.

|  -1  |       patch  |   0m 04s   |

|      |              |            |
https://github.com/apache/ofbiz-plugins/pull

|      |              |            | /4 does not apply to tests. Rebase

|      |              |            | required? Wrong Branch? See

|      |              |            |
https://ofbiz.apache.org/getting-involved.ht

|      |              |            | ml for help.



It seems to me that when credentials are provided, the script does a
authentication first before test are executed, and then something starts to
go wrong.

Or am I doing something wrong?

My personality for the ofbiz-plugins repository looks like this:

!/usr/bin/env bash


personality_plugins "all"


## @description  Globals specific to this personality

## @audience     private

## @stability    evolving

function personality_globals

{

  PATCH_BRANCH_DEFAULT=trunk

  JIRA_ISSUE_RE='^OFBIZ-[0-9]+$'

  PATCH_NAMING_RULE="https://ofbiz.apache.org/getting-involved.html";

  # BUILDTOOL=gradle

  GITHUB_REPO_DEFAULT="apache/ofbiz-plugins"

  GITHUB_USER=pierresmits

  GITHUB_PASSWD=<myGithubPassword>

}


Met vriendelijke groet,

Pierre Smits
*Proud* *contributor* (but without privileges)* of* Apache OFBiz
<https://ofbiz.apache.org/>, since 2008

*Apache Trafodion <https://trafodion.apache.org>, Vice President*
*Apache Directory <https://directory.apache.org>, PMC Member*
Apache Incubator <https://incubator.apache.org>, committer
Apache Steve <https://steve.apache.org>, committer

Reply via email to