Skip to content
Snippets Groups Projects
  1. Sep 21, 2005
  2. Apr 08, 2005
  3. Feb 25, 2005
  4. Feb 09, 2005
  5. Feb 08, 2005
  6. Feb 01, 2005
  7. Jan 25, 2005
  8. Dec 20, 2004
  9. Dec 16, 2004
  10. Dec 13, 2004
    • 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
  11. Jun 21, 2004
  12. Apr 06, 2004
  13. Mar 15, 2004
  14. Jan 14, 2004
  15. Dec 21, 2003
  16. Dec 05, 2003
  17. Dec 04, 2003
  18. Dec 01, 2003
  19. Nov 24, 2003
  20. Oct 27, 2003
  21. Oct 16, 2003
  22. Aug 15, 2003
  23. Aug 05, 2003
  24. Jul 29, 2003
  25. Jul 22, 2003
    • Eelco Dolstra's avatar
      * Substitutes now should produce a path with the same id as they are · e877c69d
      Eelco Dolstra authored
        substituting for (obvious, really).
      
      * For greater efficiency, nix-pull/unnar will place the output in a
        path that is probably the same as what is actually needed, thus
        preventing a path copy.
      
      * Even if a output id is given in a Fix package expression, ensure
        that the resulting Nix derive expression has a different id.  This
        is because Nix expressions that are semantically equivalent (i.e.,
        build the same result) might be different w.r.t. efficiency or
        divergence.  It is absolutely vital for the substitute mechanism
        that such expressions are not used interchangeably.
      
      e877c69d
  26. Jul 21, 2003
  27. Jul 16, 2003
  28. Jul 13, 2003
  29. Jul 10, 2003
Loading