[TIMOB-23958] Remove deprecated Python and unused files
GitHub Issue | n/a |
---|---|
Type | Story |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2017-08-14T14:54:35.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 7.0.0 |
Components | Tooling |
Labels | n/a |
Reporter | Chris Barber |
Assignee | Chris Barber |
Created | 2016-09-28T16:15:17.000+0000 |
Updated | 2017-12-07T18:40:28.000+0000 |
Description
The Python files in the Titanium SDK are deprecated and no longer maintained. They must be removed!
We will need to make sure that Jenkins and Studio are not broken.
Ti SDK master PR: https://github.com/appcelerator/titanium_mobile/pull/8444 Ti SDK 6_0_X PR: https://github.com/appcelerator/titanium_mobile/pull/8445 I checked Studio and the only remaining Python dependency is on
wait_for_device.py
. I created TISTUD-8605 for Studio to distribute this file itself. I tested building the SDK, creating Titanium apps, Titanium modules, and Apple Watch extensions. I tested building apps and modules for all platforms from the CLI. I did not touchapidoc
(yet). I'm waiting for [~bimmel] to investigate whetherdocgen.py
andvalidate.py
can be removed. There are a few remaining Python dependencies. The Android scons build relies ongenBootstrap.py
which in turn relies onsimplejson
. Mobile Web's module build still usesbuild.py
which relies onmarkdown
andsimplejson
. The new module build system does not support Mobile Web modules, so we need to keepbuild.py
working. On a side note, Mobile Web module build also relies on a Java CLI tool that I wrote a long time ago that wraps the Closure Compiler. These can be nuked when Mobile Web is removed.APPROVED.
Reopened ticket. Was testing against a wrongly built SDK. see comments from [~hansknoechel] in git.
The Hyperloop build fails due to missing build.xml file in the
module/android
directory after this PR was merged. Not sure which script causes this so hopefully the following list of files helps. Before PR:After PR:
Excerpt from the Hyperloop build log:
Reverting PRs for now. Sorry.
Take two... Ti SDK master PR: https://github.com/appcelerator/titanium_mobile/pull/8453 Ti SDK 6_0_X PR: https://github.com/appcelerator/titanium_mobile/pull/8454 I fixed the missing license file and iOS files. I commented out the locale and css compile from the Titanium Xcode project's pre-compile phase. I did NOT add back the supporting Android files for modules. Any Android module that depended on them must stop using ant and start using the new module build system.
The build-error is fixed now. However, the sim-builds seem to not get the localized values of the i18n files anymore. Works on the device and 6_0_X / master though.
[~hansknoechel] We will have to figure out a better setup for you and the rest of the iOS team. Relying on a pre-compile script is not ideal. The build system is more complicated these days with resource handling, Alloy, Hyperloop, and so on. Perhaps there's something we can do in the daemon to accommodate this? I need to think about this. [~hknoechel] (corrected ID) ^^
Changes seen in SDK 7.0.0.v20171205132934.