Compare commits

...
Author SHA1 Message Date
Eelco Dolstra 90ba019534 * NEWS for 0.8.1. 2005-04-13 09:26:09 +00:00
Eelco Dolstra 5bc2955997 * And bump the version number. 2005-04-12 10:56:25 +00:00
Eelco Dolstra 937a54ae4a * Merge critical bug fixes from trunk (r2536, r2537). 2005-04-12 10:56:02 +00:00
Eelco Dolstra 20cb2d80c6 * Nix 0.8 maintenance branch. 2005-04-12 10:54:34 +00:00
Eelco Dolstra 13aeaf142e * Branch for 0.8 bug fix releases. 2005-04-12 10:53:24 +00:00
Eelco Dolstra 9f3601a36c * Argh! The patch downloader was broken due to the renaming of the
`--isvalid' flag in nix-store.
2005-04-12 10:51:38 +00:00
Eelco Dolstra f3660b1c8c * Garbage collector fix: allow deletion of paths that have invalid
(but substitutable) referers.
2005-04-12 10:51:00 +00:00
Eelco Dolstra d5219a351a * Damn. Disable the USE heuristic for now, since the deriver in the
database isn't always in the manifest (so the reference graph cannot
  be reconstructed fully).
2005-04-12 10:07:02 +00:00
Eelco Dolstra 1d86790910 * Bump the version number to 0.9. 2005-04-11 13:04:54 +00:00
4 changed files with 20 additions and 10 deletions

No files matched your search

+14 -4
View File
@@ -1,4 +1,14 @@
Version 0.8 (April 11, 2005)
Release 0.8.1 (April 13, 2005)
This is a bug fix release.
* Patch downloading was broken.
* The garbage collector would not delete paths that had references
from invalid (but substitutable) paths.
Release 0.8 (April 11, 2005)
NOTE: the hashing scheme in Nix 0.8 changed (as detailed below). As a
result, `nix-pull' manifests and channels built for Nix 0.7 and below
@@ -162,7 +172,7 @@ Nix 0.8 has the following improvements:
* Manual updates.
Version 0.7 (January 12, 2005)
Release 0.7 (January 12, 2005)
* Binary patching. When upgrading components using pre-built binaries
(through nix-pull / nix-channel), Nix can automatically download and
@@ -184,7 +194,7 @@ Version 0.7 (January 12, 2005)
dependencies are revealed.
Version 0.6 (November 14, 2004)
Release 0.6 (November 14, 2004)
Major changes include the following:
@@ -250,6 +260,6 @@ Major changes include the following:
* Many bug fixes.
Version 0.5 and earlier
Release 0.5 and earlier
Please refer to the Subversion commit log messages.
+1 -1
View File
@@ -1,4 +1,4 @@
AC_INIT(nix, "0.8")
AC_INIT(nix, "0.8.1")
AC_CONFIG_SRCDIR(README)
AC_CONFIG_AUX_DIR(config)
AM_INIT_AUTOMAKE
+1 -1
View File
@@ -76,7 +76,7 @@ addToQueue $targetPath;
sub isValidPath {
my $p = shift;
system "@bindir@/nix-store --isvalid '$p' 2> /dev/null";
system "@bindir@/nix-store --check-validity '$p' 2> /dev/null";
return $? == 0;
}
+4 -4
View File
@@ -737,10 +737,10 @@ void deleteFromStore(const Path & _path)
Transaction txn(nixDB);
if (isValidPathTxn(txn, path)) {
PathSet referers = getReferers(txn, path);
if (referers.size() > 1 ||
(referers.size() == 1 &&
*referers.begin() != path))
throw Error(format("cannot delete path `%1%' because it is in use") % path);
for (PathSet::iterator i = referers.begin();
i != referers.end(); ++i)
if (*i != path && isValidPathTxn(txn, *i))
throw Error(format("cannot delete path `%1%' because it is in use by path `%2%'") % path % *i);
invalidatePath(txn, path);
}
txn.commit();