Is there a way to search within the entire http://android.git.kernel.org/ repository?

1,054 views
Skip to first unread message

kenjkelly

unread,
Jan 9, 2009, 6:59:42 AM1/9/09
to android-platform
Hi Folks,
I noticed a few questions where folks are looking for specific
methods or classes. Before I downloaded eveything I had the same
problem. Is there a way for those who did not (yet) download
everything, to search across all projects on the site?

freepine

unread,
Jan 9, 2009, 8:00:24 AM1/9/09
to android-...@googlegroups.com
You can simply choose "grep" from the combobox and type your keywords for searching in the specified git repository.

kenjkelly

unread,
Jan 9, 2009, 12:59:32 PM1/9/09
to android-platform
Yes, but I'm really asking about a more global search. For example,
someone recently asked about Bluetooth and the answer was found in the
framework/base project, while they were looking in other modules like
external/bluez. Once pointed to the correct project the grep feature
works well, but the problem is in discovering which of the many
projects contain the information you are seeking.

For those with the entire source tree on their local machines, this
feature could be used to search a new merge to determine, before you
repo, if a feature was added and which projects contain the pieces.

I am asking about the possibility for a grep-like feature at the
http://android.git.kernel.org/ level, like the one that exists at the
project level, that would at least point to the correct projects. It
would handle those kinds of recurring questions.

Thanks,
Ken Kelly


On Jan 9, 8:00 am, freepine <freep...@gmail.com> wrote:
> You can simply choose "grep" from the combobox and type your keywords for
> searching in the specified git repository.For example:http://android.git.kernel.org/?p=platform/frameworks/base.git&a=searc...
>
>
>
> On Fri, Jan 9, 2009 at 7:59 PM, kenjkelly <kenke...@kenkelly.com> wrote:
>
> > Hi Folks,
> >  I noticed a few questions where folks are looking for specific
> > methods or classes. Before I downloaded eveything I had the same
> > problem. Is there a way for those who did not (yet) download
> > everything, to search across all projects on the site?- Hide quoted text -
>
> - Show quoted text -

Freepine

unread,
Jan 9, 2009, 8:59:02 PM1/9/09
to android-...@googlegroups.com
Then I think the easiest way is to use repo to download all the source code and grep whatever you want:) Just kidding~~~

Karl Rosaen

unread,
Jan 14, 2009, 6:54:22 PM1/14/09
to android-platform
just add package:android to a google code search

http://google-code-updates.blogspot.com/2008/12/increased-code-search-coverage-now-with.html

an example of searching for AbsListView:

http://www.google.com/codesearch?hl=en&lr=&q=AbsListView+package:android&sbtn=Search

Karl

On Jan 9, 8:59 pm, Freepine <freep...@gmail.com> wrote:
> Then I think the easiest way is to use repo to download all the source code
> and grep whatever you want:) Just kidding~~~
>
> On Sat, Jan 10, 2009 at 1:59 AM, kenjkelly <kenke...@kenkelly.com> wrote:
>
> > Yes, but I'm really asking about a more global search. For example,
> > someone recently asked about Bluetooth and the answer was found in the
> > framework/base project, while they were looking in other modules like
> > external/bluez.  Once pointed to the correct project the grep feature
> > works well, but the problem is in discovering which of the many
> > projects contain the information you are seeking.
>
> > For those with the entire source tree on their local machines, this
> > feature could be used to search a new merge to determine, before you
> > repo, if a feature was added and which projects contain the pieces.
>
> > I am asking about the possibility for a grep-like feature at the
> >http://android.git.kernel.org/level, like the one that exists at the

Freepine

unread,
Jan 15, 2009, 12:34:00 AM1/15/09
to android-...@googlegroups.com
Wow~ It's much more convenient, thanks.

Jey Michael

unread,
Jan 15, 2009, 7:10:05 PM1/15/09
to android-...@googlegroups.com
It is ultra fast!
How about adding this as a convenient easy-to-find link from
code.google.com/android ?

-Jey

Reply all
Reply to author
Forward
0 new messages