summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_add/OpenBSD/RequiredBy.pm
AgeCommit message (Collapse)Author
2010-12-24handle failures from ports tree with more care.Marc Espie
this does avoid infinite loops in case of wrong plists. necessary since print-plist-with-depends CAN fail...
2010-10-27initial scaffolding for @rcscript: for now, acts like normal files,Marc Espie
but allow absolute pathnames (treat that as an implicit @cwd).
2010-06-30allow say and errsay to work without parameters, as it's ways common.Marc Espie
create verbose_system up in state, because it makes sense without verbose.
2010-06-30whitespace cleanupMarc Espie
2010-05-10whitespace fixesMarc Espie
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...
2009-12-28make objects chainable.Marc Espie
Provide a new "erase" method that removes everything
2008-10-20Say goodbye to local $_Marc Espie
lexical scoping is so much neater (courtesy of perl 5.10)
2007-06-04some minor systematic changes.Marc Espie
- mark all regexps I can with /o if they can be compiled once. - turn $o->method() into $o->method - remove unneeded prototypes - reduce split /re/ into split "string" where possible.
2007-06-01very small clean-up of dependencies list handling.Marc Espie
2007-05-14tidyMarc Espie
2007-05-02$o->method() becomes $o->methodMarc Espie
2007-04-15update copyright years, standardize licence.Marc Espie
reword the introduction to the stuff originally from FreeBSD to clarify slightly.
2005-08-17clean-up, move the compute_closure code to RequiredBy, since it'sMarc Espie
quite generic.
2005-08-17rename erase to more appropriate forgetMarc Espie
2004-12-21fix nasty cache-out-of-sync bug.Marc Espie
Now, update with the same package name works again.
2004-12-21oops, really cache stuff.Marc Espie
2004-12-15move -n down into RequiredBy and PackingList (as $main::not, since weMarc Espie
don't want to load RequiredBy all the time). Remove a few $state->{not} tests that are no longer needed. pkg_add -n / pkg_delete -n should work much better when they need to handle multiple dependencies. (todo: kill plist caches, finish replacing with specialized caches like libraries).
2004-12-14rewrite code to cache files internally, to avoid going to disk all theMarc Espie
time. This will allow us to bypass synch() and use this in -n mode, among other things. We could also postpone writing the cache (synching) until the end of the program...
2004-11-14let RequiredBy generate lists directly, use hashes to trim down duplicates ↵Marc Espie
directly. Optimize for !wantarray, by telling whether the list is empty or not. prepare for a second similar list (REQUIRING) that will replace pkgdep, since pkg_add -r spends a hell of a lot of its time reading/writing long packing-lists... Use the simplified interface. Remove quite a few tests that the RequiredBy list is non-empty that do nothing but obfuscate the code: just deal with the damn list already.
2004-08-06block-scoped require is way simpler than weird AUTOLOAD hack.Marc Espie
2004-08-06unified headers, switch to smaller copyright notice.Marc Espie
2004-01-27put $! in die messages.Marc Espie
2003-10-16new import of my pkgtools, after a slight naming disagreement with theMarc Espie
Upper Management...