{ "id": "76612", "key": "TIMOB-4468", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "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": "11363", "description": "Mobile 1.8.0 M10", "name": "Sprint 2011-31", "archived": true, "released": true, "releaseDate": "2011-08-08" }, { "id": "11971", "description": "iOS5 and select Android fixes", "name": "Release 1.7.3", "archived": true, "released": true, "releaseDate": "2011-10-18" }, { "id": "11331", "description": "", "name": "Release 1.8.0", "archived": true, "released": true, "releaseDate": "2011-10-31" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-08-01T09:21:12.000+0000", "created": "2011-06-21T10:17:21.000+0000", "priority": { "name": "Trivial", "id": "5" }, "labels": [ "module_other", "verification" ], "versions": [ { "id": "11244", "name": "Release 1.7.0", "archived": true, "released": true, "releaseDate": "2011-06-13" } ], "issuelinks": [], "assignee": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2011-12-19T18:55:42.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": "10202", "name": "Android", "description": "Android Platform" } ], "description": "There's a HD ticket having this issue: http://support.appcelerator.com/display/APP-478438\r\n\r\nRationale: \r\nWhenever a newly created iphone module is imported into subversion, check out fails due to bug in the build.py script in the presence of .svn directories.\r\n\r\nSteps to replicate:\r\n\r\n1) create new module:\r\n\"/Library/Application Support/Titanium/mobilesdk/osx/1.7.0/titanium.py\" create --platform=iphone --type=module --dir=. --name=testmodule1 --id=com.test.testmodule1 --version=0.1\r\n\r\n2) import into subversion\r\n\r\n3) in a fresh directory checkout from subversion\r\n\r\n4) run ./build.py\r\nfails with the following message:\r\n---\r\nTraceback (most recent call last):\r\n File \"./build.py\", line 193, in \r\n package_module(manifest,mf,config)\r\n File \"./build.py\", line 173, in package_module\r\n docs = generate_doc(config)\r\n File \"./build.py\", line 57, in generate_doc\r\n md = open(os.path.join(docdir,file)).read()\r\nIOError: [Errno 21] Is a directory\r\nBuild step 'Execute shell' marked build as failure\r\n---\r\n", "attachment": [], "flagged": false, "summary": "Android: Created module check out fails due to .svn directories", "creator": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "environment": "+ **Product**: Module \r\n+ **Titanium SDK**: Mobile 1.7.0 RC1 \r\n+ **Platform OS**: iOS \r\n+ **Platform OS Version**: n/a", "comment": { "comments": [ { "id": "158999", "author": { "name": "dtoth", "key": "dtoth", "displayName": "Dawson Toth", "active": true, "timeZone": "America/New_York" }, "body": "The \"ignoreFiles\" portion is already fixed by [TIMOB-4554] and [TIMOB-4598]. I'll add directory ignoring as well, once I verify it is necessary.", "updateAuthor": { "name": "dtoth", "key": "dtoth", "displayName": "Dawson Toth", "active": true, "timeZone": "America/New_York" }, "created": "2011-07-08T07:06:53.000+0000", "updated": "2011-07-08T07:06:53.000+0000" }, { "id": "159002", "author": { "name": "dtoth", "key": "dtoth", "displayName": "Dawson Toth", "active": true, "timeZone": "America/New_York" }, "body": "Bumped up priority to this release, as this is a bit of an annoying bug without an easy fix for customers. It's really simple for us to fix, on the other hand.", "updateAuthor": { "name": "dtoth", "key": "dtoth", "displayName": "Dawson Toth", "active": true, "timeZone": "America/New_York" }, "created": "2011-07-08T07:32:43.000+0000", "updated": "2011-07-08T07:32:43.000+0000" }, { "id": "159003", "author": { "name": "dtoth", "key": "dtoth", "displayName": "Dawson Toth", "active": true, "timeZone": "America/New_York" }, "body": "h2. Pull Request\r\nSent in a pull request; it will now ignore directories, instead of crashing. Maybe in the future we can descend into directories and create a nice structure.\r\n\r\nhttps://github.com/appcelerator/titanium_mobile/pull/206", "updateAuthor": { "name": "dtoth", "key": "dtoth", "displayName": "Dawson Toth", "active": true, "timeZone": "America/New_York" }, "created": "2011-07-08T07:43:11.000+0000", "updated": "2011-07-08T07:43:11.000+0000" }, { "id": "159005", "author": { "name": "dtoth", "key": "dtoth", "displayName": "Dawson Toth", "active": true, "timeZone": "America/New_York" }, "body": "Note that the iOS version of this is being taken care of in [TIMOB-4554].", "updateAuthor": { "name": "dtoth", "key": "dtoth", "displayName": "Dawson Toth", "active": true, "timeZone": "America/New_York" }, "created": "2011-07-08T07:49:05.000+0000", "updated": "2011-07-08T07:49:05.000+0000" }, { "id": "159006", "author": { "name": "dtoth", "key": "dtoth", "displayName": "Dawson Toth", "active": true, "timeZone": "America/New_York" }, "body": "I've got an open pull request on this; just need someone on the platform team to verify and work ya'lls magic.", "updateAuthor": { "name": "dtoth", "key": "dtoth", "displayName": "Dawson Toth", "active": true, "timeZone": "America/New_York" }, "created": "2011-07-08T07:49:38.000+0000", "updated": "2011-07-08T07:49:38.000+0000" }, { "id": "167369", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Installed Subversion on Mac OS 10.6.8, Install \"Version\" subversion client for Mac. Created local repo. Modified titanium.py create command above from \"iphone\" to \"android\" platform. Created a module. Imported into Repo. Checked out in fresh folder. verified presence of .svn hidden folders in checked-out folder. Ran 1.7.3.v20110928185013/plugin/all/build.py on check-out folder. Did not fail, but did receive:\r\n[WARN] please update the manifest key: 'copyright' to a non-default value\r\n[WARN] please update the manifest key: 'license' to a non-default value\r\n[WARN] please update the LICENSE file with your license text before distributing\r\n\r\nverified zipped file: __project_id__-0.1.zip created.\r\n\r\nI repeated this process with SDK 1.7.0 but could not reproduce failure described in this bug.", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-09-29T14:21:58.000+0000", "updated": "2011-09-29T14:21:58.000+0000" }, { "id": "176668", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Based on previous testing and the following, closing:\r\nBased on test instructions from Bill for the root cause I verified building a module with extra folders in the docs.\r\nVerified with 1.8.0.1.RC3 ", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-12-19T18:55:42.000+0000", "updated": "2011-12-19T18:55:42.000+0000" } ], "maxResults": 8, "total": 8, "startAt": 0 } } }