You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@metron.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/02/15 08:47:41 UTC

[jira] [Commented] (METRON-720) modify generate-md.sh to re-throw errors from within 'find'

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

ASF GitHub Bot commented on METRON-720:
---------------------------------------

GitHub user mattf-horton opened a pull request:

    https://github.com/apache/incubator-metron/pull/455

    METRON-720 modify generate-md.sh to re-throw errors from within 'find'

    This patch also fixes, en passant:
    METRON-719 use of quadruple back-ticks in README.md file
    which is the problem that caused the need for METRON-720.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/mattf-horton/incubator-metron 0.3.1-rc4

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-metron/pull/455.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #455
    
----
commit 34d420718edac283342c3e3cbdacab4e07846ddd
Author: mattf-horton <mf...@hortonworks.com>
Date:   2017-02-15T08:36:37Z

    METRON-720 modify generate-md.sh to re-throw errors from within 'find', and
    METRON-719 use of quadruple back-ticks in README.md file

----


> modify generate-md.sh to re-throw errors from within 'find'
> -----------------------------------------------------------
>
>                 Key: METRON-720
>                 URL: https://issues.apache.org/jira/browse/METRON-720
>             Project: Metron
>          Issue Type: Bug
>    Affects Versions: 0.3.1
>            Reporter: Matt Foley
>
> In the site-book build tools, bin/generate-md.sh invokes bin/fix-md-dialect.py from within a `find -exec` context.  If fix-md-dialect.py encounters errors, it outputs error messages on stderr, but these messages may get lost in the rest of the output, and the exit status of the script just indicates success.
> Modify the invocation of `find` to capture the error condition, complain about it in a way that does not get lost amongst the other output, and cause bin/generate-md.sh to exit with a failure condition.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)