ably / repository-audit

Oversight for our estate of repositories, in particular those in the public domain. Audit. Monitor. Conform.
Apache License 2.0
11 stars 2 forks source link

Add `LICENSE` / `licenseInfo` check #26

Open QuintinWillison opened 3 years ago

QuintinWillison commented 3 years ago

Ensure that the repository correctly identifies its license (typically Apache-2.0).

It's probably sufficient to simply inspect the repository object's licenseInfo property.

We could go as far as to actually check that the LICENSE file appears exactly as we want it to, however we might consider this to have been implicitly done for us by GitHub based on the contents of licenseInfo.