Zandronum's licence is getting misdetected in Mercurial projects
Summary
Heptapod is misdetecting Zandronum's licence in Mercurial repositories.
Steps to reproduce
Add Zandronum's licence to a project.
Zandronum's licence is a custom combination of the Sleepycat licence with a clause from the 3-clause BSD licence, which isn't recognised by the licence detector. For Git this is detected as "Other", under Mercurial repos it shows up as some unrelated licences.
Example Project
- https://foss.heptapod.net/zandronum/zandronum-stable/-/blob/branch/default/LICENSE.txt - misdetected as "BitTorrent Open Source License v1.1"
- https://dev.firestick.games/mirrors/zandronum-stable-git/-/blob/master/LICENSE.txt - Git conversion of the above, detected as "other" (correct)
- https://dev.firestick.games/test/licence-test/-/blob/branch/default/LICENSE - hg test repo, misdetected as "Amazon Digital Services License"
- https://dev.firestick.games/test/licence-test-git/-/blob/main/LICENSE - git test repo, detected as "Other"
What is the current bug behavior?
If in a Mercurial repository, Heptapod misdetects it. So far I've seen "BitTorrent Open Source License v1.1" and "Amazon Digital Services License" for the Zandronum licence.
What is the expected correct behavior?
It should get detected as "Other" like as it is in Git projects.
Details about the Heptapod instance where the bug occurs
foss.heptapod.net, also occurs on a self-hosted Heptapod 1.3.1 Docker image.