cindex ignores IRC log files

Bug #1298481 reported by Nick Moffitt
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
codesearch (Ubuntu)
New
Undecided
Unassigned

Bug Description

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!

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: codesearch 0.0~hg20120502-2
Uname: Linux 3.14.0-031400rc6-generic x86_64
ApportVersion: 2.13.3-0ubuntu1
Architecture: amd64
CurrentDesktop: Unity
Date: Thu Mar 27 16:06:01 2014
Dependencies:

EcryptfsInUse: Yes
SourcePackage: codesearch
UpgradeStatus: Upgraded to trusty on 2014-02-25 (29 days ago)

Revision history for this message
Nick Moffitt (nick-moffitt) wrote :
Revision history for this message
Nick Moffitt (nick-moffitt) wrote :

Ah, looks like I filed bug 1243934 about this before I worked out what it was.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.