summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_add/OpenBSD
AgeCommit message (Collapse)Author
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-29show missing libraries as "|detail" for the can't install message.Marc Espie
2009-11-29slightly simpler error handlingMarc Espie
2009-11-29have SharedLibs use state to print error messages.Marc Espie
2009-11-29handle more general conflicts:Marc Espie
- match old spec against any of the new packages in the set. - manage conflicts globally if several newer packages are there. - remove the limit of 5 conflicting packages, it's no longer really relevant.
2009-11-28prepare for "better" merge: we can't just wipe the old set, we have to pointMarc Espie
it to the new set, as tracker stuff may still know about it.
2009-11-28when resolving conflicts, don't recreate handles for packages being replacedMarc Espie
if we already know they're being replaced. This requires completing them with a plist. (some cleanup of api to do later)
2009-11-28rework display of missing libs some more: first show the libraries, thenMarc Espie
the dependency tree.
2009-11-28add "always" to ask_list...Marc Espie
2009-11-28add (n to go) to pkg_delete as well.Marc Espie
2009-11-28remove redundant messageMarc Espie
2009-11-24todo all overMarc Espie
2009-11-24zap pkgpath totally, set up to display (to go) as well.Marc Espie
2009-11-24betterMarc Espie
2009-11-24sets that were not solved should still display something...Marc Espie
2009-11-24ok even shorter than doneMarc Espie
2009-11-24more regular. Note that newer can be a hash as well (why not ?)Marc Espie
2009-11-24better name. Mark "no need to update" as updated, since we know what'sMarc Espie
going on...
2009-11-22complete -> done (shorter)Marc Espie
2009-11-22tweak completion messages: do the next only during the next iteration, soMarc Espie
that at end, we can show a full completion message for the whole set. pass the number of packages still to-do through, so that the last complete also says (n to go) during installs...
2009-11-22extra parameter to give out more infoMarc Espie
2009-11-22typoMarc Espie
2009-11-22less verbose display: only shows .libs* once, but still show all partial-*Marc Espie
2009-11-22change the timing a bit: create a list of updateset first, and processMarc Espie
them later. To do that, normal additions go through hint2, and the findtruelocation code moves to Update.pm This will allow for more systematic handling of all names (including solving more stuff on the fly, instead of upfront).
2009-11-17trim more, we already display a quick message for the missing lib elsewhere.Marc Espie
2009-11-17shorter message when we don't find library, and stash it away to avoidMarc Espie
repeating ourselves uselessly.
2009-11-17revamp interactive stuff: simplify (just one always for everything, perMarc Espie
theo suggestion. Also go through the "state" object which simplifies code a great deal)
2009-11-16fuller meter, that goes to the end of the line - 1Marc Espie
2009-11-16typoMarc Espie
2009-11-16oopsMarc Espie
2009-11-16typoMarc Espie
2009-11-16unify hints and normal updates some moreMarc Espie
2009-11-16unify hint and location processing some more.Marc Espie
2009-11-16create a pseudo vstat object inside state, so that we can modify VstatMarc Espie
interface very locally... model hints objects like Locations, to uniformize further treatment.
2009-11-16pull more common code in a "framework" routine.Marc Espie
2009-11-16start pulling all the code that's the same between pkg_add and pkg_deleteMarc Espie
into a common AddDelete package... lots of identical options and handling, actually...
2009-11-15make these independent from Getopt, require ExporterMarc Espie
2009-11-15start categorizing stuff as error messages that should be error messagesMarc Espie
2009-11-15common code, handle SIG{CONT} in both cases.Marc Espie
2009-11-15missing return (nothing else to see)Marc Espie
2009-11-14ouch, collision handling must take destdir into accountMarc Espie
2009-11-14remove stupid extraneous return...Marc Espie
2009-11-14fix. noticed by sthen@Marc Espie
2009-11-11vsystem, system, unlink can mostly go through state, and do the ->clear partMarc Espie
as well.
2009-11-11remove extra warningsMarc Espie
2009-11-11remove redirector: if we want to run system AND log, just say soMarc Espie
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...