summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_add
AgeCommit message (Collapse)Author
2010-04-24pieces required for resolve-lib (reuse code for consistency)Marc Espie
2010-04-24more tweaks so that it can be extended and used during ports buildsMarc Espie
2010-04-24refactor LibSpec to be able to reuse it for library matches during build:Marc Espie
- use double dispatch to match static libs - prepare for less strict dependencies if need be
2010-04-24+ pkg_add, for dpbMarc Espie
2010-04-24simplify using //=Marc Espie
2010-04-19move Composite pattern (auto-visitor) into its own subclassMarc Espie
2010-04-17work-around !found error.Marc Espie
2010-04-10finding dep in old names like this actually means we are replacing withMarc Espie
stuff that won't match, so mark it for later.
2010-04-10avoid some loops.Marc Espie
2010-04-10work around a limitation of tracker/updateset: hints are tagged as to_update.Marc Espie
So if we replace an existing package, we may end up merging with ourselves because of the initial hint. Make sure we create an older handle even in that case.
2010-04-05new keyword, @ask-update, to be used *very* sparingly (so far, only usefulMarc Espie
for pgsql updates)
2010-04-05auto-format manpages with /usr/local/bin/groff if -DUSE_GROFF=1Marc Espie
2010-04-05add an extra "mandoc" category that behaves exactly like man for now (toMarc Espie
be used for distinguishing between pages that require groff and those that don't)
2010-04-05clean-up validate_plists a bit, so that it starts with a clean state.Marc Espie
new feature: if a normal updateset order does not fit, let the user decide to do a "dangerous update", by deleting older packages first (if they fit). tweak really_add to do so: move delete old packages out of the way, and add a new state variable (extracted_first) to distinguish between both replace modes.
2010-03-23fix callback. This one isn't called that often actually.Marc Espie
noticed by ckuethe
2010-03-22clean up the ProgressMeter code, create a specific class if a TermMarc Espie
is around. start using stuff from termcap, specifically, cleareol, and move to hp. use the full line when we can, cram 100% if we can. (this should flicker much less on slow terminals). clean-up the install-and-progress bits to be in progressmeter, this removes some code. have pkg_create follow the same pattern as the others, with a state. This allows us to unify error messages a bit.
2010-03-20if a package already contains an url marker (say, local stuff recreated),Marc Espie
don't override it. so that it can actually be installed.
2010-03-07erase to the end of "previous line". Avoid dangling % after displaying 100%.Marc Espie
from sthen@.
2010-03-06match_locations doesn't work on invalid specs, so don't go thereMarc Espie
2010-03-06fix very stupid typoMarc Espie
2010-03-06don't go up to column 80, until we ask Term::Cap properly for what's goingMarc Espie
on.
2010-03-06consistent error. exit(1) if something bad happened.Marc Espie
(fixes some errors in ports)
2010-03-01slightly terser messages, better use of terminal lineMarc Espie
2010-02-28progress-meter -> progress meter, which is at least consistent with ourJason McIntyre
other pages;
2010-02-28ProgressMeter support.Marc Espie
2010-02-28more useful paths (for dpb)Marc Espie
2010-02-24revert rev. 1.54 because it doesn't change the rendering with groffIngo Schwarze
but breaks the build with mandoc(1); ok jmc@ espie@
2010-02-04no -S option; from Daniel DickmanJason McIntyre
2010-01-27actually order things:Marc Espie
beta < (rc|pre) < release < pl (fixes speex updates)
2010-01-26downgrade, not downgradesMarc Espie
2010-01-26fix merging behavior when merging doesn't occur:Marc Espie
- display message that says "this update didn't merge" - be more specific in return values, because we want to distinguish between we merged some stuff -> compute full depends / we didn't -> proceed thanks to Florent Tribouilloy for being my guinea pig ;)
2010-01-24extra indirection: no match gives a reason why, so we can rebuildMarc Espie
report_problems to actually say what's wrong...
2010-01-24use libspecs, report problem will be terser for now.Marc Espie
2010-01-24use libspecs through Dependencies.Marc Espie
2010-01-24add code to unify spec and names as LibraryObject, plus a repository andMarc Espie
match/lookup functions.
2010-01-24prevent broken packagenames from creeping in.Marc Espie
2010-01-24add code to check packagename for problemsMarc Espie
2010-01-19simplify caching: return $cached->{$_} //= new_value;Marc Espie
remove stats cache LibSpec as well (1000 c.53.0 !)
2010-01-19simplify using LibSpecMarc Espie
2010-01-19move generic code to handle libspec in a new file, to clean up stuffMarc Espie
2010-01-19fix handling of always-update: it should only come into play when theMarc Espie
normal signature is equal. Otherwise, downgrade prohibition is still in effect.
2010-01-18don't bother checking for exec and displaying them if we're not verboseMarc Espie
and we have -D update on.
2010-01-17even better messagesMarc Espie
2010-01-17use Carp directly, it it very inexpensive actually, since it's been rewrittenMarc Espie
to be just a very small stub that loads Carp::Heavy on demand. Also, stop wrapping messages in "Expected", doesn't give us anything. Finally, make RequiredBy calls be carp, so that we actually know where they fail...
2010-01-14fix new vstat, and make it useful, for instance for -n.Marc Espie
2010-01-12allow 'update-only' installsMarc Espie
2010-01-12bump this to updater, so that progress is shown again.Marc Espie
2010-01-12more auto-cache goodnessMarc Espie
2010-01-11sometimes, I manage to finish some stuffMarc Espie
2010-01-11quirks is special here too, oops.Marc Espie