Date: Fri, 16 Mar 2007 15:44:28 +0100 From: Michel Talon <talon@lpthe.jussieu.fr> To: freebsd-hackers@freebsd.org, freebsd-ports@freebsd.org Subject: pkg_check.py Message-ID: <20070316144428.GA5014@lpthe.jussieu.fr>
next in thread | raw e-mail | index | archive | help
Hello, this is to announce version 1.0 of pkg_check.py, a python program to check the contents of /var/db/pkg, and the last piece of the puzzle in the programs trying to emulate portupgrade in a different way. It is available at: http://www.lpthe.jussieu.fr/~talon/pkg_check.py always under BSD licence. Its aim is basically to do the same thing as pkgdb -F. Explicitely it reads the +CONTENTS files and the MOVED file, discovers the dependencies and checks accordingly the +REGISTERED_BY. Optionally, it can update the origins in +CONTENTS to the most recent valid version, and fix the +REGISTERED_BY. Still another option is to decompose the set of packages in connected components (with respect to dependency) and produce graphviz files for these components. In practice there is always an enormous component which is unsuitable for plotting, but on small installations it can be nice. Anyways the program gives a detailed report in CheckLog, and runs in short time, a few seconds the first time, around a second when the files are in cache. -- Michel TALON
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070316144428.GA5014>