You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Adam D. Barratt 74aa9dfea8
Switch to using Python 2.6
13 years ago
..
Makefile Portability fix: add the -fPIC flags in the Makefile. 19 years ago
README Imported the old britney and its libraries. 19 years ago
assert.c Imported the old britney and its libraries. 19 years ago
britney-py.c Switch to using Python 2.6 13 years ago
checklib.c Imported the old britney and its libraries. 19 years ago
dpkg-lib.cpp Imported the old britney and its libraries. 19 years ago
dpkg.c lib/dpkg.c: Also use SIZEOFHASHMAP for the sources hashes 14 years ago
dpkg.h Implemented buildSystem, removeBinary and addBinary for the c extension; added a sample python script. 19 years ago
example.py Fixed a pointer problem which caused segfaults when dealing with virtual packages; fixed a bug in source removal; moved add_binary and remove_binary from the britney module to the Packages object. 19 years ago
freelist.c Imported the old britney and its libraries. 19 years ago
freelist.h Imported the old britney and its libraries. 19 years ago
index.html Imported the old britney and its libraries. 19 years ago
memory.h Imported the old britney and its libraries. 19 years ago
memory3.c Imported the old britney and its libraries. 19 years ago
templates.h Imported the old britney and its libraries. 19 years ago
thoughts Imported the old britney and its libraries. 19 years ago

README


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