You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Travis Thompson (JIRA)" <ji...@apache.org> on 2015/09/01 20:36:45 UTC
[jira] [Updated] (HADOOP-12373) Add support for foodcritic
[ 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)