Page MenuHomePhabricator

Consider identifier types when sorting clone URIs
ClosedPublic

Authored by epriestley on Jun 2 2016, 1:44 PM.
Tags
None
Referenced Files
F15435800: D16008.diff
Tue, Mar 25, 10:18 AM
F15433513: D16008.diff
Mon, Mar 24, 11:33 PM
F15432734: D16008.id38528.diff
Mon, Mar 24, 7:34 PM
F15410348: D16008.id38528.diff
Wed, Mar 19, 7:07 AM
F15365110: D16008.id38528.diff
Tue, Mar 11, 1:49 PM
F15344200: D16008.id38531.diff
Mon, Mar 10, 3:13 AM
Unknown Object (File)
Mar 3 2025, 11:39 PM
Unknown Object (File)
Mar 1 2025, 11:09 AM
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.