pause icon indicating copy to clipboard operation
pause copied to clipboard

in the indexing email, attempt to detect the license

Open karenetheridge opened this issue 10 years ago • 2 comments

(from QAH 2015 Berlin)

We should attempt to extract the licence for the uploaded distribution, and possibly warn the user if no valid licence was found.

in the email receipt after an upload:

User: BOB (Bob) Distribution file: Foo-Bar-1.23.tar.gz LICENSE: perl5 META-driven license: yes ...

CPANTS has licence-extracting code that we can copy and adapt.

@rjbs also suggested we have some sort of EULA on PAUSE that an author must eventually agree to (e.g. that we apply the perl5 license to all uploads that are not explicitly licensed), but this is a separate issue and will take some time to implement.

karenetheridge avatar Apr 18 '15 13:04 karenetheridge

CPANTS code: https://github.com/cpants/Module-CPANTS-Analyse/blob/master/lib/Module/CPANTS/Kwalitee/License.pm

(Maybe this should be its own module? Module::GuessLicense?)

wolfsage avatar Apr 21 '16 16:04 wolfsage

that's crazy talk, having common code that everything uses consistently? :)

karenetheridge avatar Apr 21 '16 16:04 karenetheridge