~edwargix/git.sr.ht

046cd382d7b76f3e737d8274d9047c451b101d25 — Pedro Lucas Porcellis 5 years ago b8fbf5b
Extend license detection to include COPYRIGHT variants

Some projects like the Godot Engine and Drupal use a file named COPYRIGHT.txt
in their source code.
1 files changed, 3 insertions(+), 0 deletions(-)

M gitsrht/blueprints/repo.py
M gitsrht/blueprints/repo.py => gitsrht/blueprints/repo.py +3 -0
@@ 114,9 114,12 @@ def summary(owner, repo):
                "LICENSE.txt", "license.txt",
                "LICENCE.txt", "licence.txt",
                "COPYING.txt", "copying.txt",
                "COPYRIGHT.txt", "copyright.txt",
                "LICENSE.md", "license.md",
                "LICENCE.md", "licence.md",
                "COPYING.md", "copying.md",
                "COPYRIGHT.md", "copyright.md",
                "COPYRIGHT", "copyright",
                "LICENSES", "licenses",
                "LICENCES", "licences",
        ]: