{ "id": "163523", "key": "TIMOB-23958", "fields": { "issuetype": { "id": "7", "description": "gh.issue.story.desc", "name": "Story", "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": "17609", "description": "", "name": "Release 7.0.0", "archived": false, "released": true, "releaseDate": "2017-12-07" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2017-08-14T14:54:35.000+0000", "created": "2016-09-28T16:15:17.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [], "versions": [], "issuelinks": [ { "id": "52821", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "163532", "key": "TISTUD-8605", "fields": { "summary": "Studio must no longer rely on wait_for_device.py", "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": "High", "id": "2" }, "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false } } } } ], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2017-12-07T18:40:28.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": "The Python files in the Titanium SDK are deprecated and no longer maintained. They must be removed!\r\n\r\nWe will need to make sure that Jenkins and Studio are not broken.", "attachment": [], "flagged": false, "summary": "Remove deprecated Python and unused files", "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, "closedSprints": [ { "id": 940, "state": "closed", "name": "2017 Sprint 17 Tooling", "startDate": "2017-08-13T23:08:06.803Z", "endDate": "2017-08-27T23:08:00.000Z", "completeDate": "2017-08-27T21:14:05.511Z", "originBoardId": 219 } ], "comment": { "comments": [ { "id": "397562", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Ti SDK master PR: https://github.com/appcelerator/titanium_mobile/pull/8444\r\nTi SDK 6_0_X PR: https://github.com/appcelerator/titanium_mobile/pull/8445\r\n\r\nI 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.\r\n\r\nI 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.\r\n\r\nI did not touch {{apidoc}} (yet). I'm waiting for [~bimmel] to investigate whether {{docgen.py}} and {{validate.py}} can be removed.\r\n\r\nThere are a few remaining Python dependencies. The Android scons build relies on {{genBootstrap.py}} which in turn relies on {{simplejson}}. Mobile Web's module build still uses {{build.py}} which relies on {{markdown}} and {{simplejson}}. The new module build system does not support Mobile Web modules, so we need to keep {{build.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.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2016-09-28T20:49:17.000+0000", "updated": "2016-09-28T20:49:17.000+0000" }, { "id": "397601", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "body": "APPROVED.", "updateAuthor": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-09-29T06:22:37.000+0000", "updated": "2016-09-29T06:22:37.000+0000" }, { "id": "397613", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Reopened ticket. Was testing against a wrongly built SDK. see comments from [~hansknoechel] in git.", "updateAuthor": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-09-29T09:24:09.000+0000", "updated": "2016-09-29T09:24:09.000+0000" }, { "id": "397617", "author": { "name": "jvennemann", "key": "jvennemann", "displayName": "Jan Vennemann", "active": true, "timeZone": "Europe/Berlin" }, "body": "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.\r\n\r\nBefore PR:\r\n{code}\r\n~/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.v20160928162545/module/android ❱❱❱ ll\r\ntotal 600\r\ndrwxr-xr-x 8 jvennemann staff 272 Sep 29 11:52 templates\r\n-rw-r--r-- 1 jvennemann staff 10644 Sep 29 11:52 jsmin.py\r\n-rwxr-xr-x 1 jvennemann staff 10647 Sep 29 11:52 js2c.py\r\ndrwxr-xr-x 9 jvennemann staff 306 Sep 29 11:52 generated\r\ndrwxr-xr-x 7 jvennemann staff 238 Sep 29 11:52 documentation\r\n-rw-r--r-- 1 jvennemann staff 19814 Sep 29 11:52 build.xml\r\n-rwxr-xr-x 1 jvennemann staff 11678 Sep 29 11:52 bootstrap.py\r\n-rw-r--r-- 1 jvennemann staff 15108 Sep 29 11:52 ant-tasks.jar\r\n-rw-r--r-- 1 jvennemann staff 224277 Sep 29 11:52 ant-contrib-1.0b3.jar\r\n-rw-r--r-- 1 jvennemann staff 7570 Sep 29 11:52 android.py\r\n{code}\r\n\r\nAfter PR:\r\n{code}\r\n~/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.v20160928232246/module/android ❱❱❱ ll\r\ntotal 520\r\n-rw-r--r-- 1 jvennemann staff 10644 Sep 29 11:55 jsmin.py\r\n-rwxr-xr-x 1 jvennemann staff 10647 Sep 29 11:55 js2c.py\r\n-rw-r--r-- 1 jvennemann staff 15108 Sep 29 11:55 ant-tasks.jar\r\n-rw-r--r-- 1 jvennemann staff 224277 Sep 29 11:55 ant-contrib-1.0b3.jar\r\n{code}\r\n\r\nExcerpt from the Hyperloop build log:\r\n{code}\r\n01:28:40 \u001b[32mRunning build\u001b[39m\r\n01:28:42 ✓ Current Titanium SDK is 6.1.0.v20160929000431\r\n01:28:42 Building Android module...\r\n01:28:43 Buildfile: /private/var/lib/jenkins/Library/Developer/org.jenkins-ci.slave.jnlp/workspace/hyperloop-next/android/build.xml\r\n01:28:43 \r\n01:28:43 BUILD FAILED\r\n01:28:43 /private/var/lib/jenkins/Library/Developer/org.jenkins-ci.slave.jnlp/workspace/hyperloop-next/android/build.xml:86: Cannot find /private/var/lib/jenkins/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.v20160929000431/module/android/build.xml imported from /private/var/lib/jenkins/Library/Developer/org.jenkins-ci.slave.jnlp/workspace/hyperloop-next/android/build.xml\r\n{code}", "updateAuthor": { "name": "jvennemann", "key": "jvennemann", "displayName": "Jan Vennemann", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-09-29T10:01:25.000+0000", "updated": "2016-09-29T10:18:43.000+0000" }, { "id": "397619", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Reverting PRs for now. Sorry.", "updateAuthor": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-09-29T10:13:08.000+0000", "updated": "2016-09-29T10:13:08.000+0000" }, { "id": "397652", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Take two...\r\n\r\nTi SDK master PR: https://github.com/appcelerator/titanium_mobile/pull/8453\r\nTi SDK 6_0_X PR: https://github.com/appcelerator/titanium_mobile/pull/8454\r\n\r\nI 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.\r\n\r\nI 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.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2016-09-29T17:00:07.000+0000", "updated": "2016-09-29T17:00:07.000+0000" }, { "id": "397820", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "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.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-10-01T09:35:51.000+0000", "updated": "2016-10-01T09:35:51.000+0000" }, { "id": "398627", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "[~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.\r\n[~hknoechel] (corrected ID) ^^", "updateAuthor": { "name": "amukherjee", "key": "amukherjee", "displayName": "Abir Mukherjee", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-10-11T22:09:40.000+0000", "updated": "2017-11-15T08:00:33.000+0000" }, { "id": "431856", "author": { "name": "amukherjee", "key": "amukherjee", "displayName": "Abir Mukherjee", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Changes seen in SDK 7.0.0.v20171205132934.", "updateAuthor": { "name": "amukherjee", "key": "amukherjee", "displayName": "Abir Mukherjee", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-12-07T18:40:28.000+0000", "updated": "2017-12-07T18:40:28.000+0000" } ], "maxResults": 9, "total": 9, "startAt": 0 } } }