Page MenuHomePhabricator

Move repository URI normalization out of PullLocalDaemon
ClosedPublic

Authored by epriestley on Jan 16 2014, 6:54 PM.
Tags
None
Referenced Files
Unknown Object (File)
May 10 2025, 4:52 PM
Unknown Object (File)
May 9 2025, 1:30 PM
Unknown Object (File)
Apr 24 2025, 10:47 AM
Unknown Object (File)
Apr 22 2025, 2:03 PM
Unknown Object (File)
Apr 22 2025, 10:38 AM
Unknown Object (File)
Apr 21 2025, 4:15 AM
Unknown Object (File)
Apr 16 2025, 1:50 PM
Unknown Object (File)
Apr 10 2025, 2:58 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

Lint
Lint Skipped
Unit
Tests Skipped