satis
satis copied to clipboard
Possibility to define options pro repository
It would be nice to have a possibility to define some options (for example required packages) pro repository.
This would simplify mirroring. Also it would speed up some operations - satis will not search for private packages in local repositories and in the other way.
For example this way:
{
"name": "Company",
"homepage": "http://packages.local",
"repositories": [
{
"type": "vcs",
"url": "https://svn.local.local/privaterepository/",
"require-all": true
},
{
"type": "composer",
"url": "https://packagist.org",
"require": {
"zendframework/zendframework" : ">=2.2",
"monolog/monolog": "*"
},
"archive": {
"directory": "dist/ext",
"format": "tar",
"skip-dev": true
}
}
],
"archive": {
"directory": "dist"
},
"require-dependencies": true
}
Global options (at root level) would be overriden by options on repository level.
Yes! I'd love to be able to mirror a couple packages from packagist and require all from my private vcs repositories.
One way to do this would be create two private repositories.
- Mirrored repositories requiring specific packages.
- Private VCS repositories using "require-all".
Isn't this already possible? /cc @Seldaek
options for repos is possible, satis options per repo isn't I guess.