Closed Bug 1543520 Opened 6 years ago Closed 6 years ago

searchfox.org/mozilla-mobile path filtering appears to not work when filter includes submodule name

Categories

(Webtools :: Searchfox, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: nalexander, Assigned: kats)

References

Details

To reproduce:

	android-components/automation/taskcluster/decision_task.py
215	version = components_version() if version is None else version

Presumably this is very similar to Bug 1543473 and has to do with the submodule paths as well.

Yeah in this case the "android-components" bit is actually the submodule path and so it falls through the cracks during the path filtering. I'll look into fixing it. However if you search for any path component beyond that (e.g. "automation/") it seems to filter properly.

Summary: searchfox.org/mozilla-mobile path filtering appears to not work → searchfox.org/mozilla-mobile path filtering appears to not work when filter includes submodule name

Fixing https://github.com/livegrep/livegrep/issues/216 and removing the special handling of submodules from searchfox's codesearch integration seems to solve this problem. I have all the pieces, just need to clean it up and get stuff merged.

Assignee: nobody → kats

Upstream livegrep PR was merged.

https://github.com/mozsearch/mozsearch/pull/202 updates our side to use it, which fixes this bug.

This is deployed now

Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.