{ "id": "86470", "key": "TIMOB-7652", "fields": { "issuetype": { "id": "7", "description": "gh.issue.story.desc", "name": "Story", "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": "12593", "name": "Release 2.0.0", "archived": false, "released": true, "releaseDate": "2012-03-30" }, { "id": "13170", "name": "Sprint 2012-06", "archived": true, "released": true, "releaseDate": "2012-03-25" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-03-15T12:49:33.000+0000", "created": "2012-02-14T12:20:54.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "tbs-2.1.0" ], "versions": [], "issuelinks": [ { "id": "15674", "type": { "id": "10000", "name": "Blocks", "inward": "is blocked by", "outward": "blocks" }, "outwardIssue": { "id": "87692", "key": "TISTUD-1309", "fields": { "summary": "Change Studio to reference new platform -clean option", "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": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false } } } }, { "id": "15188", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "86468", "key": "TISTUD-1180", "fields": { "summary": "MobileWeb : Selecting to clean a mobile web project does not remove the contents of the build folder", "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": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "15675", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "83162", "key": "TISTUD-869", "fields": { "summary": "Run git clean on build subfolders during project clean", "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": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false } } } } ], "assignee": { "name": "chaseculpepper22", "key": "chaseculpepper22", "displayName": "Chase Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-22T21:21:07.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": "10207", "name": "Tooling" } ], "description": "Based on ticket TISTUD-1180, it seems odd that Titanium Studio knows how to \"clean\" a build, especially since it doesn't know how to do the build itself. From here: https://wiki.appcelerator.org/display/guides/Titanium+Command+Line+Interface, it seems that a \"titanium clean --platform=p1,p2\" command (or if omitted, cleans all platforms) would be good, as then Studio does not need to internalize a very platform-specific function.", "attachment": [], "flagged": false, "summary": "Tooling: Add \"clean\" option to titanium build scripts", "creator": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "185870", "author": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "body": "It looks like TiStudio has address this in the IDE already since TISTUD-1180 was closed out. Moving this out of the release since it looks as though the platform support is no longer necessary.\r\n\r\n@Ingo Let me know if I'm moving this out in error", "updateAuthor": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-03-10T11:00:58.000+0000", "updated": "2012-03-10T11:00:58.000+0000" }, { "id": "185875", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "TiStudio can clean already, but the point for the ticket was that it was odd Studio had to know how to clean a build, when it doesn't know how to do the build itself. It feels cleaner if it tells each platform to perform the clean rather than Studio knowing to delete a specific set of folders.\r\n\r\nOnce platform has this support in place, we can then replace our hack with the more proper version.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-03-10T13:15:04.000+0000", "updated": "2012-03-10T13:15:04.000+0000" }, { "id": "185889", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I do want to bring attention to this suggestion from Chris: running git clean on projects who are managed by git, rather than deleting the folders. Thoughts? TISTUD-869. We could do git clean on projects that are managed by git, and fall back to the platform behavior otherwise.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-03-11T08:39:58.000+0000", "updated": "2012-03-11T08:39:58.000+0000" }, { "id": "185971", "author": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "body": "@Ingo I agree that TiStudio shouldn't require a hack (or care about how to clean the mobile project), I mainly moved it out of 2.0.0 for priority reasons. I'll add the tbs-2.1.0 tag so we make sure to schedule this in the next release.", "updateAuthor": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-03-12T09:10:35.000+0000", "updated": "2012-03-12T09:11:12.000+0000" }, { "id": "186431", "author": { "name": "chaseculpepper22", "key": "chaseculpepper22", "displayName": "Chase Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "body": "To test this fix, run the titanium.py script from the project folder from which you are cleaning as follows,\r\n{code}\r\ntitanium.py clean --platform=p1,p2\r\n{code}\r\nAnd put which platform(s) that needs to be cleaned as a list to the right of the equals.\r\n\r\nYou can also call it this way,\r\n{code}\r\ntitanium.py clean\r\n{code}\r\nThis way will clean out all platform folders.", "updateAuthor": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-03-14T10:01:27.000+0000", "updated": "2012-03-15T08:11:53.000+0000" }, { "id": "414990", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as fixed.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-22T21:21:07.000+0000", "updated": "2017-03-22T21:21:07.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }