alphagov/redirector — pull request #417 by jamiecobbett (2013-11-25 16:29:58+00:00)
Title: Fix some incorrect parentage

Whilst investigating some of the problem's in Transition after importing data from redirector, we found that some of the sites that have recently been added to redirector have incorrect parentage.

Whitehall now has an API that shows a more complete set of organisations which might make working out relationships simpler. For example: here is the first page of organisations:
https://www.gov.uk/api/organisations
and here is an organisation:
https://www.gov.uk/api/organisations/attorney-generals-office

If you don't already have one, you can get a plugin to pretty-print JSON for many browsers. I use: https://chrome.google.com/webstore/detail/json-formatter/bcjindcccaagfpapjjmafapmmgkkhgoa

We will handle the effect renaming these has on the Transition app by recreating the data from scratch. In the short-medium term we are going to make the filenames irrelevant to the Transition import process.