~sircmpwn/public-inbox

git.sr.ht: Extend license detection to include UNLICENSE. v1 REJECTED

jgart: 1
 Extend license detection to include UNLICENSE.

 1 files changed, 1 insertions(+), 1 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~sircmpwn/public-inbox/patches/25733/mbox | git am -3
Learn more about email & git
View this thread in the archives

[PATCH git.sr.ht] Extend license detection to include UNLICENSE. Export this patch

Some projects like kakoune editor or emacs-web-server use a file named UNLICENSE
in the root of the project folder. I also use it for my dotfiles.
---
 gitsrht/blueprints/repo.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gitsrht/blueprints/repo.py b/gitsrht/blueprints/repo.py
index 61db55f..dbfc22a 100644
--- a/gitsrht/blueprints/repo.py
+++ b/gitsrht/blueprints/repo.py
@@ -125,7 +125,7 @@ def summary(owner, repo):
                "COPYRIGHT.md", "copyright.md",
                "COPYRIGHT", "copyright",
                "LICENSES", "licenses",
                "LICENCES", "licences",
                "LICENCES", "licences", "UNLICENSE",
        ]:
            if path in tip.tree:
                license = True
-- 
2.33.0
NACK. We are not adding new licenses to this list. Rename your license
file to conform to one of the already supported naming conventions.