{ "id": "103267", "key": "TIMOB-11442", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "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": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" }, { "id": "14167", "description": "2012 Sprint 21 JS", "name": "2012 Sprint 21 JS", "archived": true, "released": true, "releaseDate": "2012-10-22" }, { "id": "14273", "description": "2012 Sprint 21", "name": "2012 Sprint 21", "archived": true, "released": true, "releaseDate": "2012-10-22" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-11-19T19:37:40.000+0000", "created": "2012-10-12T23:23:29.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "qe-cli" ], "versions": [ { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" } ], "issuelinks": [], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2012-12-04T23:03:43.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": "Steps to Reproduce\r\n1. Run \"titanium build -h\"\r\n\r\nActual:\r\nAllows for user to set --deploy-type\r\n\r\nExpected:\r\nDeploy type is hard coded and \r\nSimulator = test\r\nDevice = development\r\nPackage = production\r\n\r\nIf we allow use to modify this it will ruin all the analytics", "attachment": [], "flagged": false, "summary": "CLI: titanium build should not allow --deploy-type to be set", "creator": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Mac 10.7\r\nCLI: 3.0.2\r\nSDK: 3.0.0.v20121012011113", "comment": { "comments": [ { "id": "223360", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "This is new functionality.\r\n\r\nThe old builder.py was indeed hard coded, however the correct settings were:\r\n* Simulator = \"development\"\r\n* Device = \"test\"\r\n* Package = \"production\"\r\n\r\nThe --deploy-type for the new ios build command allows you to set the deploy type to \"development\" or \"test\" for only the simulator or device:\r\n* Simulator = --deploy-type value (either \"development or \"test\") else \"development\"\r\n* Device = --deploy-type value (either \"development or \"test\") else \"test\"\r\n* Package = \"production\"", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2012-10-13T02:32:05.000+0000", "updated": "2012-10-13T02:32:05.000+0000" }, { "id": "223407", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Fixing this for Android build only.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2012-10-13T18:36:15.000+0000", "updated": "2012-10-13T18:36:15.000+0000" }, { "id": "223408", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Master pull request: https://github.com/appcelerator/titanium_mobile/pull/3209\n3.0.x pull request: https://github.com/appcelerator/titanium_mobile/pull/3210", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2012-10-13T19:05:08.000+0000", "updated": "2012-10-13T19:05:08.000+0000" }, { "id": "224304", "author": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "CLI 3.0.6\r\nSDK 3.0.0.v20121017192538\r\nAndroid deploy type is removed\r\niOS deploy type still allows you to set device to test. We discussed that we are only allowing simulator to test or development.", "updateAuthor": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-10-18T21:41:14.000+0000", "updated": "2012-10-18T21:41:14.000+0000" }, { "id": "224308", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "We MUST allow the deploy type to be set for device. By default, device builds are set to \"test\" which will minify all JavaScript code. However when we debug on device, the line numbers are all messed up, so we must allow deploy type development for device.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2012-10-18T21:45:07.000+0000", "updated": "2012-10-18T21:45:07.000+0000" }, { "id": "227502", "author": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "If we allow this on iOS we need to allow the same for Android. Android currently does not allow you to set that", "updateAuthor": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-11-15T17:36:56.000+0000", "updated": "2012-11-15T17:36:56.000+0000" }, { "id": "227909", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Marking as fixed because Android's build scripts today do not allow --deploy-type to be set, so there's no point to enable this.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2012-11-19T19:37:40.000+0000", "updated": "2012-11-19T19:37:40.000+0000" }, { "id": "229971", "author": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested with CLI 3.0.19", "updateAuthor": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-12-04T23:03:43.000+0000", "updated": "2012-12-04T23:03:43.000+0000" } ], "maxResults": 8, "total": 8, "startAt": 0 } } }