{ "id": "119218", "key": "TIMOB-14990", "fields": { "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "15646", "description": "2013 Sprint 18", "name": "2013 Sprint 18", "archived": true, "released": true, "releaseDate": "2013-09-06" }, { "id": "15674", "description": "2013 Sprint 18 Tooling", "name": "2013 Sprint 18 Tooling", "archived": true, "released": true, "releaseDate": "2013-09-06" }, { "id": "15593", "description": "Release 3.1.3", "name": "Release 3.1.3", "archived": true, "released": true, "releaseDate": "2013-09-18" }, { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-09-17T18:39:12.000+0000", "created": "2013-08-28T22:02:46.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "qe-port" ], "versions": [], "issuelinks": [ { "id": "32784", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "113521", "key": "TIMOB-13716", "fields": { "summary": "Code Processor: Add visibility flag to plugin options to prevent it from being added to results pages", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false } } } } ], "assignee": { "name": "bhughes", "key": "bhughes", "displayName": "Bryan Hughes", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2013-12-12T21:43:12.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "13102", "name": "Code Processor", "description": "Analyzes JavaScript source" } ], "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", "attachment": [], "flagged": false, "summary": "Code Processor: Add a plugin option to suppress the results", "creator": { "name": "bhughes", "key": "bhughes", "displayName": "Bryan Hughes", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "bhughes", "key": "bhughes", "displayName": "Bryan Hughes", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "268773", "author": { "name": "bhughes", "key": "bhughes", "displayName": "Bryan Hughes", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR: https://github.com/appcelerator/titanium-code-processor/pull/239", "updateAuthor": { "name": "bhughes", "key": "bhughes", "displayName": "Bryan Hughes", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-08-28T23:38:13.000+0000", "updated": "2013-08-28T23:38:13.000+0000" }, { "id": "268889", "author": { "name": "bhughes", "key": "bhughes", "displayName": "Bryan Hughes", "active": true, "timeZone": "America/Los_Angeles" }, "body": "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.\r\n{code}\r\n{\r\n\t...\r\n\t\"plugins\": [\r\n\t\t...\r\n\t\t{\r\n\t\t\t\"path\": \"/Users/bhughes/Work/titanium-code-processor/plugins/ti-api-deprecation-finder\",\r\n\t\t\t\"options\": {},\r\n\t\t\t\"suppressOutput\": true\r\n\t\t},\r\n\t\t...\r\n\t}\r\n}\r\n{code}\r\nRun the code processor: 'ti analyze -F ' and check to make sure the relevant section doesn't show up.", "updateAuthor": { "name": "bhughes", "key": "bhughes", "displayName": "Bryan Hughes", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-08-29T17:26:02.000+0000", "updated": "2013-08-30T06:31:21.000+0000" }, { "id": "269084", "author": { "name": "bhughes", "key": "bhughes", "displayName": "Bryan Hughes", "active": true, "timeZone": "America/Los_Angeles" }, "body": "install with: sudo npm install -g git://github.com/bryan-m-hughes/titanium-code-processor#timob-14990", "updateAuthor": { "name": "bhughes", "key": "bhughes", "displayName": "Bryan Hughes", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-08-30T18:45:05.000+0000", "updated": "2013-08-30T18:45:05.000+0000" }, { "id": "269133", "author": { "name": "pinnamuri", "key": "pinnamuri", "displayName": "Praveen Innamuri", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Merged PR.", "updateAuthor": { "name": "pinnamuri", "key": "pinnamuri", "displayName": "Praveen Innamuri", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-08-30T21:44:03.000+0000", "updated": "2013-08-30T21:44:03.000+0000" }, { "id": "269518", "author": { "name": "bhughes", "key": "bhughes", "displayName": "Bryan Hughes", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Reopening for the 3.1.3 backport", "updateAuthor": { "name": "bhughes", "key": "bhughes", "displayName": "Bryan Hughes", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-09-04T18:10:25.000+0000", "updated": "2013-09-04T18:10:25.000+0000" }, { "id": "269523", "author": { "name": "bhughes", "key": "bhughes", "displayName": "Bryan Hughes", "active": true, "timeZone": "America/Los_Angeles" }, "body": "1_0_X PR: https://github.com/appcelerator/titanium-code-processor/pull/241", "updateAuthor": { "name": "bhughes", "key": "bhughes", "displayName": "Bryan Hughes", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-09-04T18:19:08.000+0000", "updated": "2013-09-04T18:19:08.000+0000" }, { "id": "269644", "author": { "name": "mxia", "key": "mxia", "displayName": "Michael Xia", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Merged the PR.", "updateAuthor": { "name": "mxia", "key": "mxia", "displayName": "Michael Xia", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-09-05T00:06:21.000+0000", "updated": "2013-09-05T00:06:21.000+0000" }, { "id": "270257", "author": { "name": "mxia", "key": "mxia", "displayName": "Michael Xia", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified via TISTUD-5342.", "updateAuthor": { "name": "mxia", "key": "mxia", "displayName": "Michael Xia", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-09-09T03:40:04.000+0000", "updated": "2013-09-09T03:40:04.000+0000" }, { "id": "284082", "author": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "updateAuthor": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-12-12T21:42:59.000+0000", "updated": "2013-12-12T21:42:59.000+0000" } ], "maxResults": 9, "total": 9, "startAt": 0 } } }