Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-14990] Code Processor: Add a plugin option to suppress the results

GitHub Issuen/a
TypeNew Feature
PriorityCritical
StatusClosed
ResolutionFixed
Resolution Date2013-09-17T18:39:12.000+0000
Affected Version/sn/a
Fix Version/s2013 Sprint 18, 2013 Sprint 18 Tooling, Release 3.1.3, Release 3.2.0
ComponentsCode Processor
Labelsqe-port
ReporterBryan Hughes
AssigneeBryan Hughes
Created2013-08-28T22:02:46.000+0000
Updated2013-12-12T21:43:12.000+0000

Description

Currently, if a plugin is included and can generate output, it will always generate output. Sometimes we want to include a plugin, but not show its output. A plugin option called "suppressOutput" that takes a boolean should be supported

Comments

  1. Bryan Hughes 2013-08-28

    PR: https://github.com/appcelerator/titanium-code-processor/pull/239
  2. Bryan Hughes 2013-08-29

    To test, run against an app using a config file (you can get one from a studio run). Modify the config file and set suppressOutput to true for a plugin, e.g.
       {
       	...
       	"plugins": [
       		...
       		{
       			"path": "/Users/bhughes/Work/titanium-code-processor/plugins/ti-api-deprecation-finder",
       			"options": {},
       			"suppressOutput": true
       		},
       		...
       	}
       }
       
    Run the code processor: 'ti analyze -F ' and check to make sure the relevant section doesn't show up.
  3. Bryan Hughes 2013-08-30

    install with: sudo npm install -g git://github.com/bryan-m-hughes/titanium-code-processor#timob-14990
  4. Praveen Innamuri 2013-08-30

    Merged PR.
  5. Bryan Hughes 2013-09-04

    Reopening for the 3.1.3 backport
  6. Bryan Hughes 2013-09-04

    1_0_X PR: https://github.com/appcelerator/titanium-code-processor/pull/241
  7. Michael Xia 2013-09-05

    Merged the PR.
  8. Michael Xia 2013-09-09

    Verified via TISTUD-5342.
  9. Federico Casali 2013-12-12

JSON Source