juju/juju — pull request #1249 by wallyworld (2014-12-02 11:10:29+00:00)
Title: When writing metadata, copy any released metadata to the legacy index file

Fixes: https://bugs.launchpad.net/juju-core/+bug/1396981

The legacy index.json file needs to be written out to contain any released metadata. This allows the current release scripts to work.