Branch: refs/heads/master
  Home:   https://github.com/NixOS/nix
  Commit: 542ae5c8f804b704101f9d27bd8b2aa62ded899c
      
https://github.com/NixOS/nix/commit/542ae5c8f804b704101f9d27bd8b2aa62ded899c
  Author: Eelco Dolstra <edols...@gmail.com>
  Date:   2016-10-21 (Fri, 21 Oct 2016)

  Changed paths:
    M src/libstore/binary-cache-store.cc
    M src/libstore/binary-cache-store.hh
    M src/libstore/download.cc
    M src/libstore/export-import.cc
    M src/libstore/local-store.cc
    M src/libstore/local-store.hh
    M src/libstore/remote-store.cc
    M src/libstore/remote-store.hh
    M src/libstore/store-api.cc
    M src/libstore/store-api.hh

  Log Message:
  -----------
  BinaryCacheStore: Optionally write a NAR listing

The store parameter "write-nar-listing=1" will cause BinaryCacheStore
to write a file ‘<store-hash>.ls.xz’ for each ‘<store-hash>.narinfo’
added to the binary cache. This file contains an XZ-compressed JSON
file describing the contents of the NAR, excluding the contents of
regular files.

E.g.

  {
    "version": 1,
    "root": {
      "type": "directory",
      "entries": {
  "lib": {
    "type": "directory",
    "entries": {
      "Mcrt1.o": {
        "type": "regular",
        "size": 1288
      },
      "Scrt1.o": {
        "type": "regular",
        "size": 3920
      },
    }
  }
      }
      ...
    }
  }

(The actual file has no indentation.)

This is intended to speed up the NixOS channels programs index
generator [1], since fetching gazillions of large NARs from
cache.nixos.org is currently a bottleneck for updating the regular
(non-small) channel.

[1] 
https://github.com/NixOS/nixos-channel-scripts/blob/master/generate-programs-index.cc


  Commit: fdbbcc44924cb4d9028fa68b2f7d423fb5d8670f
      
https://github.com/NixOS/nix/commit/fdbbcc44924cb4d9028fa68b2f7d423fb5d8670f
  Author: Eelco Dolstra <edols...@gmail.com>
  Date:   2016-10-21 (Fri, 21 Oct 2016)

  Changed paths:
    M src/libstore/binary-cache-store.cc
    M src/libstore/binary-cache-store.hh
    M src/libstore/export-import.cc
    M src/libstore/local-store.cc
    M src/libstore/local-store.hh
    M src/libstore/remote-store.cc
    M src/libstore/remote-store.hh
    M src/libstore/store-api.hh
    M src/nix-daemon/nix-daemon.cc

  Log Message:
  -----------
  Remove addPathToAccessor


Compare: https://github.com/NixOS/nix/compare/307cc8c33d1d...fdbbcc44924c
_______________________________________________
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits

Reply via email to