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
F13112051: D15876.diff
Sun, Apr 28, 1:20 PM
Unknown Object (File)
Thu, Apr 25, 12:11 AM
Unknown Object (File)
Thu, Apr 11, 2:03 PM
Unknown Object (File)
Thu, Apr 11, 8:27 AM
Unknown Object (File)
Mon, Apr 8, 11:14 PM
Unknown Object (File)
Sat, Apr 6, 3:03 PM
Unknown Object (File)
Mar 29 2024, 10:29 AM
Unknown Object (File)
Feb 15 2024, 8:54 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
Branch
dxdoc10
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 12117
Build 15276: Run Core Tests
Build 15275: arc lint + arc unit

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.