check getHydraPath in stead of Envvar HYDRA_DBI directly

[?]
May 9, 2009, 4:10 PM
SJLEZFC472OWVCR7WEUUYNS6BJDDR77SHWADKDCPIS2INMTPTIVAC

Dependencies

  • [2] 7PYQLDQL Added sequences for auto increment primary key columns (for PostgreSQL)
  • [3] 67P45PY4
  • [4] SHBLLAVH * More global substitution.
  • [5] L2E6EVE2 * Merged the Build and Job tables.
  • [6] SJN2QPWH * Big speed-up of the job status page and the channel generation (such
  • [7] PHX2HIVG * Store info about the build inputs in the build record.
  • [*] J5UVLXOK * Start of a basic Catalyst web interface.
  • [*] S5PV6IIM * Represent jobs explicitly in the DB.

Change contents

  • replacement in src/lib/Hydra/Schema/BuildInputs.pm at line 38
    [3.781][2.0:39]()
    if ($ENV{"HYDRA_DBI"} =~ m/^dbi:Pg/) {
    [3.781]
    [2.39]
    use Hydra::Helper::Nix;
    if (getHydraDBPath =~ m/^dbi:Pg/) {
  • edit in src/lib/Hydra/Schema/Builds.pm at line 86
    [10.1166]
    [3.3377]
    use Hydra::Helper::Nix;
  • replacement in src/lib/Hydra/Schema/Builds.pm at line 107
    [3.2196][2.84:123]()
    if ($ENV{"HYDRA_DBI"} =~ m/^dbi:Pg/) {
    [3.2196]
    [2.123]
    if (getHydraPath =~ m/^dbi:Pg/) {