Skip to content
Snippets Groups Projects
  1. Jan 12, 2005
  2. Jan 05, 2005
  3. Jan 04, 2005
  4. Dec 31, 2004
  5. Dec 30, 2004
  6. Dec 29, 2004
  7. Dec 28, 2004
  8. Dec 20, 2004
  9. Dec 17, 2004
  10. Dec 16, 2004
  11. Dec 13, 2004
    • Eelco Dolstra's avatar
      * Include the size of the bzipped archive (necessary for computing the · e3b051ae
      Eelco Dolstra authored
        cheapest download path), as well as the hash of the contents of the
        path (necessary for checking patch applicability).
      e3b051ae
    • Eelco Dolstra's avatar
      * Patch deployment. `download.pl' (intended to be used in the · 862f4c15
      Eelco Dolstra authored
        substitute mechanism) creates a store path by downloading full NAR
        archives and/or patches specified in the available manifests.
      
        Any combination of present paths, full downloads, and patches can be
        used to construct the target path.  In particular, patches can be
        chained in sequence; and full NAR archives of the target path can be
        omitted (i.e., patch-only deployment is possible).  A shortest path
        algorithm is used to find the smallest set of files to be downloaded
        (the edge weights are currently file sizes, but one can imagine
        taking the network speed to the various source into account).
      
        Patches are binary deltas between two store paths.  To be precise,
        they are the output of the `bsdiff' program applied to the NAR
        archives obtained by dumping (`nix-store --dump') the two store
        paths.  The advantage of diff'ing NAR archives (and not, say, doing
        file-by-file diffs) is that file renames/moves are handled
        automatically.  The disadvantage is that we cannot optimise creation
        of unchanged files (by hard-linking).
      862f4c15
    • Eelco Dolstra's avatar
      dca48aed
  12. Nov 29, 2004
  13. Nov 14, 2004
Loading