1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-11 01:12:41 +01:00
phorge-phorge/src/applications/diffusion
epriestley bb4904553f Route some VCS connections over SSH
Summary:
  - Add web UI for configuring SSH hosting.
  - Route git reads (`git-upload-pack` over SSH).

Test Plan:
  >>> orbital ~ $ git clone ssh://127.0.0.1/
  Cloning into '127.0.0.1'...
  Exception: Unrecognized repository path "/". Expected a path like "/diffusion/X/".
  fatal: Could not read from remote repository.

  Please make sure you have the correct access rights
  and the repository exists.
  >>> orbital ~ $ git clone ssh://127.0.0.1/diffusion/X/
  Cloning into 'X'...
  Exception: No repository "X" exists!
  fatal: Could not read from remote repository.

  Please make sure you have the correct access rights
  and the repository exists.
  >>> orbital ~ $ git clone ssh://127.0.0.1/diffusion/MT/
  Cloning into 'MT'...
  Exception: This repository is not available over SSH.
  fatal: Could not read from remote repository.

  Please make sure you have the correct access rights
  and the repository exists.
  >>> orbital ~ $ git clone ssh://127.0.0.1/diffusion/P/
  Cloning into 'P'...
  Exception: TODO: Implement serve over SSH.
  fatal: Could not read from remote repository.

  Please make sure you have the correct access rights
  and the repository exists.

Reviewers: btrahan

Reviewed By: btrahan

CC: hach-que, aran

Maniphest Tasks: T2230

Differential Revision: https://secure.phabricator.com/D7421
2013-10-29 15:32:40 -07:00
..
application Accept and route VCS HTTP requests 2013-10-29 15:32:40 -07:00
capability Add global "push" policy to Repositories 2013-10-29 15:32:40 -07:00
conduit Fix logged-out Diffusion calls to Conduit 2013-10-22 13:47:52 -07:00
config Use PhutilBugtraqParser in Phabricator 2013-09-18 10:13:00 -07:00
controller Route some VCS connections over SSH 2013-10-29 15:32:40 -07:00
data Fix issue where 'changeType' is not marshalled across Conduit 2013-09-19 11:57:23 -07:00
doorkeeper Remove loadMemberPHIDs from PhabricatorProject 2013-10-06 17:07:08 -07:00
events Tie application event listeners to the applications they listen for 2013-10-21 17:00:21 -07:00
exception Remove spurious "+x" from files that shouldn't have it 2013-10-05 05:18:17 -07:00
query Lock policy queries to their applications 2013-10-21 17:20:27 -07:00
remarkup Use Application PHIDs for commits 2013-07-22 12:17:34 -07:00
request Make more Diffusion controllers/views capability-sensitive 2013-09-27 10:49:45 -07:00
ssh Route some VCS connections over SSH 2013-10-29 15:32:40 -07:00
view Modernize Diffusion 2013-05-11 08:23:19 -07:00
DiffusionLintSaveRunner.php Make most repository reads policy-aware 2013-09-25 16:54:48 -07:00