Closed PrMinisterGR closed 10 months ago
My question is more on how it would be possible to see the documentation at all. It seems that the license itself was accepted upstream, but it's still impossible to see the documentation.
I totally agree that this is a problem.
I'm not quite sure what we should change on our side to make it work.
This will need further investigations on our LICENSE
file.
If anyone has an idea, we'd be glad to hear it :-)
I'm suspecting that this is due to the previous owner LICENSE file that was appended to the Cecill 2.1 LICENSE
file.
Reading https://pkg.go.dev/license-policy again, the licensecheck library is used to discover LICENSE.
I've made a simple test using the code and data bellow
Here's the output of the program:
Processing license file LICENSE.with_old_license_appended
4.5% of text covered by licenses:
MIT at [21885:22940] IsURL=false
Processing license file LICENSE.cecill21
0.0% of text covered by licenses:
Processing license file LICENSE.from_licensecheck_repo
100.0% of text covered by licenses:
BSD-3-Clause at [0:1479] IsURL=false
The raw Cecill 2.1
LICENSE file seem not to be recognized by the licensecheck
library.
The current LICENSE
file we're using is kinda recognized as a MIT
license.
Further investigations is required.
Hi, until then, can I somehow view the documentation locally at least?
I did this by running godoc inside the pkg folder.
I made a PR for this one #12 @riton could you review, pls
Thanks to @vudex for the fix. This should now be fixed :heavy_check_mark:
Hi,
There is an error when trying to read documentation due to an unspecified license.
https://pkg.go.dev/github.com/ccin2p3/go-freeipa@v1.1.0/freeipa#section-documentation