{ "id": "121715", "key": "ALOY-865", "fields": { "issuetype": { "id": "5", "description": "The sub-task of the issue", "name": "Sub-task", "subtask": true }, "parent": { "id": "112795", "key": "ALOY-620", "fields": { "summary": "Reduce compile time", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "7", "description": "gh.issue.story.desc", "name": "Story", "subtask": false } } }, "project": { "id": "11113", "key": "ALOY", "name": "Alloy", "projectCategory": { "id": "10400", "description": "Tools for developing applications", "name": "Tooling" } }, "fixVersions": [ { "id": "15403", "description": "Alloy 1.3.0", "name": "Alloy 1.3.0", "archived": false, "released": true, "releaseDate": "2013-12-20" }, { "id": "15753", "description": "2013 Sprint 22", "name": "2013 Sprint 22", "archived": true, "released": true, "releaseDate": "2013-11-01" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-10-29T22:25:09.000+0000", "created": "2013-10-28T20:58:20.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [], "issuelinks": [], "assignee": null, "updated": "2018-03-07T22:26:11.000+0000", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "13603", "name": "Styling", "description": "TSS, dynamic styling, styling API" } ], "description": "Speed up the compile phase by caching the global style. Reuse it when possible. Make sure to check all possible sources for the loaded global style for changes before using the cached version.", "attachment": [], "flagged": false, "summary": "Cache global style", "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, "comment": { "comments": [ { "id": "277274", "author": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR: https://github.com/appcelerator/alloy/pull/264\r\ntest app: https://github.com/appcelerator/alloy/tree/master/test/apps/advanced/themes\r\n\r\nFunctional testing should include running the test app for multiple platforms. Each time you run {{alloy compile --platform PLATFORM}} to test, assert the following:\r\n\r\n# If this is your first run, a new global style should be created and then saved to the cache at \"build/alloy/global_style_cache.json\". You should also see this in the alloy log output (depending on the target platform):\r\n{code}\r\n[INFO] ----- MVC GENERATION -----\r\n[INFO] [app.tss] global style processing...\r\n[INFO] [app.tss(theme:blue)] global style processing...\r\n[INFO] [global style] writing to cache...\r\n{code}\r\n# If you change the target platform, you should also see output similar to #1 as changing the platform in the \"themes\" app will also include platform-specific global style modifications.\r\n# If you modify the app.tss in the app, or in the theme for which you are compiling, you should also see output similar to the output in #1\r\n# In all other scenarios, the cached global style should be used. It will indicate this in the alloy log like this:\r\n{code}\r\n[INFO] ----- MVC GENERATION -----\r\n[INFO] [global style] loading from cache...\r\n{code}", "updateAuthor": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-10-29T22:25:09.000+0000", "updated": "2013-10-29T22:25:09.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }