Homec4science

Consider identifier types when sorting clone URIs

Authored by epriestley <git@epriestley.com> on Jun 2 2016, 15:41.

Description

Consider identifier types when sorting clone URIs

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.

Reviewers: chad

Reviewed By: chad

Subscribers: nikolay.metchev

Maniphest Tasks: T11082

Differential Revision: https://secure.phabricator.com/D16008

Details

Committed
epriestley <git@epriestley.com>Jun 2 2016, 15:57
Pushed
aubortJan 31 2017, 17:16
Parents
rPHebd8f3c9874b: Make translation, timezone and pronoun into real settings
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPH24acac117b9b: Consider identifier types when sorting clone URIs (authored by epriestley <git@epriestley.com>).Jun 2 2016, 15:57