{ "id": "94013", "key": "TIMOB-9823", "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": [ { "id": "13872", "description": "", "name": "Sprint 2012-16 Core", "archived": true, "released": true, "releaseDate": "2012-08-13" }, { "id": "14096", "description": "Release 2.1.2", "name": "Release 2.1.2", "archived": true, "released": true, "releaseDate": "2012-08-31" }, { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-08-09T15:30:13.000+0000", "created": "2012-06-27T14:47:05.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "core" ], "versions": [ { "id": "13272", "description": "Release 2.0.1", "name": "Release 2.0.1", "archived": true, "released": true, "releaseDate": "2012-04-16" } ], "issuelinks": [], "assignee": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2012-11-26T22:03:06.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": "For the JSDuck generator, I'm trying to improve the display of the \"since\" dates, but the logic is complicated when dealing with per-platform since dates. For example, given:\r\n\r\nsince: { android: \"2.1.0\" }\r\n\r\nThe generator just gets the object. To turn it into a reasonable display, it needs to figure out:\r\n\r\n- which platforms are supported\r\n- the default \"since\" values for each of those platforms, since they're not specified\r\n- whether the enclosing object has a since: date on it, which we should use instead of the default \"since\" date, if it's newer\r\n\r\nIt would be excellent if docgen could collate this information, and replace the partial \"since\" object with a complete one. This would make it trivial to display since.\r\n", "attachment": [], "flagged": false, "summary": "Tooling: Collate platform-since versions before calling generator", "creator": { "name": "aevans", "key": "aevans", "displayName": "Arthur Evans", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "aevans", "key": "aevans", "displayName": "Arthur Evans", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "213103", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "@ARTHUR: Would it be possible for me to run your jsduck scripts (or whatever it is that gets the output) so I can see how you grab values from \"my\" scripts? Would make it easier to test any changes I make.", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2012-08-07T06:57:53.000+0000", "updated": "2012-08-07T06:57:53.000+0000" }, { "id": "213399", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "@ARTHUR: Thanks. I need access to https://github.com/appcelerator/tiduck, though, to get started.", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2012-08-08T14:35:13.000+0000", "updated": "2012-08-08T14:35:13.000+0000" }, { "id": "213630", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "An example for testing is the method Ti.Map.View.addRoute, which just got introduced in Android in 2.1.0, is now supported on all platforms, but has no \"since\" entries for iPad, iPhone or MobileWeb. iPhone and iPad should get the default \"minimumstest\" version number, and MobileWeb should get its first version number.", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2012-08-09T13:08:45.000+0000", "updated": "2012-08-09T13:08:55.000+0000" }, { "id": "213651", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "h3. Testing Notes\r\n\r\nThis just tests the change I made, which is to be sure that a documented object (type/method/property/event/etc.) can't have a \"since\" version number that is lower (i.e., older) than any of its parents in the hierarchy. Example: it wouldn't make sense for a method to be since 0.9 if the type itself is only since 2.1.0.\r\n\r\n1. Open apidoc/Titanium/Map/View.yml in your most favoritestest text editor in the whole wide world. (i.e., vi).\r\n2. Change the View type's \"since\" to \r\n\r\n{code}\r\nsince: {mobileweb: \"2.1.0\"}\r\n{code}\r\n\r\n3. Save the file.\r\n4. Run {{python apidoc/docgen.py}}.\r\n5. When it's finished, open dist/apidoc/index.html in a browser.\r\n6. Navigate to Titanium.Map.View.\r\n7. Click the entry for the {{addRoute}} method.\r\n8. It should show that iphone and ipad are since 0.8, mobileweb is since 2.1.0 and android is since 2.1.0.\r\n\r\nIf you look at the {{addRoute}} doc entry, you'll see that mobileweb's \"since\" is not specified. Normally that would mean it defaults to 1.8, when mobileweb came into existence. But because View is set to mobileweb: \"2.1.0\", then {{addRoute}} can't possibly be as old as 1.8.0.", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2012-08-09T14:30:54.000+0000", "updated": "2012-08-09T14:30:54.000+0000" }, { "id": "213653", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "Pull request for master branch ready:\r\n\r\nhttps://github.com/appcelerator/titanium_mobile/pull/2711\r\n\r\nIf this will end up being needed for 2.1.2, just a) set the merge-2.1.2 label; b) shoot me a little note in case i don't notice the label. :)", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2012-08-09T14:40:18.000+0000", "updated": "2012-08-09T14:40:18.000+0000" }, { "id": "213752", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "2_1_X branch cherry-pick Pull Request ready:\r\n\r\nhttps://github.com/appcelerator/titanium_mobile/pull/2714", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2012-08-10T07:09:32.000+0000", "updated": "2012-08-10T07:09:32.000+0000" }, { "id": "228533", "author": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested with 3.0.0.v20121121161553", "updateAuthor": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-11-26T22:03:06.000+0000", "updated": "2012-11-26T22:03:06.000+0000" } ], "maxResults": 10, "total": 10, "startAt": 0 } } }