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)
Tue, Sep 3, 4:34 AM
Unknown Object (File)
Sun, Sep 1, 6:45 PM
Unknown Object (File)
Sun, Sep 1, 6:45 PM
Unknown Object (File)
Sun, Sep 1, 6:45 PM
Unknown Object (File)
Sep 1 2024, 2:29 AM
Unknown Object (File)
Aug 28 2024, 1:13 PM
Unknown Object (File)
Aug 24 2024, 10:55 AM
Unknown Object (File)
Aug 17 2024, 9:36 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