{ "id": "159410", "key": "TIMOB-23173", "fields": { "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "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": [], "resolution": { "id": "2", "description": "The problem described is an issue which will never be fixed.", "name": "Won't Fix" }, "resolutiondate": "2020-02-06T06:55:59.000+0000", "created": "2016-04-08T08:45:47.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "cb-tooling" ], "versions": [], "issuelinks": [ { "id": "51291", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "159408", "key": "ALOY-1489", "fields": { "summary": "Support defining supported Alloy version range in config.json", "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": "None", "id": "6" }, "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false } } } }, { "id": "51290", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "159340", "key": "DE-359", "fields": { "summary": "Update Sample Apps to support Ti SDK 5.2.2.GA", "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": "7", "description": "gh.issue.story.desc", "name": "Story", "subtask": false } } } } ], "assignee": null, "updated": "2020-02-06T08:14:42.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": "I'd like to be able to set a supported Titanium SDK version range for an app in {{tiapp.xml}}:\r\n\r\n{code:xml}\r\n\r\n\t..\r\n\t=5.1.0 <5.2.2\">5.2.0.GA\r\n\r\n{code}\r\n\r\nWhen Titanium compiles it should check if the Titanium version used to compile is supported by the app and if not fail with a clear message:\r\n\r\n{code}\r\n[ERROR] Titanium app supports SDK >=5.1.0 <5.2.2, not 3.5.1.GA\r\n{code}\r\n\r\nThe primary use case for this are our [release sample apps|https://github.com/appcelerator-developer-relations/?query=appc-sample-ti] which require the (at the moment of release) latest SDK version to be used and might not always be updated for later SDK versions (DE-359).\r\n\r\nNow I know that these sample apps have a {{5.2.0.GA}} set to the SDK they were made for, but if you don't have this SDK and you import the sample it will simply use the last SDK version you have and then the build will probably fail with all kinds of errors.", "attachment": [], "flagged": false, "summary": "Support defining supported SDK version range in tiapp.xml", "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": null, "comment": { "comments": [ { "id": "451754", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "I don't know if I can get behind this feature request. I admit switching the {{}} is a pain, but perhaps it would be more tolerable as a CLI option?", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2019-10-02T05:18:24.000+0000", "updated": "2019-10-02T05:18:24.000+0000" }, { "id": "454088", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Sorry, but this ticket is a bad idea. The upcoming project template overhaul will support a similar feature with a semver range of compatible Titanium SDKs, Another option is to just leave the {{}} empty and it'll use the latest installed SDK, which is arguably worse.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2020-02-06T06:55:59.000+0000", "updated": "2020-02-06T06:55:59.000+0000" }, { "id": "454089", "author": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "body": "The semver will address the same need! (y)", "updateAuthor": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2020-02-06T08:14:42.000+0000", "updated": "2020-02-06T08:14:42.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }