aboutsummaryrefslogtreecommitdiff
path: root/scripts/download-using-manifests.pl.in
AgeCommit message (Collapse)Author
2011-03-16* Print a better error message.Eelco Dolstra
2010-12-22* In Hydra manifests the Size field is missing, so don't rely on it.Eelco Dolstra
This caused a lot of "Use of uninitialized value" warnings from Perl.
2010-12-13* When doing a query (e.g. `nix-store -r --dry-run'), don't make a lotEelco Dolstra
of expensive calls to `nix-store --check-validity'.
2010-12-05* Use CamelCase for the Perl modules.Eelco Dolstra
2010-11-17* Oops.Eelco Dolstra
2010-11-17* When checking whether a patch is applicable, for efficiency, useEelco Dolstra
`nix-store -q --hash' to get the hash of the base path rather than `nix-hash'. However, only do this for estimating the size of a download, not for the actual substitution, because sometimes the contents of store paths are modified (which they shouldn't, of course).
2010-11-17* In the download size indication, take binary patches into account.Eelco Dolstra
Hopefully this doesn't slow things down too much.
2010-11-17* Before a build, show the disk space that the downloaded store pathsEelco Dolstra
will approximately require.
2010-02-04* "Fix" incorrect help message.Eelco Dolstra
2010-02-02* Don't do a chdir to $tmpDir. It's not necessary, and Windows doesn'tEelco Dolstra
support deleting the current directory.
2009-03-19* Future proofing: assume we can read manifests up to version 10Eelco Dolstra
(which should therefore be backwards compatible).
2009-02-27* nix-install-package: don't pollute /nix/var/nix/manifests.Eelco Dolstra
2009-02-26* Handle base-16 hashes in manifests.Eelco Dolstra
2009-02-19* download-using-manifests: don't check the cryptographic hash ofEelco Dolstra
downloaded files; rather, check the hash of the unpacked store path. When the server produces bzipped NAR archives on demand (like Hydra does), the hash of the file is not known in advance; it's streamed from the server. Thus the manifest doesn't contain a hash for the bzipped NAR archive. However, the server does know the hash of the *uncompressed* NAR archive (the "NarHash" field), since it's stored in the Nix database (nix-store -q --hash /nix/store/bla). So we use that instead for checking the integrity of the download.
2008-11-20* Urgh.Eelco Dolstra
2008-09-08* Doh.Eelco Dolstra
2008-08-04* Doh.Eelco Dolstra
2008-08-02* Make nix-env --dry-run print the paths to be substituted correctlyEelco Dolstra
again. (After the previous substituter mechanism refactoring I didn't update the code that obtains the references of substitutable paths.) This required some refactoring: the substituter programs are now kept running and receive/respond to info requests via stdin/stdout.
2008-07-18* Allow read-only access to the store (e.g., non-root users on NixOSEelco Dolstra
can do operations like "nix-store -qR <path>" even without the Nix daemon).
2007-10-22(no commit message)Eelco Dolstra
2007-08-12* Get rid of the substitutes database table (NIX-47). Instead, if weEelco Dolstra
need any info on substitutable paths, we just call the substituters (such as download-using-manifests.pl) directly. This means that it's no longer necessary for nix-pull to register substitutes or for nix-channel to clear them, which makes those operations much faster (NIX-95). Also, we don't have to worry about keeping nix-pull manifests (in /nix/var/nix/manifests) and the database in sync with each other. The downside is that there is some overhead in calling an external program to get the substitutes info. For instance, "nix-env -qas" takes a bit longer. Abolishing the substitutes table also makes the logic in local-store.cc simpler, as we don't need to store info for invalid paths. On the downside, you cannot do things like "nix-store -qR" on a substitutable but invalid path (but nobody did that anyway). * Never catch interrupts (the Interrupted exception).
2007-01-23* New kind of manifest object: "localPath", which denotes that a storeEelco Dolstra
path can be created by copying it from another location in the file system. This is useful in the NixOS installation.
2007-01-23* Successors have been gone for ages.Eelco Dolstra
2007-01-13* Removed chroot support.Eelco Dolstra
2006-10-04* tmpnam() -> File::Temp::tempdir().Eelco Dolstra
2006-09-25* Clean up calls to system().Eelco Dolstra
2006-08-05prevent doing recursive chroots, by unsetting NIX_ROOT in the scripts.Armijn Hemel
2006-08-04* Remove the dependency on `date', use strftime instead.Eelco Dolstra
2005-09-16* Set the current directory to something well-defined. Might help inEelco Dolstra
setuid installations.
2005-09-15* Use a proper temporary directory.Eelco Dolstra
2005-05-10* Make unpacking of patch sequences much faster by not doing redundantEelco Dolstra
unpacking and repacking of intermediate paths.
2005-04-12* Argh! The patch downloader was broken due to the renaming of theEelco Dolstra
`--isvalid' flag in nix-store.
2005-03-25* Better error checking.Eelco Dolstra
2005-03-14* Pass `--base32' unless using MD5.Eelco Dolstra
2005-03-14* Parse new hash format properly.Eelco Dolstra
2005-02-25* Add a version number to manifests.Eelco Dolstra
2005-02-24* Properly specify the hash algorithm in the manifests, and read itEelco Dolstra
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-01-25* Really fix the substitute mechanism, i.e., ensure the closureEelco Dolstra
invariant by registering references through the manifest. * Added a test for nix-pull.
2005-01-14* Use absolute paths.Eelco Dolstra
2005-01-12* Print out less garbage.Eelco Dolstra
2004-12-30* More instrumentation (statistics go to /nix/var/log/nix/downloads).Eelco Dolstra
2004-12-30* Fix handling of chained patches: don't skip patches if intermediateEelco Dolstra
paths are missing, etc.
2004-12-30* Some logging for evaluation.Eelco Dolstra
2004-12-29* Propagate patches from the source distribution to the destinationEelco Dolstra
distribution insofar they are applicable.
2004-12-20* Place manifests in /nix/var/nix/manifests.Eelco Dolstra
* Use the new patch downloader.