alphagov/transition — pull request #99 by jamiecobbett (2013-12-03 12:28:37+00:00)
Title: Import Whitehall URLs (mappings)

When a document is added to Whitehall, an Old URL can be associated it. Whitehall exposes a CSV of every Old URL with any associated New URL. This file is generated twice per day and has about 220,000 rows, with about 43,000 published items with Old URLs. This file is produced for Redirector to use during the munge process.

Behaviours deliberately not implemented (yet):
* creating 410 mappings for content not yet published
* recording in Transition that something is being written for an Old URL

In the immediate, this will give us a source of mappings for much of UKBA's content. In the medium term it will do the same for subsequent transitions. In the longer term, we hope to stop storing Old URLs in Whitehall, and perhaps have it query Transition.