{ "id": "159408", "key": "ALOY-1489", "fields": { "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false }, "project": { "id": "11113", "key": "ALOY", "name": "Alloy", "projectCategory": { "id": "10400", "description": "Tools for developing applications", "name": "Tooling" } }, "fixVersions": [], "resolution": null, "resolutiondate": null, "created": "2016-04-08T08:39:14.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [], "versions": [], "issuelinks": [ { "id": "51287", "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 } } } }, { "id": "51291", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "159410", "key": "TIMOB-23173", "fields": { "summary": "Support defining supported SDK version range in tiapp.xml", "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": "Low", "id": "4" }, "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false } } } } ], "assignee": { "name": "batman", "key": "batman", "displayName": "Bruce Wayne", "active": true, "timeZone": "America/New_York" }, "updated": "2016-04-08T08:46:08.000+0000", "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" } }, "components": [ { "id": "13604", "name": "Tooling", "description": "Items related to Alloy tooling and workflow" } ], "description": "I'd like to be able to set a supported Alloy version range for an app in {{config.json}}:\r\n\r\n{code:js}\r\n{\r\n\t\"global\": {\r\n\t\t\"supportedAlloyVersions\": \">=1.5.0 <1.8.0\"\r\n\t},\r\n\t...\r\n}\r\n{code}\r\n\r\nWhen Alloy compiles it should check if the Alloy version used to compile is supported by the Alloy app and if not fail with a clear message:\r\n\r\n{code}\r\n[INFO] Found Alloy app in /Users/fokkezb/dev/projects/ti-html2as/example/app\r\n[INFO] Executing Alloy compile: /Users/fokkezb/.nvm/versions/node/v0.12.13/bin/node /usr/local/bin/alloy compile /Users/fokkezb/dev/projects/ti-html2as/example/app --config platform=ios,version=0,simtype=none,devicefamily=universal,deploytype=development,target=simulator\r\n[ERROR] Alloy app supports Alloy >=1.5.0 <1.8.0, not 1.8.2\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 often require the latest Alloy version to be used and might not always be updated for later Alloy versions (DE-359).\r\n\r\nBut it would also make sense for open source apps and even in larger development teams it would be great to know why a project fails building instead of having to figure out what Alloy version an app was made for.", "attachment": [], "flagged": false, "summary": "Support defining supported Alloy version range in config.json", "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": [], "maxResults": 0, "total": 0, "startAt": 0 } } }