#539 add code search
Opened 3 years ago by kevin. Modified 10 months ago

Add a way to search code repos/issues.

Possibly some way to leverage 'git grep' ?


Do you think the most common use case here would be in the context of a repo?

That is i am looking at a specific project, and want to search the code and issues of that project?

Not sure how useful a code search of all repos and forks at once would be.

Do you think the most common use case here would be in the context of a repo?

I would say initially yes and then we can expand.

Not sure how useful a code search of all repos and forks at once would be.

I think a good example is that you are working on a function that you remember the name of but forgot the repos name and a quick search would find it.

I would also like to add an issue search so someone is able to search through it all before creating a new ticket.

We can add text in the search bar noting that the search is from this repo

Selection_021.png

I'll see if i can create a mockup of this

Don't know if this can be of help but: https://github.com/google/codesearch

I am been through this and had a discussion with @pingou about it so the problem is we don't want a lot of mix match in the codebase so something pythonic has more value.

So what are the chances to get code search in Pagure?

Login to comment on this ticket.

Metadata
Attachments 1
Attached 2 years ago View Comment