1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-11 17:32:41 +01:00
phorge-phorge/src/applications/repository/engine
epriestley 0ac58d7db6 Move repository URI normalization out of PullLocalDaemon
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.

Reviewers: btrahan

Reviewed By: btrahan

CC: aran

Maniphest Tasks: T4327

Differential Revision: https://secure.phabricator.com/D7981
2014-01-17 11:48:52 -08:00
..
__tests__ Move repository URI normalization out of PullLocalDaemon 2014-01-17 11:48:52 -08:00
PhabricatorRepositoryCommitRef.php Make repository discovery partially testable 2013-05-12 19:08:37 -07:00
PhabricatorRepositoryDiscoveryEngine.php Fix an issue with SVN path construction in the presence of subpath configuration 2013-11-21 14:41:38 -08:00
PhabricatorRepositoryEngine.php Don't pull updates for repositories marked as hosted 2013-10-29 15:32:41 -07:00
PhabricatorRepositoryPullEngine.php Add 'hook.d/' directories to SVN and Git repositories for custom hooks 2014-01-03 12:26:10 -08:00