internal/licenses: add more filenames
Add all filenames used by at least 10 latest-version modules that
have none of the previously acceptable filenames.
@@ -81,13 +81,44 @@ var (
FileNames = []string{
"COPYING",
"COPYING.md",
+ "COPYING.markdown",
"COPYING.txt",
"LICENCE",
"LICENCE.md",
+ "LICENCE.markdown",
"LICENCE.txt",
"LICENSE",
"LICENSE.md",
+ "LICENSE.markdown",
"LICENSE.txt",
+ "LICENSE-2.0.txt",
+ "LICENCE-2.0.txt",
+ "LICENSE-APACHE",
+ "LICENCE-APACHE",
+ "LICENSE-APACHE-2.0.txt",
+ "LICENCE-APACHE-2.0.txt",
+ "LICENSE-MIT",
+ "LICENCE-MIT",
+ "LICENSE.MIT",
+ "LICENCE.MIT",
+ "LICENSE.code",
+ "LICENCE.code",
+ "LICENSE.docs",
+ "LICENCE.docs",
+ "LICENSE.rst",
+ "LICENCE.rst",
+ "MIT-LICENSE",
+ "MIT-LICENCE",
+ "MIT-LICENSE.md",
+ "MIT-LICENCE.md",
+ "MIT-LICENSE.markdown",
+ "MIT-LICENCE.markdown",
+ "MIT-LICENSE.txt",
+ "MIT-LICENCE.txt",
+ "MIT_LICENSE",
+ "MIT_LICENCE",
+ "UNLICENSE",
+ "UNLICENCE",
}
// redistributableLicenseTypes is the list of license types, as reported by
