Age | Commit message (Collapse) | Author |
|
this does avoid infinite loops in case of wrong plists.
necessary since print-plist-with-depends CAN fail...
|
|
but allow absolute pathnames (treat that as an implicit @cwd).
|
|
create verbose_system up in state, because it makes sense without verbose.
|
|
|
|
|
|
|
|
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...
|
|
Provide a new "erase" method that removes everything
|
|
lexical scoping is so much neater (courtesy of perl 5.10)
|
|
- 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.
|
|
|
|
|
|
|
|
reword the introduction to the stuff originally from FreeBSD to clarify
slightly.
|
|
quite generic.
|
|
|
|
Now, update with the same package name works again.
|
|
|
|
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).
|
|
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...
|
|
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.
|
|
|
|
|
|
|
|
Upper Management...
|