Page MenuHomePhabricator

Remove all uses of PhutilGitURI in Phabricator
ClosedPublic

Authored by epriestley on Jun 13 2016, 1:14 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Apr 19, 4:54 PM
Unknown Object (File)
Sun, Apr 7, 3:01 PM
Unknown Object (File)
Wed, Apr 3, 12:45 PM
Unknown Object (File)
Tue, Apr 2, 11:03 PM
Unknown Object (File)
Sat, Mar 30, 10:26 AM
Unknown Object (File)
Mar 16 2024, 8:37 AM
Unknown Object (File)
Mar 1 2024, 1:22 AM
Unknown Object (File)
Feb 21 2024, 7:57 AM
Subscribers
None

Details

Summary

Ref T11137. This class is removed in D16099. Depends on D16099.

PhutilURI now attempts to "just work" with Git-style URIs, so at least in theory we can just delete all of this code and pretend it does not exist.

(I've left "Display URI" and "Effective URI" as distinct, at least for now, because I think the distinction may be relevant in the future even though it isn't right now, and to keep this diff small, although I may go remove one after I think about this for a bit.)

Test Plan
  • Created a new Git repository with a Git URI.
  • Pulled/updated it, which now works correctly and should resolve the original issue in T11137.
  • Verified that daemons now align the origin to a Git-style URI with a relative path, which should resolve the original issue in T11004.
  • Grepped for PhutilGitURI.
  • Also grepped in arcanist/, but found no matches, so no patch for that.
  • Checked display/conduit URIs.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Remove all uses of PhutilGitURI in Phabricator.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: chad.

Those test failures are expected until D16099 lands.

chad edited edge metadata.
This revision is now accepted and ready to land.Jun 13 2016, 1:48 PM
This revision was automatically updated to reflect the committed changes.