Open Bug 1542649 Opened 6 years ago Updated 2 months ago

Make the searchfox test repo index the searchfox clang-plugin

Categories

(Webtools :: Searchfox, defect)

defect
Not set
normal

Tracking

(Not tracked)

People

(Reporter: botond, Unassigned)

References

Details

STR:

  1. Go to https://searchfox.org/mozilla-central/source/build/clang-plugin/mozsearch-plugin/MozsearchIndexer.cpp
  2. Click on any identifier

Expected results:

You can go to the identifier's declaration.

Actual results:

You cannot.

I think it's unlikely we will fix this, because it would mean building the clang-plugin a second time, with the clang-plugin loaded into clang. I don't know how amenable the Gecko build system is to doing such a thing, but I don't really want to try. We could, however, have the searchfox standalone test repo index the plugin in a dev environment. I suspect that for people working on making changes to this code that wouldn't be a huge burden.

I'll repurpose this bug for that.

Summary: Searchfox doesn't index the Searchfox indexer source code → Make the searchfox test repo index the searchfox clang-plugin

The plugin is now indexed at https://searchfox.org/mozsearch/source/clang-plugin/MozsearchIndexer.cpp as part of indexing mozsearch. I didn't change the self-indexing searchfox tree index it, though. That probably is still a nice thing to do so that someone who makes local changes to the indexer can index them. (In comparison, the mozsearch index will only index what the main branch of the github repo has.) So leaving this bug open and we can presumably propagate the build script changes from mozsearch into the searchfox build script.

You need to log in before you can comment on or make changes to this bug.