Page MenuHomePhabricator

Move repository URI normalization out of PullLocalDaemon
ClosedPublic

Authored by epriestley on Jan 16 2014, 6:54 PM.
Tags
None
Referenced Files
F20948326: D7981.id18084.diff
Sat, Jun 27, 10:33 PM
Unknown Object (File)
Wed, Jun 10, 12:25 AM
Unknown Object (File)
Mar 23 2026, 8:55 PM
Unknown Object (File)
Mar 21 2026, 3:37 PM
Unknown Object (File)
Mar 10 2026, 10:26 PM
Unknown Object (File)
Nov 11 2025, 2:54 AM
Unknown Object (File)
Nov 8 2025, 10:36 AM
Unknown Object (File)
Nov 7 2025, 3:56 AM
Subscribers

Details

Summary

Ref T4327. Moves us one small step forward toward testable change parsers by separating out this unrelated logic from the PullLocal daemon. We will also probably want to run this logic so we can do remote path lookups to limit the role of Arcanist Projects in the future, which is why I made the URI type (here, only "git") a parameter rather than calling this a GitURINormalizer or something.

Test Plan
  • Ran unit tests.
  • Ran repository discover on a correctly-configured remote repository.
  • Ran repository discover on an incorrectly-configured remote, got an error message.

Diff Detail

Branch
xparser1
Lint
Lint Passed
Unit
Tests Passed