I'm trying to set up my own satis server for all my composer packages. Many packages have dependencies to something like phpunit or phpmd. I want to create archives of all these dependencies in my satis. But satis only create archives from the given repositories and is not including the dependencies.
Any idea how I can fix this?
Here is my satis.json
{
"name": "My satis repository",
"homepage": "http://satis.example.com",
"repositories": [
{
"url": "[email protected]:<user>/<repository>.git",
"type": "vcs"
}
],
"require-all": true,
"require-dependencies": true,
"require-dev-dependencies": true,
"archive": {
"directory": "dist",
"format": "zip",
"skip-dev": true
}
}
When Satis searches for packages it tries to resolve all required packages from the listed repositories. Just define them individually in your
satis.json
.(Could also be a bug, because manually defining the dependencies is tedious and defeats the
require-dependencies
directive. Consider reporting it over at the Satis issues tracker.)