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

ASF GitHub Bot commented on CB-8455:
------------------------------------

GitHub user bso-intel opened a pull request:

    https://github.com/apache/cordova-lib/pull/353

    CB-8455 added --nohooks option

    implemented --nohooks noption as described in CB-8455

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

    $ git pull https://github.com/bso-intel/cordova-lib CB-8455

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

    https://github.com/apache/cordova-lib/pull/353.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 #353
    
----
commit d77c2d27bbf785f1c2471156f36693e5ce06b9dd
Author: Byoungro So <[email protected]>
Date:   2015-12-08T04:53:43Z

    added --nohooks option

commit f8a430ccf5fc1db7f555dcbbd84651c3da7ca5f6
Author: Byoungro So <[email protected]>
Date:   2015-12-08T04:53:43Z

    CB-8455 added --nohooks option

commit b4be9c724a70d819975f50b615da9a7203ad85e5
Author: Byoungro So <[email protected]>
Date:   2015-12-08T05:04:03Z

    Merge branch 'CB-8455' of https://github.com/bso-intel/cordova-lib into 
CB-8455

----


> suppress hooks with command line options
> ----------------------------------------
>
>                 Key: CB-8455
>                 URL: https://issues.apache.org/jira/browse/CB-8455
>             Project: Apache Cordova
>          Issue Type: New Feature
>          Components: CLI, CordovaLib
>            Reporter: Byoungro So
>            Assignee: Byoungro So
>
> Some Cordova users need a way to prevent hooks from being executed for 
> various reasons. One example is a security issue.
> A new CLI option "--nohooks" can be introduced for those Cordova users.
> This option takes a string as the pattern for disabling hooks.
> For example, 
> {code}cordova plugin --nohooks before_plugin_add {code}
> {code}cordova platform --nohooks before*{code}
> {code}cordova prepare --nohooks before_prepare --nohooks after*{code}
> {code}cordova build --nohooks .{code}
> --nohooks can be repeated for multiple hook patterns.
> All pattern strings are automatically converted to RegExp.
> The last example disables all hooks.
> We need this feature in Intel XDK.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to