{ "id": "125796", "key": "TIMOB-16365", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "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": "15922", "description": "2014 Sprint 03", "name": "2014 Sprint 03", "archived": true, "released": true, "releaseDate": "2014-02-14" }, { "id": "15924", "description": "2014 Sprint 03 Core", "name": "2014 Sprint 03 Core", "archived": true, "released": true, "releaseDate": "2014-02-14" }, { "id": "15856", "description": "Release 3.2.1", "name": "Release 3.2.1", "archived": false, "released": true, "releaseDate": "2014-02-10" }, { "id": "15422", "description": "Release 3.3.0", "name": "Release 3.3.0", "archived": false, "released": true, "releaseDate": "2014-07-16" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2014-02-07T21:32:35.000+0000", "created": "2014-02-03T23:48:21.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [ { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "issuelinks": [ { "id": "35001", "type": { "id": "10000", "name": "Blocks", "inward": "is blocked by", "outward": "blocks" }, "outwardIssue": { "id": "126068", "key": "TIMOB-16420", "fields": { "summary": "CLI: Command \"build\" incompatible with this version of the CLI", "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": "Critical", "id": "1" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2014-06-19T12:43:08.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": "If you have a hook that requires a min CLI version like this:\r\n\r\n{code}\r\nexports.cliVersion = \">=3.2.1\";\r\n{code}\r\n\r\nThen it only works when the Titanium CLI version is in the format \"X.Y.Z.label\" and not \"X.Y.Z-label\".", "attachment": [], "flagged": false, "summary": "CLI: Command and Hook minimum CLI version does not work when CLI version contains a label like 3.2.1-beta", "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, "comment": { "comments": [ { "id": "291031", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Titanium CLI master pull request: https://github.com/appcelerator/titanium/pull/110\r\nTitanium CLI 3.2.x pull request: https://github.com/appcelerator/titanium/pull/112\r\n\r\nnode-appc master pull request: https://github.com/appcelerator/node-appc/pull/83\r\nnode-appc 3.2.x pull request: https://github.com/appcelerator/node-appc/pull/84", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2014-02-04T00:17:51.000+0000", "updated": "2014-02-04T00:26:22.000+0000" }, { "id": "291038", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "To test the CLI changes:\n\n1. create a directory called \"foo\"\n2. in that directory, create a file called \"bar.js\" with the following:\n\n{code}\nexports.cliVersion = '>=5.0.0'; // something big\n{code}\n\n3. add the directory to the paths.hooks:\n\n{code}\nti config paths.hooks -a /path/to/hook\n{code}\n\n4. update your cli version to have a \"-beta\" tag by either installing a beta release or editing /usr/local/lib/node_modules/titanium/package.json and setting the version to \"X.Y.Z-beta\"\n\n5. build any app and notice the warning at the top of the output saying the plugin was incompatible", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2014-02-04T00:26:14.000+0000", "updated": "2014-02-04T00:26:14.000+0000" }, { "id": "291961", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "To test the node-appc PR:\n\n1. clone the node-appc git repo\n2. cd node-appc\n3. npm install\n4. ./forge test version\n5. Some tests should fail\n6. git checkout -b timob-16365 origin/timob-16365\n7. ./forge test version\n8. All \"version\" tests should pass.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2014-02-07T21:18:10.000+0000", "updated": "2014-02-07T21:18:10.000+0000" }, { "id": "292178", "author": { "name": "sdowse", "key": "sdowse", "displayName": "Samuel Dowse", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified fixed on:\nMac OSX 10.9.1\nWindows 8.1\nAppcelerator Studio, build: 3.2.1.201402061120\nTitanium SDK, build: 3.2.1.v20140206170116\nCLI: 3.2.1-beta5\nAlloy: 1.3.1-cr2\nXcode: 5.0.2\n\nCreate, Build, Clean and Project work as expected across Android, BlackBerry, iOS, MobileWeb and Tizen.\nClosing.", "updateAuthor": { "name": "sdowse", "key": "sdowse", "displayName": "Samuel Dowse", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-02-10T18:04:09.000+0000", "updated": "2014-02-10T18:04:09.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }