EUPL type doesn't match
- Dominant language
- Go
- Stars
- 513
- Forks
- 99
- PR merge metrics
- No merged PRs in 30d
Description
Despite the presence of the license file in https://github.com/google/licensecheck/blob/0279a51dbb8a386077c68c8eb18ff2850dfbc12e/licenses/EUPL-1.2.lre#L1, the license is not matched by licensecheck.
```go
package main
import (
"fmt"
"os"
"github.com/google/licensecheck"
)
func main() {
data, _ := os.ReadFile("EUPL-1.2%20EN.txt")
cov := licensecheck.Scan(data)
fmt.Printf("%.1f%% of text covered by licenses:\n", cov.Percent)
for _, m := range cov.Match {
fmt.Printf("%s at [%d:%d] IsURL=%v\n", m.Type, m.Start, m.End, m.IsURL)
}
}
```
```
$ curl -LO https://joinup.ec.europa.eu/sites/default/files/custom-page/attachment/2020-03/EUPL-1.2%20EN.txt
$ go run main.go
100.0% of text covered by licenses:
Unknown at [0:13827] IsURL=false
```
Contributor guide
Assessment
This issue has not been assessed yet.