{ "id": "111740", "key": "ALOY-590", "fields": { "issuetype": { "id": "7", "description": "gh.issue.story.desc", "name": "Story", "subtask": false }, "project": { "id": "11113", "key": "ALOY", "name": "Alloy", "projectCategory": { "id": "10400", "description": "Tools for developing applications", "name": "Tooling" } }, "fixVersions": [ { "id": "15402", "description": "Alloy 1.2.0, concurrent with SDK 3.1.0", "name": "Alloy 1.2.0", "archived": false, "released": true, "releaseDate": "2013-08-15" }, { "id": "15395", "description": "2013 Sprint 07", "name": "2013 Sprint 07", "archived": true, "released": true, "releaseDate": "2013-04-08" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-04-02T17:53:36.000+0000", "created": "2013-03-26T21:52:10.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [], "versions": [], "issuelinks": [ { "id": "27013", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "106551", "key": "ALOY-424", "fields": { "summary": "As a Titanium Developer, I want to use Alloy to develop an app for Blackberry platform", "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": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false } } } } ], "assignee": null, "updated": "2018-03-07T22:25:42.000+0000", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "12332", "name": "Titanium SDK", "description": "Any integration or issues with the TiSDK" } ], "description": "Blackberry support was recently added to Alloy (ALOY-424). While it wasn't terribly complicated it took a little more than a day to implement and test to make sure all the various functionality regarding platforms was accounted for. In order to make this easier with future platforms, it would be ideal to abstract the bits of platform-specific functionality into config files that will make this trivial in the future, as simple as a one-file pull request against Alloy by the platform creator.\r\n\r\nh2. Notes on adding platforms\r\n\r\n_this information was learned during the process of adding Blackberry to Alloy_\r\n\r\n* Add platform to:\r\n** CONST.PLATFORMS\r\n** CONST.PLATFORM_FOLDERS\r\n** CONST.PLATFORM_FOLDERS_ALLOY\r\n* Add platform conditional optimization to compile/optimizer.js\r\n* Add platform to CONDITION_MAP in compile/index.js\r\n* Add platform to config.json and widget.json templates, if appropriate\r\n* Add platform to appropriate adapters in info command\r\n* Add platform to platforms in optimizer.js test\r\n* Add platform-specific folder to top-level Resources folder \r\n* HarnessTemplate \r\n** Add platform-specific resources folder\r\n** Need to enable the platform in the tiapp.xml\r\n* test specs\r\n** add new platform to the \"platforms\" object in test spec optimizer.js", "attachment": [], "flagged": false, "summary": "Abstract platform-specific checks and functionality in Alloy to make adding platforms trivial", "creator": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "245216", "author": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "body": "The process of adding new mobile platforms has now been made significantly easier. For full details on what is necessary to add a new platform to Alloy and be able to leverage all of Alloy's features, check the following wiki documentation: https://wiki.appcelerator.org/display/pe/Adding+Platforms+to+Alloy\r\n\r\nThis document is only available internally as a prerequisite for adding a platform to Alloy is obviously that it must have a corresponding Titanium SDK. If a community developer creates a new compatible Titanium SDK that they wish to have integrated into Alloy, I'll be more than happy to share the doc. :)", "updateAuthor": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-02T17:53:36.000+0000", "updated": "2013-04-02T17:53:36.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }