summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_add/pkg_delete
AgeCommit message (Expand)Author
2009-12-21document recent changes, clean up old pkg_delete optionsMarc Espie
2009-12-21much simpler SIG{INFO} handling: create a status object in state andMarc Espie
2009-12-20change verbosity handling: be silent by default, turn on the first level if -v.Marc Espie
2009-12-19create a $state->todo method to account for sets to install.Marc Espie
2009-11-28still not right, so revert to original algorithm, and compute @todoMarc Espie
2009-11-28oops, if I want to modify @todo, I should do it right.Marc Espie
2009-11-28add (n to go) to pkg_delete as well.Marc Espie
2009-11-17revamp interactive stuff: simplify (just one always for everything, perMarc Espie
2009-11-16-Vstat (get it from AddDelete)Marc Espie
2009-11-16pull more common code in a "framework" routine.Marc Espie
2009-11-16identical end sequence, to be factorizedMarc Espie
2009-11-16start pulling all the code that's the same between pkg_add and pkg_deleteMarc Espie
2009-11-14pull the eval {} code into an anonymous sub, so that we can choose to execMarc Espie
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 in...Marc Espie
2009-11-11remove forwarders, and provide a sensible API that says what's going onMarc Espie
2009-11-10bad espie: use strict/warnings consistently, and fix two nits and twoMarc Espie
2009-11-10proposing details when we remove one single package is ridiculousMarc Espie
2009-11-03catch signals while we're doing something, so that cleanup always happens.Marc Espie
2008-03-08rename forced to definesMarc Espie
2008-03-08let GetOpt count how many times it sees an option, removes special caseMarc Espie
2007-12-18make it possible to run without locking the database. To be used byMarc Espie
2007-06-30move the UpdateSet stuff into its separate file, leaving Vstat much cleaner.Marc Espie
2007-06-16use OpenBSD::Paths contentsMarc Espie
2007-06-04I am on drugs, I don't know where I found split can take strings asMarc Espie
2007-06-04some minor systematic changes.Marc Espie
2007-06-01refactor ProgressMeter code to create objects, put these into state.Marc Espie
2007-05-31move set validation earlier (in fact, it probably doesn't belong inMarc Espie
2007-05-30fix verbosity.Marc Espie
2007-05-22cleanup shared state a bit earlier. Shouldn't change much, but may helpMarc Espie
2007-05-22introduce a SharedItemsRecorder (put it into Vstat, since that's a fileMarc Espie
2007-05-20create specific `state' objects for pkg_add and pkg_delete, so that I canMarc Espie
2007-05-20placeholders for UpdateSet, once we have it.Marc Espie
2007-05-20both pkg_add and pkg_delete use Vstat, make it explicit.Marc Espie
2007-05-14tidyMarc Espie
2007-05-01move the old elements into PackingElements, since the code is nowMarc Espie
2007-04-15update copyright years, standardize licence.Marc Espie
2007-02-22Problem noticed by Henrik Hellerstedt <henrik@kohina.net>Marc Espie
2006-08-01If pkg_delete is trying to remove more than one package at the same time andBernd Ahlers
2005-09-07use `pkg-name' rather than `pkgname' here, for consistency with otherJason McIntyre
2005-09-07sort options and sync usage();Jason McIntyre
2005-09-04* New -i interactive option, that can ask obnoxious questions.Marc Espie
2005-08-17reuse compute_closureMarc Espie
2005-08-17we have a much more accurate image of stuff in -n mode, so we canMarc Espie
2005-08-17restore $main::not that is needed by OpenBSD::RequiredBy,Marc Espie
2005-01-22do not clean-up shared items in pretend mode (for now, need extra logicMarc Espie
2005-01-14`big lock' model: lock the whole db for reading/writing.Marc Espie
2005-01-03rename -f -> -FMarc Espie
2004-12-27recover from a nasty problem, allow people to delete package even ifMarc Espie
2004-12-27better messageMarc Espie