]> git.donarmstrong.com Git - cran2deb.git/commit
licenses+db: delegate license acceptance to the database. add license management...
authorblundellc <blundellc@edb9625f-4e0d-4859-8d74-9fd3b1da38cb>
Sat, 13 Sep 2008 13:17:56 +0000 (13:17 +0000)
committerblundellc <blundellc@edb9625f-4e0d-4859-8d74-9fd3b1da38cb>
Sat, 13 Sep 2008 13:17:56 +0000 (13:17 +0000)
commit8960d3b57510786d02ee34d7e0f9768be584f164
treeeb493e78872aa3b1454f71d3ef245a6684bf35a4
parentb44d6125c230362bceebdfec4b996966e77f85f5
licenses+db: delegate license acceptance to the database. add license management interface.

``License: file FOO'' support is nearly done; just need to plug bits
together on the acceptance side of things.  An SHA1 hash of the license
file is stored in the DB for matching.  Unsure how effective this will
be.  Might want to remove all whitespace prior to hashing.

needs testing; probably has a few bugs lurking. still need to work out
appropriate place for database so that R does not wipe it each time.
Perhaps it's time to delve into /var.

also a fix to r.dependency.closure --- previously incorrectly uses
levels() on the wrong type.

git-svn-id: svn://svn.r-forge.r-project.org/svnroot/cran2deb@55 edb9625f-4e0d-4859-8d74-9fd3b1da38cb
pkg/trunk/DESCRIPTION
pkg/trunk/R/db.R
pkg/trunk/R/license.R
pkg/trunk/R/rdep.R
pkg/trunk/R/util.R
pkg/trunk/exec/build
pkg/trunk/exec/update