HomePhabricator

Make serving repositories work with alternate URIs

Description

Make serving repositories work with alternate URIs

Summary: Ref T4245. Consolidates the URI parsing/rewriting logic so that repositories can be served from either /diffusion/XYZ/ or /diffusion/123/, over both HTTP and SSH.

Test Plan:

  • Pulled a Git repository by ID and callsign over HTTP and SSH.
  • Pulled a Mercurial repository by ID and callsign over HTTP and SSH.
  • Pulled a Subversion repository by ID and callsign over SSH (no HTTP support for SVN).

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T4245

Differential Revision: https://secure.phabricator.com/D15302

Details

Provenance
epriestleyAuthored on Feb 18 2016, 12:38 PM
epriestleyPushed on Feb 18 2016, 6:06 PM
Reviewer
chad
Differential Revision
D15302: Make serving repositories work with alternate URIs
Parents
rPc2b8dd28d885: Support ID-based repository URIs, and canonicalize repository URIs
Branches
Unknown
Tags
Unknown
Tasks
T4245: Make repository URIs slightly prettier
Build Status
Buildable 10764
Build 13251: Run Core Tests