[TIMOB-28128] CLI: SDK install not preserving symlinks inside zip file
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Critical |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2020-09-22T22:42:56.000+0000 |
Affected Version/s | n/a |
Fix Version/s | titanium 5.2.3, appc-cli-8.1.1 |
Components | CLI |
Labels | n/a |
Reporter | Christopher Williams |
Assignee | Christopher Williams |
Created | 2020-09-11T18:16:53.000+0000 |
Updated | 2020-09-22T22:43:07.000+0000 |
Description
macOS xcframework make extensive use of symlinks (mostly symlinked folders). The 3rd-party npm package we use to unzip (AdmZip) does not support symlinks and mangles the extracted symlinks in the SDK zip file.
I've been able to work around this in our build scripts, but it shows up in module builds if we use the CLI to install the SDK we want to build against - and therefore will show up for end developers.
PR to fix this in node-appc: https://github.com/appcelerator/node-appc/pull/283 Will need to be merged, released and rolled into
titanium
cli (which then would need to be released). Form what [~eharris] stated, it sounds liketitaniumlib
has the same issue so a fix would need to get in there?node-appc PR merged, next steps: * Update node-appc inside titanium cli * Update titanium cli inside appc-cli/appc-cli-titanium Alongside that, I will update titaniumlib and release new versions of the editors early next week
titanium cli 5.2.3 contains the updated node-appc from https://github.com/appcelerator/titanium/pull/359
titanium lib PR: https://github.com/appcelerator/titaniumlib/pull/27/files