History log of /openbsd/usr.sbin/pkg_add/OpenBSD/SharedItems.pm (Results 1 – 25 of 34)
Revision Date Author Comments
# 039cbdaa 13-Jun-2023 espie <espie@openbsd.org>

move to use v5.36;
tested by me over the last few weeks, and tb@
also fixed a "manual install" bug properly reported by tb@

aside that there should be *no functional change*.
If you see any message

move to use v5.36;
tested by me over the last few weeks, and tb@
also fixed a "manual install" bug properly reported by tb@

aside that there should be *no functional change*.
If you see any message like "hey, the number of params is wrong"
it is a fringe case I didn't run into and should be easy to fix.

show more ...


# 3b8fb9cd 09-Jun-2019 espie <espie@openbsd.org>

somehow, I thought I was recording destdir there, but I'm not.


# aa30304e 20-Nov-2014 espie <espie@openbsd.org>

avoid some warning message, normal dirs don't have any log info registered


# 8a5a2985 06-Feb-2014 espie <espie@openbsd.org>

don't store full directory objects if they're not "special", just knowing
there's a directory that should stay around is enough.
shaves on the number of shared directories for shared items quite a lo

don't store full directory objects if they're not "special", just knowing
there's a directory that should stay around is enough.
shaves on the number of shared directories for shared items quite a lot.

show more ...


# 85d1f632 24-Dec-2010 espie <espie@openbsd.org>

handle failures from ports tree with more care.
this does avoid infinite loops in case of wrong plists.
necessary since print-plist-with-depends CAN fail...


# 000ce162 27-Oct-2010 espie <espie@openbsd.org>

initial scaffolding for @rcscript: for now, acts like normal files,
but allow absolute pathnames (treat that as an implicit @cwd).


# 9dd4eb06 03-Aug-2010 espie <espie@openbsd.org>

sort journal messsages in a better way, put - before +, so that one can
see deinstall info before new install info (prompted by a comment from
tedu@)


# 8221480e 01-Aug-2010 espie <espie@openbsd.org>

fix the qt 4.5 -> 4.6 update issue.
since we usually deal with directories in a global way, replacing a
directory with something else didn't work.
the fix is to record removed directories in Vstat in

fix the qt 4.5 -> 4.6 update issue.
since we usually deal with directories in a global way, replacing a
directory with something else didn't work.
the fix is to record removed directories in Vstat in a "lazy" way:
we only test these objects for existence if we add something else at
the same location. Since this happens rarely, we can afford to perform
the whole SharedItems dance twice...

show more ...


# b0dfb814 30-Jun-2010 espie <espie@openbsd.org>

allow say and errsay to work without parameters, as it's ways common.
create verbose_system up in state, because it makes sense without verbose.


# a3f853c2 30-Jun-2010 espie <espie@openbsd.org>

whitespace cleanup


# 42fadd72 18-Jun-2010 espie <espie@openbsd.org>

reuse for_list


# 7e83eca3 09-Jun-2010 espie <espie@openbsd.org>

ui changes: go thru a state object for most printouts


# d57bb46a 10-May-2010 espie <espie@openbsd.org>

whitespace fixes


# b10c7687 24-Dec-2009 espie <espie@openbsd.org>

make the final progress bar vanish unless verbose >= 2, as requested by
Theo.


# d4525896 21-Dec-2009 espie <espie@openbsd.org>

consistent spelling


# 64412b1b 21-Dec-2009 espie <espie@openbsd.org>

much simpler SIG{INFO} handling: create a status object in state and
update it when needed. Install a SIG{INFO} handler at start that will do
what's needed.


# e74b30b0 20-Dec-2009 espie <espie@openbsd.org>

change verbosity handling: be silent by default, turn on the first level if -v.
Add more levels, specifically, lots of info regarding individual files only
visible if -vvvvv.
Make -n display the same

change verbosity handling: be silent by default, turn on the first level if -v.
Add more levels, specifically, lots of info regarding individual files only
visible if -vvvvv.
Make -n display the same stuff as normal (need -n -v to display more stuff).
Introduce -s, "size-only", turns on -n and does skip any extraction.
Sprinkle handlers for SIG_INFO, not really nice yet.

Note that -n is non functional for complex updates, because of caching
issues I have to fix.

show more ...


# dfdce8c8 17-Dec-2009 espie <espie@openbsd.org>

be slightly more paranoid about shell stuff we run.


# b5458979 11-Nov-2009 espie <espie@openbsd.org>

vsystem, system, unlink can mostly go through state, and do the ->clear part
as well.


# 956991f0 11-Nov-2009 espie <espie@openbsd.org>

remove forwarders, and provide a sensible API that says what's going on
(e.g., we're logging information for later).


# 0fbefedd 10-Nov-2009 espie <espie@openbsd.org>

bad espie: use strict/warnings consistently, and fix two nits and two
actual errors !


# 8ee98284 20-Jun-2007 espie <espie@openbsd.org>

sprinkle code to deal gracefully with absent packing-lists.
makes it easier for people to recover after a disk crash that
leaves /var/db/pkg half-empty.


# 73c16894 16-Jun-2007 espie <espie@openbsd.org>

use OpenBSD::Paths contents


# af363cbd 01-Jun-2007 espie <espie@openbsd.org>

refactor ProgressMeter code to create objects, put these into state.
Create a common state class for delete and add, put the progressmeter
creation in there.

neat effect: we don't have a progressmet

refactor ProgressMeter code to create objects, put these into state.
Create a common state class for delete and add, put the progressmeter
creation in there.

neat effect: we don't have a progressmeter, we use a stub class instead
and *never* pull the code in at all.

show more ...


# 1d06c43b 22-May-2007 espie <espie@openbsd.org>

introduce a SharedItemsRecorder (put it into Vstat, since that's a file
common to Add and Delete, for now).

Use it to have common code that records items to remove / items remaining.

Stash it into

introduce a SharedItemsRecorder (put it into Vstat, since that's a file
common to Add and Delete, for now).

Use it to have common code that records items to remove / items remaining.

Stash it into pkg_add/pkg_delete state, and abstract the cleaning up
operation into the SharedItemsRecorder (so that pkg_add and pkg_delete no
longer have to know about the internals of SharedItems at all).

show more ...


12