composer/composer — pull request #2189 by lcobucci (2013-08-19 07:53:48+00:00)
Title: Replicate repository options on packages so that dist files can be downloaded on private repositories secured by SSL

When using a SSL secured composer repository and the dist files are under the same host, composer is not able to dowload the dist files because the connection context is not passed to FileDownloader.

This patch makes Composer Repository replicates its connection options into every package that have dist files with the exactly same base url (dumps and loads that configuration from composer.lock too).