我正在构建一个私人满足存储库(镜像代理)。
任何人都知道如何让 satis 从存储库下定义的包创建一个 tar,如下所示:
{
"name": "Satis Configuration",
"homepage": "https://satis.example.org",
"repositories": [
{ "type": "composer", "url": "https://packagist.org" },
{
"type": "package",
"package": {
"name": "components/placeholdersjs",
"type": "component",
"version": "4.0.1",
"dist": {
"url": "https://github.com/jamesallardice/Placeholders.js/archive/v4.0.1.zip",
"type": "zip"
},
"extra": {
"component": {
"scripts": [
"dist/placeholders.min.js",
"dist/placeholders.jquery.min.js"
]
}
}
}
}
],
"require": {
"monolog/monolog": "*"
},
"require-dependencies": true,
"archive": {
"directory": "dist",
"format": "tar",
"skip-dev": true
}
}