]> git.donarmstrong.com Git - cran2deb.git/commit
license: hashes of freeform licenses are stored in the database and these hashes...
authorblundellc <blundellc@edb9625f-4e0d-4859-8d74-9fd3b1da38cb>
Sat, 13 Sep 2008 13:20:12 +0000 (13:20 +0000)
committerblundellc <blundellc@edb9625f-4e0d-4859-8d74-9fd3b1da38cb>
Sat, 13 Sep 2008 13:20:12 +0000 (13:20 +0000)
commit44c72424d6d53e3395eb9f529b5f6299c20671b2
tree32eb964b9d680631d735ef98b7914b29004301ac
parent6af559b7607b2427ac06f273b8b5e501a24e4804
license: hashes of freeform licenses are stored in the database and these hashes used for auto-acceptance.

freeform licenses may be files, or may be the contents of the License:
field in the R DESCRIPTION.  such text is mapped to lower case and all
space characters are compressed and mapped to a single space.

a nicer interface for adding these freeform licenses is introduced.
after reviewing the license, its hash may be added as follows:

$ cran2deb license
license> add uroot gpl
(maps hash of whatever freeform license uroot has to gpl)
...
$ cran2deb build uroot
(success is assured!)

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