[ 
https://issues.apache.org/jira/browse/BIGTOP-1249?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14020661#comment-14020661
 ] 

jay vyas commented on BIGTOP-1249:
----------------------------------

okay ! After stealing the trick from hadoop-common/dev-utils, we now got a way 
to automatically push comments to JIRA: 

1) Download the JIRA CLI From 
https://bobswift.atlassian.net/wiki/display/JCLI/Downloads, and unzip it.

2) Issue a jira command like this {{./jira.sh -s https://issues.apache.org/jira 
-a addcomment -u JIRA_USERNAME -p PASSWORD --comment "CI" --issue BIGTOP-1249}}

This essentially gives us a simple way to run any commands to update comments 
by auto-evaluating patches in bigtop.  

Now I just need to put up a simple server and create a bigtop-qa user in JIRA 
to do basica analysis of patches.
I think to start, I will just put some logic to evaluate patches for trailing 
whitespaces and confirm that {{patch -p 0 < BIGTOP-ABCD.patch}}  works.

Then from there we can iterate to improve.


> Umbrella JIRA: Pre-commit hooks and automated Patch validation
> --------------------------------------------------------------
>
>                 Key: BIGTOP-1249
>                 URL: https://issues.apache.org/jira/browse/BIGTOP-1249
>             Project: Bigtop
>          Issue Type: Improvement
>          Components: Build
>    Affects Versions: 0.7.0
>            Reporter: jay vyas
>              Labels: hackathon
>             Fix For: 0.8.0
>
>
> Lets automate some of the review process. 
> - It will be good to add in some pre-commit hooks which check for ASF 
> boilerplate on all files and trailing whitespace.  
> - It will be also nice if the build server can run "mvn compile" and some 
> other basic validation on the code base every time a patch is submitted, 
> similar to the way apache hadoop is doing. 
> I say lets start small:  Maybe on the upcoming hack day in denver we can glue 
> the basic JIRA monitoring together with a  simple bash script, and iterate 
> from there.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to