Homec4science

Make serving repositories work with alternate URIs

Authored by epriestley <git@epriestley.com> on Feb 18 2016, 13:38.

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

Committed
epriestley <git@epriestley.com>Feb 18 2016, 19:06
Pushed
aubortJan 31 2017, 17:16
Parents
rPHc2b8dd28d885: Support ID-based repository URIs, and canonicalize repository URIs
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPH74a79aa634ef: Make serving repositories work with alternate URIs (authored by epriestley <git@epriestley.com>).Feb 18 2016, 19:06