Page MenuHomePhabricator

Index all repository URIs, not just the "primary" repository URI
ClosedPublic

Authored by epriestley on May 10 2016, 1:27 PM.
Tags
None
Referenced Files
F14010715: D15876.id38242.diff
Thu, Oct 31, 11:58 AM
F14010666: D15876.diff
Thu, Oct 31, 11:34 AM
F13982939: D15876.id38258.diff
Sun, Oct 20, 3:05 AM
Unknown Object (File)
Oct 7 2024, 7:36 PM
Unknown Object (File)
Sep 12 2024, 8:30 AM
Unknown Object (File)
Sep 5 2024, 8:15 PM
Unknown Object (File)
Sep 5 2024, 3:35 PM
Unknown Object (File)
Aug 25 2024, 1:43 AM
Subscribers
None

Details

Summary

Ref T10923. When regenerating the URI index for a repository, index every URI.

  • Also, make the index slightly stricter (domain + path instead of just path). Excluding the domain made more sense when we were generating only first-party URIs.
  • Make the index smarter about /diffusion/123/ URIs.
  • Show normalized URIs in diffusion.repository.search results.
Test Plan
  • Ran migration.
  • Verified sensible-looking results in database.
  • Searched for a repository URI by first-party clone URI.
  • Searched for a repository URI by mirror URI.
  • Used diffusion.repository.search to get information about repository URIs.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Index all repository URIs, not just the "primary" repository URI.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: chad.
chad edited edge metadata.
This revision is now accepted and ready to land.May 10 2016, 8:54 PM
This revision was automatically updated to reflect the committed changes.