Update queryPathInfo calls

[?]
Jul 18, 2012, 9:14 PM
57Y7RG2A2JCZ73GPA3HBANDDDJYPXP2FFGSQ2H5SUMJJRBBWY65QC

Dependencies

  • [2] RBHHV7P7 * Read logs using logContents function in stead of handling it everywhere separately.
  • [3] IDT3SO3P Generate *.narinfo files on the fly to support the binary cache substituter
  • [4] 2JQ7WEFM
  • [5] BDSD2JLV * Speed up manifest generation.
  • [6] 64K7R4Y6 Forgot to change Nix to Nix::Store in one place
  • [7] IWVA2P2Y * Generate manifests on demand. Next step: generate NAR archives on
  • [8] 6US6LEC7 * Add a NarSize field to Hydra manifests. This allows nix-env
  • [9] IGZ3IFSG * Escape `+', `=' and `?' in NAR URIS in manifests. Otherwise you get
  • [10] BPVJBR2P * Only put Nix builds in the global channel.
  • [11] 5O6E5SU5 hydra: store logfile/output path/closure size
  • [12] 7DWCXNC7 Use the new Nix Perl bindings
  • [*] 7YBYT2LQ

Change contents

  • replacement in src/lib/Hydra/View/NARInfo.pm at line 15
    [3.945][3.945:1026]()
    my ($deriver, $narHash, $time, $narSize, $refs) = queryPathInfo($storePath);
    [3.945]
    [3.1026]
    my ($deriver, $narHash, $time, $narSize, $refs) = queryPathInfo($storePath, 1);
  • edit in src/lib/Hydra/View/NARInfo.pm at line 21
    [3.1172][3.1172:1269]()
    #$info .= "FileHash: sha256:$compressedHash\n";
    #$info .= "FileSize: $compressedSize\n";
  • replacement in src/lib/Hydra/View/NixManifest.pm at line 24
    [4.1011][4.327:403]()
    my ($deriver, $hash, $time, $narSize, $refs) = queryPathInfo $path;
    [4.1011]
    [4.0]
    my ($deriver, $hash, $time, $narSize, $refs) = queryPathInfo($path, 0);
  • replacement in src/script/hydra-build at line 388
    [4.1591][4.17:97]()
    my ($deriver, $hash, $time, $narSize, $refs) = queryPathInfo($outPath);
    [4.1591]
    [4.495]
    my ($deriver, $hash, $time, $narSize, $refs) = queryPathInfo($outPath, 0);
  • replacement in src/script/hydra-build at line 393
    [4.621][4.155:229]()
    my ($deriver, $hash, $time, $narSize, $refs) = queryPathInfo($path);
    [4.621]
    [2.1143]
    my ($deriver, $hash, $time, $narSize, $refs) = queryPathInfo($path, 0);