[jira] [Updated] (HADOOP-12373) Add support for foodcritic

2015-09-22 Thread Sean Busbey (JIRA)

 [ 
https://issues.apache.org/jira/browse/HADOOP-12373?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sean Busbey updated HADOOP-12373:
-
Issue Type: New Feature  (was: Sub-task)
Parent: (was: HADOOP-12111)

> Add support for foodcritic
> --
>
> Key: HADOOP-12373
> URL: https://issues.apache.org/jira/browse/HADOOP-12373
> Project: Hadoop Common
>  Issue Type: New Feature
>  Components: Test Patch
>Reporter: Travis Thompson
>
> Foodcritic is the chef "best practices" linter 
> (http://acrmp.github.io/foodcritic/)
> Successful output:
> {noformat}
> ± master ✗  → foodcritic .
> ± master ✗  → echo $? 
> 0
> {noformat}
> Unsuccessful output:
> {noformat}
> ± master ✗  → foodcritic .
> FC048: Prefer Mixlib::ShellOut: ./recipes/server.rb:482
> ± master ✗  → echo $?
> 0
> {noformat}
> Here's what caused the failure:
> {noformat}
> 482 `echo "this is bad practice"`
> {noformat}



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


[jira] [Updated] (HADOOP-12373) Add support for foodcritic

2015-09-01 Thread Travis Thompson (JIRA)

 [ 
https://issues.apache.org/jira/browse/HADOOP-12373?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Travis Thompson updated HADOOP-12373:
-
Description: 
Foodcritic is the chef "best practices" linter 
(http://acrmp.github.io/foodcritic/)

Successful output:

{noformat}
± master ✗  → foodcritic .

± master ✗  → echo $? 
0
{noformat}

Unsuccessful output:

{noformat}
± master ✗  → foodcritic .
FC048: Prefer Mixlib::ShellOut: ./recipes/server.rb:482
± master ✗  → echo $?
0
{noformat}

Here's what caused the failure:

{noformat}
482 `echo "this is bad practice"`
{noformat}

  was:
Foodcritic is the chef "best practices" linter 
(http://acrmp.github.io/foodcritic/)

Successful output:

{noformat}
± master ✗  → foodcritic .

± master ✗  → echo $? 
0
{noformat}

Unsuccessful output:

{noformat}
± master ✗  → foodcritic .
FC048: Prefer Mixlib::ShellOut: ./recipes/server.rb:482
± master ✗  → echo $?
0
{noformat}

Here's what caused the failure:

{noformat}
482 `echo "this is bad pratice"`
{noformat}


> Add support for foodcritic
> --
>
> Key: HADOOP-12373
> URL: https://issues.apache.org/jira/browse/HADOOP-12373
> Project: Hadoop Common
>  Issue Type: Sub-task
>  Components: yetus
>Reporter: Travis Thompson
>
> Foodcritic is the chef "best practices" linter 
> (http://acrmp.github.io/foodcritic/)
> Successful output:
> {noformat}
> ± master ✗  → foodcritic .
> ± master ✗  → echo $? 
> 0
> {noformat}
> Unsuccessful output:
> {noformat}
> ± master ✗  → foodcritic .
> FC048: Prefer Mixlib::ShellOut: ./recipes/server.rb:482
> ± master ✗  → echo $?
> 0
> {noformat}
> Here's what caused the failure:
> {noformat}
> 482 `echo "this is bad practice"`
> {noformat}



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