google / google/codesearch

cindex ignores IRC log files

Offen
#37 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
auto-migrated Priority-Medium Type-Defect
Vorherrschende Sprache
Go
Sterne
4k
Forks
403
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

```
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

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Beginne mit cmd/cindex/cindex.go an der im Issue referenzierten Zeile und untersuche, wie dotfiles, tildefiles und Dateien, die mit '#' beginnen, übersprungen werden. Führe cindex gegen ein Verzeichnis aus, das IRC-Dateien wie 2014/#ubuntu.03.log enthält; abgeschlossen bedeutet, dass öffentliche Channel-Logs indexiert werden oder das angeforderte Einschlussverhalten verfügbar ist, ohne bestehende Ausschlüsse zu beeinträchtigen.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
go
Bereich
cli
Issue-Typ
Bug
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
45/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.