1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-09-22 10:18:48 +02:00
phorge-phorge/src/applications/repository
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
..
application Ship "Repositories" create button to new Diffusion workflow 2013-10-29 15:32:39 -07:00
conduit Migrate repositories to use Passphrase for credential management 2013-11-22 15:23:33 -08:00
constants Build an early multi-step repository create form 2013-07-14 07:37:17 -07:00
controller Replace some hsprintf() by phutil_tag() 2013-11-11 09:23:23 -08:00
daemon Move repository URI normalization out of PullLocalDaemon 2014-01-17 11:48:52 -08:00
data Move repository URI normalization out of PullLocalDaemon 2014-01-17 11:48:52 -08:00
editor Allow repositories to be associated with projects 2014-01-03 12:24:09 -08:00
engine Move repository URI normalization out of PullLocalDaemon 2014-01-17 11:48:52 -08:00
management Extend all "ManagementWorkflow" classes from a base class 2013-12-27 13:15:40 -08:00
phid Remove many redundant implementations of canLoadNamedObject() 2013-12-18 12:00:01 -08:00
query Add Hosted/Remote filtering to Diffusion 2014-01-10 09:12:50 -08:00
response Accept and route VCS HTTP requests 2013-10-29 15:32:40 -07:00
search Make most repository reads policy-aware 2013-09-25 16:54:48 -07:00
storage Add 'hook.d/' directories to SVN and Git repositories for custom hooks 2014-01-03 12:26:10 -08:00
worker Perform search indexing in the worker queue and respect bin/search index --background 2014-01-14 13:22:56 -08:00
PhabricatorRepositoryConfigOptions.php Raise a setup warning for missing or invalid local repository directory 2013-10-30 13:07:09 -07:00