google / zoekt

Fast trigram based code search

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Feature request: filtering on whether code is in an archived repository

jamespwilliams opened this issue · comments

Gitlab and GitHub have the concept of archived repositories (and possibly other sources zoekt can use, but I haven't used the others). In many organisations, archived repositories contain code which is not currently in use, but is kept for future reference. When searching code, archived repositories are often no longer relevant. It would be nice to be able to ignore results in these repositories.

In an ideal world, I'd be able to include a search term such as archived:no to filter out results in archived repositories (and, similarly, archived:yes would filter out results in non-archived repositories).

If this feature is something that you'd be interested in adopting, I may try and implement it myself.

Actually, looks like https://github.com/sourcegraph/zoekt is where active development is happening, I'll move this issue there.