hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Allen Wittenauer (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-12373) Add support for foodcritic
Date Tue, 01 Sep 2015 17:46:46 GMT

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

Allen Wittenauer commented on HADOOP-12373:
-------------------------------------------

It's interesting to note that foodcritic's output is in the opposite order of the vast majority
of similar tools!

> 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 pratice"`
> {noformat}



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

Mime
View raw message