Hydra now uses an optional HYDRA_DBI environment variable which holds the DBI url. If this variable is not set, sqlite is used like before.
[?]
Apr 29, 2009, 11:07 AM
VKOHKP4MCR2PYJQCY34J4CMEXLUECSY6FNURWVAM6ANR5ENJU2GQCDependencies
- [2]
AFTXA575* $HYDRA_DATA environment variable. - [3]
GZAXDYBQ* Script for initialising the database. - [4]
2GK5DOU7* Downloading closures.
Change contents
- replacement in src/lib/Hydra/Helper/Nix.pm at line 68
my $path = getHydraPath . '/hydra.sqlite';die "The Hydra database ($path) not exist!\n" unless -f $path;return "dbi:SQLite:$path";my $db = $ENV{"HYDRA_DBI"};if ($db ne "") {return $db ;}else {my $path = getHydraPath . '/hydra.sqlite';die "The Hydra database ($path) not exist!\n" unless -f $path;return "dbi:SQLite:$path";}