summaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorGuillem Jover <guillem@debian.org>2009-02-26 07:35:17 +0200
committerGuillem Jover <guillem@debian.org>2009-02-26 07:48:07 +0200
commit69c9250259d3abb8feb632898e5a495e74a33fc8 (patch)
treeed8463edfcc931c9e4a3c4e1c4f15f8e85743720 /ChangeLog
parent8c4a5bf6fa2d265ea037f72f82afe891c6b6475e (diff)
downloaddpkg-69c9250259d3abb8feb632898e5a495e74a33fc8.tar.gz
dpkg: Add progress reporting while reading the file list database
Reading the files database can take a while on machines with slow disks and an empty cache. To make the wait more tolerable try to display a progress indicator if the output is a terminal. Based-on-patch-by: Romain Francoise <rfrancoise@debian.org>
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog9
1 files changed, 9 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 1c6b4dd97..955fa43ca 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,15 @@
2009-02-26 Romain Francoise <rfrancoise@debian.org>,
Guillem Jover <guillem@debian.org>
+ * src/filesdb.c: Include 'progress.h'.
+ (ensure_allinstfiles_available): Call progress_init instead of
+ directly printing. Call progress_step if needing to print on each
+ package iteration. And call progress_done if needing to print when
+ finished.
+
+2009-02-26 Romain Francoise <rfrancoise@debian.org>,
+ Guillem Jover <guillem@debian.org>
+
* lib/Makefile.am (libdpkg_a_SOURCES): Add 'progress.h' and
'progress.c'.
* lib/progress.h: New file.