.First.lib <- function(libname, pkgname) {
global <- function(name,value) assign(name,value,envir=.GlobalEnv)
- global("maintainer", 'cran2deb buildbot <cran2deb@example.org>')
+ global("maintainer", 'cran2deb autobuild <cran2deb@example.org>')
global("root", system.file(package='cran2deb'))
global("cache_root", '/var/cache/cran2deb')
global("pbuilder_results", '/var/cache/cran2deb/results')
- global("pbuilder_config", file.path(root,'etc/pbuilderrc'))
- global("dput_config", file.path(root,'etc/dput.cf'))
- global("dinstall_config", file.path(root,'etc/mini-dinstall.conf'))
+ global("pbuilder_config", '/etc/cran2deb/pbuilderrc'))
+ global("dput_config", '/etc/cran2deb/dput.cf'))
+ global("dinstall_config", '/etc/cran2deb/mini-dinstall.conf'))
global("dinstall_archive", file.path(root,'var/archive'))
global("r_depend_fields", c('Depends','Imports')) # Suggests, Enhances
+ # git_revision {
+ global("git_revision","b79d88001537df06dac28c27be3d4887ca2d9238")
+ # git_revision }
global("changesfile", function(srcname,version='*') {
return(file.path(pbuilder_results
,paste(srcname,'_',version,'_'