Add UK spellings of "licence". Added "LICENCE", "licence", "LICENCE.txt", "licence.txt", "LICENCE.md", "licence.md", and "LICENCES" as valid licence files when determining whether a repository has a licence (to show the warning banner about adding a licence).
1 files changed, 4 insertions(+), 1 deletions(-) M gitsrht/blueprints/repo.py
M gitsrht/blueprints/repo.py => gitsrht/blueprints/repo.py +4 -1
@@ 105,12 105,15 @@ def summary(owner, repo): license = False for path in [ "LICENSE", "COPYING", "LICENSE", "LICENCE", "COPYING", "LICENSE.txt", "license.txt", "LICENCE.txt", "licence.txt", "COPYING.txt", "copying.txt", "LICENSE.md", "license.md", "LICENCE.md", "licence.md", "COPYING.md", "copying.md", "LICENSES", "licenses", "LICENCES", "licences", ]: if path in tip.tree: license = True