Having hit a possible bug in Magento 2.0.2 I wanted to download the develop branch and see if it had been fixed. I pulled this down and ran composer install. It removed all the magento community packages and now Magento 2 says it is missing classes. As well it might.
Looking in the composer.json currently in the develop branch, unlike the released versions it has no entry for magento/product-community-edition - instead it has a bunch of supporting libraries and all the magento packages in a "replace" section. I'm supposing this is so that forked version of the packages can be worked on. But I have no idea how to get to that point.
I cannot find any documentation anywhere for how to get hold of the missing libraries - do I add the magento/product-community-edition line back in with dev-master as the version? Or do I manually download the packages and put them somewhere? Where?