HomePhabricator

Redirect gerrit repo URIs to diffusion callsigns.

Authored by mmodell.

Description

Redirect gerrit repo URIs to diffusion callsigns.

Summary:
Redirect from gerrit project URI path, e.g.:

From:

https://phabricator.wikimedia.org/r/phabricator/extensions/

To:

https://phabricator.wikimedia.org/diffusion/PHEX/

This allows external tools to link to repos without knowing their callsign.

Test Plan:
install extension files in /srv/phab/phabricator/src/extensions
Then attempt to visit a url like the one above.

Reviewers: chasemp, demon

Reviewed By: demon

Subscribers: Krenair, Paladox

Maniphest Tasks: T110607

Differential Revision: https://phabricator.wikimedia.org/D51

Details

Committed
mmodellNov 23 2015, 11:49 PM
Reviewer
demon
Differential Revision
D51: Redirect gerrit repo URIs to diffusion callsigns.
Parents
rPHEXf6298344e02e: Diffusion custom 'change-id' field links to changes in gerrit
Branches
Unknown
Tags
Unknown
ChangeId
None