Home GnuPG

Support ID-based repository URIs, and canonicalize repository URIs
c2b8dd28d885Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

Support ID-based repository URIs, and canonicalize repository URIs

Summary:
Ref T4245. Make /diffusion/123/ work, but redirect the user to /diffusion/XYZ/ if the repository has a callsign.

(Right now, every repository has a callsign, so this always redirects.)

Also redirect /R123:abcdef if the repository has a callsign.

Also also, move the Pull garbage collector somewhere more sensible.

Test Plan:

  • Added test coverage.
  • Visited /diffusion/1/, was redirected.
  • Visited /diffusion/R1:abcdef, was redirected.
  • Browsed Diffusion normally.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T4245

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

Details

Provenance
epriestley <git@epriestley.com>Authored on Feb 18 2016, 1:06 PM
Parents
rPHAB78fba426f661: Update import/clear symbols scripts for callsigns
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPHABc2b8dd28d885: Support ID-based repository URIs, and canonicalize repository URIs (authored by epriestley <git@epriestley.com>).Feb 18 2016, 6:56 PM