Add error/warnings for deprecated store specification

[?]
May 12, 2016, 8:17 AM
A4A5KO5QKTTTLOD3UKEJZZ6MIOA54G4FXCDOJG7D3W3AYLJSCOAAC

Dependencies

  • [2] BRAESISH Warn if PostgreSQL appears stalled
  • [*] 24BMQDZA Start of single-process hydra-queue-runner
  • [*] 5AIYUMTB Basic remote building

Change contents

  • edit in src/hydra-queue-runner/hydra-queue-runner.cc at line 50
    [5.7892]
    [2.304]
    /* handle deprecated store specification */
    if (hydraConfig["store_mode"] != "")
    throw Error("store_mode in hydra.conf is deprecated, please use store_uri");
    if (hydraConfig["binary_cache_dir"] != "")
    printMsg(lvlError, "hydra.conf: binary_cache_dir is deprecated and ignored. use store_uri=file:// instead");
    if (hydraConfig["binary_cache_s3_bucket"] != "")
    printMsg(lvlError, "hydra.conf: binary_cache_s3_bucket is deprecated and ignored. use store_uri=s3:// instead");
    if (hydraConfig["binary_cache_secret_key_file"] != "")
    printMsg(lvlError, "hydra.conf: binary_cache_secret_key_file is deprecated and ignored. use store_uri=...?secret-key= instead");