summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_add/OpenBSD/Dependencies.pm
AgeCommit message (Collapse)Author
2010-01-05tweak outputMarc Espie
2010-01-04betterMarc Espie
2010-01-01(C) of affected filesMarc Espie
2010-01-01store repository paths in sets and propagate them.Marc Espie
This fixes pkg_add /some/path/package which will now find dependencies in the same path again.
2009-12-31stupid, stupid, stupidMarc Espie
2009-12-31need to tweak from to_update to self, as this kind of thing happens allMarc Espie
the time.
2009-12-31more/better cache for bad cases, and trap self after merge.Marc Espie
2009-12-30... and this should fix todd's case, that of not finding anything andMarc Espie
resorting to default...
2009-12-30also track stuff I couldn't install, and use it for negative cache lookups.Marc Espie
fix some looping if stuff can't install for whatever reason.
2009-12-30prettyMarc Espie
2009-12-29a few more tweaks:Marc Espie
- allow for merged updates if we want them - deplist becomes a hash, maybe useful for big sets - simplify loop checking. We don't actually care whether we find any. - be more aggressive in keeping cached stuff, create solver or conflict_cache if need be.
2009-12-29the way Tracker works, installed packages are always marked uptodate as well,Marc Espie
so remove some unneeded checks from solver's perspective.
2009-12-29for now, show cache statistic if -F stat_cache (still in need of improvements)Marc Espie
2009-12-29rework dependency solving around cached items, so that redoing the sameMarc Espie
lookup will be faster
2009-12-29prepare to cache conflicts in sets: object to do so, code to merge conflictsMarc Espie
and solver, actual auto-gen of conflict cache and solver.
2009-12-29improved check for loops:Marc Espie
- detect as many loops as we can - don't merge sets twice
2009-12-29prepare for smarter sets, with cache infoMarc Espie
2009-12-28kill old dependency adjusterMarc Espie
2009-12-28nitsMarc Espie
2009-12-27check for loops and merge sets, in case we end up with real funky depends.Marc Espie
also, reset package->{before} before solving depends, since we may solve them several times.
2009-12-26qualify (Direct Dependencies)Marc Espie
2009-12-20change verbosity handling: be silent by default, turn on the first level if -v.Marc Espie
Add more levels, specifically, lots of info regarding individual files only visible if -vvvvv. Make -n display the same stuff as normal (need -n -v to display more stuff). Introduce -s, "size-only", turns on -n and does skip any extraction. Sprinkle handlers for SIG_INFO, not really nice yet. Note that -n is non functional for complex updates, because of caching issues I have to fix.
2009-12-13simplify set printingMarc Espie
2009-12-11record internal updateset dependencies for new packages, and respect themMarc Espie
while installing (need doing something similar for old packages)
2009-12-07simplify tracker a bit now we know what we're doing.Marc Espie
kill code that never got used
2009-12-05since we don't redisplay missing libraries message, tell why we can't installMarc Espie
in general terms...
2009-12-04create new updatesets when neededMarc Espie
2009-12-04simpler unified lookup for libs inside set/installed packages.Marc Espie
2009-12-03zap useless debug codeMarc Espie
2009-12-03register plists from newer elements, in case they're useful.Marc Espie
2009-12-02fix some inter-dependencies case:Marc Espie
- when we merge updatesets, invalidate the solver (there isn't any, usually). - look inside set for check_depends. - do register_dependencies after committing all plists to cache.
2009-11-29set things up for updates on the fly. In particular, we may have to lookMarc Espie
into "to_update" stuff...
2009-11-29show old->new as everywhere else in sets.Marc Espie
micro-optimisation: if old pkgname is the same as new pkgname, we just need to build the RequiredBy file, no need to adjust Requiring...
2009-11-29clean up conflict handling and dependency adjustement: build listMarc Espie
of conflict globally, add it as old handles, and then use it everywhere.
2009-11-29have SharedLibs use state to print error messages.Marc Espie
2009-11-28rework display of missing libs some more: first show the libraries, thenMarc Espie
the dependency tree.
2009-11-11don't use Warn if we've got a $state, get through errprint/errsay.Marc Espie
Also: reset lastdisplay on clear, and don't clear twice.
2009-11-11also get most STDERR messages through the same wayMarc Espie
2009-11-11progressmeter puts STDOUT in autoflush if -t, so that it can display to it ↵Marc Espie
instead of piping a lot of stuff to STDERR. Go through state->print for most messages, so they will NOT do weird things with the progressmeter. Use a ->say shortcut which does the same thing that perl 5.10 say does...
2009-11-10bad espie: use strict/warnings consistently, and fix two nits and twoMarc Espie
actual errors !
2009-11-10zap matchMarc Espie
2009-11-08tracker/updater methods for state that auto-create the object.Marc Espie
2009-10-19remove almost all references to set->handle, iterate over newer in mostMarc Espie
cases (todo: rebuild dependency headers for the complex case...)
2009-10-15allow solve to find dependencies in current UpdateSetMarc Espie
2009-10-15sync updatesets with tracker when we create them...Marc Espie
2009-10-15separate the dependencies in several lists for registration, so thatMarc Espie
newer can have several entries.
2009-10-15remove parameter we no longer useMarc Espie
2009-10-15the to_install/to_update stuff is now in the tracker object.Marc Espie
2009-10-15let handle compute pkgnames correctly, simplifies code a bitMarc Espie
2009-10-12more handle -> newer.Marc Espie
it is going to get more complicated sooner....