LiJiefei / codesearch

Automatically exported from code.google.com/p/codesearch
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

cindex ignores IRC log files #37

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
https://code.google.com/p/codesearch/source/browse/cmd/cindex/cindex.go#132 has 
the relevant line of code. Effectively when I run cindex on my IRC log 
directory, I get an index of *only* the private conversations. Public 
conversations are in files named after the channel, so for example: 
`2014/#ubuntu.03.log`.

cindex decides to ignore dotfiles, tildefiles, and for some reason probably 
relating to EMACS, files beginning with an octothorpe ('#'). There does not 
seem to be any command-line switch to disable this file-skipping (-a would seem 
appropriate), and no way to provide custom include/exclude rules.

Since searching IRC logs is probably more common for me than searching code, it 
makes this amazing tool rather less useful for me!

Original issue reported on code.google.com by geope...@gmail.com on 27 Mar 2014 at 5:03

GoogleCodeExporter commented 9 years ago
Just as an FYI, this is implemented in my fork at - 
https://github.com/junkblocker/codesearch .

Original comment by manpreet...@gmail.com on 28 Mar 2014 at 3:13

GoogleCodeExporter commented 9 years ago
With thanks for your advice, please: may be you have an estimate for when your 
implementation will reach trunk.

Original comment by geope...@gmail.com on 28 Mar 2014 at 8:08

GoogleCodeExporter commented 9 years ago
rsc has stated in the past that this project is not super alive and is good 
enough for them in the state it is.

https://code.google.com/p/codesearch/issues/detail?id=26#c3

Also, this issue you filed has a similar bug already

https://code.google.com/p/codesearch/issues/detail?id=28

that hasn't been accepted for fixing. At this point I've kept on adding 
features  I've found useful to my code and it keeps diverging. If rsc indicates 
an interest in taking a patch, I could extract and attach one here. Otherwise 
using my fork remains your option.

Original comment by manpreet...@gmail.com on 28 Mar 2014 at 11:56