Update redis to 6.0.2, add alternative license file searcher (#539)

* Update redis to 6.0.2, add alternative license file searcher

* Update docs about source module
This commit is contained in:
Jerry Ma
2024-09-09 17:41:29 +08:00
committed by GitHub
parent c55ccf242b
commit ad098d085e
6 changed files with 60 additions and 10 deletions

View File

@@ -297,3 +297,23 @@ pkg.json 存放的是非源码类型的文件资源,例如 musl-toolchain、UP
}
}
```
当一个开源项目的许可证在不同版本间使用不同的文件,`path` 参数可以使用数组将可能的许可证文件列出:
```json
{
"redis": {
"type": "git",
"path": "php-src/ext/redis",
"rev": "release/6.0.2",
"url": "https://github.com/phpredis/phpredis",
"license": {
"type": "file",
"path": [
"LICENSE",
"COPYING"
]
}
}
}
```