Excerpts from Vasyl Vavrychuk's message of april 12, 2018 9:54 am:
How about licensecheck detects pattern "See Copyright Notice at the end of this file" and goes LICENSECHECK_PARSELINES from the end to look for a license.
Heh - that's a clever idea.I worry it might be too clever, though: It would complicate processing by needing to backtrack and rescan based on output of scanning. Not very complicated but I would prefer to keep processing logic simple if possible.
Also, is it really needed? codesearch.debian.org has only ~100 hits for that pattern, and I believe licensecheck already by default checks at the end too.
Could you perhaps point at some real live examples where you believe this kind of mechanism would be useful?
Thanks, - Jonas -- * Jonas Smedegaard - idealist & Internet-arkitekt * Tlf.: +45 40843136 Website: http://dr.jones.dk/ [x] quote me freely [ ] ask before reusing [ ] keep private
pgpnzytKSLOUb.pgp
Description: PGP signature