Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-4711] Tooling: Mobile sdk contains '.svn' dir of csscompiler project

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2012-08-10T13:18:28.000+0000
Affected Version/sRelease 1.7.0, Release 2.0.1
Fix Version/sSprint 2012-16 Core, Release 2.1.2, Release 3.0.0
ComponentsTooling
LabelsSupportTeam, core, qe-port
ReporterVasyl Zuzyak
AssigneeMax Stepanov
Created2011-07-19T08:25:27.000+0000
Updated2012-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

FileDateSize
Screen shot 2011-07-19 at 18.14.17 .png2011-07-19T08:26:01.000+0000717153

Comments

  1. George Hess 2012-02-02

    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).
  2. George Hess 2012-04-04

    Is this going to get any attention? It is not limited to just v1.7.
  3. George Hess 2012-06-19

    Appcelerator, please (at least) confirm wether or not this is bug.
  4. Max Stepanov 2012-08-09

    PR pending https://github.com/appcelerator/titanium_mobile/pull/2710
  5. Max Stepanov 2012-08-13

    Backport PR https://github.com/appcelerator/titanium_mobile/pull/2735
  6. Olga Romero 2012-08-15

    Verified fix with: Titanium Studio, build: 2.1.1.201207271312 Titanium SDK: 2.1.2.v20120815081613 Mac osx 10.8 Mountain Lion

JSON Source