[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Savannah-hackers-public] requirements of a new project in GNU Savan

From: Assaf Gordon
Subject: Re: [Savannah-hackers-public] requirements of a new project in GNU Savannah
Date: Mon, 18 Aug 2014 10:17:54 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Icedove/24.7.0


I decided to rewrite the script in Perl, as adding more features become 
cumbersome in a shell script.

It's an ugly mess, but it works nicely...

Usage is: --project "NAME" DIRECTORY | pandoc --from markdown --to 
html > 1.html

Some of the added features:
1. better copyright detection
2. detect "canonical" copyright ("Copyright (C) YEAR NAME") but also 
non-canonical forms.
gives a warning about non-canonical forms.
3. better license detection
4. tries to detect exact type and version (GPL/LGPL/AGPL 2/2.1/3 + or later) or 
5. failing that, tries to detect some common phrases that hint about a 
non-standard license  wording.
6. detects linux vs gnu/linux, and open-source vs free-software
7. Generates a table of all files, their detected type, license and copyright.

Testing on GNU packages, there are still false-positives,
but also many valid warnings: there are many files (mostly tests) which aren't 

And these are evaluation of currently pending projects:

To be continued,
 - Assaf.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]