Mailinglist Archive: opensuse-gnome (124 mails)

< Previous Next >
Re: [opensuse-gnome] [Fwd: Re: beagle bits ...]
  • From: Hans Petter Jansson <hpj@xxxxxxxxxx>
  • Date: Tue, 13 Jan 2009 23:48:48 +0100
  • Message-id: <1231886928.15510.46.camel@xxxxxxxxxxx>
On Tue, 2009-01-13 at 10:29 +0000, Michael Meeks wrote:
On Mon, 2009-01-12 at 21:42 +0100, Hans Petter Jansson wrote:

It would be nice to index HACKING, README, possibly documentation still.

I guess; makes it more complicated but ... ;-) I'm fairly convinced
beagle is not a tool for hackers to grok their source trees with. People
use 'git grep' for this, or they use a sane semantically informed search
- ctags or whatever. The sheer cost of diving down all those directories
is staggering.

Agreed. But sometimes I drop e.g. relevant PDFs into a source-controlled
directory (say, under doc/ or reference/) just so I won't lose them, and
I suspect other people have their own odd habits that make this a
dangerous road to travel down :)

So: Cutting out source dirs entirely in the short term is a good idea -
one you've convinced me we should pursue - but we should also keep an
eye towards replacing it with a more sophisticated solution long-term.

Another reason I think people are dropping Beagle is that it just isn't
useful enough (cost may be high, but benefit is also low?). The last
time I tested it, which is admittedly a long time ago, I felt like it
just didn't rank my documents very well; ranking is much harder than
finding...

Another, more sophisticated strategy might be to build a list of things
to index and prioritize them, so that source directories come last and
are indexed at a fairly leisurely pace. It's definitely more work,
though.

Yep - that might work too - though; really - I'm fairly certain that
source code directories are highly dynamic, take a lot of maintenance,
contain -tons- of stuff which (no doubt) balloons the index size, and
are not interesting in search results :-)

We could index comments only (which would give us license, authors, the
odd expletive, maybe even some insights), or exclude source code
altogether - but still crawl the directories for interesting stuff (like
PNGs and JPGs in source control, the PS and PDF files I mentioned above,
uninstalled documentation, etc).

--
Hans Petter

--
To unsubscribe, e-mail: opensuse-gnome+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-gnome+help@xxxxxxxxxxxx

< Previous Next >