(Lucene Based) Find in project (Word Search) does not work if my project directory has a period in the name
Reported by Kris Kemper | May 1st, 2011 @ 08:11 PM
My git project is named something like some-project.git. While trying out redcar, I found that the Find in Project / Word Search feature would always return no results and that the lucene index files looked miniscule in size. On a whim, I renamed my project directory to not have the .git extension, and after deleting the .redcar directory and restarting, the project would get indexed by lucene, and the find in project feature would work.
Arguably, I shouldn't be using extensions like that in my directory name, but I almost stopped considering redcar for ruby development based on not being able to use this one feature. It was non-obvious as to why it wasn't working.
I doubt that it matters but I'm using Scientific Linux 6 and redcar 0.11.
Comments and changes to this ticket
-
Kris Kemper May 2nd, 2011 @ 04:06 AM
Digging around more. I can see that .git directories are included in the ignore list in the find_in_project.yml. It should probably be a little more strict, only matching on .git directories, not *.git directories.
-
Daniel Lucraft May 5th, 2011 @ 10:32 PM
- State changed from new to resolved
Ouch, obvious fail. Fixed it in https://github.com/redcar/redcar/commit/bf92ddb5cdab5dc51d9aba744cd...
Thanks for reporting it.
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
A programmer's text editor for Gnome.