{ "id": "163808", "key": "TIMOB-24000", "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": "17609", "description": "", "name": "Release 7.0.0", "archived": false, "released": true, "releaseDate": "2017-12-07" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2017-11-13T21:59:48.000+0000", "created": "2016-10-07T10:53:25.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "cb-tooling", "qe-6.0.0" ], "versions": [ { "id": "16980", "description": "New V8", "name": "Release 6.0.0", "archived": false, "released": true, "releaseDate": "2016-11-15" }, { "id": "18253", "name": "Release 5.5.0", "archived": false, "released": true, "releaseDate": "2016-09-13" } ], "issuelinks": [ { "id": "56178", "type": { "id": "10001", "name": "Cloners", "inward": "is cloned into", "outward": "is cloned from" }, "inwardIssue": { "id": "170462", "key": "TIMOB-25561", "fields": { "summary": "CLI: Module build should error if the apiversion in manifest does not match the SDKs apiversion ", "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 } } } }, { "id": "56108", "type": { "id": "10122", "name": "Gantt: start-finish", "inward": "is triggered by", "outward": "is triggering" }, "outwardIssue": { "id": "170158", "key": "TIDOC-3053", "fields": { "summary": "Record the min ti sdk for a given apiversion", "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" } }, "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 } } } }, { "id": "56138", "type": { "id": "10122", "name": "Gantt: start-finish", "inward": "is triggered by", "outward": "is triggering" }, "outwardIssue": { "id": "170297", "key": "TIMOB-25509", "fields": { "summary": "Module build should automatically update manifest `apiversion` and `minSDK`", "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": "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-11-27T10:07:58.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": "h5.Description\r\n\r\nWhen building a module if the apiversion in the manifest does not match the platforms apiversion in the SDK then the module build should fail. Currently if the apiversion is different then the build will take place and the user will produce a module that is not considered to be valid for the SDK it is build against. For example.\r\n\r\n* Developer rebuilds Android module for 6.0.0, forgetting to bump apiversion\r\n* User of module downloads the new module, and tries to build\r\n* Build fails as the apiversion does not match\r\n\r\nh5.Steps to reproduce\r\n\r\n# Create a module using {{ti create -p android --type module --name mymodule --id com.my.mod}}\r\n# Change the maifest apiversion to 2\r\n# Build for Android using 6.X SDK\r\n\r\nh5.Actual result\r\n\r\nBuild takes place despite the differing apiversions between SDK and module\r\n\r\nh5.Expected result\r\n\r\nBuild should fail as the apiversions are different", "attachment": [], "flagged": false, "summary": "CLI: Module build should error if the apiversion in manifest does not match the SDKs apiversion ", "creator": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "subtasks": [], "reporter": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "environment": "OS: Microsoft Windows 10 Pro 10.0.14393\r\nAppc core: 6.0.0-57\r\nAppc NPM: 4.2.8-7\r\nTi SDK: 6.0.0.v20160929001638\r\nAppc Studio: 4.8.0.201610060953", "comment": { "comments": [ { "id": "426165", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "[~eharris] Do you think we can make this into 6.2.0 or should it be moved to 7.0.0? Trying to slim down the open tickets a bit.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-08-08T12:48:23.000+0000", "updated": "2017-08-08T12:48:23.000+0000" }, { "id": "426249", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "I see no urgent need for this to be in 6.2.0, it should probably be done for 7.0.0 to prevent any errors when people rebuild modules agains", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2017-08-08T20:00:45.000+0000", "updated": "2017-08-08T20:00:45.000+0000" }, { "id": "429741", "author": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "body": "PR: https://github.com/appcelerator/titanium_mobile/pull/9563\r\n\r\nNote: {{apiversion}} and {{minsdk}} probably could be the product of the build, they should be injected into the build module's manifest when we have a record of the exact version number that's the min for a given apiversion.", "updateAuthor": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "created": "2017-10-27T16:32:06.000+0000", "updated": "2017-10-27T16:32:06.000+0000" }, { "id": "430548", "author": { "name": "amukherjee", "key": "amukherjee", "displayName": "Abir Mukherjee", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Passed FR. Merged. Changes seen in SDK 7.0.0.v20171114202841.", "updateAuthor": { "name": "amukherjee", "key": "amukherjee", "displayName": "Abir Mukherjee", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-11-13T21:59:36.000+0000", "updated": "2017-11-15T05:20:00.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }