]> git.donarmstrong.com Git - cran2deb.git/commit
license: split out some of the heuristics for reducing poorly formed license fields.
authorblundellc <blundellc@edb9625f-4e0d-4859-8d74-9fd3b1da38cb>
Sat, 13 Sep 2008 13:20:35 +0000 (13:20 +0000)
committerblundellc <blundellc@edb9625f-4e0d-4859-8d74-9fd3b1da38cb>
Sat, 13 Sep 2008 13:20:35 +0000 (13:20 +0000)
commit6e9d4006449c27d6c73e7371d2cedf3dd973f700
tree6b70f4d8afa956292e94b8fa852d2f1e414480cf
parent9a54258b529d4bb994abb6cba3c833422e1c5722
license: split out some of the heuristics for reducing poorly formed license fields.

in particular, do not remove numbers in just one step. it seems common
for people to use:
License: X11 (http://blahblah/dfgdfg/)
which will be reduce to just 'x' if these steps are not split.

Also separate license hashing into getting the license text and then
separately hashing via digest. (Useful for for the 'view' command about to
be added to cran2deb license.)

git-svn-id: svn://svn.r-forge.r-project.org/svnroot/cran2deb@76 edb9625f-4e0d-4859-8d74-9fd3b1da38cb
pkg/trunk/R/license.R