{ "id": "128834", "key": "ALOY-1063", "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": "16692", "name": "Alloy 1.7.0", "archived": false, "released": true, "releaseDate": "2015-07-22" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2014-12-11T02:04:28.000+0000", "created": "2014-04-09T09:03:32.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "alloy", "clean", "cli" ], "versions": [], "issuelinks": [], "assignee": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "updated": "2014-12-11T02:04:28.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": "13604", "name": "Tooling", "description": "Items related to Alloy tooling and workflow" } ], "description": "h4. Problem Description\r\nWith the Alloy compiler trying to become smarter in compiling only those files that are changed, it happens more often that for different reasons the {{Resources}} directory is not up-to-date anymore. For this reason I'd like to see the {{Resources}} folder emptied or removed with {{ti clean}} and the Studio options using this CLI command. This way I can instruct people to do a clean as a first attempt to resolve compile/build problems.\r\n", "attachment": [], "flagged": false, "summary": "CLI: `ti clean` should remove/empty `Resources` for Alloy projects", "creator": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "subtasks": [], "reporter": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "environment": "Current", "closedSprints": [ { "id": 288, "state": "closed", "name": "2014 Sprint 25 Tooling", "startDate": "2014-12-08T17:30:22.215Z", "endDate": "2014-12-20T02:30:00.000Z", "completeDate": "2014-12-29T18:24:09.765Z", "originBoardId": 121 } ], "comment": { "comments": [ { "id": "311575", "author": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "body": "Thanks for your report. The Platform team will set the priority on this. ", "updateAuthor": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "created": "2014-06-30T07:26:51.000+0000", "updated": "2014-06-30T07:26:51.000+0000" }, { "id": "311639", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "This is not a TIMOB issue. This is an Alloy issue. Alloy SHOULD NOT be a standalone command line tool. It SHOULD be a Titanium CLI plugin that includes includes a hook into the \"clean\" command. It should also tie into the \"create\" command \"config\" hook to add a --alloy flag, and tie into the \"pre-build\" hook to compile the app dir into the Resource dir.\r\n\r\nIf the \"project\" command was finished, we should have a hook in there that allows you to change a Titanium classic app into an Alloy app. In the meantime, we could have an \"alloy\" command with a \"new\" subcommand (i.e. ti alloy new).", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2014-06-30T17:28:09.000+0000", "updated": "2014-06-30T17:28:09.000+0000" }, { "id": "311766", "author": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "body": "Sounds like a plan.", "updateAuthor": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2014-07-01T07:31:35.000+0000", "updated": "2014-07-01T07:31:35.000+0000" }, { "id": "335873", "author": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "body": "PR https://github.com/appcelerator/alloy/pull/630\r\n\r\nAdds a CLI hook to empty the resources directory for an Alloy project\r\n\r\nFunctional review:\r\n\r\n1. Create a new Alloy project, or in an existing Alloy project, enter {{alloy install plugin .}} to install the new hook\r\n2. Build the project and confirm you have contents in the Resources directory\r\n3. Do {{ti clean}} and confirm that Resources is empty (but the dir still exists)\r\n4. Build again\r\n5. Do {{ti clean --shallow}} and confirm that build was emptied but Resources was not", "updateAuthor": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "created": "2014-12-10T21:06:25.000+0000", "updated": "2014-12-10T21:06:25.000+0000" }, { "id": "335942", "author": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "body": "PR merged.", "updateAuthor": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "created": "2014-12-11T02:04:28.000+0000", "updated": "2014-12-11T02:04:28.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }