Page MenuHomePhabricator

Consider identifier types when sorting clone URIs
ClosedPublic

Authored by epriestley on Jun 2 2016, 1:44 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, May 31, 6:22 AM
Unknown Object (File)
Apr 15 2026, 6:33 PM
Unknown Object (File)
Feb 12 2026, 2:44 AM
Unknown Object (File)
Feb 11 2026, 6:40 AM
Unknown Object (File)
Jan 18 2026, 12:24 PM
Unknown Object (File)
Jan 18 2026, 12:24 PM
Unknown Object (File)
Jan 16 2026, 9:39 PM
Unknown Object (File)
Jan 14 2026, 9:34 PM
Subscribers

Details

Summary

Fixes T11082. Currently, the /123/ and /CALLSIGN/ versions of the URI get the same score.

Also the scores are backwards.

Test Plan
  • Added getPublicCloneURI() output to repository listing.
  • Before patch, saw a repository with a callsign list a less-preferred ID-based URI.
  • After patch, saw the repository list the more-preferred callsign-based URI.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Consider identifier types when sorting clone URIs.
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.Jun 2 2016, 1:56 PM
This revision was automatically updated to reflect the committed changes.