[pkg-bioc] cran2deb.pl error on gmodels

Dirk Eddelbuettel edd at debian.org
Wed Aug 29 14:07:49 UTC 2007


On 29 August 2007 at 15:28, Johannes Ranke wrote:
| * Dirk Eddelbuettel <edd at debian.org> [070829 14:10]:
| > 
| > On 29 August 2007 at 13:09, Egon Willighagen wrote:
| > | On 8/29/07, Egon Willighagen <egon.willighagen at gmail.com> wrote:
| > | > I'm also thinking of separating these bits of information from the
| > | > source... will get back on this.
| > | 
| > | OK, submitted a patch for this (r308). %cannotBuild is now read from a
| > | separate file: tools/cannotBuild.list
| > | 
| > | Will do the same for other bits of information.
| > 
| > Before we go completely overboard here in moving information around without
| > adding anything fundamentally new, it may be worth figuring exactly how we
| > want to do that.  
| > 
| > I still think a shared database is best.  Given that we all have _write_
| > access on alioth, we could try to cook something up with simple locks that we
| > set whenever we change values, and otherwise _read_ by rsync/scp/... and
| > re-reading the db.  Which could be flatfiles, or sqlite.
| 
| I don't see the advantage over plain text files being read directly by
| cran2deb.pl. Nowadays searching in a text file is so easy and fast (e.g.
| using the vim editor :). A real advantage in my eyes would be to have a
| dependency tree, e.g. in an R object created by the package that you
| mentioned a while ago.

I do.  When I wrote CRANberries, from scratch and in R, I used to re-read all
this information (about existing packages vs new packages) from files etc. It
doesn't take "long" for common definitions of long.  But if you do it over
and over, "long" gets a new meaning.

By switching it to sqlite, I cut this down by a factor of 20 or 30 (ie a
minute+ to seconds).  As CRAN grows, this matters.

Moreover, having data in a DB allows you to do all sorts of other DB-ish
queries.  You really do get richer access to your data.

BUt enough griping. What we have now works and if I want a change I better
code it up :)
 

And a big thanks to David who seems to have fixed the SVN-commit-to-mail
issue. 

Dirk

-- 
Three out of two people have difficulties with fractions.



More information about the pkg-bioc-devel mailing list