Commit Graph

17 Commits

Author SHA1 Message Date
espie
a6da4b131a switch to new interface 2010-06-09 13:59:37 +00:00
espie
c43a2cc6c2 use new-style plist visitors. 2007-05-13 08:03:47 +00:00
espie
a5d3f1822b shave a bit of time (roughly 5%) by noticing that package lists are
now more or less `unique', so we can avoid processing them more
than once.
2007-04-16 15:09:03 +00:00
espie
4d3e4bb38e shrink memory used by building only one single list per set of pkgnames.
Also use a simple `seen' cache for files only used by one package, since
they cannot participate in actual conflicts.

Shrinks memory for 250M to 190M, with no negative speed effects.
2007-04-16 14:36:25 +00:00
espie
8b9618e252 minor indent clean-up.
use auto-vivification to shorten code a bit.
pull out complicated code into its own function.
marginally faster than old version... some size decrease to do later...
2007-04-10 21:36:26 +00:00
bernd
5183642076 Introduce -p option. This allows us to scan the ports tree for conflicts
without the need to have the packages around.

It's really easy now to check if a new package conflicts with other stuff
in the ports-tree:

$ find-all-conflicts -p /usr/ports newpkg.tgz

help & ok espie@
2007-02-19 19:50:50 +00:00
espie
f755566506 be more specific about conflict handling: conflicts can be registered at
any level in the dependency tree, but we shouldn't mark as conflicting packages
that do depend on each other or that have common dependencies.

Issue noticed by alek@ on plone vs. zope.
2005-12-12 13:37:21 +00:00
espie
368bd09c02 cache ways more information, so that it runs at a reasonable pace for
3000 packages.
output stuff in a more readable way.

allows looking only in a PLIST_DB directory.
2005-09-04 22:34:23 +00:00
espie
dd7e097b7c remove duplicates, in case we're scanning the same package several times.
okay pvalchev@
2005-08-14 11:57:17 +00:00
espie
5dc2fdab3a tell all big analyzers they can forget about the packing-list. 2004-11-11 15:38:02 +00:00
espie
8f7a456913 kill info dir asap. 2004-02-12 13:55:45 +00:00
espie
26d8ad2a8b shrink by using the new perl modules.
no longer test for @dirrm collisions, those don't matter with the new
tools.

tested by nikolay.
2003-10-23 17:49:02 +00:00
espie
2224ca5690 Register dirrm collisions as well. 2002-03-19 22:20:50 +00:00
naddy
4d75cc72eb skip @libdepend 2002-03-11 22:00:37 +00:00
espie
2447f9b4db Updated version, that is much better at handling pkgspecs correctly 2001-04-15 17:44:29 +00:00
espie
76d1089163 Adjust default conflict rules to match pkg_create. 2001-03-24 15:16:53 +00:00
espie
f64f003090 Those are the tools we (Chris and I) use to check on packaging problems. 2000-04-19 14:31:18 +00:00