summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_add
AgeCommit message (Collapse)Author
2009-11-10zap handle method, we finally no longer use it.Marc Espie
2009-11-10document what's going on...Marc Espie
2009-11-09fix, need to keep =version for "no need to update" to occur...Marc Espie
2009-11-09document -F downgrades (note: for now, it's just the package name, we shouldMarc Espie
look further at the signature if we can actually compare things)
2009-11-09okay, so updates become "true" updates: unless you say -F downgradeMarc Espie
then packages with an older version will be filtered out.
2009-11-09fix. cant_update list is again a simple list of names.Marc Espie
2009-11-08let Handle display what went wrong.Marc Espie
Move stuff from being a fatal error to an error that displays at end, together with an error code.
2009-11-08bug-fix: if we can't find the package, it makes no sense to look in aMarc Espie
non-existent location...
2009-11-08tracker/updater methods for state that auto-create the object.Marc Espie
2009-11-08add the notion of "hints" to UpdateSet, in order to unify -z/-l handling:Marc Espie
create updatesets with nothing but a hint of what to install. Have Update.pm do the dirty work. More importantly, make Tracker aware of what's going on.
2009-11-08put all the state of the current update into the trackerMarc Espie
2009-11-07Document @option always-updateMarc Espie
2009-11-04cleanup a bit printoutsMarc Espie
2009-11-03print the correct info (need some tweaks yet to be shorter).Marc Espie
2009-11-03add @option always-update.Marc Espie
a package tagged as 'always-update' will have its full packing-list, complete with checksums, as signatures, so it will always get updated, even when the version number doesn't change, as long as it's not the same package.
2009-11-03simplify deptree handling, since we handle this at the set level.Marc Espie
2009-11-03catch signals while we're doing something, so that cleanup always happens.Marc Espie
2009-10-27finish zapping old "kitchensink" option, we have much better ways to testMarc Espie
big stuff now.
2009-10-27fix buglet: error out if pkg does not install in all cases.Marc Espie
noticed by Markus Lude.
2009-10-22use the UNIX-related macros (.At and .Ux) where appropriate.Igor Sobrado
ok jmc@
2009-10-21catch signals when we start doing stuff... so that cleaning up at theMarc Espie
end always occur, unless you insist on ^C.
2009-10-21minor bug-fix: partial_install is not print.Marc Espie
remove arguments that are no longer used.
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-19iterate over newer instead of 1 single handleMarc Espie
2009-10-19basic routines to handle the merging of updatesets: mark updatesets asMarc Espie
already done, separate remove/mark_installed in tracker, create a merge method that allows the merging of updatesets.
2009-10-19cleanup method that does more or less what's neededMarc Espie
2009-10-19syntactic sugar: methods to access plist and location from handle.Marc Espie
2009-10-19factor common code, that's a handle specific headerMarc Espie
2009-10-16ouch. delete is not undef. We need to make sure the entries vanish,Marc Espie
otherwise, find_dep_in_stuff_to_install will still find the key.
2009-10-15fix installation headerMarc Espie
2009-10-15missed one, tell tracker this is already installedMarc Espie
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-15move the installed check in Tracker, where they belongMarc Espie
2009-10-15pkg_add will need to track installation progress globally, so that we don'tMarc Espie
solve dependencies with stuff that we want to update later... create that information, to be used...
2009-10-15reorg codeMarc Espie
2009-10-15missed oneMarc Espie
2009-10-15fix typo that prevented `pkg_info -r` from working.Peter Hessler
OK espie@
2009-10-15let handle compute pkgnames correctly, simplifies code a bitMarc Espie
2009-10-14move OpenBSD::Handle into its own file. I guess I need to disentangle thisMarc Espie
code before I go further....
2009-10-14fix slice that doesn't work as I thought it would...Marc Espie
2009-10-14add a few comments, finish killing kitchensink.Marc Espie
2009-10-14be a bit more specific, write the list of unsigned packages.Marc Espie
2009-10-14use choose_locationMarc Espie
2009-10-14make signature checking more quiet: discard openssl's STDERR, keep a tallyMarc Espie
of signed packages. - display a message only if signed packages have been signed. - show IN BIG CAPS unsigned package numbers if a mixture of signed/unsigned has been seen.
2009-10-14add a "print" method to ProgressMeter and StubProgress to allow me to cleanMarc Espie
up the current mess (e.g., print things out to stderr without needing to explicitly clear the current line if needed). create a choose_location method directly in state, that will replace all instances of looking for a package eventually (hopefully).
2009-10-13oops, oops, oops. todo is not todo2Marc Espie