summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2011-08-02 21:00:33 +0100
committerLars Wirzenius <liw@liw.fi>2011-08-02 21:00:33 +0100
commit3a5bbe073dc79727c6a0b265aeb1c5cec017a3a6 (patch)
treebf4715c6243e0b75d5bf1552f59d2deb257864a9
parent3739e342db5796711db3055c3071a8a130e48e72 (diff)
parent04621483b016dcaa17726dba15912fadeb590574 (diff)
downloadlarch-0.21.tar.gz
Release version 0.21.larch-0.21
-rw-r--r--Makefile2
-rw-r--r--NEWS20
-rw-r--r--debian/changelog6
-rw-r--r--debian/control6
-rw-r--r--larch/__init__.py2
5 files changed, 30 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index 5b60519..355adb3 100644
--- a/Makefile
+++ b/Makefile
@@ -15,7 +15,7 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-all: fsck-larch.1
+all: # fsck-larch.1
$(MAKE) -C doc html
fsck-larch.1: fsck-larch.1.in fsck-larch
diff --git a/NEWS b/NEWS
index 6ef9263..9083fa3 100644
--- a/NEWS
+++ b/NEWS
@@ -5,6 +5,26 @@ These are the release notes for larch, a Python implementation of a
copy-on-write B-tree, designed by Odah Rodeh.
+Version 0.21, released 2011-08-02
+---------------------------------
+
+* Better error messages from `fsck-larch`.
+* Bug fix: `fsck-larch` no longer reports as missing nodes that aren't
+ in use by all B-trees in a forest.
+* `fsck-larch` now has a manual page.
+* More `tracing.trace` statements to make it easier to track when nodes
+ are created and destroyed.
+* B-tree nodes are now stored in a more efficient way on disk (several
+ levels of directories, not just one). This is a compatibility breaker:
+ old B-trees aren't readable with new larch, and B-trees created with
+ the new larch aren't readable by old larch.
+* A couple of memory leaks fixed: both were caches that grew effectively
+ without bounds.
+* Least-Recently-Used caches now log their hit/miss statistics
+ explicitly. Previous this was done in the `__del__` method, but those
+ did not get called deterministically, so the logging did not always
+ happen.
+
Version 0.20, released 2011-07-20
---------------------------------
diff --git a/debian/changelog b/debian/changelog
index 4e3616e..c2b310f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,9 +1,11 @@
-python-larch (0.21-1) UNRELEASED; urgency=low
+python-larch (0.21-1) unstable; urgency=low
* New upstream release.
* Change package to be non-native.
+ * Add build-dependency on python-cliapp.
+ * fsck-larch manpage build disabled, until ttystatus is in Debian.
- -- Lars Wirzenius <liw@liw.fi> Tue, 02 Aug 2011 16:01:01 +0100
+ -- Lars Wirzenius <liw@liw.fi> Tue, 02 Aug 2011 20:00:24 +0100
python-larch (0.20) unstable; urgency=low
diff --git a/debian/control b/debian/control
index ef73efc..db283e2 100644
--- a/debian/control
+++ b/debian/control
@@ -4,12 +4,14 @@ Section: python
Priority: optional
Standards-Version: 3.9.2
Build-Depends: debhelper (>= 7.3.8), python (>= 2.6.6-3~),
- python-coverage-test-runner, python-tracing, python-sphinx
+ python-coverage-test-runner, python-tracing, python-sphinx,
+ python-cliapp (>= 0.14)
X-Python-Version: >= 2.6
Package: python-larch
Architecture: all
-Depends: ${python:Depends}, ${misc:Depends}, python-tracing, python-cliapp
+Depends: ${python:Depends}, ${misc:Depends}, python-tracing,
+ python-cliapp (>= 0.14)
Description: B-tree library for Python
An implementation of a particular kind of B-tree, based on research
by Ohad Rodeh. This is the same data structure that btrfs uses, but
diff --git a/larch/__init__.py b/larch/__init__.py
index c6a01f3..cb3f8a6 100644
--- a/larch/__init__.py
+++ b/larch/__init__.py
@@ -14,7 +14,7 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-__version__ = '0.20'
+__version__ = '0.21'
from nodes import FrozenNode, Node, LeafNode, IndexNode