{ "id": "142564", "key": "TIMOB-18351", "fields": { "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "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": "16925", "description": "WatchKit Support--all going into 5.0 now", "name": "Release 5.0.0", "archived": true, "released": true, "releaseDate": "2015-09-16" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2015-07-14T21:06:48.000+0000", "created": "2015-01-09T04:35:16.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [], "versions": [], "issuelinks": [ { "id": "44620", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "142565", "key": "TIMOB-18352", "fields": { "summary": "Remove iOS and Android detection from node-appc and \"ti info\"", "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": "Medium", "id": "3" }, "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false } } } } ], "assignee": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "updated": "2017-03-16T22:08:38.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": "13103", "name": "CLI", "description": "Node-based command line interface" } ], "description": "The iOS and Android versions in node-appc are very old and out-of-date. The logic for these were moved into the Titanium SDK. These modules should be deprecated in node-appc.\r\n\r\nHowever, {{ti info}} still references this old code when no Titanium SDK is selected or Titanium SDK 3.0/3.1 is selected. Titanium SDK 3.0 & 3.1 requires this code to still exist.\r\n\r\nSo, this ticket describes the deprecation messages that should be added to the {{ti info}} command as well as deprecation messages whenever Titanium SDK 3.0 or 3.1 is the selected sdk (via config or {{--sdk}}).\r\n\r\nNote: there is a separate ticket to remove these modules from node-appc for the Titanium 4 release: TIMOB-18352.\r\n\r\n", "attachment": [], "flagged": false, "summary": "Deprecate iOS and Android modules in node-appc", "creator": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "subtasks": [], "reporter": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "environment": null, "closedSprints": [ { "id": 450, "state": "closed", "name": "2015 Sprint 14 Tooling", "startDate": "2015-07-06T16:27:05.971Z", "endDate": "2015-07-18T01:27:00.000Z", "completeDate": "2015-07-20T17:26:13.268Z", "originBoardId": 121 }, { "id": 311, "state": "closed", "name": "2015 Sprint 02 Tooling", "startDate": "2015-01-17T02:00:00.000Z", "endDate": "2015-01-31T01:00:00.000Z", "completeDate": "2015-01-31T03:36:52.887Z", "originBoardId": 121 } ], "comment": { "comments": [ { "id": "338528", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "There is no 3.5.0 CLI public release, so moving to 3.5.1.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-01-09T15:57:51.000+0000", "updated": "2015-01-09T15:57:51.000+0000" }, { "id": "339282", "author": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "body": "There was already a warning in {{ti info}} when using an old SDK version. I made it yellow rather than magenta and updated the text to note the deprecation state. Added a warning in {{ti sdk select}}\r\n\r\nPR: https://github.com/appcelerator/titanium/pull/181\r\n\r\nFR steps:\r\n\r\n1. {{ti sdk select}} and select a pre-3.2 SDK version, you should get a deprecation warning.\r\n2. {{ti info}} and scroll up through the output to see the notices in the Android and iOS sections.\r\n3. Build a project with {{ti build -p ios}} (or android). There's a deprecation warning printed to the console following the \"Forking correct SDK command\" output.\r\n4. {{ti sdk select}} and select a 3.2+ version. You should not get the deprecation warning. \r\n5. Run {{ti info}} and you should not see the notices in the output. (On my system, I got errors, probably due to old/outdated code, unless I used an SDK greater than 3.3)", "updateAuthor": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "created": "2015-01-15T19:11:09.000+0000", "updated": "2015-01-19T17:43:49.000+0000" }, { "id": "346653", "author": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "body": "4_0_X: https://github.com/appcelerator/titanium/pull/207", "updateAuthor": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "created": "2015-03-20T05:04:27.000+0000", "updated": "2015-03-20T05:04:27.000+0000" }, { "id": "354672", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I see the fix but there is an issue:\r\n\r\n1. Do {code} appc ti sdk select 3.1.0.GA{code}. *You will see no warnings, but you should see them here.*\r\n2. Do {code}appc ti info{code} , *you will see the depreciation warnings along with Android & IOS warnings, which is expected.*\r\n{code}\r\n[WARN] Titanium 3.1.0 has been deprecated and will not work with future releases.\r\n[WARN] Please use Titanium 3.2 or newer.\r\n{code}.\r\n+Android:+\r\n{code}\r\nNOTE: The following Android information has been determined using deprecated detection logic. To\r\ndisplay more accurate information, install and select a Titanium SDK 3.2 or newer.\r\n{code}\r\n+IOS:+\r\n{code}\r\nNOTE: The following Xcode and iOS information has been determined using deprecated detection logic.\r\nTo display more accurate information, install and select a Titanium SDK 3.2 or newer.\r\n{code}\r\n3. Do {code} appc ti sdk select 4.0.0.GA or 4.1.0 SDK{code}, *you will still see the depreciation warnings as above for 3.1.0.GA SDK which should not be seen as we are selecting 4.0.0 or higher SDK.*\r\n4. If you again do {code} appc ti sdk select 4.0.0.GA or 4.1.0 SDK{code}, you don't see the warnings again.\r\n\r\nReopening as part of the fix is not right.\r\n\r\nEnvironment:\r\nAppc Studio : 4.1.0.201505071004\r\nTi SDK : 4.1.0.v20150605164428, 4.0.0.GA\r\nTi CLI : 4.0.1\r\nAlloy : 1.6.0\r\nMAC Yosemite : 10.10.3\r\nAppc npm : 4.0.0\r\nAppc CLI : 4.0.2-rc2\r\nNode: v0.10.37\r\nDevice - Android 5.0.1", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-06-09T16:58:45.000+0000", "updated": "2015-06-09T16:58:45.000+0000" }, { "id": "355097", "author": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "body": "master: https://github.com/appcelerator/titanium/pull/223\r\n4_0_X: https://github.com/appcelerator/titanium/pull/224", "updateAuthor": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "created": "2015-06-15T06:16:35.000+0000", "updated": "2015-06-15T06:16:35.000+0000" }, { "id": "357693", "author": { "name": "pinnamuri", "key": "pinnamuri", "displayName": "Praveen Innamuri", "active": false, "timeZone": "America/Los_Angeles" }, "body": "PR merged to master.", "updateAuthor": { "name": "pinnamuri", "key": "pinnamuri", "displayName": "Praveen Innamuri", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-07-14T21:06:48.000+0000", "updated": "2015-07-14T21:06:48.000+0000" }, { "id": "413279", "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-16T22:08:38.000+0000", "updated": "2017-03-16T22:08:38.000+0000" } ], "maxResults": 11, "total": 11, "startAt": 0 } } }