[openstack-dev] [codesearch] how to exclude projects?
ihrachys at redhat.com
Thu Mar 16 17:01:39 UTC 2017
Thank a lot Diana, the info is exactly what I was looking for.
I proposed the patch to ignore those repos in:
On Wed, Mar 15, 2017 at 5:30 PM, Diana Clarke
<diana.joan.clarke at gmail.com> wrote:
> Hi Ihar:
> The OpenStack Hound instance  is passed config.json with the
> projects to index.
> That file is generated by jeepyb here  based on the projects
> defined in projects.yaml .
> Here's an example config.json  I manually generated a couple of
> weeks back when I was looking into why some tripleo projects weren't
> being indexed (turns out it was just stale because puppet was
> IIUC, puppet is still disabled for codesearch, so you'll need to ping
> infra once you've modified jeepyb to exclude the openstack/deb-*
> pabelanger in #openstack-infra kindly did a manual puppet run for me
> when I recently wanted config.json refreshed, so he'll know what to do
> when you're ready.
> Finally, there's also this entry in the infra system-config docs 
> that points to the bug tracker etc.
> Hope that helps!
>  http://codesearch.openstack.org/
>  https://github.com/openstack-infra/jeepyb/blob/master/jeepyb/cmd/create_hound_config.py
>  https://github.com/openstack-infra/project-config/blob/master/gerrit/projects.yaml
>  https://gist.github.com/dianaclarke/1533448ed33232f5c1c348ab57cb884e
>  https://docs.openstack.org/infra/system-config/codesearch.html
> On Wed, Mar 15, 2017 at 5:06 PM, Ihar Hrachyshka <ihrachys at redhat.com> wrote:
>> Hi all,
>> lately I noticed that any search in codesearch triggers duplicate
>> matches because it seems code for lots of projects is stored in
>> openstack/deb-<project_name> repos, probably used for debian
>> packaging. I would like to be able to exclude the projects from the
>> search by openstack/deb-* pattern. Is it possible?
>> Ideally, we would exclude them by default, but I couldn't find where I
>> patch codesearch to do it. Is there a repo for the webui that I can
>> OpenStack Development Mailing List (not for usage questions)
>> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
More information about the OpenStack-dev