Re: Introducing codesearch.debian.net, a regexp code search engine

2012-11-07 Thread Michael Stapelberg
Hi Neil, Neil Williams writes: > Just because a file doesn't end in .pl, doesn't mean it isn't perl - > Policy mandates that perl in /usr/bin does not end in .pl Is this only > finding perl modules and perl scripts in /usr/share? As the FAQ¹ states, this is filtering by file extension. I will kee

Re: Introducing codesearch.debian.net, a regexp code search engine

2012-11-07 Thread Neil Williams
On Wed, 07 Nov 2012 21:56:17 +0100 Michael Stapelberg wrote: > Neil Williams writes: > > That's just swamped by licences, as would be received and lots of other > > common words (which are, rightly or wrongly, used as variable names or > > as part of function names). > Well, of course searching

Re: Introducing codesearch.debian.net, a regexp code search engine

2012-11-07 Thread Michael Stapelberg
Hi Neil, Neil Williams writes: > That's just swamped by licences, as would be received and lots of other > common words (which are, rightly or wrongly, used as variable names or > as part of function names). Well, of course searching for common words will result in a lot of results. Asking the ot

Re: Introducing codesearch.debian.net, a regexp code search engine

2012-11-07 Thread Michael Stapelberg
Hi Chris, Chris Bannister writes: > See: > http://grammar.about.com/od/words/a/amount.htm > http://grammarist.com/usage/amount-number/ Thanks. I have heard about this rule but must have forgotten it. I changed the text and will push an update soon. -- Best regards, Michael -- To UNSUBSCRIBE

Re: Introducing codesearch.debian.net, a regexp code search engine

2012-11-07 Thread Chris Bannister
On Tue, Nov 06, 2012 at 07:05:43PM +0100, Michael Stapelberg wrote: > Hi, > > I hereby announce a new Debian project: Debian Code Search. [...] > You can use the search engine at http://codesearch.debian.net/ > Here are a few sample queries: > • http://codesearch.debian.net/search?q=workaround+p

Re: Introducing codesearch.debian.net, a regexp code search engine

2012-11-06 Thread Neil Williams
On Tue, 06 Nov 2012 21:22:17 +0100 Michael Stapelberg wrote: > > Another important step would be a way of excluding matches > > within comments from the results. > I have considered this, but when you think about it, identifiers > (variable names, function names, …) and comments are really are th

Re: Introducing codesearch.debian.net, a regexp code search engine

2012-11-06 Thread Joachim Breitner
Hi, Am Dienstag, den 06.11.2012, 23:10 +0100 schrieb Michael Stapelberg: > Joachim Breitner writes: > > Since you have all code extracted anyways, could you extend the page to > > allow for easy code browsing? Might be faster than "apt-get source; > > less ..." sometimes. > Very basic code browsi

Re: Introducing codesearch.debian.net, a regexp code search engine

2012-11-06 Thread Michael Stapelberg
Hi Joachim, Joachim Breitner writes: > Since you have all code extracted anyways, could you extend the page to > allow for easy code browsing? Might be faster than "apt-get source; > less ..." sometimes. Very basic code browsing is on my agenda, but zack@ mentioned he wants to build a new sources

Re: Introducing codesearch.debian.net, a regexp code search engine

2012-11-06 Thread Domenico Andreoli
On Tue, Nov 06, 2012 at 07:05:43PM +0100, Michael Stapelberg wrote: > Hi, Hi! > I hereby announce a new Debian project: Debian Code Search. > > Debian Code Search is a search engine for program source code within > Debian. > > It allows you to search all ??? 17000 source packages, > containing 1

Re: Introducing codesearch.debian.net, a regexp code search engine

2012-11-06 Thread Joachim Breitner
Hi, Am Dienstag, den 06.11.2012, 19:05 +0100 schrieb Michael Stapelberg: > I hereby announce a new Debian project: Debian Code Search. Great! > I hope you find it useful and would love to hear your feedback. Since you have all code extracted anyways, could you extend the page to allow for easy

Re: Introducing codesearch.debian.net, a regexp code search engine

2012-11-06 Thread alberto fuentes
On Tue, Nov 6, 2012 at 9:06 PM, Michael Stapelberg wrote: > Hi alberto, > > alberto fuentes writes: >> roughly speaking, how does it work internally? > It uses a trigram index and the RE2 regular expression engine. > > My work is based on Russ Cox’s ideas and code published at > http://swtch.com/

Re: Introducing codesearch.debian.net, a regexp code search engine

2012-11-06 Thread Michael Stapelberg
Hi Neil, Neil Williams writes: > It's pleasingly quick, which is always good. Might need to be able to > exclude the debian/ directory from searches. File regular expressions and a minus operator is already on the TODO list :-). > First thing which occurs to me is that I'd prefer a summary page

Re: Introducing codesearch.debian.net, a regexp code search engine

2012-11-06 Thread Michael Stapelberg
Hi alberto, alberto fuentes writes: > roughly speaking, how does it work internally? It uses a trigram index and the RE2 regular expression engine. My work is based on Russ Cox’s ideas and code published at http://swtch.com/~rsc/regexp/regexp4.html In case you are interested, I’m happy to send

Re: Introducing codesearch.debian.net, a regexp code search engine

2012-11-06 Thread Mike Dupont
LOVE IT!!! THANK YOU SO MUCH On Tue, Nov 6, 2012 at 12:05 PM, Michael Stapelberg wrote: > Hi, > > I hereby announce a new Debian project: Debian Code Search. > > Debian Code Search is a search engine for program source code within > Debian. > > It allows you to search all ≈ 17000 source packages

Re: Introducing codesearch.debian.net, a regexp code search engine

2012-11-06 Thread alberto fuentes
2 words: Awe some roughly speaking, how does it work internally? On Tue, Nov 6, 2012 at 7:05 PM, Michael Stapelberg wrote: > Hi, > > I hereby announce a new Debian project: Debian Code Search. > > Debian Code Search is a search engine for program source code within > Debian. > > It allows you to

Re: Introducing codesearch.debian.net, a regexp code search engine

2012-11-06 Thread Neil Williams
On Tue, 6 Nov 2012 19:05:43 +0100 Michael Stapelberg wrote: > Debian Code Search is a search engine for program source code within > Debian. > > It allows you to search all ≈ 17000 source packages, > containing 130 GiB of FLOSS source code (including Debian > packaging) with regular expressions.

Introducing codesearch.debian.net, a regexp code search engine

2012-11-06 Thread Michael Stapelberg
Hi, I hereby announce a new Debian project: Debian Code Search. Debian Code Search is a search engine for program source code within Debian. It allows you to search all ≈ 17000 source packages, containing 130 GiB of FLOSS source code (including Debian packaging) with regular expressions. You ca