]> git.donarmstrong.com Git - cran2deb.git/commit
db: tracking builds & packages backend.
authorblundellc <blundellc@edb9625f-4e0d-4859-8d74-9fd3b1da38cb>
Sat, 13 Sep 2008 13:22:11 +0000 (13:22 +0000)
committerblundellc <blundellc@edb9625f-4e0d-4859-8d74-9fd3b1da38cb>
Sat, 13 Sep 2008 13:22:11 +0000 (13:22 +0000)
commited10cfda76909813e3a177a99cacd0c28465d723
treec4cdd40a87e634a4e8a66ace64a2b2b9381599ac
parent58ea7d8cabb358491e64a94671ba778eae5faed5
db: tracking builds & packages backend.

note: database needs to be completely recreated with this commit.

packages are flagged for build iff:
- there is no latest build
- the database (or cran2deb) has changed since the last build
- the debian epoch for cran2deb has changed since the last build
- the R version of the last build does not match that of the very
latest R package.
it should be easy to add further conditions in as this is all done with
one moderately-sized SQL SELECT.

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