[TIMOB-4711] Tooling: Mobile sdk contains '.svn' dir of csscompiler project
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2012-08-10T13:18:28.000+0000 |
Affected Version/s | Release 1.7.0, Release 2.0.1 |
Fix Version/s | Sprint 2012-16 Core, Release 2.1.2, Release 3.0.0 |
Components | Tooling |
Labels | SupportTeam, core, qe-port |
Reporter | Vasyl Zuzyak |
Assignee | Max Stepanov |
Created | 2011-07-19T08:25:27.000+0000 |
Updated | 2012-08-15T13:46:59.000+0000 |
Description
Its not nice do not remove '.svn' folder from production code since inside it migth be [security sensible information](http://www.techcrunch.com/2009/09/23/basic-flaw-reveals-source-code-to-3300-popular-websites/)
Attachments
File | Date | Size |
---|---|---|
Screen shot 2011-07-19 at 18.14.17 .png | 2011-07-19T08:26:01.000+0000 | 717153 |
I have noticed the same issue in v1.8. It seems to be limited to subfolders within the Resources directory; they continue to preserve their .svn folders. It could have to do with permissions. When the app is compiled, I think the SDK does not actually skip the ignored directories, but copies them over and then attempts to delete them. Either that or the ignore function does not perform a recursive check through the directory structure. TO REPRODUCE FOR IOS: Create a subfolder named "test" in your project's Resources directory. Create a hidden folder named .svn within the test folder. Add a file named "svntest" to the .svn folder. Run/Build the app. Keep an eye one your debug console for: [DEBUG] linking: /Path/To/Project/App Name/Resources/test/.svn/svntest to /Path/To/Project/App Name/build/iphone/build/Debug-iphoneos/App Name.app/test/.svn/svntest If you view the packaged contents of your app, you will see the .svn folder and svntest file (provided you are showing hidden files).
Is this going to get any attention? It is not limited to just v1.7.
Appcelerator, please (at least) confirm wether or not this is bug.
PR pending https://github.com/appcelerator/titanium_mobile/pull/2710
Backport PR https://github.com/appcelerator/titanium_mobile/pull/2735
Verified fix with: Titanium Studio, build: 2.1.1.201207271312 Titanium SDK: 2.1.2.v20120815081613 Mac osx 10.8 Mountain Lion