Menu

#37 cindex ignores IRC log files

New
nobody
None
Medium
Defect
2014-03-28
2014-03-27
Anonymous
No

Originally created by: geope...@gmail.com

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!

Discussion

  • Anonymous

    Anonymous - 2014-03-28

    Originally posted by: geope...@gmail.com

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

     
  • Anonymous

    Anonymous - 2014-03-28

    Originally posted by: manpreet...@gmail.com

    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.

     

    Related

    Tickets: #26
    Tickets: #28


Log in to post a comment.

MongoDB Logo MongoDB