HomePhabricator

Add a "/source/..." URI for Diffusion commits which redirects

Description

Add a "/source/..." URI for Diffusion commits which redirects

Summary:
See PHI112. The install presumably wants to generate links to Diffusion commits from an external tool, but only knows the short name of the repository.

Provide a /source/phabricator/commit/abcdef908273 URI which redirects to the canonical URI for the commit.

Test Plan:

  • Visited /source/ URI for a commit, got a redirect.
  • Visited normal URI for a commit, got a commit page.
  • Visited /branches/ and /tags/ for a /source/ repository, got proper pages.

Reviewers: amckinley

Reviewed By: amckinley

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

Details

Provenance
epriestleyAuthored on Oct 3 2017, 7:50 PM
epriestleyPushed on Oct 3 2017, 8:27 PM
Reviewer
amckinley
Differential Revision
D18676: Add a "/source/..." URI for Diffusion commits which redirects
Parents
rPf9110b87abf3: In "Move Tasks to Column...", show only visible columns
Branches
Unknown
Tags
Unknown
Build Status
Buildable 18619
Build 25082: Run Core Tests