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

@@ -317,3 +317,24 @@ When an open source project has multiple licenses, multiple files can be specifi
}
}
```
When the license of an open source project uses different files between versions,
`path` can be used as an array to list the possible license files:
```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"
]
}
}
}
```