Closed ChaosCoder closed 1 year ago
@ChaosCoder Please add its license by hand via the YAML config file.
I could reproduce the issue. I traced the cause of it but I noticed there is no quick solution so far.
RealHTTP has changed its license from Apache License to MIT License. (see: https://github.com/immobiliare/RealHTTP/commits/main/LICENSE)
This results in its repository having multiple licenses. I think GitHub's license API returns the 404 not found error helplessly.
LicensePlist uses GitHub's license API, and the API doesn't accept any version specification. So it is a limitation of LicensePlist so far.
Thank you, that worked!
However, I opened a GitHub support ticket because of this 404 response. They already replied and ran their job on that particular repository to update their database. Now, the proper license is returned via the API and thus LicensePlist works with that repo flawlessly. So now I do not even need the manual entry. 👍🏻
I'm using LicensePlist successfully for all my dependencies via SPM. I recently added a new library RealHTTP and LicensePlist fails to find the LICENSE but I do not see any difference in how.
Dependency via SPM
The following output is produced when executing
license-plist
without any parameters:So the problem is either RealHTTP or LicensePlist. I am using LicensePlist version
3.23.4
.