Page MenuHomePhabricator

Move repository URI normalization out of PullLocalDaemon
ClosedPublic

Authored by epriestley on Jan 16 2014, 6:54 PM.
Tags
None
Referenced Files
F14688375: D7981.id18084.diff
Mon, Jan 13, 5:09 PM
Unknown Object (File)
Wed, Dec 18, 4:46 AM
Unknown Object (File)
Sun, Dec 15, 3:44 AM
Unknown Object (File)
Dec 13 2024, 5:24 AM
Unknown Object (File)
Dec 12 2024, 9:49 AM
Unknown Object (File)
Dec 12 2024, 1:32 AM
Unknown Object (File)
Dec 3 2024, 10:09 AM
Unknown Object (File)
Nov 26 2024, 2:47 PM
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