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, Dec 15, 12:17 AM
Unknown Object (File)
Fri, Dec 13, 12:57 AM
Unknown Object (File)
Thu, Dec 12, 10:50 PM
Unknown Object (File)
Thu, Dec 5, 2:25 AM
Unknown Object (File)
Sun, Dec 1, 11:29 PM
Unknown Object (File)
Fri, Nov 22, 10:57 PM
Unknown Object (File)
Fri, Nov 22, 10:35 AM
Unknown Object (File)
Nov 19 2024, 1:48 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
Branch
uriscore
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 12404
Build 15704: Run Core Tests
Build 15703: arc lint + arc unit

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.