Skip to content
Prev 6155 / 21312 Next

[Bioc-devel] Please bump version number when committing changes

As Pete and Ryan have pointed out, it seems that the version control system
should somehow ease the burden of the developer here.

Let's look at this from the github perspective, since it is likely to be
the primary hosting mechanism for the foreseeable future. Just thinking out
loud, if R could somehow dynamically ascertain the version of a package at
build time, it could query the git checkout for a version. A simple
algorithm that I have found effective in non-R projects is to consider git
tags, which on github equate to releases. If the repository state is *at*
the tag, then use the tag as the version. If the state is ahead of the most
recent tag, then use the tag + latest commit hash. I wonder if R could
support this by allowing a path to an R script in the version field?



On Fri, Sep 5, 2014 at 6:27 PM, Vincent Carey <stvjc at channing.harvard.edu>
wrote: