{ "id": "87317", "key": "TIMOB-8310", "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": [], "resolution": { "id": "2", "description": "The problem described is an issue which will never be fixed.", "name": "Won't Fix" }, "resolutiondate": "2016-08-24T05:40:38.000+0000", "created": "2012-03-03T10:31:14.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "git", "performance" ], "versions": [], "issuelinks": [], "assignee": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-16T21:34:22.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": "10224", "name": "TiAPI", "description": "This component is used for cross-platform API work. Specifications are most likely to use this component." } ], "description": "The iPhone building process is getting very heavy if you have multiple git repositories in the project. \r\nI changed the build compiler.py so its does not link the \".git\" folders.\r\ncheck out: http://developer.appcelerator.com/question/132241/stop-ios-simulator-startup-git-linking\r\n\r\n\r\n{code:title=compiler.py|borderStyle=solid}\r\n#line 145\r\ndef softlink_resources(source,target,use_ignoreDirs=True):\r\n\tif not os.path.exists(target):\r\n\t\tos.makedirs(target)\r\n\tfor file in os.listdir(source):\r\n\t\tif (use_ignoreDirs and (file in ignoreDirs)) or (file in ignoreFiles):\r\n\t\t\tcontinue\r\n\t\tfrom_ = os.path.join(source, file)\r\n\t\tto_ = os.path.join(target, file)\r\n\t\tif os.path.isdir(from_):\r\n\t\t\t#NAPP CMS - start custom code\r\n\t\t\tif re.match(r\"^.*\\.git.*$\", from_):\r\n\t\t\t\tprint \"[EXCLUDING] git repository: %s\" % (from_)\r\n\t\t\t\tcontinue\r\n\t\t\telse:\r\n\t\t\t\t#NAPP CMS - end custom code\r\n\t\t\t\tprint \"[DEBUG] creating: %s\" % (to_)\r\n\t\t\t\tsoftlink_resources(from_,to_,False)\t\r\n\t\telse:\r\n\t\t\tprint \"[DEBUG] linking: %s to %s\" % (from_,to_)\r\n\t\t\tif os.path.exists(to_):\r\n\t\t\t\tif os.path.islink(to_):\r\n\t\t\t\t\tos.remove(to_)\r\n\t\t\t\t\tos.symlink(from_, to_)\r\n\t\t\telse:\r\n\t\t\t\tos.symlink(from_, to_)\r\n{code} \r\n\r\nI hope you can use it. ", "attachment": [], "flagged": false, "summary": "Exclude Git repository compiler.py", "creator": { "name": "viezel", "key": "viezel", "displayName": "Mads Moller", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "viezel", "key": "viezel", "displayName": "Mads Moller", "active": true, "timeZone": "Europe/Berlin" }, "environment": null, "comment": { "comments": [ { "id": "394057", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "The old Python-based build scripts are no longer supported. No sense fixing this now.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2016-08-24T05:40:38.000+0000", "updated": "2016-08-24T05:40:38.000+0000" }, { "id": "413123", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as the issue won't fix.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-16T21:34:22.000+0000", "updated": "2017-03-16T21:34:22.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }