summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_add
AgeCommit message (Collapse)Author
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
2009-10-13deal with UpdateSets earlier: build an updateset, and ask Update to completeMarc Espie
it. Tweak the control for updates to move to main program. Eventually, we will run updates on the fly (there's still some merging code and debugging to go)
2009-10-13factor out code as stem2locationMarc Espie
2009-10-13you have to hate those stupid tools:Marc Espie
if you echo nlist |ftp some_url the site *won't* give you an error code, it will just spew out a stupid line like: Failed to change directory. Can't change directory to pub/OpenBSD/zoinx: No such file or directory and that on stdout !!! Detect this in list grabbing, and display a decent error message for the user. Avoids some duh moments where you won't find shit because you mistyped the url...
2009-10-12more handle -> newer.Marc Espie
it is going to get more complicated sooner....
2009-10-12more simple uses of set->newerMarc Espie
2009-10-12looking through installed packages is cool, but remember to filter outMarc Espie
older stuff in the updateset...
2009-10-12tweak previous;Jason McIntyre
2009-10-11new mode of operation: fuzzy addition. Allows adding packages even ifMarc Espie
you don't know version numbers. Useful for quickly trying to duplicate an installation on a new machine from the package list as obtained through pkg_info. Generally won't give a perfect result, but hey, if you have 300 packages installed, will get you 95% of the way there. prompted by problems reported by theo and msf.
2009-10-11-M before -mJason McIntyre
new sentence, new line
2009-10-11document stem--flavorMarc Espie
2009-10-11document -mMarc Espie
2009-10-11option -m will show only packages tagged as manual installations.Marc Espie
(there are still some kinks in the setting of @option manual-install, so it's not as accurate as it should be).
2009-10-11repair tagging of user-specified packagenames, so that manual-install ↵Marc Espie
actually occurs some of the time...
2009-10-11opt_m ? what's that ?Marc Espie
2009-10-11maybe I'll change the code later (two XXX), but allows flavor after stem,Marc Espie
so that e.g. pkg_add star-- pkg_add star--static are now not ambiguous.
2009-10-11need to save more stuff about updateset for complicated upgrade scenarios.Marc Espie
2009-10-11get really_add to deal with lists of newer packages in updatesetMarc Espie
2009-10-11prepare for full UpdateSet (loop over newer)Marc Espie
2009-10-11fix arguments orderMarc Espie