[DAEMON-217] appcd-plugin-titanium-sdk: Titanium info service
GitHub Issue | n/a |
---|---|
Type | New Feature |
Priority | High |
Status | Resolved |
Resolution | Fixed |
Resolution Date | 2018-01-10T17:15:33.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Appc Daemon 1.1.0 |
Components | appcd-plugin-titanium |
Labels | n/a |
Reporter | Chris Barber |
Assignee | Chris Barber |
Created | 2018-01-09T22:51:38.000+0000 |
Updated | 2018-01-10T17:15:33.000+0000 |
Description
Create the
appcd-plugin-titanium-sdk
plugin and the "info" service. The "info" service is to detect installed Titanium SDKs and modules.
[~cbarber] I know this is still a wip, but one thing I noticed is modules clobbering each other due to version numbers being used as a key
[~eharris] How so?
modules
is an object keyed with the platform names, then sub-objects keyed with the version. It's the same as what's on disk.That's not how the code reads/what I'm seeing. I have a 2.2.0 of hyperloop and ti.touchid on disk. But due to it being [modules\[module.platform\]\[module.version\] = module;](https://github.com/appcelerator/appcd-plugin-titanium-sdk/blob/2396f74359e734867166d755df73d6e6a485bbc6/src/info-service.js#L197), touchid clobbers hyperloop, should it be
modules\[module.platform\]\[module.manifest.name\][module.version\]
?Doh! OK, thanks!