I'm attempting to rebuild the ZF2 composer repository (https://packages.zendframework.com), as we have recently split our components into dedicated development repositories (which has necessitated changing URIs).
The satis.json I'm working with is this:
{
"name": "Zend Framework Repository",
"homepage": "https://packages.zendframework.com",
"repositories": [
{"type": "vcs", "url": "https://github.com/zendframework/zend-authentication.git"},
{"type": "vcs", "url": "https://github.com/zendframework/zend-barcode.git"},
{"type": "vcs", "url": "https://github.com/zendframework/zend-cache.git"},
{"type": "vcs", "url": "https://github.com/zendframework/zend-captcha.git"},
{"type": "vcs", "url": "https://github.com/zendframework/zend-code.git"},
{"type": "vcs", "url": "https://github.com/zendframework/zend-config.git"},
{"type": "vcs", "url": "https://github.com/zendframework/zend-console.git"},
{"type": "vcs", "url": "https://github.com/zendframework/zend-crypt.git"},
{"type": "vcs", "url": "https://github.com/zendframework/zend-db.git"},
{"type": "vcs", "url": "https://github.com/zendframework/zend-debug.git"},
{"type": "vcs", "url": "https://github.com/zendframework/zend-di.git"},
{"type": "vcs", "url": "https://github.com/zendframework/zend-dom.git"},
{"type": "vcs", "url": "https://github.com/zendframework/zend-escaper.git"},
{"type": "vcs", "url": "https://github.com/zendframework/zend-eventmanager.git"},
{"type": "vcs", "url": "https://github.com/zendframework/zend-feed.git"},
{"type": "vcs", "url": "https://github.com/zendframework/zend-file.git"},
{"type": "vcs", "url": "https://github.com/zendframework/zend-filter.git"},
{"type": "vcs", "url": "https://github.com/zendframework/zend-form.git"},
{"type": "vcs", "url": "https://github.com/zendframework/zend-http.git"},
{"type": "vcs", "url": "https://github.com/zendframework/zend-i18n.git"},
{"type": "vcs", "url": "https://github.com/zendframework/zend-i18n-resources.git"},
{"type": "vcs", "url": "https://github.com/zendframework/zend-inputfilter.git"},
{"type": "vcs", "url": "https://github.com/zendframework/zend-json.git"},
{"type": "vcs", "url": "https://github.com/zendframework/zend-ldap.git"},
{"type": "vcs", "url": "https://github.com/zendframework/zend-loader.git"},
{"type": "vcs", "url": "https://github.com/zendframework/zend-log.git"},
{"type": "vcs", "url": "https://github.com/zendframework/zend-mail.git"},
{"type": "vcs", "url": "https://github.com/zendframework/zend-math.git"},
{"type": "vcs", "url": "https://github.com/zendframework/zend-memory.git"},
{"type": "vcs", "url": "https://github.com/zendframework/zend-mime.git"},
{"type": "vcs", "url": "https://github.com/zendframework/zend-modulemanager.git"},
{"type": "vcs", "url": "https://github.com/zendframework/zend-mvc.git"},
{"type": "vcs", "url": "https://github.com/zendframework/zend-navigation.git"},
{"type": "vcs", "url": "https://github.com/zendframework/zend-paginator.git"},
{"type": "vcs", "url": "https://github.com/zendframework/zend-permissions-acl.git"},
{"type": "vcs", "url": "https://github.com/zendframework/zend-permissions-rbac.git"},
{"type": "vcs", "url": "https://github.com/zendframework/zend-progressbar.git"},
{"type": "vcs", "url": "https://github.com/zendframework/zend-serializer.git"},
{"type": "vcs", "url": "https://github.com/zendframework/zend-server.git"},
{"type": "vcs", "url": "https://github.com/zendframework/zend-servicemanager.git"},
{"type": "vcs", "url": "https://github.com/zendframework/zend-session.git"},
{"type": "vcs", "url": "https://github.com/zendframework/zend-soap.git"},
{"type": "vcs", "url": "https://github.com/zendframework/zend-stdlib.git"},
{"type": "vcs", "url": "https://github.com/zendframework/zend-tag.git"},
{"type": "vcs", "url": "https://github.com/zendframework/zend-test.git"},
{"type": "vcs", "url": "https://github.com/zendframework/zend-text.git"},
{"type": "vcs", "url": "https://github.com/zendframework/zend-uri.git"},
{"type": "vcs", "url": "https://github.com/zendframework/zend-validator.git"},
{"type": "vcs", "url": "https://github.com/zendframework/zend-version.git"},
{"type": "vcs", "url": "https://github.com/zendframework/zend-view.git"},
{"type": "vcs", "url": "https://github.com/zendframework/zend-xmlrpc.git"},
{"type": "vcs", "url": "https://github.com/zendframework/ZendCloud.git"},
{"type": "vcs", "url": "https://github.com/zendframework/ZendDeveloperTools.git"},
{"type": "vcs", "url": "https://github.com/zendframework/ZendGData.git"},
{"type": "vcs", "url": "https://github.com/zendframework/ZendOAuth.git"},
{"type": "vcs", "url": "https://github.com/zendframework/ZendOpenId.git"},
{"type": "vcs", "url": "https://github.com/zendframework/ZendPdf.git"},
{"type": "vcs", "url": "https://github.com/zendframework/ZendQueue.git"},
{"type": "vcs", "url": "https://github.com/zendframework/ZendRest.git"},
{"type": "vcs", "url": "https://github.com/zendframework/ZendService_AgileZen.git"},
{"type": "vcs", "url": "https://github.com/zendframework/ZendService_Akismet.git"},
{"type": "vcs", "url": "https://github.com/zendframework/ZendService_Amazon.git"},
{"type": "vcs", "url": "https://github.com/zendframework/ZendService_Api.git"},
{"type": "vcs", "url": "https://github.com/zendframework/ZendService_Apple_Apns.git"},
{"type": "vcs", "url": "https://github.com/zendframework/ZendService_Audioscrobbler.git"},
{"type": "vcs", "url": "https://github.com/zendframework/ZendService_Delicious.git"},
{"type": "vcs", "url": "https://github.com/zendframework/ZendService_DeveloperGarden.git"},
{"type": "vcs", "url": "https://github.com/zendframework/ZendService_Flickr.git"},
{"type": "vcs", "url": "https://github.com/zendframework/ZendService_GoGrid.git"},
{"type": "vcs", "url": "https://github.com/zendframework/ZendService_Google_C2dm.git"},
{"type": "vcs", "url": "https://github.com/zendframework/ZendService_Google_Gcm.git"},
{"type": "vcs", "url": "https://github.com/zendframework/ZendService_LiveDocx.git"},
{"type": "vcs", "url": "https://github.com/zendframework/ZendService_Nirvanix.git"},
{"type": "vcs", "url": "https://github.com/zendframework/ZendService_OpenStack.git"},
{"type": "vcs", "url": "https://github.com/zendframework/ZendService_Rackspace.git"},
{"type": "vcs", "url": "https://github.com/zendframework/ZendService_ReCaptcha.git"},
{"type": "vcs", "url": "https://github.com/zendframework/ZendService_SlideShare.git"},
{"type": "vcs", "url": "https://github.com/zendframework/ZendService_StrikeIron.git"},
{"type": "vcs", "url": "https://github.com/zendframework/ZendService_Technorati.git"},
{"type": "vcs", "url": "https://github.com/zendframework/ZendService_Twitter.git"},
{"type": "vcs", "url": "https://github.com/zendframework/ZendService_WindowsAzure.git"},
{"type": "vcs", "url": "https://github.com/zendframework/ZendXml.git"},
{"type": "vcs", "url": "https://github.com/zendframework/ZendSkeletonApplication.git"},
{"type": "vcs", "url": "https://github.com/zendframework/zf1.git"},
{"type": "vcs", "url": "https://github.com/zendframework/zf2.git"},
{"type": "vcs", "url": "https://github.com/zendframework/ZFTool.git"},
{"type": "vcs", "url": "https://github.com/zfcampus/zf-angular.git"},
{"type": "vcs", "url": "https://github.com/zfcampus/zf-apigility.git"},
{"type": "vcs", "url": "https://github.com/zfcampus/zf-apigility-admin.git"},
{"type": "vcs", "url": "https://github.com/zfcampus/zf-apigility-admin-ui.git"},
{"type": "vcs", "url": "https://github.com/zfcampus/zf-apigility-doctrine.git"},
{"type": "vcs", "url": "https://github.com/zfcampus/zf-apigility-documentation.git"},
{"type": "vcs", "url": "https://github.com/zfcampus/zf-apigility-documentation-swagger.git"},
{"type": "vcs", "url": "https://github.com/zfcampus/zf-apigility-example.git"},
{"type": "vcs", "url": "https://github.com/zfcampus/zf-apigility-provider.git"},
{"type": "vcs", "url": "https://github.com/zfcampus/zf-apigility-skeleton.git"},
{"type": "vcs", "url": "https://github.com/zfcampus/zf-apigility-welcome.git"},
{"type": "vcs", "url": "https://github.com/zfcampus/zf-api-problem.git"},
{"type": "vcs", "url": "https://github.com/zfcampus/zf-configuration.git"},
{"type": "vcs", "url": "https://github.com/zfcampus/zf-console.git"},
{"type": "vcs", "url": "https://github.com/zfcampus/zf-content-negotiation.git"},
{"type": "vcs", "url": "https://github.com/zfcampus/zf-content-validation.git"},
{"type": "vcs", "url": "https://github.com/zfcampus/zf-deploy.git"},
{"type": "vcs", "url": "https://github.com/zfcampus/zf-development-mode.git"},
{"type": "vcs", "url": "https://github.com/zfcampus/zf-doctrine-querybuilder.git"},
{"type": "vcs", "url": "https://github.com/zfcampus/zf-hal.git"},
{"type": "vcs", "url": "https://github.com/zfcampus/zf-http-cache.git"},
{"type": "vcs", "url": "https://github.com/zfcampus/zf-mvc-auth.git"},
{"type": "vcs", "url": "https://github.com/zfcampus/zf-oauth2.git"},
{"type": "vcs", "url": "https://github.com/zfcampus/zf-rest.git"},
{"type": "vcs", "url": "https://github.com/zfcampus/zf-rpc.git"},
{"type": "vcs", "url": "https://github.com/zfcampus/zf-versioning.git"}
],
"require-all": true,
"archive": {
"directory": "composer",
"format": "zip",
"skip-dev": false
}
}
I then execute this using
$ ./bin/satis build ./satis.json ../../public
I have run into several errors, however, that I cannot figure out how to recover from.
First, frequent errors of the following nature:
ZipArchive::extractTo(...) : failed to open stream: Invalid argument
The only way to recover from the above is to remove the line for that component, unfortunately.
Second, I am frequently seeing 255 exit status codes with no error information whatsoever, even when running using -vvv
. The specific one that tends to create the 255 error code regularly is zendframework/zendframework1:1.12.0
; I have a sneaking suspicion that we may be hitting either a timeout or memory condition (as it's a very, very large package).
The end result of both, however, is that I am unable to complete a build of the repository with the full set of components we wish to provide.
Any tips or suggestions are welcome.