about summary refs log tree commit diff
path: root/scripts/readmanifest.pm.in
AgeCommit message (Collapse)AuthorFilesLines
2006-02-24 * Canonicalise manifests a bit by sorting them.Eelco Dolstra1-2/+2
2005-03-18 * Ignore hash conflicts in gc-releases.pl.Eelco Dolstra1-3/+8
2005-03-14 * Set NAR name to content hash; previous nix-push names were notEelco Dolstra1-14/+3
unique. * Drop `hashAlgo' attribute in manifests; prefix hashes with the hash algorithm instead.
2005-02-25 * Add a version number to manifests.Eelco Dolstra1-0/+9
2005-02-24 * Properly specify the hash algorithm in the manifests, and read itEelco Dolstra1-3/+15
too. * Change the default hash for nix-prefetch-url back to md5, since that's what we use in Nixpkgs (for now; a birthday attack is rather unlikely there).
2005-02-09 * Propagate the deriver of a path through the substitute mechanism.Eelco Dolstra1-6/+6
* Removed some dead code (successor stuff) from nix-push. * Updated terminology in the tests (store expr -> drv path). * Check that the deriver is set properly in the tests.
2005-02-08 * Better error reporting in readmanifest.Eelco Dolstra1-1/+2
* Use force flag in `mv' to prevent silly interactive questions (this happens with shared Nix stores).
2005-01-25 * Really fix the substitute mechanism, i.e., ensure the closureEelco Dolstra1-1/+8
invariant by registering references through the manifest. * Added a test for nix-pull.
2004-12-29 * Propagate patches from the source distribution to the destinationEelco Dolstra1-3/+3
distribution insofar they are applicable.
2004-12-29 * Atomic file replacement is good.Eelco Dolstra1-1/+4
2004-12-29 * A utility to generate patches between releases based on theirEelco Dolstra1-25/+33
manifests.
2004-12-28 * Added a function to write manifests.Eelco Dolstra1-15/+57
2004-12-20 * Place manifests in /nix/var/nix/manifests.Eelco Dolstra1-2/+9
* Use the new patch downloader.
2004-12-13 * Patch deployment. `download.pl' (intended to be used in theEelco Dolstra1-30/+91
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).
2004-10-20 * Show error messages from curl.Eelco Dolstra1-1/+1
2004-06-21 * Adapted nix-pull to use the new substitute mechanism.Eelco Dolstra1-6/+6
2004-04-06 * Switched from wget to curl.Eelco Dolstra1-1/+1
* Made the dependencies on bzip2 and the shell explicit.
2004-02-10 * Lots of manual stuff. Reference pages for most Nix commands.Eelco Dolstra1-1/+1
* nix-pull now requires the full url to the manifest, i.e., `/MANIFEST/' is no longer automatically appended. * nix-prefetch-url works again.
2004-01-16 * Doh! Edited `readmanifest.pm' instead of `readmanifest.pm.in'.Eelco Dolstra1-9/+9
2003-12-05 * Refactoring: put the manifest-reading code in a separate file.Eelco Dolstra1-0/+72