Adam D. Barratt 5498c6c4a1 lib/dpkg.c: Also use SIZEOFHASHMAP for the sources hashes
Commit 7bba1173e02583a0dd669bde49fb91c0ea46f243 increased the size of the
binary package and virtual packages hash and introduced the constant
SIZEOFHASHMAP to ease further changes.

Apply the same change to the source package and source note hashes

Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>
2011-05-09 15:06:36 +00:00
..

BUILDING
========

Install libapt-pkg-dev

testing/ $ make
testing/ $ mkdir old cur out
testing/ $ cd testing
testing/testing/ $ perl Makefile.PL
testing/testing/ $ make

Add old and new packages files into old and cur, respectively.

testing/ $ ./checklib i386 alpha

Will generate some test stuff in out/

TODO
====

Need some way of actually updating archives.
Need some way of judging differences between Packages files.
  (so I can see what hasn't been updated and work out why;
   so I can check that Packages.gz matches dpkg-scanpackages output)
Need some way of automatically explaining why packages aren't upgraded.
  (shouldn't be hard?)

BUGS
====

out/ directory must exist for checklib, or segfault