Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Trivial Trivial
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: Backlog
    • Component/s: indexing
    • Labels:
      None

      Description

      {html}<div><p>Aptana 3.0.0.201011100254 is indexing files and folders inside
      of .svn directories.</p>
      <p>I noticed the .svn file paths in the progress panel of
      indexing.</p>
      <p>Aptana should not be indexing .svn folders.</p></div>{html}

        Activity

        Hide
        Ingo Muschenetz added a comment -
        {html}<div><p>Suggested fix for the issue:</p>
        <ol>
        <li>Right-click on file to "Ignore files of this type for
        indexing". This would be cross-project<br></li>
        <li>Add preference page UI to Add/Remove/Inspect indexing
        exclusions</li>
        </ol></div>{html}
        Show
        Ingo Muschenetz added a comment - {html}<div><p>Suggested fix for the issue:</p> <ol> <li>Right-click on file to "Ignore files of this type for indexing". This would be cross-project<br></li> <li>Add preference page UI to Add/Remove/Inspect indexing exclusions</li> </ol></div>{html}
        Hide
        Daniel Ennis added a comment -
        {html}<div><p>I would think this should be fixed with no requirement from the
        users.</p>
        <p>It should just be a global setting that .git and .svn and other
        meta folders from VCS should be auto ignored.<br>
        If you want you can add additional checking that when Aptana finds
        a .git or .svn folder, it checks the contents to see if it looks
        like a valid VCS folder, and if so ignore, if not, index it.</p>
        <p>However I would opt to say that anyone doing development knows
        what .svn and .git folders are for, and would not choose to put
        their files in a folder named as such.</p>
        <p>And if they did, that would be a bad choice, and I don't think
        Aptana should trouble themselves to support people making bad
        choices, when its going to be a very rare chance of legit files
        being in an scm named folder.</p>
        <p>So ideally, Aptana should have a default on option "Ignore
        common VCS directories from Indexing" as a global config, maybe
        overrideable on a project level?</p></div>{html}
        Show
        Daniel Ennis added a comment - {html}<div><p>I would think this should be fixed with no requirement from the users.</p> <p>It should just be a global setting that .git and .svn and other meta folders from VCS should be auto ignored.<br> If you want you can add additional checking that when Aptana finds a .git or .svn folder, it checks the contents to see if it looks like a valid VCS folder, and if so ignore, if not, index it.</p> <p>However I would opt to say that anyone doing development knows what .svn and .git folders are for, and would not choose to put their files in a folder named as such.</p> <p>And if they did, that would be a bad choice, and I don't think Aptana should trouble themselves to support people making bad choices, when its going to be a very rare chance of legit files being in an scm named folder.</p> <p>So ideally, Aptana should have a default on option "Ignore common VCS directories from Indexing" as a global config, maybe overrideable on a project level?</p></div>{html}
        Hide
        Ingo Muschenetz added a comment -
        {html}<div><p>By default, we can have the preferences be set to auto-filter
        .git and .svn directories from indexing using the above mechanism.
        It addresses the case where, by default, the user should not have
        to do anything, but also allows the user to add additional folders
        they want filtered across all projects.</p></div>{html}
        Show
        Ingo Muschenetz added a comment - {html}<div><p>By default, we can have the preferences be set to auto-filter .git and .svn directories from indexing using the above mechanism. It addresses the case where, by default, the user should not have to do anything, but also allows the user to add additional folders they want filtered across all projects.</p></div>{html}
        Hide
        Joram van den Boezem added a comment -
        {html}<div><p>On Windows, it might be just as well to filter out hidden
        folders. I believe .svn and .git folders are marked as hidden by
        default by most if not all clients. This would enable users to
        globally hide any folder or file from both the system's file
        managers and Aptana (and a bunch of other software as well). That
        would be a more consistent solution, as in the process even .cvs
        (anybody uses that?) and other exotic files are hidden (.DS_Store,
        thumbs.db, desktop.ini, etc.) without the need to maintain a list
        of those unwanted intruders.</p></div>{html}
        Show
        Joram van den Boezem added a comment - {html}<div><p>On Windows, it might be just as well to filter out hidden folders. I believe .svn and .git folders are marked as hidden by default by most if not all clients. This would enable users to globally hide any folder or file from both the system's file managers and Aptana (and a bunch of other software as well). That would be a more consistent solution, as in the process even .cvs (anybody uses that?) and other exotic files are hidden (.DS_Store, thumbs.db, desktop.ini, etc.) without the need to maintain a list of those unwanted intruders.</p></div>{html}
        Hide
        Daniel Ennis added a comment -
        {html}<div><p>I don't think a specific windows feature like that should be
        added.</p>
        <p>. prefixed filenames usually indicate it should be hidden, but a
        user may very likely prefix their files with a . to indicate it
        shouldn't be web accessible (ie /.system/AllMyFiles.php)</p>
        <p>Those are files you would want to be indexed, and going with the
        concept of "hiding hidden" can be very confusing.</p></div>{html}
        Show
        Daniel Ennis added a comment - {html}<div><p>I don't think a specific windows feature like that should be added.</p> <p>. prefixed filenames usually indicate it should be hidden, but a user may very likely prefix their files with a . to indicate it shouldn't be web accessible (ie /.system/AllMyFiles.php)</p> <p>Those are files you would want to be indexed, and going with the concept of "hiding hidden" can be very confusing.</p></div>{html}
        Hide
        Daniel Ennis added a comment -
        {html}<div><p>But a global ignore is something I think is worth adding.</p></div>{html}
        Show
        Daniel Ennis added a comment - {html}<div><p>But a global ignore is something I think is worth adding.</p></div>{html}
        Hide
        Joram van den Boezem added a comment -
        {html}<div><p>@Daniel: Although I guess that the concept of 'hiding hidden'
        makes perfect sense, I do feel along with a little resistance
        against OS specific solutions to a cross-platform problem. Don't
        forget to include the .settings folder in this yet to be global
        ignore setting!</p></div>{html}
        Show
        Joram van den Boezem added a comment - {html}<div><p>@Daniel: Although I guess that the concept of 'hiding hidden' makes perfect sense, I do feel along with a little resistance against OS specific solutions to a cross-platform problem. Don't forget to include the .settings folder in this yet to be global ignore setting!</p></div>{html}
        Hide
        Aptana added a comment -
        {html}<div><p>Does it help if you have a SVN plugin installed, like
        Subversive? <a href=
        "http://www.eclipse.org/subversive/">http://www.eclipse.org/subversive/</a></p></div>{html}
        Show
        Aptana added a comment - {html}<div><p>Does it help if you have a SVN plugin installed, like Subversive? <a href= "http://www.eclipse.org/subversive/"> http://www.eclipse.org/subversive/ </a></p></div>{html}
        Hide
        Phill Pafford added a comment - - edited

        I think this could be related to my issue of Aptana's performance becoming very sluggish:

        I have several large project I check out through subversion, I have tried to turn off indexing but this is a hassle as it has to rebuild the project on exiting Aptana. I'm going to try Ingo Muschenetz suggestion in the first comment, hope this works.

        UPDATE:
        Looking through the preferences I did see in Team that .svn files are excluded but does this mean they are also not being indexed? Other then that I can find where to exclude them. Problem still exists.

        Show
        Phill Pafford added a comment - - edited I think this could be related to my issue of Aptana's performance becoming very sluggish: http://stackoverflow.com/questions/7743189/aptana-3-becomes-very-sluggish-with-multiple-large-projects-how-do-i-improve I have several large project I check out through subversion, I have tried to turn off indexing but this is a hassle as it has to rebuild the project on exiting Aptana. I'm going to try Ingo Muschenetz suggestion in the first comment, hope this works. UPDATE: Looking through the preferences I did see in Team that .svn files are excluded but does this mean they are also not being indexed? Other then that I can find where to exclude them. Problem still exists.

          People

          • Assignee:
            Praveen Innamuri
            Reporter:
            Daniel Ennis
          • Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:

              Development