{ "id": "113065", "key": "ALOY-627", "fields": { "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false }, "project": { "id": "11113", "key": "ALOY", "name": "Alloy", "projectCategory": { "id": "10400", "description": "Tools for developing applications", "name": "Tooling" } }, "fixVersions": [ { "id": "15758", "description": "Alloy 1.4.0", "name": "Alloy 1.4.0", "archived": false, "released": true, "releaseDate": "2014-07-17" }, { "id": "15402", "description": "Alloy 1.2.0, concurrent with SDK 3.1.0", "name": "Alloy 1.2.0", "archived": false, "released": true, "releaseDate": "2013-08-15" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2014-05-05T18:58:00.000+0000", "created": "2013-04-18T15:52:38.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "qe-testadded" ], "versions": [], "issuelinks": [], "assignee": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "updated": "2014-05-09T11:24:31.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": "12332", "name": "Titanium SDK", "description": "Any integration or issues with the TiSDK" }, { "id": "12326", "name": "XML", "description": "View XML and parsing" } ], "description": "The title kind of says it all. This will reduce compile time and make update packages smaller for liveview.", "attachment": [], "flagged": false, "summary": "Only regenerate and copy CFG.js to Resources when app/config.json is added/removed/changed", "creator": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "closedSprints": [ { "id": 50, "state": "closed", "name": "2014 Sprint 09 Tooling", "startDate": "2014-04-28T15:43:24.381Z", "endDate": "2014-05-10T03:44:00.000Z", "completeDate": "2014-05-12T13:36:16.254Z", "originBoardId": 113 } ], "comment": { "comments": [ { "id": "265167", "author": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified working as expected.\n\nTitanium SDK 3.1.2.v20130806034554\nAlloy 1.2.0-alpha6\nAppcelerator Studio 3.1.2.201308021524\nCLI 3.1.1\nNode 0.10.13\n\nClosing", "updateAuthor": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-08-06T19:09:09.000+0000", "updated": "2013-08-06T19:09:09.000+0000" }, { "id": "302945", "author": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "body": "PR: https://github.com/appcelerator/alloy/pull/380\r\n\r\nWith any alloy project:\r\n\r\n1. {{alloy compile --config platform=ios}} (other platforms fine too)\r\n2. Watch the console output, you should see {{\\[INFO\\] \\[config.json\\] regenerating CFG.js from config.json...}}\r\n3. Repeat step 1\r\n4. In the console output, you should see {{\\[INFO\\] \\[config.json\\] config.json unchanged, using cached config.json...}}\r\n5. Modify config.json (e.g. set sourcemap to true or false, opposite of whatever it was) \r\n6. Repeat step 1 and you should see the message from step 2 again.\r\n\r\nIn this PR, I compare a hash of the previous build's CFG.js to that of this build. I don't see a convenient and reliable way to bypass reading config.json and hashing it to determine if the file has changed. The performance difference with this implementation is negligible: trading an MD5 hash operation for a file write operation.", "updateAuthor": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "created": "2014-04-29T20:58:19.000+0000", "updated": "2014-04-29T20:58:19.000+0000" }, { "id": "303525", "author": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "body": "PR merged", "updateAuthor": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "created": "2014-05-05T18:58:00.000+0000", "updated": "2014-05-05T18:58:00.000+0000" }, { "id": "304198", "author": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified the FIXED with:\r\n\r\nAppc-Studio:3.3.0.201405080918\r\nsdk:3.3.0.v20140508135704\r\nacs:1.0.14\r\nalloy:1.4.0-dev\r\nnpm:1.3.2\r\ntitanium:3.3.0-dev\r\ntitanium-code-processor:1.1.1\r\nxcode:5.1.1\r\n\r\nWorking as expected. Hence closing the issue.\r\n", "updateAuthor": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-05-09T11:24:31.000+0000", "updated": "2014-05-09T11:24:31.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }